# Chrome DevTools MCP server security: what it can access

> The Chrome DevTools MCP server exposes browser content to your agent. See its tools, profile flags, data collection and how to limit it.

The Chrome DevTools MCP server, `chrome-devtools-mcp`, is published by the ChromeDevTools organization on GitHub. It lets an AI agent drive a real Chrome, and its README says it exposes the content of the browser instance to the MCP client. That includes pages, console output, network requests and anything in a signed-in profile. Usage statistics are on by default and performance tools may send trace URLs to Google’s CrUX API. Run it with `--isolated` unless you need a logged-in browser.

## What it can reach

The tool reference groups tools into categories.

| Category | Tools |
| --- | --- |
| Input | `click`, `fill`, `fill_form`, `type_text`, `press_key`, `drag`, `hover`, `handle_dialog`, `upload_file` |
| Navigation | `navigate_page`, `new_page`, `list_pages`, `select_page`, `close_page`, `wait_for` |
| Debugging | `evaluate_script`, `take_screenshot`, `take_snapshot`, `list_console_messages`, `get_css_styles`, `lighthouse_audit`, `screencast_start`, `set_logpoints` |
| Network | `list_network_requests`, `get_network_request` |
| Performance and memory | `performance_start_trace`, `performance_analyze_insight`, `take_heapsnapshot` and related tools |
| Emulation | `emulate`, `resize_page` |

`evaluate_script` runs JavaScript in a page, so the agent can read or change anything the page can. `upload_file` sends local files through a file input. Network and snapshot tools can show cookies, tokens in headers and form values. A page you ask the agent to open can contain text written to steer it.

Some categories are off by default and need a flag. These include extensions, network mocks, PWA install and WebAuthn, such as `--categoryExtensions` and `--categoryWebauthn`.

## Profile and connection flags

| Flag | Effect |
| --- | --- |
| `--isolated` | uses a temporary user data directory, deleted when the browser closes |
| `--userDataDir` | the profile folder, default `$HOME/.cache/chrome-devtools-mcp/chrome-profile` plus a channel suffix for non-stable channels |
| `--browserUrl`, `-u` | connects to a running Chrome, for example `http://127.0.0.1:9222` |
| `--autoConnect` | connects to a local browser, needs Chrome 144 or later and remote debugging turned on at `chrome://inspect/#remote-debugging` |
| `--headless` | no visible window |
| `--slim` | exposes only three tools, for navigation, script execution and screenshots |
| `--no-usage-statistics` | opts out of usage data |
| `--no-performance-crux` | stops trace URLs going to the CrUX API |

Without `--isolated`, the profile directory is a normal folder, so the profile stays between runs. If you connect to your everyday Chrome with `--browserUrl` or `--autoConnect`, the agent sees your logged-in tabs. Don’t do that on a profile with banking or work sessions. The statistics opt-out also takes the `CHROME_DEVTOOLS_MCP_NO_USAGE_STATISTICS` environment variable, and `CI` disables collection.

To drop whole groups, set a category to false, for example `--categoryNetwork=false` or `--categoryDebugging=false`. Dropping debugging removes `evaluate_script`.

## Limit it in Claude Code

The README installs it as an `mcpServers` entry running `npx` with `chrome-devtools-mcp@latest`. With `claude mcp add`, flags go after the command.

```bash
claude mcp add chrome-devtools -- npx chrome-devtools-mcp@latest --isolated --no-usage-statistics --no-performance-crux
```

Then ask before the riskiest tools.

```json
{
  "permissions": {
    "ask": ["mcp__chrome-devtools__evaluate_script", "mcp__chrome-devtools__upload_file"]
  }
}
```

Names with a hyphen stay as written, since only characters such as `.` or spaces become `_`. Using `@latest` means each run picks up the newest version, so pin one if you want to review updates.

## Limit it in Codex

```toml
[mcp_servers.chrome-devtools]
command = "npx"
args = ["chrome-devtools-mcp@latest", "--isolated", "--no-usage-statistics"]
disabled_tools = ["evaluate_script", "upload_file"]
```

## Checklist

- Start with `--isolated`.
- Never point it at a profile that holds real sessions.
- Turn off categories you don’t need.
- Opt out of statistics and CrUX.
- Pin the package version.

Checked against the vendor documentation on November 25, 2026. [chrome-devtools-mcp](https://github.com/ChromeDevTools/chrome-devtools-mcp) · [Tool reference](https://github.com/ChromeDevTools/chrome-devtools-mcp/blob/main/docs/tool-reference.md) · [Configuration](https://github.com/ChromeDevTools/chrome-devtools-mcp/blob/main/docs/configuration.md) · [Claude Code permissions](https://code.claude.com/docs/en/permissions) · [Codex MCP](https://learn.chatgpt.com/docs/extend/mcp?surface=cli)

## What Excellent covers

Excellent doesn’t inspect MCP servers themselves, so it can’t tell you what a server exposes. Its free scan reads supported logs on the Mac and reports findings for review. It reads the session logs of Claude Code, Codex, Grok Build, GitHub Copilot CLI, Gemini CLI and Qwen Code, which shows what an agent did after it used a server. For a local report without installing an app, [run the free scan](https://www.excellent.so/scan). Its script uses Python 3.9 or later when your Mac has it and the shell when it doesn’t, reads the logs locally and makes no network requests. [See a sample report](https://www.excellent.so/r/sample).

Excellent Pro adds checks before supported actions. Claude Code can display an ask prompt. With Codex, an Excellent “ask” refuses the action and tells the agent to ask you. Commands sent into an already running Codex shell fall outside that check. [Agent coverage](https://www.excellent.so/agents) · [Pricing](https://www.excellent.so/pricing). Pro is US-only for now.

Source: https://www.excellent.so/guides/chrome-devtools-mcp-server
