← Back to directory
C

CloakBrowser MCP

Community
Playwright MCP browser automation powered by CloakBrowser Chromium.
Category
Browser #20 of 104
Stars
★ 185 Very popular
Transport
stdio (local process) · Streamable HTTP
Runtime
Node.js 22.13+ or 24+ · Docker
Credentials
No credential needed
License
MIT
Last commit
Tools
2
57FMRS · C

The source describes this project as a Playwright MCP-compatible automation bridge for CloakBrowser Chromium. The manifest lists npm and OCI distributions, stdio and Streamable HTTP transports, and two local tools. The source does not establish that it is maintained by the CloakBrowser or MCP protocol owner, so it is not marked official.

Strongest · Setup experience 14/20 Weakest · Reliability 9/20

Reliability
9/20
Security and permissions
10/20
Maintenance
11/20
Documentation
13/20
Setup experience
14/20
Why each score
Reliability 9/20
The README describes forwarding the upstream Playwright MCP tools, local information tools, a diagnostic command, and CI. However, the supplied material contains no CI workflow or test files, so the initialization and tool-list handshake, actual tool behavior, error handling, and reproducibility of dependency failures cannot be verified. The score reflects only limited evidence of plausibility.
Security and permissions 10/20
The material shows no behavior that meets a security red line. It describes an optional HTTP Bearer token, marks it as secret in the manifest, and gives 127.0.0.1 as the default bind address; the Docker example also publishes a local port. The browser can access external sites and can use persistent profiles. Permission boundaries, data flows, and confirmation for dangerous operations are not documented sufficiently, so points are deducted.
Maintenance 11/20
The repository lists an MIT license, provides a version compatibility table, and displays badges for CI, security scans, and releases, which are signs of a maintenance and update path. The supplied material does not show commit history, issue response, or a security response channel. The open issue count alone does not establish response quality, so the score remains moderate.
Documentation 13/20
The README provides npm and Docker installation steps, configuration examples for several mainstream clients, links to configuration and usage guides, and Node.js and platform compatibility information. It also mentions limits involving container sandboxing, mounted directories, and persistent profiles. However, tool parameters depend on upstream documentation whose contents are not supplied; evidence about costs, data flows, and troubleshooting is also incomplete.
Setup experience 14/20
The README gives a short npx installation command, a diagnostic command, Docker examples, and configuration examples for Codex, Claude, VS Code, and other clients, alongside runtime and platform requirements. The manifest lists npm and OCI packages and two transport options. There is no execution evidence, and HTTP settings, optional configuration, or Docker mounts may add setup steps, so the score is below full marks.

Static review · not runReviewed 2026-11-29

Read the FMRS scoring method →

Fit and risk

What it can accessReads local filesWrites / deletes local filesUses the networkControls a browser

Best for

  • Users who need Playwright MCP-compatible browser automation backed by CloakBrowser Chromium.
  • Teams seeking npm or Docker packaging with stdio or Streamable HTTP transport.

Not for

  • Users who only need upstream Playwright MCP without the CloakBrowser bridge.
  • Users who require a browser tool list or capability guarantees not specified by this source.

Required permissions

  • Browser and webpage access needed to perform browser automation.
  • Write access to the configured output directory if browser artifacts should be saved; the default is .playwright-mcp, and the Docker default is /data.
  • Access to the relevant directories only if configuring a persistent browser profile or loading extensions.
  • Network access to the configured HTTP host and endpoint when using Streamable HTTP, which can optionally use a Bearer token.

Risks and side effects

  • The automated browser visits webpages; for untrusted pages, the source advises tightly scoping container network access and mounted host directories.
  • Docker defaults CLOAK_PLAYWRIGHT_MCP_NO_SANDBOX to true for compatibility with common container runtimes; the source recommends enabling Chromium sandboxing when the environment supports it.
  • HTTP authentication is optional; configure access control carefully when exposing the HTTP service on a network.

Setup

Before you start

Runtime:Node.js 22.13+ or 24+ · Docker

CLOAK_PLAYWRIGHT_MCP_HTTP_AUTH_TOKEN optionalsecret Optional Streamable HTTP Bearer token; provide a token if enabling authentication.
Other optional settings (18)
PLAYWRIGHT_MCP_BROWSER_ENGINE optional Selects the bridge engine, cloak or playwright; defaults to cloak.
PLAYWRIGHT_MCP_HEADLESS optional Controls whether the browser runs headless; defaults to true.
PLAYWRIGHT_MCP_OUTPUT_DIR optional Sets the directory where Playwright MCP writes artifacts; defaults to .playwright-mcp, and can be set to a desired path.
PLAYWRIGHT_MCP_CODEGEN optional Selects generated code language: TypeScript, Python, Java, C#, or none; defaults to typescript.
PLAYWRIGHT_MCP_SNAPSHOT_BOXES optional Controls whether browser snapshots include element bounding boxes; defaults to false.
PLAYWRIGHT_MCP_TIMEOUT_SETTLE optional Sets the milliseconds to wait after actions for triggered work to settle; defaults to 500.
PLAYWRIGHT_MCP_USER_DATA_DIR optional Sets the persistent Chromium profile directory; provide a path if needed.
CLOAK_PLAYWRIGHT_MCP_CONTEXT_OPTIONS optional Provides a JSON object of validated Playwright context options, such as viewport, locale, timezone, permissions, geolocation, and headers.
CLOAK_PLAYWRIGHT_MCP_EXTENSION_PATHS optional Provides Chrome extension directories as a JSON array or comma-separated list; requires PLAYWRIGHT_MCP_USER_DATA_DIR.
CLOAK_PLAYWRIGHT_MCP_CONSOLE_FALLBACK optional Controls the compatibility patch for upstream console message collection; defaults to true.
CLOAK_PLAYWRIGHT_MCP_GEOIP_PROXY_MATCH optional When enabled and PLAYWRIGHT_MCP_PROXY_SERVER is set, resolves proxy GeoIP and matches CloakBrowser timezone and locale fingerprint flags; defaults to false.
CLOAK_PLAYWRIGHT_MCP_EXTRA_ARGS optional Provides Chromium launch arguments as a comma-separated list or JSON array.
CLOAK_PLAYWRIGHT_MCP_HTTP_HOST optional Sets the Streamable HTTP bind host; defaults to 127.0.0.1.
CLOAK_PLAYWRIGHT_MCP_HTTP_PORT optional Sets the Streamable HTTP bind port; defaults to 3000.
CLOAK_PLAYWRIGHT_MCP_HTTP_ENDPOINT optional Sets the Streamable HTTP endpoint path; defaults to /mcp.
CLOAK_PLAYWRIGHT_MCP_HTTP_SESSION_BACKEND optional Sets the session metadata backend; only memory is implemented in this release, and it defaults to memory.
CLOAK_PLAYWRIGHT_MCP_HTTP_SESSION_IDLE_TTL_MS optional Sets the idle time-to-live for Streamable HTTP sessions; defaults to 3600000 milliseconds.
CLOAK_PLAYWRIGHT_MCP_HTTP_SESSION_MAX optional Sets the maximum active Streamable HTTP sessions per process; defaults to 32.

Requires Node.js 22.13+ in the 22.x line, or Node.js 24+. For stdio, configure the MCP client with command npx and args ["-y", "cloakbrowser-mcp@latest"]. The repository also documents Docker usage. For Streamable HTTP, start it with --transport streamable-http; the default endpoint is http://127.0.0.1:3000/mcp.

claude_desktop_config.json
{"mcpServers":{"cloakbrowser":{"command":"npx","args":["-y","cloakbrowser-mcp@latest"]}}}

Shown for Claude Desktop. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.

.vscode/mcp.json
{
  "servers": {
    "cloakbrowser": {
      "command": "npx",
      "args": [
        "-y",
        "cloakbrowser-mcp@latest"
      ]
    }
  }
}

Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).

~/.codex/config.toml
[mcp_servers.cloakbrowser]
command = "npx"
args = ["-y", "cloakbrowser-mcp@latest"]

Append to ~/.codex/config.toml (OpenAI Codex CLI uses TOML).

Terminal
claude mcp add cloakbrowser -- npx -y cloakbrowser-mcp@latest

Run it in a terminal; replace any <…> placeholders with your own values first.

Check that it works

After connecting, confirm cloakbrowser_binary_info and cloakbrowser_bridge_info appear in the client's tool list. Call cloakbrowser_bridge_info and check that it returns bridge metadata, the upstream package version, and local tool names.

Troubleshooting

  1. Check that Node.js is 22.13+ in the 22.x line or 24+.
  2. Run npx -y cloakbrowser-mcp@latest doctor to check the configuration.
  3. Confirm that the HTTP client uses the configured address and path; the defaults are http://127.0.0.1:3000/mcp.
  4. Check the configured browser engine, output directory, persistent profile directory, and container volume mounts.

Things to try

Once connected, you can ask your AI assistant things like:

  • Check CloakBrowser's binary details and cache location.
  • Show the bridge metadata, upstream Playwright MCP version, and local tool names.

Tools 2

cloakbrowser_binary_info read-only
Returns CloakBrowser package, platform, cache, and resolved binary information.
cloakbrowser_bridge_info read-only
Returns bridge metadata, upstream package and version, and local tool names.

Use cases

Run web research, daily automation, or browser testing from natural-language requests.
Automate tasks using persistent browser profiles, validated context options, or Chrome extensions.
Deploy browser automation through Streamable HTTP or Docker.
Use GeoIP proxy matching for regional QA when a proxy server is configured.

Supported clients

Claude Desktop
Codex
Claude Code
Cursor
Cline
Windsurf
Warp
GitHub Copilot in VS Code

Listed from the project's documentation, not tested by this site.

Overview

CloakBrowser MCP is a Playwright MCP-compatible browser automation bridge that uses CloakBrowser Chromium and forwards the upstream Playwright MCP tools. It is distributed through npm and Docker, supports stdio and Streamable HTTP transports, and includes two local information tools.

Similar servers

Source revision 2f3086fa3e90 Data synced 2026-12-05 Read the FMRS scoring method Markdown

Maintainer badge: embed FMRS score

Paste this Markdown into your repository README to display a live score badge:

README.md
[![FollowMCP](https://followmcp.com/badges/cloakbrowser-mcp.svg)](https://followmcp.com/en/servers/cloakbrowser-mcp)