---
title: "Chrome DevTools MCP Server: Setup, Tools and Flags"
url: "https://mcpshelf.co/servers/chrome-devtools"
description: "Google's Chrome DevTools MCP lets Claude, Cursor or Copilot drive Chrome, read console and network logs and record performance traces. Setup and flags."
updated: "2026-11-24"
site: "MCP Shelf"
---

# Chrome DevTools MCP

> The Chrome team's own server: drive Chrome and debug it with DevTools.

Source: https://mcpshelf.co/servers/chrome-devtools  
Markdown: https://mcpshelf.co/servers/chrome-devtools.md  
Generated: 2026-11-24T21:04:31.363Z

## Facts

- **Name:** Chrome DevTools MCP
- **Tagline:** The Chrome team's own server: drive Chrome and debug it with DevTools.
- **Description:** Chrome DevTools MCP is the Chrome team's MCP server that lets a coding agent control a live Chrome browser and use DevTools to debug pages, read console and network activity and record performance traces.
- **Repository:** https://github.com/ChromeDevTools/chrome-devtools-mcp
- **Package:** chrome-devtools-mcp 1.14.0 (npm)
- **Install:** `claude mcp add chrome-devtools -- npx -y chrome-devtools-mcp@latest`
- **Transport:** stdio (local)
- **Auth:** No required keys or settings listed
- **Tools exposed:** 33: `click`, `close_page`, `drag`, `emulate`, `evaluate_script`, `fill`, `fill_form`, `get_console_message`, `get_css_styles`, `get_network_request`, `handle_dialog`, `hover`, `lighthouse_audit`, `list_console_messages`, `list_network_requests`, `list_pages`, `navigate_page`, `new_page`, `performance_analyze_insight`, `performance_start_trace`, `performance_stop_trace`, `press_key`, `resize_page`, `screencast_start`, `screencast_stop`, `select_page`, `set_logpoints`, `take_heapsnapshot`, `take_screenshot`, `take_snapshot`, `type_text`, `upload_file`, `wait_for`
- **Category:** Browser and web data (https://mcpshelf.co/categories/browser-and-web)
- **Stats:** 59.2K GitHub stars, last commit 24 Nov 2026, 0 upvotes on MCP Shelf
- **Install check:** Started in our test
- **Listed:** 2026-11-24
- **Page updated:** 2026-11-24

## Full description

### What is Chrome DevTools MCP?

**Chrome DevTools MCP is the Chrome team's MCP server that lets a coding agent control a live Chrome browser and use DevTools to debug pages, read console and network activity and record performance traces.**

Chrome DevTools MCP is built by the Chrome DevTools team. It gives a coding agent a live Chrome window and the parts of DevTools a developer reaches for: it can open and click through pages, read console messages with source-mapped stack traces, inspect network requests, take screenshots, run JavaScript in the page and record a performance trace, then summarise what slowed the page down.

That makes it a debugging tool as much as an automation one. Ask why a page is slow, why a request fails or what the console says after a click, and the agent can check for itself instead of guessing. Chrome starts the first time a tool needs it, using its own profile, not your everyday one.

|  |  |
| --- | --- |
| Made by | Google's Chrome DevTools team (ChromeDevTools/chrome-devtools-mcp) |
| GitHub | https://github.com/ChromeDevTools/chrome-devtools-mcp |
| Licence | Apache-2.0 |
| npm package | [chrome-devtools-mcp](https://www.npmjs.com/package/chrome-devtools-mcp) 1.14.0 (24 Nov 2026) |
| GitHub stars | 59.2K |
| Last commit | 24 Nov 2026 |
| Tools | 33 |
| Runs on | Your computer |
| Install check | Started in our test |
| Category | [Browser and web data](https://mcpshelf.co/categories/browser-and-web) |
| Works with | Claude Code, Cursor, Claude Desktop, VS Code, Codex, Windsurf |
| Setup checked | 24 Nov 2026 |
| Page updated | 24 Nov 2026 |

**Our check:** We ran this exact config on 24 Nov 2026: it started and answered with 33 tools.

#### Try asking Chrome DevTools MCP

- "Check the performance of http://localhost:3000 and tell me what makes it slow."
- "Open my signup page, submit the form empty and tell me what the console and network show."
- "Take a screenshot of the pricing page at phone width."

#### MCP Shelf take

> We started Chrome DevTools on our own test machine on 24 Nov 2026 and it answered with 33 tools. 8 of the 33 only read; the other 25 can change things. Every tool comes with a useful description, all of them say whether they change things, and the tool list costs about 2,400 tokens of context before you ask a thing. It sits 2nd of 16 in its category on our shelf by GitHub stars (59.2K).

— MCP Shelf tests (numbers from our own runs), tested on 24 Nov 2026

### What tools does Chrome DevTools MCP have?

We listed 33 tools on 24 Nov 2026. 8 only read; the rest can change things or run commands.

| Tool | Kind | What it is for |
| --- | --- | --- |
| `click` | changes | Clicks an element from the snapshot. |
| `close_page` | changes | Closes a tab, except the last one. |
| `drag` | changes | Drags one element onto another. |
| `emulate` | changes | Emulates a device, network speed, CPU slowdown, location, colour scheme or extra request headers. |
| `evaluate_script` | runs | Runs JavaScript in the page and returns the result as JSON. |
| `fill` | changes | Types into an input or picks an option in a select box. |
| `fill_form` | changes | Fills several form fields in one call. |
| `get_console_message` | reads | Reads one console message in full, with its source-mapped stack trace. |
| `get_css_styles` | reads | Shows an element's computed styles and the CSS rules that set them. |
| `get_network_request` | changes | Reads one request: its headers, status and body. |
| `handle_dialog` | changes | Accepts or dismisses an alert, confirm or prompt dialog. |
| `hover` | changes | Moves the pointer over an element. |
| `lighthouse_audit` | changes | Runs Lighthouse and returns its scores and failing audits for accessibility, SEO and best practices. |
| `list_console_messages` | reads | Lists console messages since the last navigation. |
| `list_network_requests` | reads | Lists recent network requests for the page. |
| `list_pages` | reads | Lists the tabs open in the browser. |
| `navigate_page` | changes | Goes to a URL in the current tab, or back, forward or reload. |
| `new_page` | changes | Opens a new tab at a URL. |
| `performance_analyze_insight` | reads | Explains one insight from a trace in more detail, such as what delayed LCP. |
| `performance_start_trace` | changes | Starts a performance trace, optionally reloading the page, to measure load speed and Core Web Vitals. |
| `performance_stop_trace` | changes | Stops the trace and returns a summary of what it found. |
| `press_key` | changes | Presses a key or a shortcut such as Control+A. |
| `resize_page` | changes | Sets the page to a given width and height. |
| `screencast_start` | changes | Starts recording a video of the page. |
| `screencast_stop` | changes | Stops the recording and saves it. |
| `select_page` | reads | Picks which tab later calls act on. |
| `set_logpoints` | changes | Adds logpoints that print values from page code without pausing it. |
| `take_heapsnapshot` | changes | Saves a memory heap snapshot, for tracking down leaks. |
| `take_screenshot` | changes | Captures the page or one element as an image. |
| `take_snapshot` | changes | Reads the page as a text outline from the accessibility tree, with an id for each element. |
| `type_text` | changes | Types text into the field that has focus. |
| `upload_file` | changes | Uploads a local file through a file input. |
| `wait_for` | reads | Waits until some text appears on the page. |

#### How clearly it describes its tools

33 of 33 tools have a description and 33 of 33 say whether they change things. The tool list takes at least ~2,400 tokens of context. Every tool says whether it only reads or can change things, so a client can ask before the risky ones.

#### Tool groups

| Group | Covers |
| --- | --- |
| `Default categories` | Input, navigation, emulation, performance, network, debugging and memory, which is the 33-tool list above. |
| `Off until you turn them on` | Network mocking (--category-network-mocks), browser extensions (--category-extensions), installing and launching web apps (--category-pwa) and virtual passkeys (--category-webauthn). |
| `--slim` | Three tools only, for navigation, running a script and screenshots, when the agent only needs simple browsing. |

### How do I install Chrome DevTools MCP?

#### Install steps from the Chrome DevTools MCP README

Copied from the project's [README on GitHub](https://github.com/ChromeDevTools/chrome-devtools-mcp#readme) on 24 Nov 2026 under its Apache-2.0 licence.

##### 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](https://github.com/ChromeDevTools/chrome-devtools-mcp/blob/HEAD/docs/client-configurations.md).

###### 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.

###### 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](https://github.com/ChromeDevTools/chrome-devtools-mcp/blob/HEAD/docs/client-configurations.md).

###### 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`.
- **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](https://github.com/ChromeDevTools/chrome-devtools-mcp/blob/HEAD/docs/client-configurations.md) for more information.

#### What you need first

- Node.js (a current LTS version) and npm
- Google Chrome, current stable or newer

#### Claude Code

Where: Your terminal, in the project folder

```bash
claude mcp add chrome-devtools -- npx -y chrome-devtools-mcp@latest
```

claude mcp add chrome-devtools --scope user npx chrome-devtools-mcp@latest. Or install the plugin, which adds the server and its skills: /plugin marketplace add ChromeDevTools/chrome-devtools-mcp, then /plugin install chrome-devtools-mcp@chrome-devtools-plugins.

#### Cursor

Where: ~/.cursor/mcp.json, or .cursor/mcp.json in a project

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

#### Claude Desktop

Where: claude_desktop_config.json (Settings → Developer → Edit Config)

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

#### VS Code

Where: .vscode/mcp.json in your project

```json
{
  "servers": {
    "chrome-devtools": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "chrome-devtools-mcp@latest"
      ]
    }
  }
}
```

In VS Code you can also run Chat: Install Plugin From Source and enter ChromeDevTools/chrome-devtools-mcp, which installs the server with its skills.

#### Codex

Where: ~/.codex/config.toml, shared by the Codex CLI, IDE extension and ChatGPT desktop app

```
[mcp_servers.chrome-devtools]
command = "npx"
args = ["-y", "chrome-devtools-mcp@latest"]
```

codex mcp add chrome-devtools -- npx chrome-devtools-mcp@latest

#### Windsurf

Where: ~/.codeium/windsurf/mcp_config.json

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

#### ChatGPT

Where: Not supported

ChatGPT on the web only connects to servers by URL. This one runs on your computer: the ChatGPT desktop app can start it from its MCP servers settings, with the same config as the Codex tab.

Add --headless to args to run without a window, --isolated for a throwaway profile, or --no-usage-statistics to turn off the usage data Google collects by default.

Checked against the project's own install docs on 24 Nov 2026: https://github.com/ChromeDevTools/chrome-devtools-mcp#readme, https://github.com/ChromeDevTools/chrome-devtools-mcp/blob/main/docs/client-configurations.md, https://github.com/ChromeDevTools/chrome-devtools-mcp/blob/main/docs/configuration.md

### How do I configure Chrome DevTools MCP?

| Setting | Kind | Required | What it does |
| --- | --- | --- | --- |
| `--headless` | flag | no | Runs Chrome with no window. |
| `--isolated` | flag | no | Uses a temporary profile that is deleted when the browser closes, instead of the server's saved one. |
| `--userDataDir` | flag | no | Chooses the profile folder. By default the server keeps its own profile under ~/.cache/chrome-devtools-mcp, separate from your normal Chrome. |
| `--browserUrl` | flag | no | Connects to a Chrome you started yourself with remote debugging on, instead of launching one. Example: `--browserUrl=http://127.0.0.1:9222` |
| `--autoConnect` | flag | no | Connects to the Chrome you already have open (Chrome 144 or newer), once remote debugging is switched on at chrome://inspect. |
| `--channel` | flag | no | Uses Chrome canary, dev or beta instead of stable. |
| `--executablePath` | flag | no | Path to a Chrome binary that is not in the usual place. |
| `--viewport` | flag | no | Sets the starting window size. Example: `--viewport=1280x720` |
| `--slim` | flag | no | Loads only three basic tools, which saves context. |
| `--no-usage-statistics` | flag | no | Stops the usage data Google collects by default. Setting CHROME_DEVTOOLS_MCP_NO_USAGE_STATISTICS or CI does the same. |
| `--no-performance-crux` | flag | no | Stops performance tools sending trace URLs to Google's CrUX API for real-user data. |
| `--no-javascript-evaluation` | flag | no | Turns off evaluate_script, logpoints and other ways for the agent to run its own JavaScript in the page. |
| `--allowedUrlPattern and --blockedUrlPattern` | flag | no | Limit which URLs the browser may load, using URL patterns. The allow list needs Chrome 149 or newer. |
| `--redactNetworkHeaders` | flag | no | Hides headers that look sensitive, such as cookies and authorisation, from network results. |
| `CHROME_DEVTOOLS_MCP_NO_UPDATE_CHECKS` | env | no | Stops the server checking npm for a newer version. |

### What can Chrome DevTools MCP read and change?

**It can read**

- Everything in the pages it opens: text, layout, styles, console and network traffic
- Cookies and logins stored in the server's own Chrome profile
- Local files you ask it to upload, within the folders it is allowed

**It can change**

- Clicks, types and submits forms on any site the browser can reach
- Runs JavaScript in the page, unless you start it with --no-javascript-evaluation
- Saves screenshots, traces, heap snapshots and recordings to disk

**Safer setup:** Start with --isolated so each session gets a fresh profile, add --no-javascript-evaluation if the agent only needs to look, and use --allowedUrlPattern to keep it on your own site.

### Good for

- Checking your own web app in a real browser after the agent changes it
- Finding why a page loads slowly, with a recorded trace and Core Web Vitals
- Reading console errors and failed network requests without copying them by hand

### Chrome DevTools MCP not working? Common fixes

**Nothing happens when the server connects**
Chrome only starts when the agent first calls a tool that needs it. Ask it to open a page, such as checking the performance of developers.chrome.com.

**Chrome fails to start in a sandboxed or remote environment**
Some clients sandbox the server so it cannot launch Chrome. Start Chrome yourself with --remote-debugging-port=9222 and pass --browserUrl=http://127.0.0.1:9222, or try --headless.

**The agent keeps using your normal Chrome logins, or none at all**
The server uses its own profile under ~/.cache/chrome-devtools-mcp. Sign in there once, point --userDataDir at another profile, or use --autoConnect to attach to the Chrome you already have open.

**Edge, Brave or another Chromium browser misbehaves**
Only Google Chrome and Chrome for Testing are supported. Point --executablePath at Chrome, or use --channel to pick a Chrome release.

**Screenshots fill up the context**
Set --screenshotFormat=jpeg and --screenshotMaxWidth to shrink them, or ask for a take_snapshot instead, which is text.

### What are the alternatives to Chrome DevTools MCP?

| Server | What it does | Tools | Runs on | Licence | Stars |
| --- | --- | --- | --- | --- | --- |
| [Chrome DevTools MCP](https://mcpshelf.co/servers/chrome-devtools) | The Chrome team's own server: drive Chrome and debug it with DevTools. | 33 | Your computer | Apache-2.0 | 59.2K |
| [Playwright MCP](https://mcpshelf.co/servers/playwright) | Microsoft's browser automation server: navigate, click, type, read. | 25 | Your computer | Apache-2.0 | 38.8K |
| [Browser MCP](https://mcpshelf.co/servers/browser-mcp) | Lets your assistant use your real Chrome profile, with your logins, in its own tabs. | 1 | Your computer | Apache-2.0 | 7.2K |
| [ExecuteAutomation Playwright MCP](https://mcpshelf.co/servers/executeautomation-playwright) | A community Playwright server that also writes test code and emulates phones and tablets. | 33 | Your computer | MIT | 5.7K |
| [BrowserTools MCP](https://mcpshelf.co/servers/browser-tools) | Console logs, network calls, screenshots and Lighthouse audits from your own Chrome tab. | 16 | Your computer | MIT | 7.3K |
| [Fetch MCP Server](https://mcpshelf.co/servers/fetch) | One tool that fetches a URL and hands back the page as markdown. | 1 | Your computer | MIT | 92.2K |

### Chrome DevTools MCP FAQ

#### Is Chrome DevTools MCP official?

Yes. It is built by Google's Chrome DevTools team in the ChromeDevTools/chrome-devtools-mcp repository and published on npm as chrome-devtools-mcp, under the Apache 2.0 licence.

#### How is Chrome DevTools MCP different from Playwright MCP?

Both drive a browser. Chrome DevTools MCP adds the debugging side of DevTools: performance traces with Core Web Vitals insights, Lighthouse audits, source-mapped console errors, network request bodies, CSS styles and heap snapshots. Playwright MCP covers more browsers, while this one supports Chrome only.

#### Does it use my normal Chrome profile and logins?

Not by default. It keeps its own profile under ~/.cache/chrome-devtools-mcp. To use the browser you already have open, enable remote debugging at chrome://inspect and start the server with --autoConnect, on Chrome 144 or newer.

#### Does Chrome DevTools MCP send data to Google?

It collects usage statistics such as tool success rates by default; turn that off with --no-usage-statistics. Performance tools also send trace URLs to the CrUX API for real-user data, which --no-performance-crux turns off.

#### Can it run without a window?

Yes. Add --headless to the args. For a clean profile on every run, add --isolated as well.

#### How do I add Chrome DevTools MCP to Claude Code?

Run claude mcp add chrome-devtools --scope user npx chrome-devtools-mcp@latest. Then ask Claude to check the performance of a page, and Chrome opens on the first tool call.

#### How do I add Chrome DevTools MCP to Cursor?

Add an entry named chrome-devtools to ~/.cursor/mcp.json with the command npx and the args -y and chrome-devtools-mcp@latest, then restart Cursor or reload its MCP servers.

#### Can I use Chrome DevTools MCP in VS Code?

Yes, with GitHub Copilot in Agent mode. Add the same npx command to .vscode/mcp.json under servers, or run Chat: Install Plugin From Source with ChromeDevTools/chrome-devtools-mcp to install it with its skills.

#### Does Chrome DevTools MCP work with Codex?

Yes. Run codex mcp add chrome-devtools -- npx chrome-devtools-mcp@latest, or add an [mcp_servers.chrome-devtools] table with the same command to ~/.codex/config.toml.

#### Is there a command line version?

Yes. Installing the package globally adds a chrome-devtools command that runs the same tools from a terminal, such as chrome-devtools navigate_page 1 --url followed by an address.

Full docs on GitHub: https://github.com/ChromeDevTools/chrome-devtools-mcp

## Notes for agents

Fetch these instead of parsing the HTML page:

- llms.txt: https://mcpshelf.co/llms.txt
- llms-full.txt: https://mcpshelf.co/llms-full.txt
- ai.txt: https://mcpshelf.co/ai.txt
- Full catalog (.md): https://mcpshelf.co/catalog.md
- API spec: https://mcpshelf.co/openapi.json
- MCP server: https://mcpshelf.co/mcp
- MCP manifest: https://mcpshelf.co/.well-known/mcp.json
- Developer docs: https://mcpshelf.co/developers

MCP endpoint (Streamable HTTP, no key): https://mcpshelf.co/mcp. REST API: https://mcpshelf.co/api/v1.

