Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Cdp Toolkit

MCP server by sblattj Verified · npm:cdp-toolkit

Drives the Chrome tabs you name over the raw DevTools Protocol, with a bounded timeout on every call. Built for AI agent developers and Claude Code or Cursor users who need named tabs driven reliably.

  • Score 86
  • 2 stars
  • 4.8k a week
  • MIT
  • Updated

Install Cdp Toolkit

Built from the published package, never by AI.

claude mcp add cdp-toolkit -- npx -y cdp-toolkit

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Cdp Toolkit in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the cdp-toolkit block.

About

cdp-toolkit is an MCP server and CLI that lets an AI assistant control Chrome tabs. Each call resolves one named target, opens one direct WebSocket to it, and enforces a per-command timeout, so a stuck page returns an error instead of hanging the agent. It enables only the DevTools domains a tool needs and closes the connection after each call.

The project offers 48 tools, including click, type, screenshot and page-reading actions. Its network mocking feature returns canned responses for a tab, which helps build a UI before its backend exists. Several agents can share one browser through tab leases. It is aimed at developers who use Claude Code, Cursor or other MCP hosts and need the tabs they name to stay responsive.

Written from the project's README and checked against it.

Tools it gives your assistant

  • list_pagesLists the open Chrome tabs so the assistant can choose a target.
  • navigate_pageNavigates a named tab to a given URL.
  • evaluate_scriptRuns a script in a named tab with a bounded timeout.
  • take_screenshotCaptures a screenshot of a tab, including long pages split into bands.
  • mock_requestArms a persistent fake backend that returns canned responses for a tab.
  • clear_mocksRemoves the network mocks armed on a tab.
  • search_toolsFinds tools not in the default listing and reads their docs and input schema.
  • call_toolRuns a tool found through search_tools.
  • performance_traceRecords a performance trace of a tab in a single call.

What you need

  • Node.js 22 or later, or Bun 1.1 or later
  • Chrome or Chromium started with --remote-debugging-port=9222

Try asking

  • Take a screenshot of the tab at index:0 and describe what it shows.
  • Mock the /api/users response on this tab so I can test the UI.
  • List my open Chrome tabs and navigate the second one to example.com.

Good to know

  • Single-shot: no auto-wait or retry, so re-snapshot the page between steps.
  • While a navigation to a dead endpoint is pending, that page stays unresponsive to new sessions.
  • The default MCP listing shows 7 of 48 tools; set CDP_TOOL_PROFILE=full to list all of them.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to Cdp Toolkit

All alternatives →
browser-use browser-use
100

Browser Use runs an AI model in a real browser, where it completes web tasks by writing Python against Chrome DevTools Protocol. It is for developers who want to fill forms, navigate sites and extract data locally or on Browser Use Cloud.

AAA Local and remote 123k
Pomerado Pomerado
96

Pomerado builds MCP integrations for websites, including sites without an API, from a plain language task description. It is for people who want their agent to use a site reliably without computer use.

AAA Remote 1.8k
Selenide selenide
96

Selenide MCP server runs browser automation for AI assistants. It is built on the Selenide Java testing framework, which wraps Selenium WebDriver 4.0+. It suits developers who want AI agents to drive UI tests.

AAA Local 1.9k
SeleniumBase MCPseleniumbase
94

SeleniumBase is a Python browser automation framework for stealth browsing, end-to-end testing and web scraping. It uses CDP Mode to work with Chromium-based browsers, and it is aimed at software teams.

AAA Local 13k
Camofox Browser MCP jo-inc
94

Camofox Browser MCP exposes the camofox-browser REST API as MCP tools for AI coding assistants. It proxies to an already-running camofox-browser server, so agents can browse sites that block standard automation.

AAA Local 13k
Cline cline
94

Cline is an open source coding agent that edits files, runs commands, and uses the browser. It works in a terminal CLI, a macOS and Windows desktop app, VS Code, JetBrains IDEs, and an SDK for developers building their own agents.

AAA Local 72k

Compare with browser-use, Pomerado or Selenide

Cdp Toolkit: common questions

How is cdp-toolkit different from chrome-devtools-mcp?

Each call attaches one WebSocket to the one named target and enforces a per-command timeout, with a 15 second default. chrome-devtools-mcp fans operations out across all attached targets and has no per-command timeout.

Does cdp-toolkit work with Firefox?

Yes. A second backend drives Firefox over WebDriver BiDi behind the same tool surface.

What happens when a page stops responding?

The call is rejected with an error after the configured timeout, so the agent does not hang and the MCP server does not need a restart.

How do I install Cdp Toolkit?

In Claude Code run claude mcp add cdp-toolkit -- npx -y cdp-toolkit. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Cdp Toolkit the official server?

Cdp Toolkit is published by npm:cdp-toolkit from its verified domain in the official MCP Registry.

Is Cdp Toolkit free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is Cdp Toolkit safe to use?

It scores 86 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to Cdp Toolkit?

Similar MCP servers: browser-use, Pomerado, Selenide, SeleniumBase MCP.

Does Cdp Toolkit work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Cdp Toolkit Install

Add to stack

Loading.