Esta página se muestra en inglés. Una traducción al español está en curso.
MCP ConfigsApr 4, 2026·3 min de lectura

Chrome DevTools MCP — Browser Debugging for AI Agents

Give your AI coding agent full access to Chrome DevTools for browser automation, debugging, and performance analysis. Works with Claude, Cursor, Copilot, and 15+ AI tools.

Listo para agents

Staging seguro para este activo

Este activo primero queda en staging. El prompt copiado pide inspeccionar los archivos staged antes de activar scripts, config MCP o config global.

Stage only · 17/100Política: staging
Superficie agent
Cualquier agent MCP/CLI
Tipo
Mcp Config
Instalación
Stage only
Confianza
Confianza: Established
Entrada
Chrome DevTools MCP — Browser Debugging for AI Agents
Comando de staging seguro
npx -y tokrepo@latest install 17f46368-d971-4227-ab65-f5f183e7dedc --target codex

Primero deja archivos en staging; la activación requiere revisar el README y el plan staged.

TL;DR
MCP server that gives AI coding agents full access to Chrome DevTools for browser automation, debugging, and performance analysis.
§01

What it is

Chrome DevTools MCP is a Model Context Protocol server that lets AI coding agents control and inspect a live Chrome browser. With 29 built-in tools, it provides reliable browser automation via Puppeteer, advanced network debugging, console analysis, and performance tracing.

It is built for developers who need AI-assisted browser testing, debugging, and performance analysis. It works with Claude Code, Cursor, Copilot, VS Code, and 15+ other AI tools.

§02

How it saves time or tokens

Instead of manually switching between your editor and browser DevTools, your AI agent can inspect the DOM, read console errors, capture screenshots, and trace network requests directly. The --slim flag reduces the tool count for token-constrained contexts, and --headless mode runs without a visible browser window for CI pipelines.

§03

How to use

  1. Add the MCP server config to your .mcp.json
  2. Restart your AI tool (Claude Code, Cursor, etc.)
  3. Ask your agent to navigate, click, inspect, or debug in the browser
§04

Example

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

For lightweight usage with fewer tools and less token consumption:

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

Once configured, your agent can run commands like:

'Navigate to localhost:3000 and check if there are any console errors'
'Take a screenshot of the login page'
'Run a Lighthouse audit on the homepage'
§05

Related on TokRepo

§06

Common pitfalls

  • The MCP server launches its own Chrome instance; if you have multiple instances running, port conflicts can occur
  • The --slim flag is recommended for most use cases to avoid overwhelming the agent with 29 tools when only a few are needed
  • Headless mode does not support visual debugging; use headed mode when you need to see what the browser is doing

Preguntas frecuentes

Which AI tools work with Chrome DevTools MCP?+

Chrome DevTools MCP works with Claude Code, Cursor, Copilot, VS Code, Windsurf, Claude Desktop, and 15+ other AI tools that support the Model Context Protocol. Any MCP-compatible client can use it.

What is the difference between normal and slim mode?+

Normal mode exposes all 29 tools. Slim mode reduces the tool count to the most commonly used ones, lowering token consumption per request. Use slim mode unless you specifically need advanced tools like performance tracing.

Can I use Chrome DevTools MCP in CI/CD pipelines?+

Yes. Use the --headless flag to run without a visible browser window. This works well in CI environments where there is no display. Combine with --slim for minimal resource usage.

Does it work with Firefox or Safari?+

No. Chrome DevTools MCP uses Puppeteer, which controls Chromium-based browsers only. Firefox and Safari are not supported.

How do I debug MCP connection issues?+

Check that Node.js v18+ is installed, that no other Chrome instances are blocking the debug port, and that your .mcp.json is in the correct location. Restart your AI tool after making config changes.

Referencias (3)
🙏

Fuente y agradecimientos

Created by ChromeDevTools. Licensed under MIT.

chrome-devtools-mcp — ⭐ 33,100+

Thank you to the Chrome DevTools team for building this essential bridge between AI agents and browser debugging.

Discusión

Inicia sesión para unirte a la discusión.
Aún no hay comentarios. Sé el primero en compartir tus ideas.

Activos relacionados

Notte — Browser Automation MCP for AI Agents

MCP server that turns web browsers into AI agent tools. Notte provides structured browser actions like click, type, navigate, and extract for LLM-driven automation.

MCP Configs
MCP Hub

Puppeteer MCP — Headless Chrome Server for AI Agents

MCP server wrapping Google Puppeteer for headless Chrome automation. Navigate pages, screenshot, generate PDFs, scrape SPAs, and test web apps through AI agent commands. 2,000+ stars.

MCP Configs
MCP Hub

Chrome MCP Operations Runbook — Iron Rules, Architecture & Troubleshooting

Operations skill for running chrome-devtools-mcp against your real Chrome at scale. Covers the proxy architecture, five iron rules (always-via-proxy, real-browser-only, no-env-proxy, never-kill-current-session, persistent-proxy), Chrome 146+ remote-debug popup workaround, multi-agent isolation guarantees, configuration recipes for ~/.mcp.json and ~/.claude/settings.json (with the 'no glob in permissions' gotcha), step-by-step troubleshooting flow, and four field notes from real incidents — port cleanup heuristics that backfire, protocol-layer hang detection, why 'newest = keep' is wrong, and why heavy pages need filePath-first take_snapshot to avoid 25k token overflow. Pairs with the 'Chrome MCP Background Proxy' script bundle.

SkillsMCP Configs
henuwangkai

charlotte — Token-Efficient Browser MCP Server

Charlotte is a token-efficient browser MCP server: agents get a compact page summary by default, then query only the elements they need.

MCP Configs
MCP Hub