Chrome DevTools

Browser automation

MCP server for Chrome DevTools.

Your AI app calls the Chrome DevTools MCP server, which does the browser automation work and sends the result back to the chat.

About Chrome DevTools

Chrome DevTools is the official MCP server from ChromeDevTools, filed in our directory under browser automation. MCP server for Chrome DevTools.

Chrome DevTools runs on your own machine: your AI app starts it with the command npx -y chrome-devtools-mcp@1.15.0 and talks to it over standard input and output.

Chrome DevTools is listed in the official MCP registry as io.github.ChromeDevTools/chrome-devtools-mcp, version 1.15.0.

At a glance

Publisher
ChromeDevTools, the company behind the product
Runs
Locally on your machine
Install from
Node.js package on npm: chrome-devtools-mcp
Written in
TypeScript
License
Apache-2.0
GitHub stars
60,199
Official MCP registry
io.github.ChromeDevTools/chrome-devtools-mcp

How to set up Chrome DevTools

  1. Install Node.js on the machine that runs your AI app, because Chrome DevTools starts with npx and downloads its package on first run.
  2. Check the Chrome DevTools README for keys or settings; the registry lists none that Chrome DevTools requires.
  3. Add Chrome DevTools to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Chrome DevTools tools to confirm the connection.
  5. Run one read-only task with Chrome DevTools first, and keep your app asking before each tool call until the results look right.

Chrome DevTools compared with similar servers

  • Playwright by microsoft has fewer GitHub stars than Chrome DevTools (40.4k against 60.2k); both are official servers, and both run locally.
  • Browser Use by browser-use has more GitHub stars than Chrome DevTools (123k against 60.2k); both are official servers, and Browser Use runs as a remote server and Chrome DevTools runs on your own machine.
  • Chrome by hangwin has fewer GitHub stars than Chrome DevTools (12.6k against 60.2k); Chrome DevTools is official while Chrome is a community server, and both run locally.

Before you connect Chrome DevTools

  • Give Chrome DevTools its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Chrome DevTools tool call until you trust what it does with them.
  • Treat text that Chrome DevTools fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Chrome DevTools on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Chrome DevTools

How marketing and sales teams put Chrome DevTools to work, by company size. Pick the size closest to yours and start Chrome DevTools on one use case.

Small business

  • A small business can use Chrome DevTools to check its own site after every change: forms submit, links work and checkout still loads.
  • Owners can have Chrome DevTools collect competitor prices or offers from public pages once a week, instead of doing it by hand.
  • Chrome DevTools runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Marketing teams can run Chrome DevTools to test landing pages and signup flows on every release, catching a broken form before paid traffic hits it.
  • Growth teams can use Chrome DevTools to capture screenshots of ads and pages across markets for reviews and audits.
  • Start Chrome DevTools on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprises can run Chrome DevTools in isolated environments with allow-listed sites, so browsing agents never reach internal or unknown pages.
  • Large web teams can use Chrome DevTools for regression checks across many locales and devices, feeding results into release gates.
  • Because Chrome DevTools comes from ChromeDevTools, the company behind the product, it follows that product's own auth and permissions, which security teams usually prefer.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Chrome DevTools README

From ChromeDevTools/chrome-devtools-mcp on GitHub, shared under its Apache-2.0 license. Images are left out; the original has them.

README.md

Chrome DevTools for agents

Chrome DevTools for agents (chrome-devtools-mcp) lets your coding agent (such as Antigravity, Claude, Cursor or Copilot) control and inspect a live Chrome browser. It is available as a Model-Context-Protocol (MCP) server and as a CLI. Both give your AI coding assistant access to the full power of Chrome DevTools for reliable automation, in-depth debugging, and performance analysis.

Tool reference | CLI | Skills | Changelog | Contributing | Troubleshooting | Design Principles

Key features

  • Get performance insights: Uses Chrome DevTools to record traces and extract actionable performance insights.
  • Advanced browser debugging: Analyze network requests, take screenshots and check browser console messages (with source-mapped stack traces).
  • Reliable automation. Uses puppeteer to automate actions in Chrome and automatically wait for action results.

Disclaimers

chrome-devtools-mcp exposes content of the browser instance to the MCP clients allowing them to inspect, debug, and modify any data in the browser or DevTools. Avoid sharing sensitive or personal information that you don't want to share with MCP clients.

chrome-devtools-mcp officially supports Google Chrome and Chrome for Testing only. Other Chromium-based browsers may work, but this is not guaranteed, and you may encounter unexpected behavior. Use at your own discretion. We are committed to providing fixes and support for the latest version of Extended Stable Chrome.

Performance tools may send trace URLs to the Google CrUX API to fetch real-user experience data. This helps provide a holistic performance picture by presenting field data alongside lab data. This data is collected by the Chrome User Experience Report (CrUX). To disable this, run with the --no-performance-crux flag.

Usage statistics

Google collects usage statistics (such as tool invocation success rates, latency, and environment information) to improve the reliability and performance of Chrome DevTools MCP.

Data collection is enabled by default. You can opt-out by passing the --no-usage-statistics flag when starting the server:

"args": ["-y", "chrome-devtools-mcp@latest", "--no-usage-statistics"]

Google handles this data in accordance with the Google Privacy Policy.

Google's collection of usage statistics for Chrome DevTools MCP is independent from the Chrome browser's usage statistics. Opting out of Chrome metrics does not automatically opt you out of this tool, and vice-versa.

Collection is disabled if CHROME_DEVTOOLS_MCP_NO_USAGE_STATISTICS or CI env variables are set.

Update checks

By default, the server periodically checks the npm registry for updates and logs a notification when a newer version is available. You can disable these update checks by setting the CHROME_DEVTOOLS_MCP_NO_UPDATE_CHECKS environment variable.

Requirements

Getting started

Add the following config to your MCP client:

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

[!NOTE] Using chrome-devtools-mcp@latest ensures that your MCP client will always use the latest version of the Chrome DevTools MCP server.

MCP Client configuration

For setup instructions specific to your editor or agent (e.g. Antigravity, Claude Code, Cursor, VS Code), please see our Client Configurations Guide.

Your first prompt

Enter the following prompt in your MCP Client to check if everything is working:

Check the performance of https://developers.chrome.com

Your MCP client should open the browser and record a performance trace.

[!NOTE] The MCP server will start the browser automatically once the MCP client uses a tool that requires a running browser instance. Connecting to the Chrome DevTools MCP server on its own will not automatically start the browser.

CLI

The package also includes the chrome-devtools CLI. Use it to control the browser from your terminal without MCP:

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

See the CLI guide for all commands and options.

Skills

The package includes skills that teach your agent how to use Chrome DevTools:

Skill Use it to
chrome-devtools Debug and automate pages with the MCP tools.
chrome-devtools-cli Run the CLI and write shell scripts with it.
a11y-debugging Audit and fix accessibility issues.
cookie-debugging Debug cookies, sessions, and authentication.
debug-optimize-lcp Debug and improve Largest Contentful Paint.
memory-leak-debugging Find and fix memory leaks.
troubleshooting Fix connection problems between MCP and Chrome.
Install skills as a plugin

A plugin installs the MCP server and all skills, including the CLI skill:

  • Claude Code: Run /plugin marketplace add ChromeDevTools/chrome-devtools-mcp, then /plugin install chrome-devtools-mcp@chrome-devtools-plugins.
  • Codex: Run codex plugin marketplace add ChromeDevTools/chrome-devtools-mcp, then codex plugin add chrome-devtools-mcp@chrome-devtools-plugins.
  • Copilot / VS Code: Run Chat: Install Plugin From Source and enter ChromeDevTools/chrome-devtools-mcp.
  • Gemini CLI: Run gemini extensions install --auto-update https://github.com/ChromeDevTools/chrome-devtools-mcp.

See the Client Configurations Guide for more information.

Install skills manually

If your agent does not support plugins, copy the skill folders into the skills directory of your agent. The npm package contains the skills:

npm i chrome-devtools-mcp@latest -g
# Example for Claude Code. Use the skills directory of your agent.
mkdir -p ~/.claude/skills
cp -R "$(npm root -g)/chrome-devtools-mcp/skills/chrome-devtools-cli" ~/.claude/skills/

[!IMPORTANT] The chrome-devtools-cli skill requires the CLI. Install the package globally before you use the skill.

Keep skills up to date

Skills describe the tools of a specific version. Update the skills each time you update the MCP server or the CLI. Outdated skills can tell your agent to use tools or parameters that changed.

  • Plugins: Use the update command of the plugin manager of your agent. The Gemini CLI command above enables automatic updates with --auto-update.
  • Manual installs: Update the package, then copy the skill folders again:
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/

Tools

If you run into any issues, checkout our troubleshooting guide. See the full Tool Reference for a complete list of all supported MCP capabilities.

Configuration

Find the complete list of server parameters (e.g., --headless, --isolated, --slim) and how to configure WebSocket connections in the Configuration Guide.

For basic browser tasks only, the --slim flag exposes a reduced set of tools. See the Slim tool reference.

Advanced Usage

For advanced features such as handling concurrent sessions, persistent user data directories, using a custom or non-standard browser path (--executablePath), enabling Chrome Built-in AI APIs in automated sessions, connecting to a running Chrome instance instead of starting a new one, or debugging on Android, see our Advanced Usage Guide.

Integrating as a browser subagent

If you are developing agentic tooling and want to provide an integrated browser subagent as part of your product, we recommend building on top of Chrome DevTools for agents.

For a reference implementation, see the Gemini CLI browser agent documentation.

Questions about Chrome DevTools

What is the Chrome DevTools MCP server?

MCP server for Chrome DevTools. Chrome DevTools is published by ChromeDevTools, the company behind the product, on GitHub at ChromeDevTools/chrome-devtools-mcp, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Chrome DevTools MCP server?

Add Chrome DevTools to your AI app's MCP config with the command npx -y chrome-devtools-mcp@1.15.0. In Claude Code, run claude mcp add --transport stdio chrome-devtools -- npx -y chrome-devtools-mcp@1.15.0. To run Chrome DevTools this way you need Node.js installed.

Does Chrome DevTools need an API key?

The registry lists no required keys for Chrome DevTools. Check the Chrome DevTools README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is Chrome DevTools an official MCP server?

Yes. Chrome DevTools is published by ChromeDevTools, the company that makes the product it connects to, so it follows that product's own API and auth.

What license is Chrome DevTools under?

Chrome DevTools is released under the Apache-2.0 license, according to its GitHub repository. The license covers the code of Chrome DevTools; the service it connects to has its own terms.