Chrome Devtools MCP logo

Chrome Devtools MCP

Controls Chrome through MCP for browser automation, debugging, performance tracing, network inspection, and Lighthouse audits.

Install Chrome Devtools MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "chrome-devtools-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "chrome-devtools-mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Install not yet sandbox-tested— we haven't run this command through our automated sandbox yet. Not a red flag; we're working through the catalog.

Overview

chrome-devtools-mcp connects coding agents to a live Google Chrome or Chrome for Testing browser through Model Context Protocol. It combines Puppeteer-based browser actions with Chrome DevTools inspection, including performance traces, network requests, console messages, screenshots, and Lighthouse audits. Use it when an agent needs to automate pages, investigate runtime issues, or assess web performance from an actual browser session. The browser starts automatically when a tool requiring it is first used.

Use cases

  • Automate interactions in live Chrome pages
  • Debug console errors and failed network requests
  • Record traces and inspect web performance
  • Run Lighthouse audits on a page
  • Capture screenshots and page snapshots

Key features

  • Puppeteer-based browser automation
  • Chrome DevTools performance tracing
  • Network and console inspection
  • JavaScript evaluation and screenshots
  • Lighthouse auditing
  • Page and session emulation

Tools56

What Chrome Devtools MCP lets your agent do. Expand a tool for its parameters.

Self-reported~232 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked Today

Recent health check succeeded.

41/41 checks healthy over the last 91d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 2Low 0

Scanned 6d ago via OSV.dev · chrome-devtools-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars54kStargazers on the source repository.
npm downloads8.5MPackage downloads in the last 30 days.
Last commitTodayMost recent push to the default branch.
Tools exposed56Callable tools this server registers over MCP.
Directory activity20 viewsConfig copies, upvotes, and views on AllMCPs.

How Chrome Devtools MCP works

What chrome-devtools-mcp does

chrome-devtools-mcp gives MCP-compatible coding agents control over and inspection access to Google Chrome and Chrome for Testing. Agents can open, select, navigate, resize, and close pages; interact with page elements; inspect browser output; and collect diagnostic data through Chrome DevTools.

The server supports both routine browser automation and deeper debugging. Interaction tools cover clicking, dragging, hovering, filling fields and forms, typing, key presses, file uploads, dialog handling, and waiting for page conditions. Inspection tools expose console messages, network requests, screenshots, page snapshots, and evaluated JavaScript. Performance features record traces, analyze performance insights, and run Lighthouse audits.

Use it for agent-assisted web debugging, end-to-end browser tasks, performance investigations, and checking how a page behaves in a real Chrome session.

How it works

The package runs as an MCP server and can be launched by an MCP client with npx. It also includes a separate chrome-devtools command-line interface for terminal-based browser control. The MCP server does not launch Chrome merely because a client connects; Chrome starts when the client first invokes a tool that needs an active browser instance.

Browser actions use Puppeteer and wait automatically for action results. DevTools-oriented capabilities use the connected Chrome instance to gather traces, inspect requests and console output, capture screenshots, and analyze page performance. Performance analysis may query the Google CrUX API using trace URLs to add real-user experience data to lab results.

Setup and configuration

Install Node.js LTS, a current stable Chrome release or newer, and npm. Add the following MCP server entry to the client configuration:

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

The package supports server parameters such as --headless, --isolated, and --slim, along with configuration for WebSocket connections. Advanced configurations cover concurrent sessions, persistent user-data directories, connecting to an existing Chrome instance, and Android debugging.

Usage statistics are enabled by default. Start the server with --no-usage-statistics to opt out. Statistics collection is also disabled when CHROME_DEVTOOLS_MCP_NO_USAGE_STATISTICS or CI is set. Update notifications can be disabled with CHROME_DEVTOOLS_MCP_NO_UPDATE_CHECKS. Use --no-performance-crux to prevent performance tools from requesting CrUX data.

Tools and capabilities

  • Automate pages with click, drag, fill, fill_form, hover, type_text, press_key, upload_file, and handle_dialog.
  • Manage browser pages with new_page, list_pages, select_page, navigate_page, wait_for, resize_page, and close_page.
  • Inspect and capture page state with evaluate_script, take_snapshot, take_screenshot, and screencast_start.
  • Diagnose runtime behavior with list_console_messages, get_console_message, list_network_requests, and get_network_request.
  • Measure performance with performance_start_trace, performance_stop_trace, performance_analyze_insight, and lighthouse_audit.
  • Model browser conditions with emulate and perform coordinate-based interactions with click_at.

Limitations and notes

The supported browsers are Google Chrome and Chrome for Testing. Other Chromium-based browsers may work, but are not guaranteed. The server exposes browser contents to MCP clients, allowing them to inspect, debug, and modify data in the browser or DevTools; avoid using it with sensitive information that should not be shared.

Google collects tool usage statistics by default, including invocation success rates, latency, and environment information. This collection is separate from Chrome browser metrics. Performance tools can also send trace URLs to Google CrUX unless that behavior is disabled with --no-performance-crux.

Skills included with the package describe MCP and CLI workflows, accessibility debugging, cookie and authentication debugging, Largest Contentful Paint optimization, memory-leak debugging, and connection troubleshooting. Skills should be updated when the server or CLI package is updated because they can refer to version-specific tools or parameters.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Chrome Devtools MCP

chrome-devtools-mcp is an MCP server that connects coding agents to live Google Chrome or Chrome for Testing sessions. Its main tools automate pages, inspect console messages and network requests, evaluate JavaScript, capture screenshots, record performance traces, and run Lighthouse audits through Chrome DevTools.

Install Node.js LTS, Chrome, and npm, then add an MCP configuration that runs `npx -y chrome-devtools-mcp@latest`. The client starts the server through that command, and Chrome launches when a browser-dependent tool is first called.

Yes, chrome-devtools-mcp works with Cursor through its MCP configuration. The package also provides setup guidance for clients such as Claude Code, VS Code, and Gemini CLI.

Pass `--no-usage-statistics` when starting the server. Collection is also disabled when the `CHROME_DEVTOOLS_MCP_NO_USAGE_STATISTICS` or `CI` environment variable is set.

Chrome and Chrome for Testing are the supported browsers. Other Chromium-based browsers may work, but their behavior is not guaranteed.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewChrome Devtools MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/chrome-devtools-mcp?style=directory)](https://allmcps.com/mcp/chrome-devtools-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/chrome-devtools-mcp"><img src="https://allmcps.com/api/badge/chrome-devtools-mcp?style=directory" alt="Chrome Devtools MCP on AllMCPs" /></a>