Atlas / MCP servers / chromedevtools / chrome-devtools-mcp

chrome-devtools-mcpSAFE

mcp/chromedevtools/chrome-devtools-mcp

Chrome DevTools for coding agents

Verdict
SAFE
Grade
B
Trust score
84 /100
Exposed tools
93 79r · 12w · 2d
Transport
stdio
License
Apache-2.0
Stars
53,894
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

[](https://npmjs.org/package/chrome-devtools-mcp)

Chrome DevTools for agents (chrome-devtools-mcp) lets your coding agent (such as Antigravity, Claude, Cursor or Copilot) control and inspect a live Chrome browser. It acts as a Model-Context-Protocol (MCP) server, giving your AI coding assistant access to the full power of Chrome DevTools for reliable automation, in-depth debugging, and performance analysis. A [CLI][cli] is also provided for use without MCP.

[Tool reference][tool-reference] | [Changelog][changelog] | [Contributing][contributing] | [Troubleshooting][troubleshooting] | [Design Principles][design-principles]

Key features

  • Get performance insights: Uses [Chrome

DevTools](https://github.com/ChromeDevTools/devtools-frontend) to record traces and extract actionable performance insights.

  • Advanced browser debugging: Analyze network requests, take screenshots and

check browser console messages (with source-mapped stack traces).

  • Reliable automation. Uses

puppeteer to automate actions in Chrome and automatically wait for action results.

Disclaimers

chrome-devtools-mcp exposes content of the browser instance to the MCP clients allowing them to inspect, debug, and modify any data in the browser or DevTools. Avoid sharing sensitive or personal information that you don't want to share with MCP clients.

chrome-devtools-mcp officially supports Google Chrome and Chrome for Testing only. Other Chromium-based browsers may work, but this is not guaranteed, and you may encounter unexpected behavior. Use at your own discretion. We are committed to providing fixes and support for the latest version of Extended Stable Chrome.

Performance tools may send trace URLs to the Go

Read from source at commit 122de45ea344OBSERVED · 2026-10-20
Advertisement
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.

claude-code (npm)
claude mcp add chrome-devtools-mcp -- npx -y [email protected]
03

Exposed tools (93)

79 read · 12 write · 2 destructive. Blast radius: 2 tools can delete or overwrite — an agent that can be talked into calling a tool can be talked into calling this one.

ToolRiskDescription
3pDeveloperToolreadA test tool
browserless_toolreadA tool that does not need a browser
clickreadClicks on the provided element
click_atreadClicks at the provided coordinates
close_heapsnapshotreadCloses a previously loaded and cached memory heapsnapshot, freeing its memory.
close_pagereadCloses the page by its index. The last open page cannot be closed.
compare_heapsnapshotsreadLoads and caches two memory heapsnapshots and returns the comparison. If classIndex is provided, returns detailed diff for that class, otherwise returns summary diff.
custom_toolreadA custom tool
debug_toolreadA debugging WebMCP tool
disabled_toolreadA disabled tool
dragreadDrag an element onto another element
dynamic_debug_toolreadAdded dynamically
emulatereadEmulates various features on the target page. Each call replaces all emulation settings (except extraHttpHeaders), so pass all desired settings in a single call.
enum_toolreadtest description
evaluatereadEvaluates a JavaScript script
evaluate_scriptreadEvaluate JavaScript inside the target page${cliArgs.categoryExtensions ?
execute_3p_developer_toolwriteExecutes a third-party developer tool exposed by the page.
execute_webmcp_toolwriteExecutes a WebMCP tool exposed by the page (for debugging tools, use
file_toolreadA tool requiring file validation
fillreadType text into an input, text area or select an option from a <select> element.
fill_formreadFill out multiple form elements (inputs, selects, checkboxes, radios) at once. ALWAYS prefer this tool over multiple individual
get_console_messagereadGets a console message by its ID. You can get all messages by calling ${LIST_CONSOLE_MESSAGES_TOOL_NAME}.
get_devtools_commentsreadRetrieve user comments from the DevTools window for the page.
get_heapsnapshot_class_nodesreadLoads and caches a memory heapsnapshot and returns instances of a specific class with their IDs.
get_heapsnapshot_detailsreadLoads and caches a memory heapsnapshot and returns all available information including statistics, static data, and aggregated node information. Supports pagination for aggregates.
get_heapsnapshot_dominatorsreadLoads and caches a memory heapsnapshot and returns the dominator chain for a specific node ID. This helps to identify which objects are keeping the target node alive.
get_heapsnapshot_duplicate_stringsreadLoads and caches a memory heapsnapshot and returns duplicate strings grouped by their value.
get_heapsnapshot_edgesreadLoads and caches a memory heapsnapshot and returns outgoing edges (references) for a specific node ID.
get_heapsnapshot_object_detailsreadLoads and caches a memory heapsnapshot and returns detailed information about a specific object by its node ID, including size, type, distance, and DOM detachedness.
get_heapsnapshot_retainersreadLoads and caches a memory heapsnapshot and returns retainers for a specific node ID.
get_heapsnapshot_retaining_pathsreadLoads and caches a memory heapsnapshot and returns retaining paths for a specific node ID. This helps to understand why a node is not being garbage collected.
get_heapsnapshot_summaryreadLoads and caches a memory heapsnapshot and returns snapshot summary stats, including native contexts and their sizes, and retained by context summary.
get_network_requestreadGets a network request by an optional reqid, if omitted returns the currently selected request in the DevTools Network panel. Useful for inspecting request headers (including
get_os_app_statereadReturns the OS integration state (badge count and registered file
get_tab_idreadGet the tab ID of the page
global_toolreadA global tool
group-1readdesc-1
group-2readdesc-2
handle_dialogreadIf a browser dialog was opened, use this command to handle it
hanging_context_toolreadA tool whose browser connection never resolves
hoverreadHover over the provided element
hybrid_toolreadA tool with both schema file verifications
install_extensionwriteInstalls a Chrome extension from the given path.
install_pwawriteInstalls a Progressive Web App (PWA) identified by its manifest ID.
install_pwa_toolwritePWA tool with local-only file verification
launch_pwareadLaunches an installed Progressive Web App using its saved display mode.
legacy_webmcp_toolreadA WebMCP tool without debugging annotation
lighthouse_auditreadGet Lighthouse scores, failing audits, and the DOM nodes they flag for accessibility, SEO, best practices, and agentic browsing. Full reports are saved to disk. This excludes performance. For performance audits, run ${startTrace(args).name}
list_3p_developer_toolsreadLists all third-party developer tools the page exposes for providing runtime information (including debugging WebMCP tools and tools exposed via the
list_extensionsreadLists all the Chrome extensions installed in the browser. This includes their name, ID, version, and enabled status.
list_network_requestsreadLists the most recent requests for the target page since the last navigation.
list_pagesreadGet a list of pages${args?.categoryExtensions ?
list_webmcp_toolsreadLists all WebMCP tools the page exposes (excluding debugging tools, which are exposed via
myToolreadDoes something
navigatereadLoads a URL
navigate_pagereadGo to a URL, or back, forward, or reload. Use project URL if not specified otherwise.
new_pagereadOpen a new tab and load a URL. Use project URL if not specified otherwise.
open_devtoolsreadOpen a DevTools window for the selected page.
page_file_toolreadA page scoped tool with file verification
page_toolreadA page scoped tool
performance_analyze_insightreadProvides more detailed information on a specific Performance Insight of an insight set that was highlighted in the results of a trace recording.
performance_start_tracewriteStart a performance trace on the target webpage. Use to find frontend performance issues, Core Web Vitals (LCP, INP, CLS), and improve page load speed.
performance_stop_tracewriteStop the active performance trace recording on the target webpage.
press_keyreadPress a key or key combination. Use this when other input methods like fill() cannot be used (e.g., keyboard shortcuts, navigation keys, or special key combinations).
query_heapsnapshot_objectsreadLoads and caches a memory heapsnapshot and queries objects matching specific filters (className, propertyName, nodeType, retainedSize, selfSize, isDetached, sortBy).
reload_extensionreadReloads an unpacked Chrome extension by its ID.
remote_file_toolreadA tool with remote-only file verification
resize_pagereadResizes the page
resolve_devtools_commentreadAppend an agent reply to a DevTools comment thread and mark it as resolved.
reveal_in_devtoolsreadNavigate DevTools to a specified panel and highlight a target DOM node or network request. The parameters uid and reqid are mutually exclusive.
screencast_startwriteStarts recording a screencast (video) of the target page.
screencast_stopwriteStops the active screencast recording on the target page.
screenshotreadTakes a screenshot
select_pagereadSelect a page as a context for future tool calls.
slow_toolreadA tool whose handler legitimately outlasts the timeout
strict_toolreadA tool with a required argument
take_heapsnapshotreadCapture a heap snapshot of the target page. Use to analyze the memory distribution of JavaScript objects and debug memory leaks.
take_screenshotreadTake a screenshot of the page or element.
test-groupreadtest description
test-toolreadtest tool description
test_toolreadA test tool
tool-1readtool-1-desc
tool-2readtool-2-desc
trigger_extension_actionwriteTriggers the default action of an extension by its ID.
type_textreadType text using keyboard into a previously focused input
uninstall_extensiondestructiveUninstalls a Chrome extension by its ID.
uninstall_pwadestructiveUninstalls a Progressive Web App identified by its manifest ID and
upload_filewriteUpload a file through a provided element.
upload_toolwriteA tool with local-only file verification
user_toolreadA non-debugging WebMCP tool
wait_forreadWait for the specified text to appear on the selected page.
webmcp_toolreadA WebMCP tool
wrapped_enum_toolreadtest description
04

Trust audit

SAFEgrade B · trust 84/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codePASS
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfaceWARN
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (9 observation(s))
Network
declared (4 observation(s))
Shell
declared (5 observation(s))
Dependencies
not all pinned
Secrets in source
none-found

Findings (25)

MEDIUMFilesystem / path · mcp.destructive_tools · CWE-22, CWE-59
uninstall_extension, uninstall_pwa
Why it matters. 2 tool(s) can delete or overwrite
Fix. prefer a read-only mode or scoped tokens; the page states the blast radius
LOWInventory / provenance · inv.binary · CWE-1104
tests/trace-processing/fixtures/basic-trace.json.gz
basic-trace.json.gz
Why it matters. a compiled or binary member cannot be reviewed from source
Fix. ship source, or explain the binary in the README
LOWInventory / provenance · inv.hidden_file · CWE-1104
.gitallowed
.gitallowed
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.hidden_file · CWE-1104
.gitmodules
.gitmodules
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.hidden_file · CWE-1104
.prettierignore
.prettierignore
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.hidden_file · CWE-1104
.release-please-manifest.json
.release-please-manifest.json
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
tests/tools/input.test.ts:1033
let isChecked = await page.$eval(
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
LOWCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
tests/tools/input.test.ts:1052
isChecked = await page.$eval(
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
LOWCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
tests/tools/input.test.ts:1091
let swChecked = await page.$eval(
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
LOWCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
tests/tools/input.test.ts:1110
swChecked = await page.$eval(
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
LOWCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
tests/tools/input.test.ts:1139
let r1Checked = await page.$eval(
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
src/telemetry/watchdog/ClearcutSender.ts:9
import {logger} from '../../utils/logger.js';
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
src/telemetry/watchdog/main.ts:12
import {logger, flushLogs, saveLogsToFile} from '../../utils/logger.js';
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
src/third_party/devtools-formatter-worker.ts:8
import '../../third_party/devtools-frontend/front_end/entrypoints/formatter_worker/formatter_worker-entrypoint.js';
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
src/third_party/devtools-heap-snapshot-worker.ts:8
import '../../third_party/devtools-frontend/front_end/entrypoints/heap_snapshot_worker/heap_snapshot_worker-entrypoint.js';
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
src/third_party/index.ts:138
export * as DevTools from '../../third_party/devtools-frontend/mcp/mcp.js';
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
docs/advanced-usage.md:109
Add the `--browser-url` option to your MCP client configuration. The value of this option should be the URL of the running Chrome instance. `http://127.0.0.1:9222` is a common default.
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
docs/advanced-usage.md:118
"--browser-url=http://127.0.0.1:9222"
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
docs/client-configurations.md:31
"--browser-url=http://127.0.0.1:9222"
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
docs/client-configurations.md:260
4. Select **Standard IO** and set **Run command** to `npx`. Use **Add argument** to enter `-y`, `chrome-devtools-mcp@latest`, and `--browser-url=http://127.0.0.1:9222` as separate arguments, adjusting
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
docs/client-configurations.md:341
- **Connection URL:** `http://127.0.0.1:8080/mcp`
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
package.json
@blackwell-systems/gcf, @google/genai, @rollup/plugin-commonjs, @rollup/plugin-json, @rollup/plugin-node-resolve, @stylistic/eslint-plugin, @toon-format/toon, @types/filesystem
Why it matters. 28 dependency range(s) float
Fix. pin exact versions or ship a lockfile
INFOInventory / provenance · inv.oversize · CWE-1104
src/third_party/lighthouse-devtools-mcp-bundle.js
src/third_party/lighthouse-devtools-mcp-bundle.js
Why it matters. 3684072 bytes not read
INFOInventory / provenance · inv.oversize · CWE-1104
tests/fixtures/example.heapsnapshot
tests/fixtures/example.heapsnapshot
Why it matters. 2369369 bytes not read
INFOInventory / provenance · inv.oversize · CWE-1104
tests/fixtures/heap-1.heapsnapshot
tests/fixtures/heap-1.heapsnapshot
Why it matters. 1214756 bytes not read

Gates applied: no_behavioural_pass.

Audited 2026-10-20 · audit v0.4.1 · source sha 122de45ea344full audit observations/trust-audit/mcp-server/chromedevtools__chrome-devtools-mcp.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-20122de45ea344SAFEB84first audit
06

Questions

What is the chrome-devtools-mcp MCP server?

Chrome DevTools for coding agents

What tools does chrome-devtools-mcp expose?

93 in total: 79 read-only, 12 that write, and 2 that can delete or overwrite (uninstall_extension, uninstall_pwa). Every one is listed on this page with its risk.

Is chrome-devtools-mcp safe to connect to an agent?

The audit found nothing in the source that contradicts what it says it does, and graded it B (84/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B. Separately from the audit: 2 of its tools can destroy data, so scope the token you give it to what you actually need.

What credentials does chrome-devtools-mcp need?

It reads GEMINI_API_KEY from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.

How does chrome-devtools-mcp run?

It speaks stdio, so it runs as a local process your client starts. It is published on npm as chrome-devtools-mcp at 1.11.0.

How current is this page?

The grade is for one exact copy of the source (122de45ea344), read on 2026-10-20. The repository is watched and re-audited when it changes.

Add this badge to your README

Shows this page's audit result and links back to it. It updates when the audit does.

ModelsAtlas audit badge

Markdown
[![ModelsAtlas audit: chrome-devtools-mcp](https://modelsatlas.com/mcp/chromedevtools/chrome-devtools-mcp/badge.svg)](https://modelsatlas.com/mcp/chromedevtools/chrome-devtools-mcp/)

Not your listing, or something out of date? Claim or update your listing.

Advertisement