SuperAPIAI Directory

CDPM

github.com · AI developer platforms

CDPM is an MCP server used to let multiple Claude Code sessions and subagents share numbered Chrome browser slots over CDP. It can manage up to 99 Chrome instances, with each slot using a fixed debugging port and an independent profile, and login state can be persistently retained. CDPM drives the browser directly using pure CDP, without relying on Playwright or Puppeteer; clicks and key presses are sent as real input events, and it avoids enabling automation flags, so pages treat the browser as ordinary Chrome. It provides capabilities such as real-time page observation, messaging between slots, reading network and fingerprint signals, handling dialogs and permission bubbles, and is suitable for scenarios requiring multiple AI agents to simultaneously operate logged-in web pages.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsmacOS · Windows · Linux

About this tool

CDPM is an MCP server designed to let multiple Claude Code sessions and subagents share numbered Chrome browser slots. Each slot is an independent Chrome instance with its own profile, listening on a fixed debugging port (slot N uses port 14049 + N), and login state is retained across multiple runs. Sessions do not own browsers; instead, they address slots by number, so multiple sessions can work in different tabs at the same time, and commands on the same tab are queued for execution to avoid interleaving.

Main capabilities include: pure CDP driving, without using Playwright or Puppeteer; clicks and key presses are sent via Input.dispatch*Event, and pages receive trusted events; Chrome starts without --enable-automation, and navigator.webdriver remains false; scripts run in an isolated world and are invisible to the page; snapshots can penetrate shadow roots. Slots start in a detached way and continue running after VS Code or Claude Code is closed; after a restart, they can reattach to Chrome on the port; when Chrome auto-updates, slots can be restarted and tabs restored.

CDPM provides real-time page observation, cdpm observe, which lets you view the tabs of all running slots on one page, and supports adjusting the refresh interval, click to zoom, closing tabs, right-click operations, dragging tabs to other slots, pausing/resuming slots, etc. Agents can pass messages between each other via slot_send / slot_inbox by slot and agent name; messages are stored on disk, and waiting agents are woken when a message arrives. On the browser UI side, JavaScript dialogs are reported and answered via browser_dialog; permission bubbles on Windows are detected via UI Automation and answered with browser_permission; file pickers and print dialogs are intercepted or reported.

CDPM can also passively read network traffic and identify bot detection, fingerprinting, session recording, and analytics/advertising scripts from about 120 vendors, and gives signal hints in tool results. browser_network can provide a TLS and certificate overview, and browser_fingerprint can read a slot's TLS fingerprint (JA4/JA3), HTTP/2 fingerprint and User-Agent, and compare with regular Chrome.

Usage: requires Node.js 22+ and Google Chrome (or another Chromium browser). The install command is npm install -g cdpm-mcp@latest, then run cdpm install to register with Claude Code, and add the status line, CLAUDE.md rules, and the cdpm-browser subagent. After that, restart Claude Code, and you can open slots via natural language requests, for example "Open slot 1 with a window and go to github.com.".

Use cases: multiple Claude Code agents simultaneously operating logged-in web applications, automation tasks that need to share a browser session, and complex workflows that need to observe and coordinate multiple browser instances. Limitations: slot ports only listen on 127.0.0.1, but any process on the local machine can connect and use logged-in sessions, so treat it as cautiously as an unlocked browser; CDPM cannot bypass rate limits or IP reputation, and multiple slots searching Google simultaneously may still trigger CAPTCHA; page text and other agent messages are marked as data rather than instructions, but it cannot fully prevent agents from following text planted in pages; Linux support is experimental, has not been tested on Linux machines, and has no per-slot icons; full functionality is supported only on Windows 11 and macOS.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools