The `chrome-devtools-mcp` package provides a Model-Context-Protocol (MCP) server that enables AI coding agents (such as Gemini, Claude, Cursor, or Copilot) to programmatically control and inspect a live Chrome browser instance. It leverages the full capabilities of Chrome DevTools for advanced debugging, performance analysis, and reliable browser automation. Key features include recording traces for performance insights, analyzing network requests, taking screenshots, and monitoring browser console messages with source-mapped stack traces. The server, currently at version 0.21.0, is actively maintained with frequent minor and patch releases. It utilizes Puppeteer for browser automation and officially supports Google Chrome and Chrome for Testing, requiring Node.js v20.19 or newer. This server acts as a bridge, allowing AI agents to interact with the browser context, providing a powerful environment for web development workflows.
npm install chrome-devtools-mcpVerified import paths — ran on the pinned version, not inferred.
Demonstrates the configuration snippet for an MCP client to integrate and run the `chrome-devtools-mcp` server, including a `--slim` mode example.
Avoid sharing sensitive or personal information in the browser instance when using the MCP server. Ensure that all MCP clients connected to the server are trusted and authorized.
To disable the collection and sending of performance data to the Google CrUX API, run the server with the `--no-performance-crux` command-line flag.
To opt-out of usage statistics collection, pass the `--no-usage-statistics` flag when starting the server, or set the `CHROME_DEVTOOLS_MCP_NO_USAGE_STATISTICS` or `CI` environment variables.
Ensure you are using Google Chrome (current stable version or newer) or Chrome for Testing for guaranteed compatibility and support.
Upgrade your Node.js installation to v20.19, v22.12, or a newer compatible LTS version. Use tools like `nvm` or `fnm` for easy version management.
Refer to the official `chrome-devtools-mcp` troubleshooting documentation for specific guidance on resolving Claude Code plugin HTTPS clone failures.
Upgrade your Node.js environment to a compatible version (e.g., v20.19.0, v22.12.0, or newer) using a Node.js version manager like `nvm` or `fnm`.