Weavetab MCP
Provides zero-API CAPTCHA solving for Cloudflare Turnstile challenges by orchestrating human-like CDP mouse events.
Enables automation of the Discord desktop application via Electron CDP, allowing UI interactions such as sending messages and navigating the app.
Provides control over registered Electron desktop applications via CDP, enabling UI automation across any Electron app without code changes.
Allows automation of the Figma desktop application via Electron CDP, enabling UI interactions with design files and canvases.
Offers browser-based GitHub automation through the browser_github tool, enabling agents to perform GitHub-related tasks.
Weavetab is the open automation engine for AI agents. It connects models directly to live Chromium browsers and Electron desktop applications via native Chrome DevTools Protocol (CDP) sockets — no WebDriver binaries, no cloud relay, zero telemetry.
Actions execute with sub-10ms latency. Web pages are translated into agent-readable semantic maps with turn-by-turn diffing that reduces token usage by up to 95%. Built-in security enforces local domain policies, role-based access control, and client-side credential injection.
Built and architected by fy2ne.
Why not Playwright or Puppeteer?
The standard approach ΓÇö Playwright over MCP ΓÇö works. But it carries fundamental architectural costs that compound at scale.
Playwright / Puppeteer | Weavetab | |
Protocol layer | WebDriver BiDi or CDP via browser binary | Raw CDP WebSocket, Layer 0 |
Tool execution latency | 50ΓÇô300 ms (binary + IPC overhead) | 3ΓÇô8 ms |
Desktop app control | Browser only | Chrome + any Electron app (Discord, VS Code, Figma…) |
DOM representation | Full HTML dump to LLM | Semantic Map 3.0 with delta diffing |
Token cost per map | ~2,000ΓÇô8,000 tokens | ~80ΓÇô400 tokens (95% reduction via delta) |
CAPTCHA | API service required | Zero-API via CDP mouse physics |
Credential safety | Secrets passed in plaintext | Blind Injection ΓÇö never in LLM context |
Extension access | Limited | Full Chrome Extension API surface |
Related MCP server: Browser-MCP Navigator
Architecture
MCP Client (Claude / Cursor / Antigravity / Copilot / Windsurf)
|
| JSON-RPC 2.0 (stdio or WebSocket :3000)
v
+-------------------------------------------------------------+
| Weavetab MCP Server |
| |
| +-----------------+ +---------------------------------+ |
| | Security Layer |-->| Intelligence Engine | |
| | Rate ┬╖ RBAC | | Map 3.0 ┬╖ Delta ┬╖ Memory | |
| | Policy ┬╖ Audit | | Pruner ┬╖ Framework Detector | |
| +-----------------+ +----------------+----------------+ |
| | |
| +----------v----------------+ |
| | CDP Bridge | |
| | Ghost Cursor ┬╖ Typing | |
| | App Router ┬╖ Loop Guard | |
| +----------+----------------+ |
+-------------------------------------------------------------+
| CDP WebSocket (127.0.0.1)
+---------------------------+-----------------------------+
v v v
Chrome / Edge VS Code / Discord Your Electron App
(any tab) (Electron apps) (local dev)No cloud. No external process. The CDP WebSocket connection is strictly bound to 127.0.0.1.
Quick Start
npx -y @weavetab/mcpAdd to your MCP client config:
{
"mcpServers": {
"weavetab": {
"command": "npx",
"args": ["-y", "@weavetab/mcp"]
}
}
}Client | Config path |
Claude Desktop |
|
Claude Code |
|
Cursor |
|
Antigravity |
|
VS Code Copilot |
|
Windsurf |
|
Core Technology
Semantic Map 3.0
The primary bottleneck in browser-based agents is DOM representation. Full HTML dumps are noisy, large, and structurally meaningless to language models. Weavetab's browser_map runs an in-browser CDP walker that produces a compact semantic map:
ΓòöΓòÉ ACTIVE DIALOG: "Confirm Payment" ΓòÉΓòù
[w:3] button "Confirm" [w:4] button "Cancel"
Γöî "Pro Plan ΓÇö $49/mo"
[w:12] button "Upgrade" [w:13] button "View Details"
[w:14] input val:"john@example.com" ph:"Email address" FOCUSED
[w:20...w:38] 18 nav links: "Dashboard" ... "Sign out"Key properties:
Ref IDs (
w:N) are stable within a session and used by all interaction toolsContainer binding ΓÇö buttons and inputs are grouped under their parent card, row, or section header
Modal hoisting ΓÇö open dialogs are isolated at the top so agents cannot miss them
Link collapsing ΓÇö repeated nav/footer runs of 4+ links compress into a single token line
Semantic delta ΓÇö on re-reads, only changed nodes are transmitted (
~modified,+added,−removed), cutting re-read cost by up to 95%
Ghost Cursor
Clicks are not dispatched as synthetic DOM events. They are delivered as a physical sequence of Input.dispatchMouseEvent CDP calls along a Bezier curve trajectory with randomized acceleration, natural jitter, and hold durations. Anti-bot fingerprinting that flags event-based automation does not trigger.
browser_pointer supports hover_chain for multi-level menu traversal in a single tool call:
{
"hover_chain": ["File", "Export As", "PNG"],
"click_final": true
}Blind Credential Injection
browser_type_secret resolves secrets server-side from ~/.weavetab/secrets.json. The resolved value is never included in the MCP response, never appears in DOM snapshots, and is permanently masked as [REDACTED] in all audit logs. The LLM context never sees the credential.
weavetab secrets set GITHUB_TOKEN
# Stored. Never echoed, never logged, never surfaced to the agent.Electron & Desktop App Automation
Any tool accepts an optional app parameter that routes the command to a registered Electron process instead of a browser tab:
{ "app": "discord", "ref": "w:24", "text": "Hey, deploying now" }Register apps in ~/.weavetab/config.json:
{
"electron": {
"discord": "C:\\Users\\<user>\\AppData\\Local\\Discord\\Discord.exe",
"vscode": "C:\\Users\\<user>\\AppData\\Local\\Programs\\Microsoft VS Code\\Code.exe",
"figma": "C:\\Users\\<user>\\AppData\\Local\\Figma\\Figma.exe"
}
}Weavetab auto-attaches via CDP to the registered process. No code changes required in the target application.
Zero-API CAPTCHA Solving
browser_captcha solves Cloudflare Turnstile, reCAPTCHA v2/v3, GeeTest, and hCaptcha by orchestrating CDP mouse events that replicate human behavioral signatures ΓÇö velocity curves, micro-pauses, scroll inertia ΓÇö with no third-party API, no external service, and no API key required.
Tool Suite
44 tools across 9 categories. Full parameter reference: docs/tools/tools.md
Category | Tools |
Vision & DOM |
|
Input & Interaction |
|
Navigation & Environment |
|
Mission & Automation |
|
Safety & Human Oversight |
|
Autonomous CAPTCHA |
|
Network & Storage |
|
GitHub & Documents |
|
Canvas, Eval & Plugins |
|
Security
Transport: CDP WebSocket strictly bound to
127.0.0.1. No listener on external interfaces.Policy Engine: Per-domain
allow/read-only/deny/auditrules in~/.weavetab/policy.jsonRBAC: Four roles ΓÇö
admin,operator,viewer,automationΓÇö enforce tool-level permission gatesBlind Injection: Credentials resolved server-side, masked in all outputs and audit logs
Loop Breaker: Strike-based stuck-loop detector halts runaway autonomous sequences
Audit Log: All tool invocations, policy decisions, and errors written to
~/.weavetab/logs/audit.log
Security vulnerabilities: security@fy2ne.me (do not use public issues).
CLI Reference
weavetab # Start in stdio mode (default)
weavetab --ws --port 3000 # WebSocket daemon mode
weavetab config # Interactive configuration wizard
weavetab secrets set KEY_NAME # Store a secret (never echoed)
weavetab secrets list # List stored secret keys (not values)
weavetab plugin add <name> # Install a plugin from npm
weavetab plugin list # List installed pluginsConfiguration file: ~/.weavetab/config.json
{
"browserType": "chromium",
"headless": false,
"extension": true,
"maxActionsPerMinute": 60,
"role": "admin",
"electron": {
"discord": "...",
"vscode": "...",
"antigravity": "..."
}
}Extensibility
Weavetab exposes a typed Plugin SDK for authoring custom MCP tools, HUD overlays, and tool lifecycle hooks:
npx @weavetab/sdk init my-pluginSee docs/PLUGINS.md for architecture, manifest spec, and SDK API reference.
License
AGPL-3.0-only. Client connections over stdio or WebSocket do not extend copyleft obligations to your client application or models.
Sponsor development · Discussions · SUPPORT.md
This server cannot be deployed
Maintenance
Related MCP Connectors
Live browser debugging for AI assistants — DOM, console, network via MCP.
Official Browserless MCP server: browser automation, scraping, screenshots and PDFs for AI agents.
Hosted browser for AI agents: screenshots, post-JS DOM, console, WCAG. No install, no API key.
Deterministic Zero-LLM Web Compiler, Scraper, Crawler, and Site Mapper for AI Agents.
Related MCP Servers
- FlicenseBqualityDmaintenanceA minimalist browser control engine that allows LLM agents to visually perceive and interact with web pages through the Chrome DevTools Protocol and MCP standard.411-
- FlicenseBqualityCmaintenanceUltra-fast browser automation server over Chrome DevTools Protocol (CDP), exposed as MCP, enabling AI agents to control a real Chrome browser with low latency and minimal token usage.212-
- AlicenseBqualityAmaintenanceA lightweight 30KB MCP browser automation server that uses raw Chrome DevTools Protocol to enable AI agents to browse the web, take screenshots, interact with elements, and capture live page events like console logs and network requests.2673 npm18MIT
- AlicenseAqualityAmaintenanceMCP server that lets AI agents drive your real Chromium browser with your existing signed-in sessions, providing visible, local, and inspectable automation for tasks like navigation, clicking, typing, and form filling.251Apache 2.0