WeaveTab-MCP
The Zero-Setup Local Browser MCP. Enables AI agents to control web browsers via CDP with zero vision tokens and high-speed DOM mapping.
README
<div align="center">
WeaveTab MCP V2
The Zero-Setup Local Browser MCP for AI Agents
<img src="https://github.com/user-attachments/assets/afc74063-beb3-4b6e-95b5-f7cc78abbdf2" width="80%" alt="WeaveTab V2 Architecture" />
<br />
WeaveTab is a lightweight, local Model Context Protocol (MCP) server that empowers AI agents to seamlessly interact with web browsers using Chrome DevTools Protocol (CDP). Unlike other solutions, WeaveTab is completely autonomous and zero-setup. It automatically launches a sandboxed browser profile parallel to your daily browsing—meaning you never have to close your browser or mess with debugging ports again.
</div>
🌟 Key Features
- Zero-Setup Autonomous Browser: Runs completely parallel to your existing browser via an isolated sandbox. No manual port configuration, no closing your personal browser.
- No Extensions Required: Connects directly via native CDP.
- Semantic Action Map:
weave_readreturns a parsed, highly compressed DOM semantic map, significantly reducing token consumption. - Sniper Mode Actions:
weave_clickandweave_typeautomatically locate and interact with elements in one step based on their intent or label. - Local & Secure: No cloud dependencies. Built-in rate limiting and optional Safe Mode.
- Screenshot Support: Optionally use
weave_screenshotto capture current tabs, orweave_peekfor targeted vision on specific elements/canvas.
🚀 Quick Start (MCP Integration)
The easiest way to use WeaveTab is via npx. Add the following to your MCP client configuration (e.g., Cursor, OpenCode, Claude Desktop).
Cursor / OpenCode
Add this to your IDE's MCP configuration settings:
{
"mcpServers": {
"weavetab": {
"command": "npx",
"args": ["-y", "@fy2ne/weavetab@latest"]
}
}
}
Claude Desktop
Edit your claude_desktop_config.json:
{
"mcpServers": {
"weavetab": {
"command": "npx",
"args": ["-y", "@fy2ne/weavetab@latest"]
}
}
}
🛠️ Tool Arsenal
WeaveTab exposes a rich set of specialized tools for your AI:
weave_read: Reads the page and returns a semantic action map.weave_click: Clicks elements by label, intent, or ID.weave_type: Types text into forms securely.weave_navigate: Navigates to a target URL.weave_scroll: Scrolls up, down, top, or bottom.weave_wait: Wait for specific states (navigation, element, DOM stability).weave_tabs: List open tabs or switch between them.weave_extract: Extract visible content to text or JSON.weave_screenshot: Capture a PNG of the current view.weave_peek: Targeted vision over specific coordinates.weave_key: Press physical keys and modifiers.weave_find: Find elements semantically without extracting the full page.
🛡️ Security & Configuration
WeaveTab respects your system. It actively refuses to run as root/sudo.
On first run, WeaveTab generates a configuration file at ~/.weavetab/config.json:
{
"safeMode": false,
"allow": [],
"rateLimitMs": 1000,
"preferredBrowser": "google-chrome",
"persistentProfile": false,
"screenshot": true,
"peek": true
}
Safety Features
- Storage hard-block: Disables scripts accessing cookies/localStorage in specific environments.
- Root Detection: Exits if run with root permissions.
- Domain Allowlist: Prevents your agent from going to untrusted sites when
safeModeis active. - Audit Logging: Every action taken by the AI is cleanly logged locally at
~/.weavetab/audit.logfor your review.
🤝 Contributing
Contributions are welcome!
git clone https://github.com/fy2ne/WeaveTab.git
cd WeaveTab
npm install
npm run build
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。
mcp-server-qdrant
这个仓库展示了如何为向量搜索引擎 Qdrant 创建一个 MCP (Managed Control Plane) 服务器的示例。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。