MCPdir β€” MCP Server Directory
πŸ‡¬πŸ‡§ πŸ‡ͺπŸ‡Έ

Chrome DevTools MCP

by dinesh-nalla-se

Give your AI agent full access to Chrome DevTools

browser Node.js Beginner Self-hostable No API key Verified Featured
πŸ“… Updated: 1w ago

Description

Chrome DevTools MCP bridges the gap between AI coding assistants and the browser, exposing the full power of Chrome DevTools Protocol through a clean MCP interface. Instead of manually copying console errors or describing layout issues to your AI, this server lets the model directly navigate pages, inspect network traffic, capture screenshots, and run JavaScript in the browser context. The real strength lies in its debugging and performance profiling capabilities. Your AI assistant can start and stop performance traces, read console logs in real time, and inspect network requests β€” all without you leaving your editor. This turns what used to be a tedious back-and-forth into a single conversation where the AI can see exactly what you see in the browser. Built and maintained by Anthropic, Chrome DevTools MCP is designed to be lightweight and focused. It connects to a running Chrome instance via the DevTools Protocol, which means it works with your actual browser session including cookies, extensions, and authenticated state. This makes it particularly effective for debugging issues that only appear in specific user contexts.

βœ… Best for

Front-end developers who want their AI assistant to see and interact with the browser during debugging sessions

⏭️ Skip if

You need headless browser automation for testing or scraping β€” Playwright MCP is a better fit for those workflows

πŸ’‘ Use cases

  • Debugging front-end rendering issues by letting the AI take screenshots and inspect the DOM directly
  • Profiling page performance bottlenecks with automated trace capture and analysis
  • Monitoring network requests and console errors during development without switching windows

πŸ‘ Pros

  • βœ“ Direct access to the real Chrome DevTools Protocol, not a simulated environment
  • βœ“ Works with your authenticated browser sessions, cookies, and extensions
  • βœ“ Performance tracing support gives the AI deep insight into rendering and load times

πŸ‘Ž Cons

  • βœ— Requires a running Chrome instance with remote debugging enabled
  • βœ— Not suited for headless CI/CD pipelines β€” use Playwright MCP for that

πŸ”§ Exposed tools (14 tools)

ToolCategoryDescription
take_screenshotdebuggingCapture a screenshot of the current browser viewport
get_console_logsdebuggingRetrieve console log messages from the browser developer tools
evaluate_javascriptdebuggingExecute arbitrary JavaScript code in the browser page context
get_network_requestsdebuggingList captured network requests including URLs, methods, and status codes
clickinput automationClick on a page element identified by a CSS selector
type_textinput automationType text into a focused input field or editable element
scrollinput automationScroll the page by a specified amount or to a specific element
hoverinput automationMove the mouse pointer over an element to trigger hover states
select_optioninput automationSelect an option from a dropdown or select element
navigatenavigationNavigate to a specified URL in the connected Chrome browser
get_page_contentnavigationExtract the full HTML or text content of the current page
wait_for_selectornavigationWait until a specific CSS selector appears in the DOM before proceeding
performance_start_traceperformanceStart recording a Chrome performance trace for profiling
performance_stop_traceperformanceStop the active performance trace and return the collected profiling data

⚑ Installation

Prerequisites:

  • β€’ Node.js
claude mcp add chrome-devtools -- npx @anthropic-ai/chrome-devtools-mcp@latest

πŸ’‘ Tips & tricks

Launch Chrome with the `--remote-debugging-port=9222` flag to enable the DevTools Protocol connection. If you keep a dedicated Chrome profile for development, the AI can access all your logged-in sessions and local storage state, making it much easier to reproduce authenticated bugs. Combine with a filesystem MCP to let the AI edit code and immediately verify changes in the browser.

πŸ”„ Alternatives

Quick info

Author
dinesh-nalla-se
License
Runtime
Node.js
Transport
stdio
Category
browser
Difficulty
Beginner
Self-hostable
βœ…
API key
No API key needed
Docker
β€”
Version
0.10.2
Updated
Feb 10, 2026

Client compatibility

  • βœ… Claude Code
  • βœ… Cursor
  • βœ… VS Code Copilot
  • βœ… Gemini CLI
  • βœ… Windsurf
  • βœ… Cline
  • βœ… JetBrains AI
  • βœ… Warp

Platforms

🍎 macOS 🐧 Linux πŸͺŸ Windows