Chrome DevTools MCP tools: which ones act on websites, and how to make your agent ask
All 33 default tools of Google's Chrome DevTools MCP server, checked by running version 1.13.0: which only look, which act on websites as you, what --slim and --no-javascript-evaluation remove, and the Claude Code settings that make the rest ask.
Checked on by running chrome-devtools-mcp 1.13.0 from ChromeDevTools/chrome-devtools-mcp and reading its tools/list answer. Each tier is the tool risk checker’s reading, with our reason wherever we changed it. Written by the people who make VariantGate.
The short answer
The server marks nothing destructive. Eight tools only look; take_snapshot and take_screenshot can overwrite a file, so allow them only in a git checkout. Use --isolated and --no-javascript-evaluation, and make the rest ask.
- Can run on their own
- 8
- Should ask a person
- 25
The server marks nothing destructive
Chrome DevTools MCP marks 8 of its 33 tools read-only and gives none of them an explicit destructive hint, so to a client that goes by hints evaluate_script looks no different from resize_page or click. It also leaves take_snapshot and take_screenshot unmarked; both can save to a file. The tiers below come from what each tool does.
Which browser it drives
- By default it starts its own Chrome with a profile it keeps in
~/.cache/chrome-devtools-mcp, so a site you sign in to there stays signed in next time.--isolateduses a temporary profile that is removed when the browser closes. --autoConnectattaches to the Chrome you already run, with every sign-in it has. Keep it for sessions you watch.- Tools that read or write files are limited to the client’s workspace roots, or to the system’s temp folder when the client names none.
Flags that take tools away
--no-javascript-evaluationremovesevaluate_scriptandset_logpoints(we checked: 31 tools are left) and turns offnavigate_page’s init script. Its help says it is not a sandbox: scripts the page runs after a click still run.--slimlists only three tools,navigate,evaluateandscreenshot. Fewer tools, but one of the three runs JavaScript.--categoryInput=false,--categoryNetwork=falseand the other category flags drop whole groups, such as every click and key press.--redactNetworkHeadershides some sensitive headers fromget_network_request. It is off by default, so cookies reach the model.
npx chrome-devtools-mcp@latest --isolated --headless \
--no-javascript-evaluation --redactNetworkHeadersWhat leaves your machine by default
Two settings send data to Google unless you turn them off: usage statistics about the tools (--usageStatistics=false, or the CHROME_DEVTOOLS_MCP_NO_USAGE_STATISTICS variable), and the URLs in a performance trace, which go to the CrUX API for field data (--performanceCrux=false). For an internal app, the second one sends its addresses out.
All 33 tools
Hard to undo2 toolsAsk a person every time. Consider two people, or deny it if the agent never needs it.
evaluate_scriptEvaluate JavaScript inside the target page.
Server gives no read-only or destructive hint
Our call: Runs JavaScript in the page as you: it can read whatever the page can, tokens in its storage included, and send it anywhere. --no-javascript-evaluation removes it.
set_logpointsSet the complete set of logpoints of the selected page: logpoints not in the list are removed, new ones are added, and an empty list removes all.
Server gives no read-only or destructive hint
Our call: Runs JavaScript in the page as you: it can read whatever the page can, tokens in its storage included, and send it anywhere. --no-javascript-evaluation removes it.
Reaches people3 toolsAsk a person: once it reaches someone, it cannot be unsent.
navigate_pageGo to a URL, or back, forward, or reload.
Server gives no read-only or destructive hint
Our call: Opens any URL, and a URL can carry data out: an agent that read something private can put it in the address of a site it picks.
new_pageOpen a new tab and load a URL.
Server gives no read-only or destructive hint
Our call: Opens any URL, and a URL can carry data out: an agent that read something private can put it in the address of a site it picks.
upload_fileUpload a file through a provided element.
Server gives no read-only or destructive hint
Our call: Hands a file from your machine to the website, which can keep it.
Not sure8 toolsAsk a person until you have checked what it does.
clickClicks on the provided element
Server gives no read-only or destructive hint
Our call: What it does depends on the page: on a site the browser is signed in to, one click or key press can send, buy or delete.
dragDrag an element onto another element
Server gives no read-only or destructive hint
Our call: What it does depends on the page: on a site the browser is signed in to, one click or key press can send, buy or delete.
fillType text into an input, text area or select an option from a <select> element.
Server gives no read-only or destructive hint
Our call: What it does depends on the page: on a site the browser is signed in to, one click or key press can send, buy or delete.
fill_formFill out multiple form elements (inputs, selects, checkboxes, radios) at once.
Server gives no read-only or destructive hint
Our call: What it does depends on the page: on a site the browser is signed in to, one click or key press can send, buy or delete.
handle_dialogIf a browser dialog was opened, use this command to handle it
Server gives no read-only or destructive hint
Our call: What it does depends on the page: on a site the browser is signed in to, one click or key press can send, buy or delete.
hoverHover over the provided element
Server gives no read-only or destructive hint
Our call: What it does depends on the page: on a site the browser is signed in to, one click or key press can send, buy or delete.
press_keyPress a key or key combination.
Server gives no read-only or destructive hint
Our call: What it does depends on the page: on a site the browser is signed in to, one click or key press can send, buy or delete.
type_textType text using keyboard into a previously focused input
Server gives no read-only or destructive hint
Our call: What it does depends on the page: on a site the browser is signed in to, one click or key press can send, buy or delete.
Changes data12 toolsAsk a person. Once it is routine, a standing rule can answer.
close_pageCloses the page by its index.
Server gives no read-only or destructive hint
emulateEmulates various features on the target page.
Server gives no read-only or destructive hint
Our call: Changes how this browser looks to sites, and can add a header such as Authorization to every request it sends.
get_network_requestGets a network request by an optional reqid, if omitted returns the currently selected request in the DevTools Network panel.
Server gives no read-only or destructive hint
Our call: Reads one request with its headers, Cookie and Set-Cookie included, so session cookies reach the model. Its file path options also write files.
lighthouse_auditGet Lighthouse scores, failing audits, and the DOM nodes they flag for accessibility, SEO, best practices, and agentic browsing.
Server gives no read-only or destructive hint
Our call: Audits the page, but navigation mode reloads it and the reports are saved to disk.
performance_start_traceStart a performance trace on the target webpage.
Server gives no read-only or destructive hint
performance_stop_traceStop the active performance trace recording on the target webpage.
Server gives no read-only or destructive hint
resize_pageResizes the page's window so that the page has specified dimension
Server gives no read-only or destructive hint
Our call: Changes only the size of the browser window.
screencast_startStarts recording a screencast (video) of the target page.
Server gives no read-only or destructive hint
screencast_stopStops the active screencast recording on the target page.
Server gives no read-only or destructive hint
take_heapsnapshotCapture a heap snapshot of the target page.
Server gives no read-only or destructive hint
Our call: Saves the page's whole memory to a file, secrets the page holds included.
take_screenshotTake a screenshot of the page or element.
Server gives no read-only or destructive hint
Our call: Reads the page, but its file option saves the result to a file in a folder the server may write to (the client's workspace roots, or the temp folder), replacing one already there. We tried it: take_snapshot replaced an existing file.
take_snapshotTake a text snapshot of the target page based on the a11y tree.
Server gives no read-only or destructive hint
Our call: Reads the page, but its file option saves the result to a file in a folder the server may write to (the client's workspace roots, or the temp folder), replacing one already there. We tried it: take_snapshot replaced an existing file.
Only looks8 toolsLet it run. It only looks.
get_console_messageGets a console message by its ID.
Server says: read-only
get_css_stylesRetrieve matched CSS rules, inline styles (element.style), inherited styles, custom properties, and cascade wrappers (@layer, @media, @container, @scope) for an element identified by its UID.
Server says: read-only
list_console_messagesList all console messages for the target page since the last navigation.
Server says: read-only
list_network_requestsLists the most recent requests for the target page since the last navigation.
Server says: read-only
list_pagesGet a list of pages open in the browser.
Server says: read-only
performance_analyze_insightProvides more detailed information on a specific Performance Insight of an insight set that was highlighted in the results of a trace recording.
Server says: read-only
Our call: Reads a trace already recorded; the server marks it read-only.
select_pageSelect a page as a context for future tool calls.
Server says: read-only
wait_forWait for the specified text to appear on the selected page.
Server says: read-only
Our call: Only waits for text to appear; it has no file option. The server marks it read-only.
Let the reads run in Claude Code
Claude Code asks before every MCP tool it has no rule for. Added as chrome-devtools, this server’s tools are named mcp__chrome-devtools__<tool>. These allow rules, in .claude/settings.json or ~/.claude/settings.json, let the tools that only look run without a prompt. Everything else keeps asking, including any tool a later version of the server adds.
{
"permissions": {
"allow": [
"mcp__chrome-devtools__get_console_message",
"mcp__chrome-devtools__get_css_styles",
"mcp__chrome-devtools__list_console_messages",
"mcp__chrome-devtools__list_network_requests",
"mcp__chrome-devtools__list_pages",
"mcp__chrome-devtools__performance_analyze_insight",
"mcp__chrome-devtools__select_page",
"mcp__chrome-devtools__wait_for"
]
}
}The command that adds the server:
claude mcp add chrome-devtools -- npx chrome-devtools-mcp@latestSend the rest to a person, not the terminal
A prompt in the terminal only works while someone is watching it. With this hook, every other tool of the server becomes a request in your VariantGate inbox, on your phone or in Slack, and Claude Code waits for the answer. The matcher names the look-only tools, so a tool added later is sent too. Put the key in VARIANTGATE_KEY, or run the one-command setup for Claude Code first.
{
"hooks": {
"PreToolUse": [
{
"matcher": "mcp__chrome-devtools__(?!(get_console_message|get_css_styles|list_console_messages|list_network_requests|list_pages|performance_analyze_insight|select_page|wait_for)$).*",
"hooks": [
{ "type": "command", "command": "variantgate hook claude-code", "timeout": 180 }
]
}
]
}
}Disagree with a tier, or run the server with other flags? Open these tools in the tool risk checker, change what you like, and copy the settings for your own setup. It runs in your browser and starts from its own reading, so a tool we marked as only looking by hand asks there until you change it.
Any MCP client: put the proxy in front
Claude Desktop, Cursor and most other MCP clients have no hook to send a call to a person. The VariantGate MCP proxy does it in the server’s place: it starts the server, lets the look-only tools above through, and holds every other call until someone approves it in the inbox. Run npx -y https://variantgate.com/sdk/variantgate-agent-0.15.0.tgz login once to save a key, then use this in claude_desktop_config.json or ~/.cursor/mcp.json:
{
"mcpServers": {
"chrome-devtools": {
"args": [
"-y",
"https://variantgate.com/sdk/variantgate-agent-0.15.0.tgz",
"mcp-proxy",
"--name",
"chrome-devtools",
"--look-only",
"get_console_message,get_css_styles,list_console_messages,list_network_requests,list_pages,performance_analyze_insight,select_page,wait_for",
"--",
"npx",
"chrome-devtools-mcp@latest"
],
"command": "npx"
}
}
}Already have it in Claude Desktop? One command rewrites the file for you, with these look-only tools filled in, and keeps the old one (setup vscode does the same for VS Code; how it works):
npx -y https://variantgate.com/sdk/variantgate-agent-0.15.0.tgz setup claude-desktopThe same in Claude Code, instead of the hook. The proxy now asks about every call that matters, so an allow rule for the whole server, mcp__chrome-devtools, keeps Claude Code from asking a second time in the terminal:
claude mcp add chrome-devtools -- npx -y https://variantgate.com/sdk/variantgate-agent-0.15.0.tgz mcp-proxy --name chrome-devtools --look-only get_console_message,get_css_styles,list_console_messages,list_network_requests,list_pages,performance_analyze_insight,select_page,wait_for -- npx chrome-devtools-mcp@latestClaude Code’s allow rules match a tool’s name, never its arguments, so a rule cannot tell a harmless call of these tools from a risky one. If the agent works in a git checkout, and you accept that a call may replace a file that git can bring back only if it is tracked and committed (not a .env, an untracked file or edits not yet committed), these rules also let take_snapshot, take_screenshot run unasked:
{
"permissions": {
"allow": [
"mcp__chrome-devtools__get_console_message",
"mcp__chrome-devtools__get_css_styles",
"mcp__chrome-devtools__list_console_messages",
"mcp__chrome-devtools__list_network_requests",
"mcp__chrome-devtools__list_pages",
"mcp__chrome-devtools__performance_analyze_insight",
"mcp__chrome-devtools__select_page",
"mcp__chrome-devtools__wait_for",
"mcp__chrome-devtools__take_snapshot",
"mcp__chrome-devtools__take_screenshot"
]
}
}See it before you decide.
The playground runs the whole approval loop in your browser, no account needed. When it fits, the free plan covers 100 requests a month.