CloakBrowser

Browser automation

Playwright MCP-compatible browser automation bridge for CloakBrowser Chromium.

Your AI app calls the CloakBrowser MCP server, which does the work through tools like cloakbrowser_binary_info and cloakbrowser_bridge_info and sends the result back to the chat.

About CloakBrowser

CloakBrowser is a community MCP server from swimmwatch, filed in our directory under browser automation. Playwright MCP-compatible browser automation bridge for CloakBrowser Chromium.

CloakBrowser runs on your own machine: your AI app starts it with the command npx -y cloakbrowser-mcp@1.15.1 and talks to it over standard input and output.

The README for CloakBrowser lists tools such as cloakbrowser_binary_info and cloakbrowser_bridge_info, which your AI app can call once the server is connected.

CloakBrowser is listed in the official MCP registry as io.github.swimmwatch/cloakbrowser-mcp, version 1.15.1.

At a glance

Publisher
swimmwatch (community)
Runs
Locally on your machine
Install from
Node.js package on npm: cloakbrowser-mcp
Written in
TypeScript
License
MIT
GitHub stars
184
Official MCP registry
io.github.swimmwatch/cloakbrowser-mcp

Tools CloakBrowser gives your AI app

  • cloakbrowser_binary_infoReturns CloakBrowser package, platform, cache, and resolved binary data.
  • cloakbrowser_bridge_infoReturns bridge metadata, upstream package/version, and local tool names.

Tool names as the CloakBrowser README lists them. Your AI app shows the live list once CloakBrowser is connected.

How to set up CloakBrowser

  1. Install Node.js on the machine that runs your AI app, because CloakBrowser starts with npx and downloads its package on first run.
  2. Check the CloakBrowser README for keys or settings; the registry lists none that CloakBrowser requires.
  3. Add CloakBrowser to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the CloakBrowser tools to confirm the connection.
  5. Run one read-only task with CloakBrowser first, such as a call to cloakbrowser_binary_info, before you allow anything that writes or sends.

CloakBrowser compared with similar servers

  • Toolkit by nuxt-modules has fewer GitHub stars than CloakBrowser (184 against 184); both are community servers, and Toolkit runs as a remote server and CloakBrowser runs on your own machine.
  • Charlotte by TickTockBent has fewer GitHub stars than CloakBrowser (184 against 184); both are community servers, and both run locally.
  • Comet by hanzili has fewer GitHub stars than CloakBrowser (183 against 184); both are community servers, and both run locally.

Before you connect CloakBrowser

  • Give CloakBrowser its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each CloakBrowser tool call until you trust what it does with them.
  • Treat text that CloakBrowser fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for CloakBrowser on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for CloakBrowser

How marketing and sales teams put CloakBrowser to work, by company size. Pick the size closest to yours and start CloakBrowser on one use case.

Small business

  • A small business can use CloakBrowser to check its own site after every change: forms submit, links work and checkout still loads.
  • Owners can have CloakBrowser collect competitor prices or offers from public pages once a week, instead of doing it by hand.
  • CloakBrowser runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Marketing teams can run CloakBrowser to test landing pages and signup flows on every release, catching a broken form before paid traffic hits it.
  • Growth teams can use CloakBrowser to capture screenshots of ads and pages across markets for reviews and audits.
  • Start with cloakbrowser_binary_info and cloakbrowser_bridge_info, the tools CloakBrowser lists first, and add more once the team trusts the results.

Enterprise

  • Enterprises can run CloakBrowser in isolated environments with allow-listed sites, so browsing agents never reach internal or unknown pages.
  • Large web teams can use CloakBrowser for regression checks across many locales and devices, feeding results into release gates.
  • CloakBrowser is a community server, so have security review the code and pin a version before CloakBrowser touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

CloakBrowser README

From swimmwatch/cloakbrowser-mcp on GitHub, shared under its MIT license. Images are left out; the original has them.

README.md

cloakbrowser-mcp

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

npx -y cloakbrowser-mcp@latest

Requires Node.js 22.13+ in the 22.x line, or Node.js 24+. Run diagnostics before wiring a client:

npx -y cloakbrowser-mcp@latest doctor

For Streamable HTTP instead of stdio:

npx -y cloakbrowser-mcp@latest --transport streamable-http --http-port 3000

See the generated CLI Reference for all flags.

Install With Docker

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

For Streamable HTTP:

docker run --rm -p 127.0.0.1:3000:3000 \
  -v "$PWD/artifacts:/data" \
  swimmwatch/cloakbrowser-mcp:latest \
  --transport streamable-http --http-host 0.0.0.0 --http-port 3000

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
codex mcp add cloakbrowser -- npx -y cloakbrowser-mcp@latest
Claude Code
claude mcp add --transport stdio cloakbrowser -- npx -y cloakbrowser-mcp@latest
GitHub Copilot In VS Code
{
  "servers": {
    "cloakbrowser": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "cloakbrowser-mcp@latest"]
    }
  }
}
Claude Desktop, Cursor, Cline, Windsurf, Warp, And Other mcpServers Clients

Add this server entry to the client's MCP JSON config:

{
  "mcpServers": {
    "cloakbrowser": {
      "command": "npx",
      "args": ["-y", "cloakbrowser-mcp@latest"]
    }
  }
}
Docker-backed stdio
{
  "mcpServers": {
    "cloakbrowser": {
      "command": "docker",
      "args": [
        "run",
        "--rm",
        "-i",
        "-v",
        "/tmp/cloakbrowser-artifacts:/data",
        "swimmwatch/cloakbrowser-mcp:latest"
      ]
    }
  }
}
Already-running Streamable HTTP server
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
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:

Install the CloakBrowser MCP server for this workspace. Name it "cloakbrowser".
Prefer stdio with command "npx" and args ["-y", "cloakbrowser-mcp@latest"].
If this client uses VS Code mcp.json, add it under "servers" with type "stdio".
If this client uses Claude/Cursor/Cline/Windsurf/Warp-style config, add it under
"mcpServers" with the same command and args. Do not add secrets.

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

cloakbrowser-mcp @playwright/mcp CloakBrowser Node.js Platform
1.15.1 ^0.0.83 ^0.6.3 `^22.13.0
1.15.0 ^0.0.83 ^0.6.3 `^22.13.0
1.14.1 ^0.0.82 ^0.5.10 `^22.13.0
1.14.0 ^0.0.82 ^0.5.10 `^22.13.0
1.13.0 ^0.0.80 ^0.5.10 `^22.13.0
1.12.0 ^0.0.79 ^0.5.7 `^22.13.0
1.11.0 ^0.0.79 ^0.5.6 `^22.13.0
1.10.0 ^0.0.78 ^0.5.3 `^22.13.0
1.9.0 ^0.0.78 ^0.5.1 `^22.13.0
1.8.0 ^0.0.78 ^0.4.10 `^22.13.0
1.7.0 ^0.0.77 ^0.4.8 >=22.12 npm on Linux x64/arm64, macOS arm64/x64, Windows x64; Docker linux/amd64, linux/arm64
1.6.1 ^0.0.77 ^0.4.7 >=22.12 npm on Linux x64/arm64, macOS arm64/x64, Windows x64; Docker linux/amd64, linux/arm64
1.6.0 ^0.0.77 ^0.4.7 >=22.12 npm on Linux x64/arm64, macOS arm64/x64, Windows x64; Docker linux/amd64, linux/arm64
1.5.0 ^0.0.76 ^0.4.3 >=22.12 npm on Linux x64/arm64, macOS arm64/x64, Windows x64; Docker linux/amd64, linux/arm64
1.4.0 ^0.0.76 ^0.3.32 >=22.12 npm on Linux x64/arm64, macOS arm64/x64, Windows x64; Docker linux/amd64, linux/arm64
1.3.0 ^0.0.75 ^0.3.31 >=20 Docker linux/amd64, Node.js local
1.2.7 ^0.0.75 ^0.3.30 >=20 Docker linux/amd64, Node.js local
1.2.6 ^0.0.75 ^0.3.30 >=20 Docker linux/amd64, Node.js local
1.2.5 ^0.0.75 ^0.3.30 >=20 Docker linux/amd64, Node.js local
1.2.3 ^0.0.75 ^0.3.30 >=20 Docker linux/amd64, Node.js local
1.2.2 ^0.0.75 ^0.3.30 >=20 Docker linux/amd64, Node.js local
1.2.1 ^0.0.75 ^0.3.30 >=20 Docker linux/amd64, Node.js local
1.2.0 ^0.0.75 ^0.3.30 >=20 Docker linux/amd64, Node.js local
1.1.0 ^0.0.75 ^0.3.30 >=20 Docker linux/amd64, Node.js local
1.0.2 ^0.0.75 ^0.3.30 >=20 Docker linux/amd64, Node.js local
1.0.1 ^0.0.75 ^0.3.30 >=20 Docker linux/amd64, Node.js local
1.0.0 ^0.0.75 ^0.3.30 >=20 Docker linux/amd64, Node.js local

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_info returns CloakBrowser package, platform, cache, and resolved binary data.
  • cloakbrowser_bridge_info returns bridge metadata, upstream package/version, and local tool names.

Development

npm install
npm run build
npm test
npm run docker:build
npm run docker:smoke
npm run server:validate
npm run bridge:compare -- cloakbrowser-mcp:dev --report bridge-parity-report.json

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.

Questions about CloakBrowser

What is the CloakBrowser MCP server?

Playwright MCP-compatible browser automation bridge for CloakBrowser Chromium. CloakBrowser is maintained by swimmwatch on GitHub at swimmwatch/cloakbrowser-mcp, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the CloakBrowser MCP server?

Add CloakBrowser to your AI app's MCP config with the command npx -y cloakbrowser-mcp@1.15.1. In Claude Code, run claude mcp add --transport stdio cloakbrowser -- npx -y cloakbrowser-mcp@1.15.1. To run CloakBrowser this way you need Node.js installed.

Does CloakBrowser need an API key?

The registry lists no required keys for CloakBrowser. Check the CloakBrowser README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is CloakBrowser an official MCP server?

No. CloakBrowser is a community server maintained by swimmwatch. Community servers can be excellent; read the code and the open issues before you give CloakBrowser access to company data.

What license is CloakBrowser under?

CloakBrowser is released under the MIT license, according to its GitHub repository. The license covers the code of CloakBrowser; the service it connects to has its own terms.