mcp-cdp
Safe-by-default MCP that drives an Electron/Chrome app over CDP: DOM, console, network, input.
Documentation & Preview
{ "mcpServers": { "mcp-mcp-cdp-dc07f64b8659df8b9463": { "command": "npx", "args": [ "-y", "--package", "@dockndevai/mcp-cdp@0.3.1", "mcp-cdp" ], "env": { "CDP_PORT": "${ENV_CDP_PORT}", "CDP_HOST": "${ENV_CDP_HOST}", "CDP_MODE": "${ENV_CDP_MODE}", "CDP_ALLOW_EVAL": "${ENV_CDP_ALLOW_EVAL}", "CDP_TARGET_ALLOWLIST": "${ENV_CDP_TARGET_ALLOWLIST}", "CDP_DRY_RUN": "${ENV_CDP_DRY_RUN}" } } }, "setup": { "fields": [ { "id": "ENV_CDP_PORT", "label": "CDP_PORT", "description": "The --remote-debugging-port your app/browser exposes (default 9222).", "required": false, "secret": false, "default": "" }, { "id": "ENV_CDP_HOST", "label": "CDP_HOST", "description": "Host serving the DevTools endpoint (default 127.0.0.1; non-loopback needs CDP_ALLOW_REMOTE).", "required": false, "secret": false, "default": "" }, { "id": "ENV_CDP_MODE", "label": "CDP_MODE", "description": "Access mode: read-only | read-write | admin. Starts read-only; interactions need read-write.", "required": false, "secret": false, "default": "" }, { "id": "ENV_CDP_ALLOW_EVAL", "label": "CDP_ALLOW_EVAL", "description": "Set true to allow the evaluate tool (arbitrary JS) — admin mode only. Default false.", "required": false, "secret": false, "default": "" }, { "id": "ENV_CDP_TARGET_ALLOWLIST", "label": "CDP_TARGET_ALLOWLIST", "description": "Comma-separated URL patterns; interactions are confined to matching targets. Empty = all.", "required": false, "secret": false, "default": "" }, { "id": "ENV_CDP_DRY_RUN", "label": "CDP_DRY_RUN", "description": "Set true to log interactions without dispatching them to the browser.", "required": false, "secret": false, "default": "" } ], "requirements": [ "安装 Node.js / npm" ] }, "provenance": { "registryServer": "io.github.dockndevai/mcp-cdp", "registryVersion": "0.3.1", "registryUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.dockndevai%2Fmcp-cdp/versions/0.3.1", "repository": null, "sourceCommit": null, "namespaceRepositoryOwnerMatched": false, "officialRegistryNamespaceVerified": true, "package": { "registry": "npm", "identifier": "@dockndevai/mcp-cdp", "version": "0.3.1", "integrity": "sha512-p3rcrG/mwEULBm7lmaN9o1H29Movf5prPXUE05ZCGxcNns/YTSTqf6HRceu7MiRET74PANBWv60pcFvTn3dIbw==", "registryNameMatched": "io.github.dockndevai/mcp-cdp", "checkedAt": "2026-11-23T20:22:00.275Z" }, "scope": "Install configuration verified; dependency implementation and remote behavior have not been audited" } }