Skip to content
appsgit

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.

github.com/swimmwatch/cloakbrowser-mcp (opens in a new tab)

Install CloakBrowser MCP

Generated from the server's MCP registry entry. Replace your-value with your own values.

Claude Desktop

claude_desktop_config.json
{
  "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-mcp

Cursor

.cursor/mcp.json
{
  "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

.vscode/mcp.json
{
  "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.

NameRequiredDescription
PLAYWRIGHT_MCP_BROWSER_ENGINENoBridge browser engine: cloak or playwright.
PLAYWRIGHT_MCP_HEADLESSNoRun the browser in headless mode.
PLAYWRIGHT_MCP_OUTPUT_DIRNoDirectory where upstream Playwright MCP writes artifacts.
PLAYWRIGHT_MCP_CODEGENNoGenerate code in typescript, python, java, csharp, or none.
PLAYWRIGHT_MCP_SNAPSHOT_BOXESNoInclude element bounding boxes in browser snapshots.
PLAYWRIGHT_MCP_TIMEOUT_SETTLENoMilliseconds to wait after actions for triggered work to settle.
PLAYWRIGHT_MCP_USER_DATA_DIRNoPersistent Chromium profile directory. The bridge resolves it to an absolute path and writes it to generated Playwright MCP config.
CLOAK_PLAYWRIGHT_MCP_CONTEXT_OPTIONSNoJSON object with validated Playwright context options such as viewport, locale, timezoneId, permissions, geolocation, and headers.
CLOAK_PLAYWRIGHT_MCP_EXTENSION_PATHSNoJSON array or comma-separated list of Chrome extension directories. Requires PLAYWRIGHTMCPUSERDATADIR.
CLOAK_PLAYWRIGHT_MCP_CONSOLE_FALLBACKNoPatch upstream console message collection for CloakBrowser compatibility.
CLOAK_PLAYWRIGHT_MCP_GEOIP_PROXY_MATCHNoResolve proxy GeoIP and match CloakBrowser timezone/locale fingerprint flags when PLAYWRIGHTMCPPROXY_SERVER is set.
CLOAK_PLAYWRIGHT_MCP_EXTRA_ARGSNoComma-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_info

    returns CloakBrowser package, platform, cache, and resolved binary data.

  • cloakbrowser_bridge_info

    returns 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

FAQ

CloakBrowser MCP FAQ

Still curious? Email info@appsgit.com.

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.