Repository navigation
Releases
Releases · Tthanh2k6/cdp-share
v0.2.0
cdp-share 0.1.0
First release.
cdp-share holds one approved remote-debugging connection to your everyday Chrome and lets several CDP clients share it: chrome-devtools-mcp, Playwright, Puppeteer or your own scripts. With Chrome 144 and later you click Allow once instead of on every reconnect, and each client keeps its own sessions.
- Zero runtime dependencies, Node 20+.
- Listens on 127.0.0.1 only, checks Host and Origin.
--token autorequires a token on every connection; use it, since an open port without one hands the approved connection to any local program. - Optional audit log (
--log), which never records command parameters such as typed text. --include-url/--exclude-urlhide tabs from clients.Browser.closefrom a client is ignored, so a script ending inbrowser.close()leaves your Chrome open.
Tested on Linux, Windows and macOS with Node 20 and 22 in CI (headless Chromium), and by hand against Chrome's Allow prompt on Windows.