CloakBrowser MCP

Gives AI clients real browser automation through MCP, driven by CloakBrowser's Chromium build.

Stars
★ 182
Last updated
7d ago
FARS reviewed
Nov 27, 2026
License
MIT
Primary language
TypeScript

At a glance

How it runs
CLIMCP serverSelf-hosted service
Works with
Universal · cross-platformCodex · Claude Code · Claude.ai
Cost
Free, no paid service needed
Setup effort
Low · running in minutes
You'll need
Node.js 22.13+ or 24+Docker (optional)Shell / CLINetwork accessLocal filesystemMCP Server
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
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().

  1. Developers who want Claude Desktop, Cursor, Cline or similar MCP clients to browse and research real web pages
  2. Engineering teams running headless Chromium automation in CI or locally via the Docker image
  3. Users automating sites behind a login with persistent browser profiles and validated context options
  4. QA engineers doing regional testing who need GeoIP-aware proxy matching
  5. Anyone handling interaction-sensitive pages that benefit from humanized mouse, keyboard and scroll input
  6. 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@latest
  • npx -y cloakbrowser-mcp@latest doctor
  • docker 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@latest

Run diagnostics before wiring a client:

npx -y cloakbrowser-mcp@latest doctor

Docker:

docker run --rm -i \
  -v "$PWD/artifacts:/data" \
  swimmwatch/cloakbrowser-mcp:latest

The 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@latest

For 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/mcp

Docker 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)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Local filesystem read/write

Modifies local files; work on a clean Git branch or dedicated worktree.

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

External MCP tool bridge

Inherits capabilities of connected MCP servers; audit third-party servers before enabling.

What are this agent's strengths and limitations?

Pros
  • 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
Limitations
  • 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?

FollowAgents source review · FARS-2.1
Some gaps
62/ 100 5-point scale 3.1 / 5
Trust 16/29
Reliability 9/14
Adaptability 12/18
Convention 13/18
Effectiveness 7/13
Verifiability 5/8
Why each dimension lost points
Trust16 / 29 · 2.8/5

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.

Reliability9 / 14 · 3.2/5

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.

Adaptability12 / 18 · 3.3/5

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.

Convention13 / 18 · 3.6/5

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.

Effectiveness7 / 13 · 2.7/5

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.

Verifiability5 / 8 · 3.1/5

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.

Risks and how to mitigate them
  • 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.
Evidence confidence: Low Reviewed Nov 27, 2026 Reviewed revision 2f3086fa3e90
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/cloakbrowser-mcp.svg)](https://followagents.com/en/agents/cloakbrowser-mcp)
<a href="https://followagents.com/en/agents/cloakbrowser-mcp"><img src="https://followagents.com/badge/cloakbrowser-mcp.svg" alt="FARS review"></a>

FAQ

Is it free to use?
Yes. The project is MIT licensed and both the npm package and Docker images are freely usable; any paid LLM or API driving your MCP client is billed separately by that provider.
How does it relate to @playwright/mcp?
It does not reimplement browser tools. It runs upstream @playwright/mcp as the tool surface and points the runtime at CloakBrowser's Chromium, so the upstream tool list is authoritative.
Why is the Chromium sandbox disabled in Docker?
The image sets CLOAK_PLAYWRIGHT_MCP_NO_SANDBOX=true by default because sandboxing is often unavailable in containerized runtimes. If your host supports it, set the variable to false and keep container network access and mounted directories tightly scoped for untrusted pages.
How do I verify the browser binary and bridge are working?
Run npx -y cloakbrowser-mcp@latest doctor first, then call cloakbrowser_binary_info and cloakbrowser_bridge_info from your MCP client to inspect resolved binary data and bridge metadata.
Can it run as a shared HTTP server?
Yes. Start it with --transport streamable-http --http-port 3000 (adding --http-host 0.0.0.0 and port mapping under Docker) and connect clients to http://127.0.0.1:3000/mcp.
Was this page helpful?
View on GitHub ↗ Install ↓

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts