KW

kuroko1t/webclaw

浏览器自动化

本页由 AI 翻译,技术细节请以原文为准。 查看原文

22 stars 9 forks 质量 77 趋势 10MIT

一个运行在你真实 Chrome 中的 WebMCP 原生浏览器代理——可以通过 Claude、光标和任何 MCP 客户端控制它

概览

一个运行在你真实 Chrome 中的浏览器代理——通过 Claude、光标和任何 MCP 客户端来控制它。 WebClaw以 的形式运行,所以它看到的完全是你看到的——cookie、登录、扩展等等。没有无头浏览器,没有CDP注入,没有机器人标记。 配置文件位置:- macOS:~/Library/Application Support/Claude/claude_desktop_config.json- Linux:~/.config/Claude/claude_desktop_config.json - Windows:%APPDATA%\Claude\claude_desktop_config.json 在项目根添加 .cursor/mcp.json: 在你的项目根添加 .vscode/mcp.json: 添加到 ~/.codeium/windsurf/mcp_config.json: 1. 从发布页面下载最新webclaw-extension.zip并解压 2.打开 chrome://extensions/ →启用 3.点击→选择dist/文件夹 然后像上面一样加载package/extension/dist/。

概述(AI 翻译)

一个运行在你真实 Chrome 中的 WebMCP 原生浏览器代理——可以通过 Claude、光标和任何 MCP 客户端控制它。

为什么是WebClaw?

WebClaw 浏览器使用 剧作家 MCP
运行于真实Chrome中 是的(扩展) 否(CDP) 否(Playwright)
用户登录会话 是的不 不
机器人检测 抗性 脆弱 脆弱
WebMCP 原生工具 是的不 不
页面理解 @ref a11y 树 截图 DOM / 截图

WebClaw运行为Chrome扩展,所以它能看到你看到的完全一样——cookie、登录、扩展等等。没有无头浏览器,没有CDP注入,没有机器人标志。

快速启动

1.配置你的MCP客户端

Claude Desktop

加到claude_desktop_config.json:

配置文件位置:

  • macOS:~/Library/Application Support/Claude/claude_desktop_config.json
  • Linux:~/.config/Claude/claude_desktop_config.json
  • Windows:%APPDATA%\Claude\claude_desktop_config.json

克劳德密码

光标

在你的项目根中加入.cursor/mcp.json:

VS Code(副驾驶)

在你的项目根中加入 .vscode/mcp.json :

风帆冲浪

加上’~/'。

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

WebClaw

A WebMCP-native browser agent that runs inside your real Chrome — control it from Claude, Cursor, and any MCP client.

Why WebClaw?

WebClaw browser-use Playwright MCP
Runs in real Chrome Yes (extension) No (CDP) No (Playwright)
User’s logged-in sessions Yes No No
Bot detection Resistant Vulnerable Vulnerable
WebMCP native tools Yes No No
Page understanding @ref a11y tree Screenshots DOM / Screenshots

WebClaw runs as a Chrome extension, so it sees exactly what you see — cookies, logins, extensions, and all. No headless browser, no CDP injection, no bot flags.

Quick Start

1. Configure your MCP client

2. Load the Chrome extension

  1. Download the latest webclaw-extension.zip from the Releases page and unzip
  2. Open chrome://extensions/ → enable Developer mode
  3. Click Load unpacked → select the dist/ folder

3. Try it

Restart your MCP client and ask:

在 GitHub 查看完整 README

安装

npx -y webclaw-mcp
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "webclaw": { "command": "npx", "args": ["-y", "webclaw-mcp"] } } }