Chrome DevTools MCP Server

0.21.0 · active · verified Sun Apr 19

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.

Common errors

Warnings

Install

Imports

Quickstart

Demonstrates the configuration snippet for an MCP client to integrate and run the `chrome-devtools-mcp` server, including a `--slim` mode example.

{
  "mcpServers": {
    "chrome-devtools": {
      "command": "npx",
      "args": ["-y", "chrome-devtools-mcp@latest"]
    }
  }
}

// For basic browser tasks with reduced resource usage and token savings:
{
  "mcpServers": {
    "chrome-devtools": {
      "command": "npx",
      "args": ["-y", "chrome-devtools-mcp@latest", "--slim", "--headless"]
    }
  }
}

view raw JSON →