Chrome DevTools MCP: Browser Automation for AI Coding Assistants

Chrome DevTools MCP: Browser Automation for AI Coding Assistants

GitHub Open Source
ChromeDevTools/chrome-devtools-mcp

Connect your coding agent directly to Chrome DevTools to automate browser tasks and inspect performance.

Repository snapshot

  • Repository: ChromeDevTools/chrome-devtools-mcp
  • Language: TypeScript
  • License: Apache-2.0
  • Stars: 60 093
  • Forks: 4 848

Daily open-source picks: GitHub Open Source on Telegram

What it is

Chrome DevTools for agents (chrome-devtools-mcp) is a Model Context Protocol server and CLI tool designed to give AI coding assistants direct control over a live Google Chrome instance. Rather than relying on guesswork or static file inspection, assistants can leverage Puppeteer and underlying DevTools protocols to interact with web pages, capture screenshots, check console logs, and record performance metrics.

Why it matters

Building and debugging web applications with an AI assistant usually involves a frustrating context switch. You ask the model to write code, copy it into your environment, open a browser, inspect the network tab, and report back the errors. This package short-circuits that loop by exposing browser debugging natively to your assistant through standardized protocols.

Key features

  • Performance tracing: Record traces and extract actionable insights using underlying Chrome DevTools infrastructure.
  • Deep inspection: Analyze network traffic, capture screenshots, and read source-mapped console errors.
  • Reliable automation: Automate browser actions with automatic wait handling via Puppeteer.
  • Specialized skills: Includes pre-built guidance for tasks like memory leak debugging, accessibility auditing, and LCP optimization.

Quick start

Add the server configuration to your MCP client setup:

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

Who should try it

This tool is well-suited for developers actively utilizing AI coding assistants like Claude Code, Cursor, or custom agents who want to automate UI verification and browser debugging workflows.

Verdict

It is a solid, practical bridge between modern LLM workflows and browser instrumentation. While you must remain mindful of exposing sensitive session data to your agent, the productivity gains for web debugging are hard to ignore.

Continue exploring

Get the next pick in Telegram: Follow GitHub Open Source

Curated from the repository README and metadata. No hands-on test is claimed; evaluate it in a sandbox before production use.

Report Page