Webclaw 6819d4b8

MCP浏览器工具

提供方 kuroko1t

浏览器工具 未标注 会话登录 社区 / 第三方 Claude DesktopClaudeCursorWindsurf

WebClaw是一个基于Chrome扩展的浏览器自动化工具,允许用户通过MCP客户端控制真实Chrome浏览器,支持页面交互、标签管理、导航和WebMCP工具调用。

一句话选型结论

按资料字段整理

Webclaw 6819d4b8 属于浏览器工具类 MCP 服务器,传输方式未标注,会话登录,可直接接入 Claude Desktop、Claude、Cursor 等,没有现成安装命令,需按官方文档接入。接入前先确认权限范围;涉及写入、删除或付款的操作,建议先在测试环境验证。

分类浏览器工具 传输方式未标注 鉴权会话登录 部署方式本地部署
GitHub 星标 18 仓库热度,无公开仓库时显示未标注
工具数 21 暴露给模型的工具数量
资源 / 提示词 0 / 0 资源与提示词模板数量
维护方 社区 / 第三方 核验等级 仅资料核对

工具与能力

浏览器工具
数量来自来源目录的标注,具体工具清单以官方文档为准
工具数量21暴露给模型可调用的工具个数
资源数量0可读取的资源条目
提示词数量0内置提示词模板数量

能力标签

支持客户端

适用场景

浏览器自动化TypeScript本地部署Chrome扩展MCP集成页面交互标签管理

安装与配置

未标注 会话登录
上游未给出传输方式
  1. 1
    准备运行环境

    stdio 服务在本地起进程,需要先装好 Node.js 等运行时,再按安装命令拉取依赖。

  2. 2
    安装服务

    复制上面的安装命令执行;命令里带占位符的位置,换成自己的密钥或路径。

  3. 3
    写入客户端配置

    在客户端的 MCP 配置里填好启动命令和参数,保存后完全退出客户端再打开,让新配置生效。

  4. 4
    验证是否可用

    连接成功后客户端会列出约 21 个工具,随便调一个只读工具确认能返回结果。

典型使用场景

3 类
按分类与标签整理的常见用法,具体以官方文档为准
自动操作网页

打开页面、点击、填表,把浏览器动作交给模型执行。

抓取结构化数据

把页面内容整理成表格或 JSON,省掉手工复制粘贴。

关键流程回归

按步骤检查页面是否正常,回归时少漏环节。

选择建议

选之前先看这几条
按条目字段给出的判断,不替你决定用不用

值得选的地方

  • 资料标注 21 个工具,覆盖面较广,能满足多种调用。
  • 已适配 Claude Desktop、Claude、Cursor,换客户端不用重新研究配置。

先想清楚的地方

  • stdio 方式要求本地装好运行时(如 Node.js),换机器要重新装一遍。
  • 没有现成安装命令,需要按官方文档自己填启动命令和参数。
  • 使用前要准备好会话登录对应的凭据,并按最小权限配置。
  • 版本更新与行为细节以官方仓库为准。

更适合

  • 需要在浏览器工具场景里让模型直接调用外部能力的人。
  • 已经在用 Claude Desktop、Claude 的用户,接入路径最短。
  • 想先快速试一下、能接受在本地或自有环境跑服务的人。

不太适合

  • 完全不想在本地装环境的人。
  • 不方便管理密钥或第三方授权的人。
  • 需要厂商级 SLA 和技术支持的生产环境。

同类对比

6 个同类
同分类里挑最接近的几条,字段以各自详情页为准
MCP 服务器工具数传输方式部署方式安装命令最后核验
Webclaw 6819d4b8当前 21 未标注 本地部署 无 2026-05-17
Playwright MCP Server 21 stdio · 本地进程 本地部署 有 2026-05-18
Fetch 9a2682de 1 SSE · 服务端推送 支持远程部署 有 2026-05-18
Browser 738d52bc 未标注 stdio · 本地进程 本地部署 有 2026-05-17
MCP 40600ece 未标注 stdio · 本地进程 本地部署 有 2026-05-17
Skyvern MCP 未标注 stdio · 本地进程 本地部署 有 2026-05-17

服务器档案

浏览器工具
字段来自项目仓库与公开索引,中文说明由本站标注
提供方kuroko1t上游标注的维护方 kuroko1t
分类浏览器工具本站按上游分类展示
连接方式未标注上游未给出传输方式
鉴权方式会话登录远程服务建议用最小权限凭据
维护方社区 / 第三方核验等级 仅资料核对
包名 / 运行时未标注 · 未标注本地安装时用到的包标识与运行时
部署类型本地部署上游给出的部署形态
最近核验2026-05-17上游最后核验时间

详细介绍

8.4 KB
来自项目仓库与上游目录的原文,未做删改

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

Claude Desktop

Add to claude_desktop_config.json:```json
{
"mcpServers": {
"webclaw": {
"command": "npx",
"args": ["-y", "webclaw-mcp"]
}
}
}


Config file locations:
- macOS: `~/Library/Application Support/Claude/claude_desktop_config.json`
- Linux: `~/.config/Claude/claude_desktop_config.json`
- Windows: `%APPDATA%\Claude\claude_desktop_config.json`

Claude Code```bash
claude mcp add webclaw -- npx -y webclaw-mcp

Cursor

Add to .cursor/mcp.json in your project root:```json
{
"mcpServers": {
"webclaw": {
"command": "npx",
"args": ["-y", "webclaw-mcp"]
}
}
}


VS Code (Copilot)

Add to `.vscode/mcp.json` in your project root:```json
{
  "servers": {
    "webclaw": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "webclaw-mcp"]
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:```json
{
"mcpServers": {
"webclaw": {
"command": "npx",
"args": ["-y", "webclaw-mcp"]
}
}
}


### 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

Or build from source```bash
git clone https://github.com/kuroko1t/webclaw.git && cd webclaw && pnpm install && pnpm build

Then load packages/extension/dist/ as above.

3. Try it

Restart your MCP client and ask:

> "Go to wikipedia.org and search for Model Context Protocol"

Chrome launches automatically on the first tool call. The Side Panel shows all activity in real-time.

How It Works```mermaid

flowchart LR
LLM["AI Assistant"]
MCP["MCP Server"]
EXT["Chrome Extension"]
CS["Content Script"]

LLM -- "stdio" --> MCP -- "WebSocket" --> EXT --> CS

style LLM fill:#7b2d8b,stroke:#333,color:#fff
style MCP fill:#1a5276,stroke:#333,color:#fff
style EXT fill:#1e8449,stroke:#333,color:#fff
style CS fill:#b7950b,stroke:#333,color:#fff

1. The AI calls MCP tools (`navigate_to`, `page_snapshot`, `click`, ...)
2. The MCP server forwards requests to the Chrome extension via WebSocket
3. The content script reads the page as a **compact accessibility tree** with `@ref` labels
4. The AI picks the right `@ref` and acts — no pixel coordinates, no CSS selectors

### `page_snapshot` output```
[page "Wikipedia, the free encyclopedia"]
  [search]
    [form]
      [@e3 searchbox "Search Wikipedia"]    ← AI targets this
      [@e4 button "Search"]                 ← and clicks this
  [main]
    [heading[1] "Welcome to Wikipedia"]
    [group]
      [heading[2] "From today's featured article"]
      ...

Every interactive element gets a stable @ref label. The AI reads the tree, picks the right @ref, and calls click / type_text / select_option.

MCP Tools (21)

Page Interaction — navigate, snapshot, click, hover, type, select, drop files, screenshot, dialog, evaluate

Tool Parameters Description
navigate_to url, tabId? Navigate to a URL
page_snapshot focusRegion?, interactiveOnly?, tabId? Get a compact accessibility tree with @ref labels
click ref, snapshotId, tabId? Click an element by its @ref label
hover ref, snapshotId, tabId? Hover over an element to reveal hidden UI (dropdowns, tooltips)
type_text ref, text, snapshotId, clearFirst?, tabId? Type text into an input/textarea by @ref
select_option ref, value, snapshotId, tabId? Select a dropdown option by @ref
drop_files ref, snapshotId, files, tabId? Drop files onto an element (e.g., upload images to GitHub issues)
screenshot tabId? Capture the visible area of the active tab
handle_dialog action, promptText?, tabId? Handle a native browser dialog (alert/confirm/prompt)
evaluate expression, tabId? Evaluate JavaScript in the page context (e.g., localStorage, cookies, computed styles)

Tab Management — new, list, switch, close

Tool Parameters Description
new_tab url? Open a new tab (optionally with a URL)
list_tabs List all open tabs with tabId, URL, title, and active state
switch_tab tabId Switch to a specific tab
close_tab tabId Close a specific tab

Navigation — back, forward, reload, wait, scroll

Tool Parameters Description
go_back tabId? Go back to the previous page
go_forward tabId? Go forward to the next page
reload tabId?, bypassCache? Reload the current page
wait_for_navigation tabId?, timeoutMs? Wait for the page to finish loading
scroll_page direction?, amount?, ref?, snapshotId?, tabId? Scroll the page or scroll to a specific element

WebMCP — discover and invoke page-declared tools

Tool Parameters Description
list_webmcp_tools tabId? Discover tools on the page (native WebMCP + auto-synthesized from buttons/forms)
invoke_webmcp_tool toolName, args?, tabId? Invoke a discovered tool (native or synthesized)

Development```bash

git clone https://github.com/kuroko1t/webclaw.git
cd webclaw
pnpm install
pnpm build # Build all packages
pnpm test # Run all tests
pnpm dev # Watch mode


### Project Structure```
packages/
  shared/          Type definitions, Zod schemas, utilities
  mcp-server/      MCP server with 21 tools, WebSocket bridge
  extension/       Chrome MV3 extension (service worker, content scripts, side panel)
examples/
  webmcp-demo-site/  WebMCP-enabled Todo app for testing native tool discovery

Multi-Session Support

WebClaw automatically scans ports 18080–18089, so you can run up to 10 MCP server instances simultaneously (e.g., multiple Claude Code sessions). Each instance binds to the first available port, and the Chrome extension connects to all of them.

Environment Variables

Variable Default Description
WEBCLAW_PORT 18080 WebSocket port for MCP server ↔ extension communication. When set, disables auto-scanning and uses only this port.

Troubleshooting

Chrome extension not connected
- Chrome is auto-launched when a tool is called. If it fails, start Chrome manually with the extension loaded
- Check the Service Worker console (chrome://extensions/ → Details → Service Worker) for Connected to MCP server
- Verify the MCP server is running (look for WebSocket server listening on 127.0.0.1: in stderr)

MCP client cannot connect
- Ensure npx webclaw-mcp runs successfully from your terminal
- Check for port conflicts: WebClaw auto-scans 18080–18089. If all are in use, set WEBCLAW_PORT to a custom port
- Restart your MCP client after updating the config

Content script not injecting
- Content scripts only inject into http:// and https:// pages (not chrome://, file://, etc.)
- Try refreshing the page after loading the extension

WebMCP tools not discovered
- Native WebMCP requires Chrome 146+ with the navigator.modelContext API
- Verify the page declares tools via navigator.modelContext.addTool() or ``

Contributing

Contributions are welcome! Please open an issue to discuss your idea before submitting a pull request.

Disclaimer

WebClaw is a browser automation tool intended for legitimate use cases such as personal productivity, development, testing, and accessibility. Users are responsible for complying with the terms of service of any website they interact with. The authors are not responsible for any misuse of this tool.

License

MIT

常见问题

8 问
答案由本站依据条目字段整理,不引用上游原文
Webclaw 6819d4b8 怎么安装?

资料没有给出安装命令,请到官方仓库或文档按说明接入;这类条目多数是生态应用,或尚未发布可安装包。

Webclaw 6819d4b8 怎么在 Claude Desktop、Claude、Cursor 里配置?

它的传输方式未标注,在客户端的 MCP 配置里填好启动命令和参数,保存后完全退出客户端再打开,配置才会生效。

Webclaw 6819d4b8 收费吗?

本站不代收费用,也没有标注具体价格。是否收费取决于服务本身和背后的接口额度,正式使用前按官方说明确认。

Webclaw 6819d4b8 需要 API Key 吗?

资料标注需要会话登录认证,使用前准备好对应凭据,并按最小权限配置。

Webclaw 6819d4b8 支持哪些客户端?

资料标注支持 Claude Desktop、Claude、Cursor、Windsurf、VS Code;其他客户端只要能配置 MCP Server,也能用同样的命令或地址接入。

Webclaw 6819d4b8 能提供哪些能力?

资料显示约 21 个工具;能力标签包括 浏览器自动化、标签管理、TypeScript、Claude。具体工具清单以官方文档为准。

Webclaw 6819d4b8 需要什么运行环境?

属于本地进程,需要在本机装好运行环境。

Webclaw 6819d4b8 是本地还是远程?

它是本地进程(stdio),由客户端在本机拉起。

热门专题

按标签挑服务器
全部专题 →

服务器信息以作者仓库与官方文档为准;分类、传输方式与鉴权方式的中文说明为中文整理,最近核验 2026-05-17。