Skip to content
Grok

mcp cdp for Grok

io.github.dockndevai/mcp-cdp

Safe-by-default MCP that drives an Electron/Chrome app over CDP: DOM, console, network, input.

client:Grok transport:stdio runtime:npm

Install mcp cdp in Grok

.mcp.json (in your project root)

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "mcp-cdp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@dockndevai/mcp-cdp"
      ],
      "env": {
        "CDP_PORT": "<CDP_PORT>",
        "CDP_HOST": "<CDP_HOST>",
        "CDP_MODE": "<CDP_MODE>",
        "CDP_ALLOW_EVAL": "<CDP_ALLOW_EVAL>",
        "CDP_TARGET_ALLOWLIST": "<CDP_TARGET_ALLOWLIST>",
        "CDP_DRY_RUN": "<CDP_DRY_RUN>"
      }
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

mcp cdp in other clients