# Chrome Dev MCP

> Chrome Dev MCP is an MCP server for developer tools. Attach an AI agent to a Chrome tab you already have open for breakpoint debugging. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Platforms:** CLI
- **Repository:** https://github.com/congzhou09/chrome-dev-mcp
- **MCP Registry name:** io.github.congzhou09/chrome-dev-mcp
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools), [browser automation](https://ai-powered.com/categories/browser-automation)
- **Listing updated:** 2026-11-23

## About

Instead of launching a separate browser, this server connects to a running Chrome started with a remote-debugging port and works on the tab you are already looking at. It speaks the Chrome DevTools Protocol directly through chrome-remote-interface, with no DevTools SDK and no bundled browser, which the author presents as a lighter alternative to chrome-devtools-mcp.

The README lists 25 tools in seven groups: tab management, page inspection, navigation, console, a debugger group of 11 tools, network, and a buffer-clearing tool. An agent can set breakpoints, step, read the call stack and scope variables, evaluate in a frame, read console output from before it connected, and inspect captured requests and response bodies.

Limits are spelled out: it does not follow tab switches on its own, iframes and workers are unsupported, WebSocket frames are not captured, and breakpoints it sets do not show up in the DevTools pane. It should not be run next to chrome-devtools-mcp. Node.js 22+ and Chrome are required.

## Features

- **Real breakpoints:** Set, list and remove breakpoints and step through paused code.
- **Scope and call stack:** Read scope variables and evaluate expressions in a paused frame.
- **Console capture:** Read console messages and exceptions, including earlier output.
- **Network capture:** See requests from connect time and fetch response bodies on demand.
- **Uses your own tab:** Attaches over CDP to the Chrome session you already have open.

## Good for

- Let an agent pause a frontend bug at the failing line
- Inspect computed CSS and HTML of a live page
- Trace a failing request through captured network responses
- Reload a page and read the console errors it throws

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add chrome-dev-mcp -- npx -y chrome-dev-mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

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

### Claude Desktop (claude_desktop_config.json)

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

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

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

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "chrome-dev-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "chrome-dev-mcp"
      ]
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add chrome-dev-mcp -- npx -y chrome-dev-mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.chrome-dev-mcp]
command = "npx"
args = ["-y", "chrome-dev-mcp"]
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

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

Or run: gemini mcp add -s user chrome-dev-mcp npx -- -y chrome-dev-mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

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

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

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

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

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

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "chrome-dev-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "chrome-dev-mcp"
      ]
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

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

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

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

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

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

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

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

## Tools

From the tool list in its README, going by the names, 1 of 9 tools deletes data and 1 changes data; 4 names don't say. From the server's own tool labels and tool names; not verified by us.

- `set_breakpoint` (name suggests: changes): Set a breakpoint in the attached tab
- `remove_breakpoint` (name suggests: deletes): Remove a breakpoint set through this server
- `list_breakpoints` (name suggests: reads): List breakpoints set through this server
- `list_tabs` (name suggests: reads): List debuggable Chrome tabs
- `switch_tab`: Reconnect to a different tab
- `navigate_tab`: Load a URL in the attached tab
- `reload_tab`: Reload the attached tab
- `get_console_logs` (name suggests: reads): Read console messages and uncaught exceptions
- `clear_captures`: Reset the console and network buffers

## FAQ

### How do I start Chrome for Chrome Dev MCP?

Launch Chrome with --remote-debugging-port=9222 and a separate --user-data-dir, then open the page to debug.

### Does Chrome Dev MCP follow tab switches?

No. Use switch_tab to reconnect to a different tab.

### Can Chrome Dev MCP run with chrome-devtools-mcp?

The README says not to: both register overlapping tool names and keep separate debugger state.

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

Run this command in your terminal: claude mcp add chrome-dev-mcp -- npx -y chrome-dev-mcp

### What are the best alternatives to Chrome Dev MCP?

The closest alternatives to Chrome Dev MCP are REA, Browser Use, Scrapling MCP Server, Context7 and Chrome DevTools MCP.

## Where this comes from

- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Browser Use](https://ai-powered.com/mcp/browser-use): Browser Use is a freemium MCP server for browser automation.
- [Scrapling MCP Server](https://ai-powered.com/mcp/scrapling-mcp-server): Scrapling MCP Server is an open-source MCP server for web search and scraping.
- [Context7](https://ai-powered.com/mcp/context7): Context7 is a freemium MCP server for developer tools.
- [Chrome DevTools MCP](https://ai-powered.com/mcp/chrome-devtools-mcp-2): Chrome DevTools MCP is an open-source MCP server for browser automation.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/chrome-dev-mcp
