Chrome DevTools MCP
$ chrome-devtools-mcp Official Med RiskOfficial Google Chrome DevTools MCP server giving AI coding agents direct access to Chrome DevTools Protocol (CDP) inspection, console and network logs, DOM/CSS evaluation, and performance traces. Supports --headless, --isolated, --browserUrl, --wsEndpoint, --autoConnect, and companion chrome-devtools start/status CLI helpers.
npm install -g chrome-devtools-mcp chrome-devtools-mcp streams live CDP console, network, and trace diagnostics into MCP tools, pairing with its chrome-devtools daemon CLI.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Exposes structured CDP console, network, DOM, and performance trace MCP tools with --headless, --isolated, and chrome-devtools helper commands.
--headless,--isolated,--browserUrl,--autoConnect, andchrome-devtools start/status
Offers --isolated profiles and read-focused inspection tools, though connecting via --autoConnect or evaluating JS accesses active browser sessions.
--isolatedmode isolates browser profiles;--autoConnectattaches to local Chrome
Distributed on npm via npx -y chrome-devtools-mcp@latest for macOS, Linux, and Windows with Chrome/Chromium installed.
- Published on npm as
chrome-devtools-mcp
Provides real DevTools performance traces, network waterfalls, and console inspection beyond basic DOM clicking.
- Native CDP trace recording, network inspection, and console log retrieval
Official Google Chrome DevTools organization repository (ChromeDevTools/chrome-devtools-mcp) under Apache-2.0.
- Official Google
ChromeDevToolsrepository
Well-documented README and Chrome Developer blog guides covering all flags and remote WebSocket connections.
- Official GitHub README and Chrome Developer docs
Security, Auth & Guardrails
No server API key needed locally; optional remote CDP auth headers can be passed via --wsHeaders, and --isolated avoids reading default Chrome user profiles.
Free and Apache-2.0 open-source.
# Chrome DevTools MCP Agent Rules - Always pass `--isolated` (or connect to a dedicated `--browserUrl`) instead of attaching to personal logged-in profiles unnecessarily. - Keep `--headless` enabled in CI and automated verification loops.
Agent-Ready Command Recipes
Safe Read-Only Queries
npx -y chrome-devtools-mcp@latest --help
Prints supported browser, --headless, --browserUrl, --autoConnect, and --isolated flags.
Controlled Writes & Previews
npx -y chrome-devtools-mcp@latest --headless --isolated
Launches a clean headless Chrome instance over stdio MCP without touching the user's primary Chrome profile.
Strengths for Agents
- + Deep Chrome DevTools Protocol coverage including performance traces, network requests, and console errors.
- + Flexible attachment via
--headless --isolated,--browserUrl,--wsEndpoint, or--autoConnect. - + Official Google Chrome DevTools team maintenance.
Caveats & Pitfalls
- ! Primarily a stdio MCP server process rather than a standalone one-shot CLI query tool.
- ! Attaching to an existing Chrome profile (
--autoConnect) exposes active logged-in cookies to page evaluation.