Skip to content

MCP setupTesting

Chrome DevTools MCP Server

Let your coding agent open Chrome, read the console and network panel, and record performance traces to debug a live page with DevTools.

npx workspacetemplates add chrome-devtools-mcp --tool claude-code

Writes 1 file to your project root

.mcp.jsonmerge into your file13 lines · 222 BFile
{
  "mcpServers": {
    "chrome-devtools": {
      "command": "npx",
      "args": [
        "-y",
        "chrome-devtools-mcp@latest",
        "--no-usage-statistics",
        "--no-performance-crux"
      ]
    }
  }
}

What it does

The Chrome team publishes this server so an agent can use DevTools instead of guessing. It can navigate a page, take screenshots, read console and network activity, and run performance traces to find slow loads.

It starts through npx and needs no account. Chrome must be installed; the server launches its own browser, and a headless or isolated mode is available through flags.

The server sends usage statistics to Google by default and may look up field data for traced URLs. This config turns both off with --no-usage-statistics and --no-performance-crux.

Example

you › Open http://localhost:5173, record a performance trace of the load and tell me what delays the largest paint.

agent › The largest paint is a hero image that starts loading only after a render-blocking script finishes. Preloading the image and deferring the script should move it earlier.

Questions

Does it send data to Google?
By default it collects usage statistics, and performance tools may query Google's CrUX service. The two flags in this config switch those off.
Is it safe to use with pages that hold personal data?
The server hands browser content to your agent, so avoid pointing it at pages with sensitive or personal information, or use the --isolated flag for a throwaway profile.
Can I run it without a window?
Yes. Add --headless to the args, or --slim for a smaller tool set aimed at basic browser tasks.
  • Browserbase MCP Server

    MCP setupTesting

    Free
  • Playwright MCP Server

    MCP setupTesting

    Free
  • Contract Testing

    SkillTesting

    Free
  • E2E Test Design

    SkillTesting

    Free