Third-party toolUpdated 2026.09.07

Chrome DevTools MCP with Codex: Setup and Browser Checks

Connect Chrome DevTools MCP to Codex, then inspect a disposable test page. Separate browser access, console output and performance evidence from account permissions.

Aaron recommends Open official GitHub

Chrome DevTools MCP exposes a real Chrome browser to a coding agent. Start with a disposable page and browser profile, then inspect the returned URL, console messages and screenshot. Access to the browser is separate from permission to use a signed-in account.

If your next task is to compare the AI Website Cloner reconstruction workflow, inspect the linked guide’s setup, evidence and limits before using it. If your next task is to inspect a page with Claude SEO and understand its data limits, inspect the linked guide’s setup, evidence and limits before using it. If your next task is to review WebClaw browser-use boundaries, inspect the linked guide’s setup, evidence and limits before using it.

Check what the browser connection actually exposes

EvidenceCheckDoes not prove
Page URL / snapshotThe intended disposable page is open.Permission to operate other tabs or accounts.
Console / networkEach error belongs to this page and action.That every warning causes the visible problem.
Performance traceRecord the device and measurement conditions.Real-user Core Web Vitals or CrUX coverage.

Copy the check, then inspect the evidence

Test-page checklist: isolated profile; synthetic content; expected URL; one known console message; screenshot; command and server version. Preserve the failed connection result before changing sandbox or client configuration.

Based on the documented chrome-devtools-mcp-v1.12.0 release, rechecked 2026-11-14. This revision does not test an MCP connection, browser performance or every Chromium browser; v1.12.0 is not a latest-version claim. Source and scope

What it is

  • Documented version (checked 2026-11-14): v1.12.0 (released 2026-10-22)
  • License: Apache-2.0
  • Two ways to use it: as an MCP server for your agent, or as the chrome-devtools command-line tool
  • Supported browsers: Google Chrome and Chrome for Testing only. Other Chromium browsers may work, but the project does not guarantee them
In one line Lets Codex or Claude Code drive and inspect a real Chrome: performance, network, console and screenshots
Good for Debugging and performance checks with an AI coding tool
Not for Other Chromium browsers only (officially supports Chrome and Chrome for Testing)
Free to use? Free and open source
Requirements Node.js LTS, npm, Chrome stable or newer
Version v1.12.0 (released 2026-10-22)
Maintenance Actively maintained (last update 2026-11-09)
Our record Based on official documentation, checked 2026-11-09; not yet tested

What you need

  • Node.js, LTS version
  • Chrome, current stable version or newer
  • npm

Is Chrome DevTools MCP free?

Yes. It's free and open source (Apache-2.0) and needs no API key. The agent driving the browser uses your Codex or Claude Code plan. What to watch is data, not cost: usage statistics go to Google by default, and the performance tools query the CrUX API. You can turn both off; see Privacy and data below.

Add it to Codex

Use the Codex CLI:

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

On Windows 11, the official guide adds the Chrome location and a longer startup timeout to .codex/config.toml:

[mcp_servers.chrome-devtools]
command = "cmd"
args = [
    "/c",
    "npx",
    "-y",
    "chrome-devtools-mcp@latest",
]
env = { SystemRoot="C:\\Windows", PROGRAMFILES="C:\\Program Files" }
startup_timeout_ms = 20_000

Chrome DevTools MCP entry in the Codex config

Add it to Claude Code

MCP server only:

claude mcp add chrome-devtools --scope user npx chrome-devtools-mcp@latest

MCP server plus the bundled skills (plugin):

/plugin marketplace add ChromeDevTools/chrome-devtools-mcp
/plugin install chrome-devtools-mcp@chrome-devtools-plugins

Restart Claude Code, then check that the skills loaded with /skills. If you installed Chrome DevTools MCP manually before, the official guide says to remove the old setup first.

Run your first check

Ask your agent:

Check the performance of https://developers.chrome.com

The agent should open Chrome and record a performance trace. Chrome does not open when the MCP server connects; it starts only when the agent first uses a tool that needs a browser.

Common failures and fixes

These come from the official troubleshooting guide.

Error or symptom Cause Fix
Codex or Claude Code cannot start Chrome when its sandbox is on A sandboxed MCP server cannot start Chrome, which needs to create its own sandbox Turn off sandboxing for this MCP server in your client, or start Chrome yourself outside the sandbox and connect with --browser-url
Target closed Chrome could not start Close every running Chrome window and make sure the latest stable Chrome is installed
ERR_MODULE_NOT_FOUND Unsupported Node.js version or a broken npx cache Clear the cache (rm -rf ~/.npm/_npx, then npm cache clean --force), uninstall and install again
Windows 10: MCP error -32000: Connection closed Windows needs cmd /c to run npx from another process Start it as cmd with the arguments /c npx -y chrome-devtools-mcp@latest, or point command to the full path of npx
Chrome fails to start inside a container or CI Chrome does not run as root Run chrome-devtools-mcp as a non-root user
WSL cannot open Chrome on the Windows side A known WSL issue Install Chrome inside WSL, use mirrored networking with --browser-url http://127.0.0.1:9222, or use PowerShell or Git Bash
Claude Code plugin install fails with Failed to clone repository Your network blocks HTTPS access to github.com Use the CLI install above (MCP only, without skills) or switch git to SSH

To test whether the server runs at all, run npx chrome-devtools-mcp@latest --help in the same terminal environment your agent uses. The official guide also recommends that your agent and your terminal use the same Node.js and npm versions.

Privacy and data

  • The agent can see and change what is in the browser. The official disclaimer says MCP clients can inspect, debug and modify any data in that Chrome. Don't sign in to accounts you don't want the agent to access
  • Usage statistics are on by default. Google collects tool success rates, latency and environment information. Turn it off with --no-usage-statistics, or set the CHROME_DEVTOOLS_MCP_NO_USAGE_STATISTICS environment variable
  • Performance tools may send URLs to Google. They can query the Chrome UX Report (CrUX) API for real-user data. Turn it off with --no-performance-crux

To turn both off in a JSON configuration:

"args": ["-y", "chrome-devtools-mcp@latest", "--no-usage-statistics", "--no-performance-crux"]

Bundled skills and the CLI

The package ships seven skills that teach your agent how to use the tools:

Skill Use it to
chrome-devtools Debug and automate pages with the MCP tools
chrome-devtools-cli Use the CLI and write shell scripts with it
a11y-debugging Audit and fix accessibility issues
cookie-debugging Debug cookies, sessions and sign-in
debug-optimize-lcp Debug and improve Largest Contentful Paint
memory-leak-debugging Find and fix memory leaks
troubleshooting Fix connection problems between MCP and Chrome

Update the skills every time you update the server; outdated skills can point your agent to tools or parameters that changed.

If you don't want MCP, install the CLI and run Chrome from your terminal:

npm i chrome-devtools-mcp@latest -g
chrome-devtools navigate_page 1 --url "https://developers.chrome.com"
chrome-devtools take_screenshot 1 --filePath screenshot.png
chrome-devtools stop

Alternatives

Tool How it differs from Chrome DevTools MCP Pick it when
Playwright MCP (Microsoft) Also free and open source (Apache-2.0); works with Chrome, Firefox, WebKit and Edge; drives pages through accessibility-tree snapshots instead of screenshots. Codex: codex mcp add playwright npx "@playwright/mcp@latest" You want to automate pages and test across browsers
webclaw Only extracts page content as Markdown or JSON; doesn't drive a browser The agent only needs to read pages

Pick Chrome DevTools MCP when you need performance traces, console and network data, or the cause of a slow LCP: its tools and bundled skills are built for that. For how MCP connects tools, see What is MCP?

FAQ

Does it work with Edge or Brave? Only Google Chrome and Chrome for Testing are officially supported. Other Chromium-based browsers may work, but the project gives no guarantee.

Do I need to keep Chrome open? No. The server starts Chrome when the agent needs it. To use a Chrome you started yourself, connect with --browser-url.

Why can't Codex start Chrome? Most often the sandbox: a sandboxed MCP server cannot start Chrome. Turn off sandboxing for this server, or start Chrome outside the sandbox and connect with --browser-url. On Windows 11, also use the cmd /c configuration and the 20-second startup timeout above.

How do I turn off data collection? Add --no-usage-statistics for usage statistics and --no-performance-crux for CrUX lookups.

Sources (checked 2026-11-09)

  • Official repository: https://github.com/ChromeDevTools/chrome-devtools-mcp (README; docs/client-configurations.md; docs/troubleshooting.md)
  • Documented release v1.12.0 (2026-10-22); this is not a latest-version claim
  • License: Apache-2.0

Subscribe to AI tool picks and practical advice

Get worthwhile tool picks, test findings and important updates in your inbox.

Get a monthly-updated list of AI tools and Skills right away. We email when there are worthwhile tool picks, test findings or important updates. Unsubscribe anytime. Privacy

Almost done: check your inboxClick the button in the confirmation email and you will get the download link for the tool list. If you do not see it, check your spam or Promotions folder.

Past issues

Or follow us on: