Chrome’s Official MCP Server Lets Coding Agents Debug a Real Browser
chrome-devtools-mcp is a project maintained by the ChromeDevTools organization on GitHub, and its official name in the README is Chrome DevTools for agents. It lets coding agents such as Antigravity, Claude, Cursor, and Copilot control and inspect a running Chrome browser. This addresses a common gap: an agent can change frontend code but cannot see how the page actually behaves. The project provides both an MCP server and a command-line tool named chrome-devtools. It is written in TypeScript and licensed under Apache-2.0. The repository was created on 2025-09-11 and currently has 57939 stars and 4865 forks. The latest release, v1.13.0, was published on 2026-11-11.
Features and Use Cases
The README groups the capabilities into three categories. For performance analysis, the tool records traces using the Chrome DevTools frontend and extracts actionable performance insights from them. For debugging, it can analyze network requests, take screenshots, and read console messages, and console errors include stack traces resolved through source maps. For automation, it performs page actions with puppeteer and automatically waits for action results.
The skills bundled in the repository include ready-made guidance files for the following scenarios:
- Having the agent open a page and check for console errors and failed network requests
- Diagnosing and optimizing LCP (Largest Contentful Paint)
- Debugging cookies, sessions, and login authentication
- Finding memory leaks
- Running accessibility audits and fixing the issues found
- Calling the CLI from shell scripts to take screenshots or navigate pages in batches
Prerequisites
The runtime environment requires an LTS version of Node.js, npm, and the current stable version of Chrome or newer. Only Google Chrome and Chrome for Testing are officially supported. Other Chromium-based browsers may work, but the README states explicitly that this is not guaranteed and that unexpected behavior may occur. The project commits to providing fixes and support for the latest version of Extended Stable Chrome.
For use on a VPS without a graphical interface, the configuration docs list a --headless flag. This article has not run this mode on a Linux server without a desktop, so the related behavior is not verified.
MCP Server Configuration
Add the following to the MCP client’s configuration file:
{
"mcpServers": {
"chrome-devtools": {
"command": "npx",
"args": ["-y", "chrome-devtools-mcp@latest"]
}
}
}
Using @latest makes the client pull the newest version on every startup. The configuration location differs by editor. The client-configurations doc in the repository covers Claude Code, Cursor, VS Code, and Antigravity.
After configuration, test the setup by entering this prompt in the client:
Check the performance of https://developers.chrome.com
Normally the client opens a browser and records a performance trace. The browser does not start as soon as the client connects to the MCP server. The server launches Chrome only when the agent first calls a tool that needs the browser.
Plugin Installation
The plugin installs the MCP server and all skills at once. In Claude Code, run these two commands in order:
/plugin marketplace add ChromeDevTools/chrome-devtools-mcp
/plugin install chrome-devtools-mcp@chrome-devtools-plugins
Copilot or VS Code users run Chat: Install Plugin From Source and enter ChromeDevTools/chrome-devtools-mcp. Gemini CLI users run the following command, where --auto-update enables automatic updates:
gemini extensions install --auto-update https://github.com/ChromeDevTools/chrome-devtools-mcp
CLI Usage
The npm package includes a chrome-devtools command for operating the browser from a terminal without going through MCP. The README example opens a page, takes a screenshot, and stops the browser:
npm i chrome-devtools-mcp@latest -g
chrome-devtools navigate_page 1 --url "https://developers.chrome.com"
chrome-devtools take_screenshot 1 --filePath screenshot.png
chrome-devtools stop
The full list of commands and options is in docs/cli.md in the repository.
Manual Skills Installation
The repository provides 7 skills: chrome-devtools, chrome-devtools-cli, a11y-debugging, cookie-debugging, debug-optimize-lcp, memory-leak-debugging, and troubleshooting. The last one specifically handles connection problems between MCP and Chrome.
If an agent does not support plugins, copy the skill directory into the agent’s skills directory. For Claude Code, for example:
npm i chrome-devtools-mcp@latest -g
mkdir -p ~/.claude/skills
cp -R "$(npm root -g)/chrome-devtools-mcp/skills/chrome-devtools-cli" ~/.claude/skills/
The chrome-devtools-cli skill depends on the globally installed CLI, so the npm i -g command above must run before using it. Each skill describes a specific version of the tools, so the skills need to be copied again after every MCP server or CLI upgrade. Otherwise the agent may call tools that have been renamed or whose parameters have changed.
Configuration Options
The full flag list is in docs/configuration.md. The README mentions the following flags and environment variables:
--headless: listed in the configuration docs; see the docs for exact behavior--isolated: listed in the configuration docs; see the docs for exact behavior--slim: exposes only a reduced set of tools, suited to basic browser tasks--executablePath: points to a browser at a custom or non-standard path--no-performance-crux: stops sending trace URLs to the CrUX API--no-usage-statistics: disables usage statisticsCHROME_DEVTOOLS_MCP_NO_UPDATE_CHECKS: when set, disables npm update checksCHROME_DEVTOOLS_MCP_NO_USAGE_STATISTICSorCI: setting either one stops statistics collection
To disable statistics, append the flag to args:
"args": ["-y", "chrome-devtools-mcp@latest", "--no-usage-statistics"]
Concurrent sessions, a persistent user data directory, connecting to an already running Chrome instance, and Android debugging are covered in docs/advanced-usage.md.
Limitations and Caveats
The MCP server exposes the contents of the browser instance to the MCP client, which can inspect, debug, and modify any data in the browser and DevTools. The README advises against keeping any sensitive or personal information in this browser that should not be shared with the MCP client. A browser profile that stays logged into everyday accounts is not suitable for direct connection.
Google collects usage statistics by default, including tool call success rates, latency, and environment information, handled under the Google Privacy Policy. These statistics are separate from Chrome’s own statistics, so turning off statistics in Chrome does not turn them off for this tool.
The performance tools may send URLs from traces to the Google CrUX API to fetch real-user experience data and display it alongside lab data. When profiling internal addresses or unpublished test sites, add --no-performance-crux to keep these URLs from being sent.
By default the server periodically checks the npm registry for new versions and writes a log entry when an update is available. In network-restricted environments, set CHROME_DEVTOOLS_MCP_NO_UPDATE_CHECKS to turn this check off.
The project updates frequently. Between October and November 2026 it released v1.11.0, v1.12.0, and v1.13.0 in succession. With @latest in the configuration, tool parameters may change between versions, and manually installed skills need to be updated to match.
Items to Test
The README gives no data for the following items, so they need to be verified on a local setup:
- Memory usage of the MCP server plus Chrome when running with
--headlesson a 1C1G Linux VPS - Whether the first prompt can complete a performance trace recording on a server without a desktop environment
- The difference in the number of exposed tools between
--slimmode and full mode, and the effect on agent context usage - Whether any statistics requests are still sent after setting the
CIenvironment variable, confirmed by packet capture - Which tools break when running the Chromium bundled with Debian or Ubuntu through
--executablePath