CodexGuild
io.github.dockndevai/mcp-cdp·Browser

mcp-cdp

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

Stars
—
Version
0.3.1
License
—
Review
Passed
Registry update
Nov 23, 2026

Connect

npm
Terminal
$claude mcp add cdp \  -e CDP_PORT=<cdp-port> \  -e CDP_HOST=<cdp-host> \  -e CDP_MODE=<cdp-mode> \  -e CDP_ALLOW_EVAL=<cdp-allow-eval> \  -e CDP_TARGET_ALLOWLIST=<cdp-target-allowlist> \  -e CDP_DRY_RUN=<cdp-dry-run> \  -- npx -y @dockndevai/[email protected]

Environment variables

  • CDP_PORT

    The --remote-debugging-port your app/browser exposes (default 9222).

  • CDP_HOST

    Host serving the DevTools endpoint (default 127.0.0.1; non-loopback needs CDP_ALLOW_REMOTE).

  • CDP_MODE

    Access mode: read-only | read-write | admin. Starts read-only; interactions need read-write.

  • CDP_ALLOW_EVAL

    Set true to allow the evaluate tool (arbitrary JS) — admin mode only. Default false.

  • CDP_TARGET_ALLOWLIST

    Comma-separated URL patterns; interactions are confined to matching targets. Empty = all.

  • CDP_DRY_RUN

    Set true to log interactions without dispatching them to the browser.

Security review

Review passed

Reviewed 1d ago.

readme
scanned
metadata
scanned
packages
1 checked

No findings.

Tools

This server runs on your machine, so its tool list is not fetched before install — the README below describes what it offers.

More in Browser

Listing from the official MCP Registry.