CloakBrowser MCP
Gives AI clients real browser automation through MCP, driven by CloakBrowser's Chromium build.
- Source repo
- swimmwatch/cloakbrowser-mcp
- Stars
- ★ 182
- Last updated
- 7d ago
- FARS reviewed
- Nov 27, 2026
- License
- MIT
- Primary language
- TypeScript
- FA score
- 62/100 · Some gaps
At a glance
- How it runs
- Works with
- Universal · cross-platformCodex · Claude Code · Claude.ai
- Cost
- Free, no paid service needed
- Setup effort
- Low · running in minutes
- You'll need
- Typical use
- Developers who want Claude Desktop, Cursor, Cline or similar MCP clients to browse and research real web pages
- Not a fit if
- Teams needing strict Chromium sandbox isolation for untrusted pages
- Air-gapped setups that cannot download or run Chromium
- Developers who want a direct browser API rather than an MCP server
- Website
- swimmwatch.github.io/cloakbrowser-mcp ↗ set on GitHub
- Maintenance
- Commits in the last 30 dayslast commit 2026-11-19
- Source review
- 62/100 · Some gaps
What does this agent do, and when should you use it?
cloakbrowser-mcp is a Playwright MCP-compatible browser automation server for MCP clients. Rather than reimplementing browser tools, it runs Microsoft's @playwright/mcp as the canonical tool surface and points that runtime at CloakBrowser's Chromium, so upstream tool schemas stay unchanged. It adds only two local introspection tools, cloakbrowser_binary_info and cloakbrowser_bridge_info, which report binary resolution and bridge metadata. It ships as an npm package runnable via npx and as a multi-arch Docker image, supporting both stdio and Streamable HTTP transports across Linux, macOS and Windows. Optional capabilities include persistent browser profiles, Chrome extension loading, GeoIP-aware proxy matching, humanized mouse/keyboard/scroll input, and session-scoped managed CDP access.
On startup the server speaks MCP over stdio or Streamable HTTP and exposes the @playwright/mcp browser tool set, executing against the CloakBrowser Chromium binary. It resolves and caches that binary, with cloakbrowser_binary_info returning package, platform, cache and resolved-binary data, and cloakbrowser_bridge_info returning bridge metadata, upstream package version and local tool names. Browser-side features include persistent Playwright profiles, validated context options, Chrome extension loading, GeoIP-aware proxy matching and humanized mouse, keyboard and scroll behavior. Upstream PLAYWRIGHT_MCP_* variables control browser, artifacts, timeouts, network and tool capabilities, while Cloak-specific bridge toggles use the CLOAK_PLAYWRIGHT_MCP_* prefix. Artifacts are written to a configured directory (the Docker image uses /data), and optional managed CDP access is offered through chromium.connectOverCDP().
- Developers who want Claude Desktop, Cursor, Cline or similar MCP clients to browse and research real web pages
- Engineering teams running headless Chromium automation in CI or locally via the Docker image
- Users automating sites behind a login with persistent browser profiles and validated context options
- QA engineers doing regional testing who need GeoIP-aware proxy matching
- Anyone handling interaction-sensitive pages that benefit from humanized mouse, keyboard and scroll input
- Platform teams that want to attach browser automation to a multi-session backend over Streamable HTTP
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Install / run
npx -y cloakbrowser-mcp@latestnpx -y cloakbrowser-mcp@latest doctordocker run --rm -i \npx -y cloakbrowser-mcp@latest --transport streamable-http --http-port 3000
- Runtime
- Node.js 22.13+
- Install notes cover
- Linux · Docker
How do you install or deploy this agent?
Requires Node.js 22.13+ in the 22.x line (or Node.js 24+), or use Docker instead. Run directly with npm:
npx -y cloakbrowser-mcp@latestRun diagnostics before wiring a client:
npx -y cloakbrowser-mcp@latest doctorDocker:
docker run --rm -i \
-v "$PWD/artifacts:/data" \
swimmwatch/cloakbrowser-mcp:latestThe image is published for linux/amd64 and linux/arm64 and is also available from ghcr.io/swimmwatch/cloakbrowser-mcp.
How do you use this agent?
Register over stdio with Codex CLI or Claude Code:
codex mcp add cloakbrowser -- npx -y cloakbrowser-mcp@latest
claude mcp add --transport stdio cloakbrowser -- npx -y cloakbrowser-mcp@latestFor Claude Desktop, Cursor, Cline, Windsurf and other mcpServers clients:
{
"mcpServers": {
"cloakbrowser": {
"command": "npx",
"args": ["-y", "cloakbrowser-mcp@latest"]
}
}
}For Streamable HTTP, start the server then connect by URL:
npx -y cloakbrowser-mcp@latest --transport streamable-http --http-port 3000
codex mcp add cloakbrowser --url http://127.0.0.1:3000/mcp
claude mcp add --transport http cloakbrowser http://127.0.0.1:3000/mcpDocker defaults CLOAK_PLAYWRIGHT_MCP_NO_SANDBOX=true; set it to false when your host and runtime support Chromium sandboxing. Add --release-channel preview to select a Pro Preview build.
Safety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
Inherits capabilities of connected MCP servers; audit third-party servers before enabling.
What are this agent's strengths and limitations?
- Reuses upstream @playwright/mcp as the tool surface, so existing Playwright MCP tool schemas and usage carry over unchanged
- Ships as both an npm package and multi-arch Docker images (linux/amd64, linux/arm64) with stdio and Streamable HTTP transports
- Adds capabilities beyond upstream: persistent profiles, Chrome extension loading, GeoIP proxy matching and humanized input
- Two local tools (cloakbrowser_binary_info, cloakbrowser_bridge_info) make binary resolution and bridge state inspectable
- MIT licensed with CI, cross-platform coverage and a maintained version compatibility table
- Depends on CloakBrowser's Chromium build, so the matching binary must be obtainable at runtime
- Docker images disable the Chromium sandbox by default; untrusted pages require you to re-enable it and tighten network and mounts
- Version alignment tracks both @playwright/mcp and CloakBrowser, so upgrades need a check against the compatibility table
- Only useful through an MCP-capable client; non-MCP integrations need their own adapter
- Cloak-specific behavior is controlled through a second CLOAK_PLAYWRIGHT_MCP_* variable prefix alongside upstream settings
How does this agent compare with similar options?
Compared with using Microsoft's @playwright/mcp directly: cloakbrowser-mcp keeps the identical upstream tool set but targets CloakBrowser's Chromium and layers on persistent profiles, extension loading, GeoIP proxy matching, humanized input and two local diagnostic tools. If you only need plain Playwright-driven browsing, upstream is the simpler choice.
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| CloakBrowser MCP This agent | 62 · Some gaps | CLIFree | ★ 182 | 7d ago | TypeScript | Codex · Claude Code · Claude.ai |
| Uni-CLI | 83 · Good | CLIFree | ★ 229 | 11d ago | TypeScript | ChatGPT · Codex · Claude Code |
| CamoFox Browser Server | 63 · Some gaps | Self-hosted serviceFree | ★ 458 | 21d ago | JavaScript | Claude Code |
| Page Agent | 59 · Major gaps | Library / SDKFree + model costs | ★ 30k | 9d ago | TypeScript | — |
How does FollowAgents rate this agent?
Why each dimension lost points
Security docs state managed CDP is off by default, Streamable HTTP binds to 127.0.0.1, non-loopback binding requires an auth token, and logs exclude tokens/paths/host headers; src/http/server.ts uses timingSafeEqual for Bearer auth, showing least-privilege and sensitive-data awareness. However the Docker image defaults CLOAK_PLAYWRIGHT_MCP_NO_SANDBOX=true (sandbox disabled), browser_evaluate/browser_run_code_unsafe allow arbitrary JS with no runtime confirmation gate (user confirmation appears only in release/PR skills), and external effects (browsing, downloads, network) are upstream-controlled with no rollback. Dependency security is asserted via CodeQL, Dependency Review, npm audit, Trivy, Scorecard in CI, but no lockfile or scan results are in the packet, so 2 not 3. Source attribution to @playwright/mcp and CloakBrowser is explicit, but publisher identity is unverified.
README gives a version compatibility table, Node constraints, and a doctor command; code writes errors to stderr with fatal/warning prefixes and actionable messages. But no test files are in the sample, CI badges are assertions rather than verifiable evidence, and dependency availability rests on npm/Docker publication claims not validated in-packet.
README covers many clients (Claude Desktop, Codex CLI, Copilot, Cursor, Cline, Windsurf, Docker, Streamable HTTP) and scenarios; AGENTS.md and skills define capability boundaries (only two local tools, upstream tools unchanged, CDP off by default); skill descriptions state explicit-only triggers. Environment fit spans Linux/macOS/Windows and amd64/arm64, though all as documentation claims.
Information architecture is clear (README, docs, AGENTS.md, skills layered); install notes are thorough for npm/Docker/multi-client; LICENSE is full MIT text; version compatibility table and Keep a Changelog convention are described. But no CHANGELOG.md entity is in the packet, SECURITY.md is truncated, and maintenance responsibility points only to unverified swimmwatch and GitHub Security Advisories, so maintenance and versioning score 1-2.
Output usability depends on the upstream Playwright MCP tool surface; locally only two introspection tools exist. README offers a 30-second demo and recipes; marginal value is CloakBrowser Chromium plus packaging convenience. Cost side requires Node 22.13+/24+, Docker image, and a sandbox-disabled compatibility tradeoff, while core capability heavily overlaps upstream @playwright/mcp, so marginal value and cost-benefit are moderate-to-conservative.
README claims corroborate AGENTS.md, security docs, and source (e.g., isAuthorizedRequest, #warnIfUnsafeHttpExposure), so claims trace to specific files. But CI badges, codecov, and Docker pull counts are external assertions without in-packet evidence, and publisher identity is unverified, so cross-source corroboration and fact/inference separation score 2.
- The Docker image disables the Chromium sandbox by default (CLOAK_PLAYWRIGHT_MCP_NO_SANDBOX=true), which is risky for untrusted pages; evaluate and consider setting it false.
- browser_evaluate and browser_run_code_unsafe execute arbitrary JavaScript; the repo provides no runtime user-confirmation gate and only advises connecting trusted MCP clients.
- Publisher identity is unverified; maintenance responsibility and update path point only to the unverified swimmwatch account and GitHub Security Advisories.
- CI badges, codecov, and Docker pull counts are external assertions; no test files, lockfile, or scan results are in the packet for static verification.
- If Streamable HTTP binds 0.0.0.0 without an auth token, the code only logs a warning rather than blocking, leaving an exposure risk.
FAQ
Is it free to use?
How does it relate to @playwright/mcp?
Why is the Chromium sandbox disabled in Docker?
How do I verify the browser binary and bridge are working?
Can it run as a shared HTTP server?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.