
CloakMCP
io.github.overtimepog由 GitHub 账号 overtimepog 发布v2.0.1更新于 Oct 24, 2026
Stealth browser MCP server — anti-detection Chromium with snapshot-first agent interface
概览
让助手操控一款反检测的隐身 Chromium 浏览器:打开网页、以 Markdown 读取内容,并通过无障碍树引用进行点击和输入。
- 可以做什么
- CloakMCP 在本地运行一款隐身 Chromium,并向助手暴露浏览器控制工具。核心工具涵盖启动与关闭浏览器、导航、前进后退、获取带 [@eN] 元素引用的无障碍树快照、点击、输入、选择、悬停、勾选、按键、滚动、等待、执行 JavaScript 以及管理页面。它还能把页面内容输出为干净的 Markdown,或输出带元素编号的标注截图。可选的能力开关工具增加网络拦截、Cookie 读写、PDF 导出和控制台输出。
- 适用场景
- 当助手需要真正操作网页而不只是抓取时适用,尤其是会拦截普通自动化的站点。以快照为先、基于引用的交互方式适合多步表单填写、页面导航和内容提取。它是仅限桌面的本地进程,不适合无头服务器部署。
- 运行要求
- 本地 Python 环境,需通过 pip 安装 cloakbrowsermcp 包,以及它所驱动的补丁版 Chromium。默认使用 stdio 传输,也可用 SSE 并指定端口。可选命令行参数用于开启额外能力,环境变量用于控制日志。代理为可选项,但隐身用途下建议配置。
安装
在 SourceWeft 中
- 打开 控制台中的 CloakMCP,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
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
来源:README.md,提交 1e7122d
工具
0版本历史
1- v2.0.1最新Sep 16, 2026
评分
已满足适用检查项的 40%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
请在仓库或注册中心条目中声明许可证。