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.
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
Static review · not runReviewed 2026-11-29
Read the FMRS scoring method →Runtime:Node.js 22.13+ or 24+ · Docker
CLOAK_PLAYWRIGHT_MCP_HTTP_AUTH_TOKEN
Optional Streamable HTTP Bearer token; provide a token if enabling authentication.
PLAYWRIGHT_MCP_BROWSER_ENGINE
Selects the bridge engine, cloak or playwright; defaults to cloak.
PLAYWRIGHT_MCP_HEADLESS
Controls whether the browser runs headless; defaults to true.
PLAYWRIGHT_MCP_OUTPUT_DIR
Sets the directory where Playwright MCP writes artifacts; defaults to .playwright-mcp, and can be set to a desired path.
PLAYWRIGHT_MCP_CODEGEN
Selects generated code language: TypeScript, Python, Java, C#, or none; defaults to typescript.
PLAYWRIGHT_MCP_SNAPSHOT_BOXES
Controls whether browser snapshots include element bounding boxes; defaults to false.
PLAYWRIGHT_MCP_TIMEOUT_SETTLE
Sets the milliseconds to wait after actions for triggered work to settle; defaults to 500.
PLAYWRIGHT_MCP_USER_DATA_DIR
Sets the persistent Chromium profile directory; provide a path if needed.
CLOAK_PLAYWRIGHT_MCP_CONTEXT_OPTIONS
Provides a JSON object of validated Playwright context options, such as viewport, locale, timezone, permissions, geolocation, and headers.
CLOAK_PLAYWRIGHT_MCP_EXTENSION_PATHS
Provides Chrome extension directories as a JSON array or comma-separated list; requires PLAYWRIGHT_MCP_USER_DATA_DIR.
CLOAK_PLAYWRIGHT_MCP_CONSOLE_FALLBACK
Controls the compatibility patch for upstream console message collection; defaults to true.
CLOAK_PLAYWRIGHT_MCP_GEOIP_PROXY_MATCH
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
Provides Chromium launch arguments as a comma-separated list or JSON array.
CLOAK_PLAYWRIGHT_MCP_HTTP_HOST
Sets the Streamable HTTP bind host; defaults to 127.0.0.1.
CLOAK_PLAYWRIGHT_MCP_HTTP_PORT
Sets the Streamable HTTP bind port; defaults to 3000.
CLOAK_PLAYWRIGHT_MCP_HTTP_ENDPOINT
Sets the Streamable HTTP endpoint path; defaults to /mcp.
CLOAK_PLAYWRIGHT_MCP_HTTP_SESSION_BACKEND
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
Sets the idle time-to-live for Streamable HTTP sessions; defaults to 3600000 milliseconds.
CLOAK_PLAYWRIGHT_MCP_HTTP_SESSION_MAX
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.
{"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.
{
"servers": {
"cloakbrowser": {
"command": "npx",
"args": [
"-y",
"cloakbrowser-mcp@latest"
]
}
}
}
Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).
[mcp_servers.cloakbrowser] command = "npx" args = ["-y", "cloakbrowser-mcp@latest"]
Append to ~/.codex/config.toml (OpenAI Codex CLI uses TOML).
claude mcp add cloakbrowser -- npx -y cloakbrowser-mcp@latest
Run it in a terminal; replace any <…> placeholders with your own values first.
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.
Once connected, you can ask your AI assistant things like:
No matching tools
Listed from the project's documentation, not tested by this site.
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.
Playwright-based browser automation MCP server
Browse, search, and analyze Reddit through its official API.
Headless browser control & screenshots
Web search, data extraction, and browser automation for AI agents.
Source revision 2f3086fa3e90 Data synced 2026-12-05 Read the FMRS scoring method Markdown