CloakBrowser MCP
CloakBrowser MCP is an MCP server that adds web browsing tools to AI assistants such as Claude Desktop, Claude Code and Cursor. Playwright MCP-compatible browser automation bridge for CloakBrowser Chromium. It has 161 GitHub stars, is released under the MIT license and runs locally with npx -y cloakbrowser-mcp.
- Web & browsing
- MIT
- Actively maintained
Install CloakBrowser MCP
Generated from the server's MCP registry entry. Replace your-value with your own values.
Claude Desktop
{
"mcpServers": {
"cloakbrowser-mcp": {
"command": "npx",
"args": [
"-y",
"cloakbrowser-mcp"
],
"env": {
"PLAYWRIGHT_MCP_BROWSER_ENGINE": "your-value",
"PLAYWRIGHT_MCP_HEADLESS": "your-value",
"PLAYWRIGHT_MCP_OUTPUT_DIR": "your-value",
"PLAYWRIGHT_MCP_CODEGEN": "your-value",
"PLAYWRIGHT_MCP_SNAPSHOT_BOXES": "your-value",
"PLAYWRIGHT_MCP_TIMEOUT_SETTLE": "your-value"
}
}
}
}Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.
Claude Code
claude mcp add --env PLAYWRIGHT_MCP_BROWSER_ENGINE=your-value --env PLAYWRIGHT_MCP_HEADLESS=your-value --env PLAYWRIGHT_MCP_OUTPUT_DIR=your-value --env PLAYWRIGHT_MCP_CODEGEN=your-value --env PLAYWRIGHT_MCP_SNAPSHOT_BOXES=your-value --env PLAYWRIGHT_MCP_TIMEOUT_SETTLE=your-value --transport stdio cloakbrowser-mcp -- npx -y cloakbrowser-mcpCursor
{
"mcpServers": {
"cloakbrowser-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"cloakbrowser-mcp"
],
"env": {
"PLAYWRIGHT_MCP_BROWSER_ENGINE": "your-value",
"PLAYWRIGHT_MCP_HEADLESS": "your-value",
"PLAYWRIGHT_MCP_OUTPUT_DIR": "your-value",
"PLAYWRIGHT_MCP_CODEGEN": "your-value",
"PLAYWRIGHT_MCP_SNAPSHOT_BOXES": "your-value",
"PLAYWRIGHT_MCP_TIMEOUT_SETTLE": "your-value"
}
}
}
}Project file; use ~/.cursor/mcp.json to enable it in every project.
VS Code
{
"servers": {
"cloakbrowser-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"cloakbrowser-mcp"
],
"env": {
"PLAYWRIGHT_MCP_BROWSER_ENGINE": "your-value",
"PLAYWRIGHT_MCP_HEADLESS": "your-value",
"PLAYWRIGHT_MCP_OUTPUT_DIR": "your-value",
"PLAYWRIGHT_MCP_CODEGEN": "your-value",
"PLAYWRIGHT_MCP_SNAPSHOT_BOXES": "your-value",
"PLAYWRIGHT_MCP_TIMEOUT_SETTLE": "your-value"
}
}
}
}Config formats checked against the official docs on Oct 7, 2026: modelcontextprotocol.io (opens in a new tab), code.claude.com (opens in a new tab), cursor.com (opens in a new tab), code.visualstudio.com (opens in a new tab).
Environment variables
Variables the server reads at startup.
| Name | Required | Description |
|---|---|---|
PLAYWRIGHT_MCP_BROWSER_ENGINE | No | Bridge browser engine: cloak or playwright. |
PLAYWRIGHT_MCP_HEADLESS | No | Run the browser in headless mode. |
PLAYWRIGHT_MCP_OUTPUT_DIR | No | Directory where upstream Playwright MCP writes artifacts. |
PLAYWRIGHT_MCP_CODEGEN | No | Generate code in typescript, python, java, csharp, or none. |
PLAYWRIGHT_MCP_SNAPSHOT_BOXES | No | Include element bounding boxes in browser snapshots. |
PLAYWRIGHT_MCP_TIMEOUT_SETTLE | No | Milliseconds to wait after actions for triggered work to settle. |
PLAYWRIGHT_MCP_USER_DATA_DIR | No | Persistent Chromium profile directory. The bridge resolves it to an absolute path and writes it to generated Playwright MCP config. |
CLOAK_PLAYWRIGHT_MCP_CONTEXT_OPTIONS | No | JSON object with validated Playwright context options such as viewport, locale, timezoneId, permissions, geolocation, and headers. |
CLOAK_PLAYWRIGHT_MCP_EXTENSION_PATHS | No | JSON array or comma-separated list of Chrome extension directories. Requires PLAYWRIGHTMCPUSERDATADIR. |
CLOAK_PLAYWRIGHT_MCP_CONSOLE_FALLBACK | No | Patch upstream console message collection for CloakBrowser compatibility. |
CLOAK_PLAYWRIGHT_MCP_GEOIP_PROXY_MATCH | No | Resolve proxy GeoIP and match CloakBrowser timezone/locale fingerprint flags when PLAYWRIGHTMCPPROXY_SERVER is set. |
CLOAK_PLAYWRIGHT_MCP_EXTRA_ARGS | No | Comma-separated or JSON array of extra Chromium launch arguments. |
Tools (2)
Parsed from the Tools section of the README; check the repository for the current list.
cloakbrowser_binary_inforeturns CloakBrowser package, platform, cache, and resolved binary data.
cloakbrowser_bridge_inforeturns bridge metadata, upstream package/version, and local tool names.
About 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.
- ai-agents
- ai-tools
- browser-automation
- chromium
- cloakbrowser
- docker
- headless-browser
- llm-tools
- mcp
- mcp-server
Similar MCP servers
More web & browsing MCP servers
Browser Use
browser-use/browser-use
Control a real Chrome browser to complete any task: fill forms, extract data, book flights.
OfficialWeb & browsingPythonScrapling MCP Server
D4Vinci/Scrapling
Web scraping with stealth HTTP, real browsers, and Cloudflare bypass.
Web & browsingPythonChrome DevTools MCP
ChromeDevTools/chrome-devtools-mcp
MCP server for Chrome DevTools.
Web & browsingTypeScriptBytedance Browser
bytedance/UI-TARS-desktop
MCP server for browser use access.
Web & browsingTypeScriptBytedance Commands
bytedance/UI-TARS-desktop
An MCP server to run arbitrary commands.
Web & browsingTypeScriptBytedance Search
bytedance/UI-TARS-desktop
MCP server for web search operations.
Web & browsingTypeScript
What is CloakBrowser MCP?
CloakBrowser MCP is an MCP server that adds web browsing tools to AI assistants such as Claude Desktop, Claude Code and Cursor. Playwright MCP-compatible browser automation bridge for CloakBrowser Chromium. It has 161 GitHub stars, is released under the MIT license and runs locally with npx -y cloakbrowser-mcp. The source code is at github.com/swimmwatch/cloakbrowser-mcp.
How do I install the CloakBrowser MCP MCP server?
Add the command npx -y cloakbrowser-mcp to your MCP client: put it in claude_desktop_config.json for Claude Desktop, run claude mcp add for Claude Code, or add it to .cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code). The snippets on this page are ready to paste.
Is CloakBrowser MCP free?
The server is open source under the MIT license, so running it is free. It does not declare any required API key.
Is CloakBrowser MCP actively maintained?
The most recent commit was on Sep 29, 2026. The latest release is v1.14.1, published Sep 27, 2026. appsgit only lists MCP servers with a commit in the last six months and re-checks every server daily.