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.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
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 directly over local CDP sockets without external driver overhead. Web pages are translated into agent-readable semantic maps with turn-by-turn diffing that transmits only structural changes between turns. Built-in security enforces local domain policies, role-based access control, and client-side credential injection.
Built by Weavetab, architected by fy2ne.
Design Philosophy
Most browser automation stacks for agents wrap an existing test runner behind an RPC layer. That works for a prototype and breaks down in production. Weavetab is built around four engineering constraints:
Talk to the engine directly. Chromium browsers and Electron desktop apps already expose the Chrome DevTools Protocol over a local WebSocket. Skipping WebDriver and intermediate browser wrappers removes IPC overhead, binary version skew, and process bloat.
Treat context windows like memory bandwidth. Dumping raw HTML into a model burns thousands of tokens on layout chrome and forces guessing. Weavetab walks the live accessibility and DOM trees into a compact structural map, then transmits only diffs between turns.
Keep credentials outside model context. An agent should trigger authentication without ever reading the secret. Values stay encrypted on disk, check against explicit hostname rules before injection, and get scrubbed before any tool output, snapshot, or log leaves the server.
Unify browsers and desktop apps. Discord, VS Code, Figma, and Slack all run Chromium underneath. Controlling a desktop window uses the same protocol, ref model, and security pipeline as controlling a Chrome tab, inside isolated profiles that never touch your personal app data.
Playwright / Puppeteer over MCP | Weavetab | |
Transport | WebDriver BiDi or external browser driver | In-process CDP WebSocket ( |
Execution path | External driver binary + IPC relay | Direct local WebSocket |
Targets | Browser tabs only | Chromium browsers + Electron desktop apps |
Page representation | Full HTML or verbose accessibility dump | Structural map with turn-by-turn semantic deltas |
Repeat observations | Re-sends full snapshot every turn | Sends only added, changed, or removed nodes |
Credentials | Passed through tool arguments in plaintext | Server-side blind injection with recursive redaction |
Extension surface | Restricted | Native MV3 extension + isolated Shadow DOM HUD |
Related MCP server: Browser-MCP Navigator
Architecture
flowchart TB
Client["MCP Client (Claude / Cursor / Antigravity / Copilot / Windsurf)"]
subgraph Server["Weavetab MCP Server (In-Process Node.js)"]
direction TB
Sec["Security Gate — Rate Limit · Domain Policy · Fail-Closed RBAC · Audit"]
Intel["Intelligence & State — Semantic Map · Delta Diffing · DOM Pruner · Loop Guard"]
Bridge["CDP Bridge — Ghost Cursor · Typing Engine · App Router · Lock Mutex"]
Sec --> Intel --> Bridge
end
Chrome["Chrome / Edge / Brave (Web Tabs)"]
Electron["VS Code / Discord / Slack (Isolated Electron Profiles)"]
LocalApp["Local Electron App (Dev or Packaged)"]
Client -- "JSON-RPC 2.0 (stdio or 127.0.0.1 WebSocket)" --> Sec
Bridge -- "CDP WebSocket (127.0.0.1)" --> Chrome
Bridge -- "CDP WebSocket (127.0.0.1)" --> Electron
Bridge -- "CDP WebSocket (127.0.0.1)" --> LocalApp
classDef client fill:#1e293b,stroke:#3b82f6,stroke-width:2px,color:#f8fafc
classDef sec fill:#31102f,stroke:#ec4899,stroke-width:2px,color:#fdf2f8
classDef intel fill:#1e1b4b,stroke:#8b5cf6,stroke-width:2px,color:#f5f3ff
classDef bridge fill:#064e3b,stroke:#10b981,stroke-width:2px,color:#ecfdf5
classDef target fill:#0f172a,stroke:#64748b,stroke-width:1.5px,color:#e2e8f0
class Client client
class Sec sec
class Intel intel
class Bridge bridge
class Chrome,Electron,LocalApp targetEverything runs locally in one Node.js process with zero cloud relay and zero background telemetry. Every tool call passes through a single security gate before touching CDP. See ARCHITECTURE.md for the full pipeline specification.
Quick Start
npx -y @weavetab/mcpRegister the server in your MCP client:
{
"mcpServers": {
"weavetab": {
"command": "npx",
"args": ["-y", "@weavetab/mcp"]
}
}
}Client | Configuration |
Claude Code |
|
Claude Desktop |
|
Cursor |
|
Antigravity |
|
VS Code Copilot |
|
Windsurf |
|
How It Works
Structural DOM Mapping & Deltas
browser_map converts a live page into a dense semantic tree with session-scoped ref IDs (w:N). Active dialogs hoist to the top, controls bind under their parent card or section heading, and repetitive nav bars collapse into one line:
╔═ 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"Subsequent reads compute property-level diffs against the last snapshot (+ added, ~ changed, - removed), sending only what changed since the previous turn. For canvas and WebGL apps with sparse DOM trees, visual Set-of-Marks grounding overlays numbered badges directly on the rendered viewport.
Physical Input Kinematics
Synthetic DOM events fail on modern web apps and trigger anti-automation heuristics. Weavetab drives pointer and keyboard actions through raw CDP input events: Bezier cursor trajectories with natural acceleration and jitter, single-call multi-level flyout menu traversal, and human-paced keystroke bursts with live focus recovery.
Blind Credential Injection
Store passwords, 2FA seeds, or account credentials once on the host:
weavetab secrets set ACCOUNT_PASSWORDThe agent passes only the key name to browser_type_secret. The server verifies the active tab hostname against the key's allowed domains, decrypts locally with fail-closed AES-256-GCM, and types directly via CDP. The plaintext value never enters tool responses, DOM maps, screenshots, snapshots, memory profiles, or audit logs. Details in docs/architecture/blind-injection.md.
Desktop & Electron Automation
Any tool accepts an app target to route execution to a registered Electron application instead of a browser tab. Web sessions and desktop apps run concurrently on independent debug ports, each bound to an isolated profile under ~/.weavetab-system/apps/ so personal logins and OS app directories remain untouched. See docs/desktop-automation/electron-apps.md.
Security Model
Weavetab treats visited web pages and third-party plugins as untrusted by default. Full threat model and vulnerability reporting live in SECURITY.md and docs/architecture/security.md.
Surface | Guarantee |
Transport | Loopback-only ( |
Domain Policy | Specificity-ordered |
RBAC | Five fail-closed roles ( |
Secrets & Output | Owner-restricted key files ( |
Isolation | Real browser and OS AppData directories are hard-blocked; dangerous Chromium launch flags are stripped; webpages receive zero host paths or config secrets. |
Plugins | Three-tier trust verification, manifest-only permissions, |
Runtime Safety | Per-tab stuck-loop breaker halts runaway retries; mission audit logs auto-prune to bounded retention; telemetry stays off unless enabled. |
Report vulnerabilities privately to security@weavetab.dev.
Tool Surface
40 built-in tools across 7 groups. Full parameter specs live in docs/tools/tools.md and the auto-generated docs/TOOLS.md.
Group | Tools |
Vision & DOM |
|
Input & Interaction |
|
Navigation & Environment |
|
Pipelines & Recording |
|
Oversight & Timing |
|
Network & State |
|
Documents & Canvas |
|
CLI & Extensibility
weavetab # Run MCP server over stdio (default)
weavetab --ws --port 3000 # Run authenticated loopback WebSocket daemon
weavetab config # Interactive setup wizard (~/.weavetab/config.json)
weavetab secrets set KEY_NAME # Encrypt and store a domain-scoped secret
weavetab plugin add <package> # Verify and install a pluginBuild custom tools, MCP resources, slash prompts, and lifecycle hooks with the typed SDK:
npx @weavetab/sdk init my-pluginConfiguration options live in docs/configuration/configuration.md. Plugin authoring and manifest permissions live in docs/PLUGINS.md.
License
AGPL-3.0-only. Connecting an MCP client or model over stdio or WebSocket does not extend copyleft obligations to your application.
For commercial embedding, closed-source SaaS, or enterprise licensing, see COMMERCIAL.md or email license@weavetab.dev.
Sponsor on Ko-fi · Discussions · SUPPORT.md
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Web scraping, browser automation, screenshots and AI data extraction for AI agents via MCP.
Cloud browser, web extraction, screenshots, and remote CDP tools for AI agents.
Control a real browser from AI agents: navigate, click, type, screenshot, read the page.
Live browser debugging for AI assistants — DOM, console, network via MCP.
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-
- FlicenseBqualityDmaintenanceUltra-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-
- AlicenseAqualityBmaintenanceA 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.4128 npm19MIT
- AlicenseAqualityBmaintenanceMCP 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.252Apache 2.0