Chrome DevTools MCP puts the DevTools you already use into your AI agent's hands. It starts Chrome, loads your page, and reads what you would read in the Console, Network and Performance panels, so your agent can find the error or the slow request itself instead of asking you to paste it. It is made by Google's Chrome DevTools team.
Prompts to try
- "Open localhost:3000, check the console and the failed network requests, and tell me what is broken."
- "Check the performance of localhost:3000 and tell me what is slowing down the largest contentful paint."
- "Run a Lighthouse audit on the signup page and fix the accessibility issues it finds."
- "Why is this button blue? Look at the CSS rules on it."
Gotchas
- Chrome opens only when a tool needs it. Connecting the server does not start a browser. The first prompt that needs one does, which can take a few seconds.
- It can read anything in that browser. The README warns that it exposes the browser's contents to your AI tool. Do not sign in to accounts in its Chrome that you would not paste into the chat.
- Two things phone home unless you stop them. Usage statistics (off in our
snippets) and, during performance traces, the page URL sent to Google's CrUX API
for real-user data. Add
--no-performance-cruxto stop the second. It also checks npm for new versions. - Google Chrome only. It officially supports Chrome and Chrome for Testing. Other Chromium browsers may work, without a promise.
- Too many tools?
--slimswaps in a small set for basic browsing, and the--category-*flags turn groups off.
When not to use it
If your agent only needs to click through a flow, or you test in Firefox or Safari, the Playwright MCP server is the simpler fit. For a one-off Lighthouse score, running Lighthouse yourself is quicker.