CloakBrowser MCP
io.github.swimmwatch由 GitHub 帳號 swimmwatch 發布v1.15.1更新於 Oct 24, 2026
Playwright MCP-compatible browser automation bridge for CloakBrowser Chromium.
概覽
相容於 Playwright MCP 的瀏覽器自動化伺服器,驅動 CloakBrowser Chromium,讓助理瀏覽、操作並測試網頁。
- 可以做什麼
- 透過原樣保留的上游 Playwright MCP 工具集瀏覽與操作網頁(導覽、點擊、輸入、頁面快照)
- 用自然語言完成網頁研究、日常自動化與測試,並在真實瀏覽器中檢視結果
- 用兩個本機橋接工具檢視 CloakBrowser 二進位資訊以及橋接與上游版本中繼資料
- 支援持續保存的瀏覽器設定檔、經驗證的內容選項、載入 Chrome 擴充功能、GeoIP 比對代理與擬人化輸入
- 產生 TypeScript、Python、Java 或 C# 程式碼片段,並把產出寫入輸出目錄
- 適用情境
- 當你需要標準的 Playwright MCP 瀏覽器自動化、但希望底層改用 CloakBrowser Chromium 時適用,例如代理下的區域性測試、持續登入的設定檔、依賴擴充功能的流程,或對互動敏感的自動化與測試。
- 執行需求
- 以 stdio(或 Streamable HTTP)在本機執行。npm 套件需要 Node.js 22.x 系列中的 22.13+ 或 24+,也可使用適用於 linux/amd64 與 linux/arm64 的 Docker 映像。設定透過 PLAYWRIGHT_MCP_* 與 CLOAK_PLAYWRIGHT_MCP_* 環境變數完成;選用的 HTTP Bearer 權杖為 CLOAK_PLAYWRIGHT_MCP_HTTP_AUTH_TOKEN。瀏覽網頁需要網路存取。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 CloakBrowser MCP,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
cloakbrowser-mcp
[CI] [codecov] [Actionlint] [CodeQL] [Dependency Review] [OpenSSF Scorecard] [Zizmor] [Release] [GitHub Release] [MCP Registry] [cloakbrowser-mcp MCP server] [LobeHub MCP] [Awesome MCP Servers] [npm] [npm downloads] [Docker Hub pulls] [Docker image] [Node.js 22.13+ or 24+] [TypeScript strict] [Cross-platform] [Available on CodeGuilds] [MCP Server] [MCP transports] [Docker] [License: MIT] [MCP Toplist]
cloakbrowser-mcp is a drop-in Playwright MCP-compatible browser automation server with unchanged upstream tools, CloakBrowser Chromium, and production-ready npm, Docker, and Streamable HTTP packaging. It runs upstream @playwright/mcp as the canonical tool surface and points that runtime at CloakBrowser.
30-second demo
Run npx -y cloakbrowser-mcp@latest, connect Claude Desktop or Codex CLI, ask for web research, daily automation, or testing in plain English, and inspect the real browser result.
Documentation: swimmwatch.github.io/cloakbrowser-mcp · Comparison · Recipes
Use it when you need:
- Playwright MCP browser automation backed by CloakBrowser;
- unchanged upstream browser tools plus two local introspection tools;
- npm or Docker installation over stdio or Streamable HTTP;
- opt-in, session-scoped managed CDP access for
CDP-capable clients through
chromium.connectOverCDP(); - persistent browser profiles, validated context options, and Chrome extension loading;
- GeoIP-aware proxy matching for regional QA;
- humanized mouse, keyboard, and scroll behavior for interaction-sensitive flows.
Cross-platform checks cover npm on Linux x64/arm64, macOS arm64/x64, and Windows x64 across the Node.js versions listed in Testing. Docker images are built and smoke-tested for linux/amd64 and linux/arm64.
See @playwright/mcp vs cloakbrowser-mcp when deciding whether plain upstream Playwright MCP or CloakBrowser MCP fits a deployment better. The Recipes pages show task-focused setup paths for persistent login profiles, Chrome extensions, reverse proxies, regional QA, client connections, and CI smoke tests.
Install With npm
Requires Node.js 22.13+ in the 22.x line, or Node.js 24+. Run diagnostics before wiring a client:
For Streamable HTTP instead of stdio:
See the generated CLI Reference for all flags.
Install With Docker
For Streamable HTTP:
The Docker image writes artifacts to /data and is published for linux/amd64 and linux/arm64. It defaults to CLOAK_PLAYWRIGHT_MCP_NO_SANDBOX=true for compatibility with containerized runtimes where Chromium sandboxing is often unavailable. If your host and container runtime support Chromium sandboxing, set CLOAK_PLAYWRIGHT_MCP_NO_SANDBOX=false; for untrusted pages, keep container network access and mounted host directories tightly scoped. The same tags are also available from ghcr.io/swimmwatch/cloakbrowser-mcp. See Docker for persistent profiles, extension mounts, HTTPS, and smoke-test examples, or use the reverse proxy recipe for a focused Streamable HTTP deployment.
Add To MCP Clients
Codex CLI
Claude Code
GitHub Copilot In VS Code
Claude Desktop, Cursor, Cline, Windsurf, Warp, And Other mcpServers Clients
Add this server entry to the client's MCP JSON config:
Docker-backed stdio
Already-running Streamable HTTP server
Prompt For A Code Assistant
Paste this into Codex, Claude Code, Copilot, Cursor, Cline, Windsurf, or a similar coding assistant that can edit MCP config:
More examples are in Getting Started, with dedicated recipes for Claude Desktop and Codex CLI.
Configuration
Use upstream PLAYWRIGHT_MCP_* variables for browser, artifacts, timeouts, network, and tool capability settings. Cloak-specific bridge toggles use CLOAK_PLAYWRIGHT_MCP_*. Select a Pro Preview browser build before startup with --release-channel preview or CLOAK_PLAYWRIGHT_MCP_RELEASE_CHANNEL=preview; the default is stable.
The common variable table now lives in Configuration. That page also covers persistent profiles, validated context options, Chrome extensions, Streamable HTTP metadata, and HTTPS/auth options. See GeoIP Proxy Matching for regional proxy behavior, Humanized Input Behavior for interaction realism, and Recipes for task-focused configurations.
Version Compatibility
See Version Compatibility for the maintained compatibility table.
Tools
The upstream Playwright MCP tool list is authoritative. This project does not reimplement or re-document upstream browser schemas in source code.
Local tools:
cloakbrowser_binary_inforeturns CloakBrowser package, platform, cache, and resolved binary data.cloakbrowser_bridge_inforeturns bridge metadata, upstream package/version, and local tool names.
Development
Documentation starts at docs/getting-started.md. Contributor material is grouped under docs/contributor-guide.md.
See test reporting for local Allure reports and combined CI matrix reports linked from pull requests.
來源:README.md,提交 2f3086f
工具
0版本歷史
5- v1.15.1最新Oct 18, 2026
- v1.15.0Oct 18, 2026
- v1.14.1Sep 27, 2026
- v1.14.0Sep 25, 2026
- v1.13.0Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分