Chrome DevTools MCP - Developer Guide
This guide explains when to use Chrome DevTools MCP, how it fits into frontend debugging workflows, and what trade-offs matter before you attach an agent to a live browser.
For the simpler task-oriented version, see the Chrome DevTools MCP User Guide.
This guide is based on the official ChromeDevTools/chrome-devtools-mcp repository, reviewed on June 26, 2026.
1. What it is​
Chrome DevTools MCP gives an agent access to a live Chrome browser through DevTools. It combines:
- browser automation,
- console and network inspection,
- screenshots and snapshots,
- performance tracing,
- optional memory tooling.
This is much closer to "agent + DevTools" than to a generic scraping tool.
2. Best fit​
Use it when you need to debug or inspect a real frontend runtime.
| Task | Why it fits |
|---|---|
| Reproduce a UI bug | Works against a real browser session |
| Inspect console and network | Lets the agent read runtime failures |
| Check performance | Supports traces and performance insights |
| Automate browser actions | Good for deterministic click/fill/navigation flows |
3. Setup​
The standard upstream config is:
{
"mcpServers": {
"chrome-devtools": {
"command": "npx",
"args": ["-y", "chrome-devtools-mcp@latest"]
}
}
}
The project requires:
- current Node.js LTS,
- Google Chrome or Chrome for Testing,
- npm.
For lighter browser tasks, upstream also exposes a --slim mode.
4. What makes it useful​
Chrome DevTools MCP is especially strong because it mixes inspection and action in one loop:
- navigate and click,
- inspect requests,
- read console errors,
- take screenshots,
- capture traces.
That makes it very effective for frontend debugging where plain code reading is not enough.
5. Operational caveats​
There are a few important caveats in the upstream docs:
- it exposes browser content to the MCP client,
- Google usage statistics are enabled by default unless you opt out,
- it officially supports Chrome and Chrome for Testing, not every Chromium fork,
- remote debugging access needs care if you connect to an existing browser.
This is not the tool to leave pointed at sensitive browsing sessions.
6. When to choose it​
Choose Chrome DevTools MCP when:
- the bug only appears in the browser,
- you need console, network, or trace data,
- you want an agent to inspect a page like a frontend engineer would.
Prefer Playwright MCP when the primary goal is repeatable browser-flow automation or test-oriented interaction rather than DevTools-style debugging depth.