MCP server · Chrome DevTools (Google)
Chrome DevTools MCP
Pick it for performance traces, network and console debugging; it exposes browser content to the client.
Tools: 32, ~6,185 tokens of tool definitions loaded into the model's context (default configuration; measured 2026-10-27, v1.12.0). Compare all servers →
All 32 tools, by token cost
- emulate576
- evaluate_script430
- list_console_messages339
- get_css_styles307
- list_network_requests277
- performance_start_trace265
- navigate_page262
- take_screenshot254
- fill_form248
- get_network_request218
- new_page216
- wait_for212
- take_snapshot189
- lighthouse_audit188
- upload_file176
- press_key169
- performance_analyze_insight168
- fill165
- click135
- drag133
- resize_page131
- performance_stop_trace123
- handle_dialog120
- take_heapsnapshot117
- type_text117
- hover114
- get_console_message110
- screencast_start108
- select_page104
- close_page86
- screencast_stop77
- list_pages51
Same server, other documented flags (measured 2026-10-27):
--slim(slim mode (basic browser tasks only)): 3 tools, ~208 tokens (97% less than the default)
Install
Add `npx chrome-devtools-mcp@latest` to your client (README lists per-client steps). Official install docs ↗
Credentials: None
What it can access
Controls and inspects a Chrome instance (performance traces, network, console); README warns it exposes browser content to the client.
Minimal safe setup
- Use
--isolated(temporary profile),--no-javascript-evaluationif the agent does not need to run scripts (not a sandbox: page scripts still run), and--allowed-url-pattern/--blocked-url-patternto limit where the browser can go. source ↗ - Usage statistics are on by default (
--no-usage-statisticsto opt out), and performance tools may send trace URLs to the CrUX API (--no-performance-crux). source ↗
Common setup errors
Target closederror.- Chrome could not start: close running Chrome instances and make sure the latest stable Chrome is installed. source ↗
ERR_MODULE_NOT_FOUNDat startup.- Usually an unsupported Node version or a corrupted npx cache: clear it (
rm -rf ~/.npm/_npx,npm cache clean --force) and reinstall. Make sure the client uses the same node/npm as your terminal. source ↗ - Chrome fails to start in Docker/CI.
- Chrome does not run as root; use a non-root user. Client-side OS sandboxes (Seatbelt, containers) also block it: disable the sandbox for this server or start Chrome yourself and connect with
--browser-url. source ↗ - Windows 10:
MCP error -32000: Connection closed. - Launch through
cmd("command": "cmd", "args": ["/c", "npx", "-y", "chrome-devtools-mcp@latest"]) or use the absolute path to npx. source ↗
How it differs from alternatives
- Playwright MCP: Cross-browser (Chrome, Firefox, WebKit, Edge) automation with accessibility snapshots; no performance-trace insights. Measured: 25 tools, ~3,745 tokens.
- chrome-devtools CLI (same package): The npm package also ships a
chrome-devtoolsCLI and skills, so an agent can drive Chrome from the shell without MCP tool definitions in context. source ↗
Notes written from the official sources linked above, checked 2026-10-27.
Details
- Type
- MCP server
- Tasks
- Browser & E2E testingDebugging & observabilityFrontend & UI
- Compatible agents
- Claude Code, Cursor, VS Code (source: clients with a setup heading or install/config instructions in the official README)
- Maintenance
- Release chrome-devtools-mcp-v1.12.0 on 2026-10-22 (npm chrome-devtools-mcp 1.12.0); last commit 2026-10-26
- License
- Apache-2.0
- Source
- https://github.com/ChromeDevTools/chrome-devtools-mcp
- Verified on
- 2026-10-26
No independent security audit: entries summarize official sources only. Review permissions and code before installing.
Compared in: Best MCP servers for Debugging & observability in Cursor · Best MCP servers & skills for Frontend & UI in Claude Code · Best MCP servers for Debugging & observability in VS Code · Best MCP servers for Frontend & UI in Cursor · Best MCP servers for Frontend & UI in VS Code · Best MCP servers for Debugging & observability in Claude Code · Best MCP servers for Debugging & observability · Best MCP servers for Frontend & UI
Badge for your README (maintainers)
The badge only says it's listed; it is not a security review or an endorsement.