
CloakMCP
io.github.overtimepogPublished by GitHub account overtimepogv2.0.1Updated Oct 24, 2026
Stealth browser MCP server — anti-detection Chromium with snapshot-first agent interface
Overview
Lets an assistant drive a stealth, anti-detection Chromium browser: navigate pages, read them as markdown, and click or type via accessibility-tree refs.
- What you can do
- CloakMCP runs a locally installed stealth Chromium and exposes browser control tools to an assistant. Core tools cover launching and closing the browser, navigating, going back and forward, taking accessibility-tree snapshots with [@eN] element refs, clicking, typing, selecting, hovering, checking boxes, pressing keys, scrolling, waiting, running JavaScript, and managing pages. It can also return page content as clean markdown or an annotated screenshot with element indices. Optional capability-gated tools add network interception, cookie get/set, PDF export, and console output.
- When to use it
- Use it when an assistant needs to operate real web pages rather than just fetch them, especially sites that block ordinary automation. The snapshot-first, ref-based interface suits multi-step form filling, navigation, and content extraction. It is a desktop-only local process, so it is not for headless server deployments.
- Requirements
- A local Python environment with the cloakbrowsermcp package installed via pip, plus the patched Chromium it drives. Runs over stdio by default, or SSE with a port. Optional CLI flags enable extra capabilities and environment variables control logging. A proxy is optional but recommended for stealth use.
Installation
In SourceWeft
- Open CloakMCP in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
CloakBrowser MCP
Stealth browser automation for AI agents — a Model Context Protocol server combining CloakBrowser's anti-detection with Playwright MCP-inspired architecture.
CloakBrowser is a source-level patched Chromium that passes Cloudflare Turnstile, reCAPTCHA v3 (0.9 score), FingerprintJS, BrowserScan, and 30+ bot detection services.
Why CloakBrowser MCP?
Quick Start
Install
Use with Claude Desktop
Add to your claude_desktop_config.json:
Use with VS Code / Cursor
Add to .vscode/mcp.json:
Use with Hermes Agent
Add to ~/.hermes/config.yaml:
How It Works
Snapshot-First Architecture
CloakBrowser MCP uses accessibility tree snapshots as the primary way for AI models to understand web pages — not screenshots, not raw HTML.
Each interactive element gets a [@eN] ref ID. All interaction tools use these refs — no CSS selectors needed.
Three Ways to See a Page
cloak_snapshot()— Accessibility tree with[@eN]refs. Fast, cheap, reliable. Use this.cloak_read_page()— Clean markdown extraction. For reading content, not interacting.cloak_screenshot()— Annotated screenshot with element indices. For visual context (images, charts, CAPTCHAs).
Stealth by Default
All anti-detection features are ON by default:
- Source-patched Chromium binary (not Playwright patches — actual Chromium source modifications)
- Human-like mouse curves, keyboard timing, and scroll patterns (
humanize=True) - Stealth fingerprint arguments (consistent canvas, WebGL, audio fingerprints)
- Proxy support with GeoIP-based timezone/locale detection
Tools
Core Tools (20 — always available)
Capability-Gated Tools (enabled via --caps)
Enable with cloakbrowsermcp --caps network,cookies,pdf,console or --caps all.
Configuration
CLI Options
--caps: Comma-separated capabilities:network,cookies,pdf,console,all--transport: MCP transport —stdio(default) orsse--port: Port for SSE transport (default: 8931)
Environment Variables
Launch Options
Backend note:
SessionConfig.backendis deprecated. CloakBrowser 0.4.0 removed the patchright backend (it broke proxy auth andadd_init_scriptwithout improving stealth), so current versions ignore the setting and log a one-time warning. If you still need it,pip install "cloakbrowsermcp[patchright]"pinscloakbrowser<0.4, where the old backend still works, but it carries those upstream bugs.
Architecture
Design Principles
- Snapshot-first — Tool descriptions steer models to use
cloak_snapshot()as the primary page understanding tool - Ref-based only — No CSS selector tools. All interaction via
[@eN]refs from snapshots - Stealth by default — Anti-detection, humanization, and stealth args all ON without configuration
- Auto-snapshot after actions — Click, type, navigate all return an updated snapshot
- Smart waiting — Auto-wait on navigation (networkidle + MutationObserver settle), auto-retry on failed clicks
- Capability gating — Advanced tools (network, cookies, PDF) off by default to keep tool count low
- Clean content extraction — Markdown for reading, snapshot for interaction, annotated screenshots for vision
Development
License
Apache-2.0
Source: README.md at commit 1e7122d
Tools
0Version history
1- v2.0.1LatestSep 16, 2026
Score
40% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
Declare a license in the repository or the registry entry.