Chrome DevTools for agents (formerly Chrome DevTools MCP, npm package chrome-devtools-mcp) is an MCP server from the Chrome DevTools team. It lets a coding agent such as Antigravity, Claude, Cursor, Copilot, Codex or Gemini CLI control and inspect a live Chrome browser. A CLI is also provided for use without MCP.
The agent can record performance traces, analyze network requests, read console messages with source-mapped stack traces, take screenshots, fill forms, click, emulate devices and locations, and run Lighthouse audits. It uses Puppeteer for automation. It can start its own Chrome or connect to a Chrome session you already have open.
It runs locally with Node.js (LTS), npm and current stable Chrome. It is free and open source under the Apache-2.0 licence. Google collects usage statistics by default; the --no-usage-statistics flag turns this off.
Tehty varten
Developers who use AI coding agents to build websites and want the agent to test, debug and verify its code in a real Chrome browser. Also for makers of agent tools who want to add a browser subagent.
Käyttötapaukset
Verify in the browser that a code change works
Diagnose network and console errors on a local site
Record a performance trace and get suggestions
Run Lighthouse audits for accessibility, SEO and performance
Emulate mobile devices and locations to test layouts
Records performance traces and runs Lighthouse audits with source-mapped console messages from Chrome DevTools; it also ships a CLI for use without MCP.
Runs on your own computer and can connect to the Chrome session you already have open; Cloudflare's Browser Run server is hosted and needs a Cloudflare account.
Works from the design file instead of the running page: agents read Figma variables and components, and Code Connect links Figma components to code components.
Reads errors, traces, logs and replays already collected in Sentry from production, and can ask Seer for a root cause; Chrome DevTools for agents inspects one live browser.
Keskustelu
Kirjaudu sisään osallistuaksesi keskusteluun