Chrome DevTools MCP is an MCP server that lets coding agents control and inspect a live Chrome browser for automation, debugging, screenshots, network analysis, console inspection, and performance tracing. It is for developers who want AI coding assistants to test and diagnose web applications, and the catalogue add-ons provide workflows for using those browser tools.
Borrowing it
Nothing to install: this file belongs to ChromeDevTools/chrome-devtools-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/ChromeDevTools/chrome-devtools-mcp/main/AGENTS.mdgit clone --depth 1 https://github.com/ChromeDevTools/chrome-devtools-mcpWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/instructions/chromedevtools/chrome-devtools-mcp/agents-md)<a href="https://agentmods.dev/instructions/chromedevtools/chrome-devtools-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/chromedevtools/chrome-devtools-mcp/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/instructions/chromedevtools/chrome-devtools-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/chromedevtools/chrome-devtools-mcp/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.03504 | $0.03504 |
| Opus 5.5 | $0.01402 | $0.01402 |
| Sonnet 5.5 | $0.00701 | $0.00701 |
| Haiku 4.5 | $0.00350 | $0.00350 |
Grade A, and why
chrome-devtools-mcp AGENTS.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
Copies of this mod
8 near-identical copies found in the catalogue:
- chrome-devtools-mcp AGENTS.md — 100% identical, 223 lines differ
- brave-devtools-mcp AGENTS.md — 100% identical, 28 lines differ
- chrome-devtools-mcp AGENTS.md — 92% identical, 224 lines differ
- Chrome_Auto_Mcp AGENTS.md — 92% identical, 224 lines differ
- chrpme_MCP AGENTS.md — 92% identical, 224 lines differ
- chrome-devtools-mcp AGENTS.md — 92% identical, 224 lines differ
- chrome-devtools-mcp AGENTS.md — 92% identical, 224 lines differ
- arc-devtools-mcp AGENTS.md — 92% identical, 224 lines differ
How it starts
The opening of the file, as written. The whole thing — 241 lines — stays where its author put it; the contents beside it link to each section on GitHub.
This repository contains an MCP server and CLI for Chrome DevTools.
Instructions
- Use only scripts from
package.jsonto run commands. - Use
npm run buildto compile the project and tests with GN and Ninja. - Update
src/BUILD.gnortests/BUILD.gnwhenever adding, renaming, or removing.tsfiles insrc/ortests/. - Use
npm run testto build and run tests, run all tests to verify correctness. - Use
npm run test path-to-test.tsto build and run a single test file, for example,npm run test tests/McpContext.test.ts. - Use
npm run formatto fix formatting and get linting errors.
Third-party bundles
src/third_party/index.tsis the light bundle loaded at startup (MCP SDK, zod, ajv).src/third_party/browser.tsis the heavy bundle (Puppeteer,@puppeteer/browsers, DevTools frontend); it is not loaded at server startup and only loads once a tool call needs it.- Import types from
browser.jswithimport typeanywhere. - Startup and tool-registration modules (
src/index.ts,src/BrowserManager.ts,src/processors/HeapSnapshotManager.ts,src/ToolHandler.ts,src/bin/,src/daemon/,src/tools/,src/config/andsrc/telemetry/) must not import values frombrowser.js. Get them on demand withawait loadBrowser()(cached), with a dynamicimport()of the module that needs them, or through page and context objects. Values used when a module loads (for example in a schema) must come from modules without browser code. - Classes checked with
instanceof(for exampleTimeoutError) come only frombrowser.js; never re-export them fromindex.ts. Small pure modules may be re-exported fromindex.tsby their direct file path. - ESLint (
@typescript-eslint/no-restricted-importsineslint.config.js) rejects direct value imports frombrowser.jsinsrc/index.ts,src/BrowserManager.ts,src/processors/HeapSnapshotManager.ts,src/ToolHandler.ts,src/bin/,src/daemon/,src/tools/,src/config/andsrc/telemetry/, as well as value imports from./McpContext.jsinsrc/index.ts.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- today Changed · -1 lines · -30 tokens per session c1116fe8cfa2
- 7d ago Changed · +6 lines · +135 tokens per session 28bc3e065661
- 10d ago Changed · +21 lines · +304 tokens per session fc6081d77d7b
- 14d ago Changed · +1 lines · +53 tokens per session a0cc334960d0
- 15d ago Changed · -1 tokens per session 111c9a2d5e69
- 26d ago Changed · +1 lines · +42 tokens per session 368daf586da4
- 1mo ago Changed · +155 lines · +2,030 tokens per session 252fa7224b5d
- 3mo ago Changed · +37 lines · +735 tokens per session 1b804c2b806a
- 3mo ago First seen · 21 lines · 236 tokens per session scan A 9087ba513381
chrome-devtools-mcp AGENTS.md is an instructions file published in the GitHub repository ChromeDevTools/chrome-devtools-mcp (60,376 stars, last pushed today), licensed Apache-2.0. It adds 3,504 tokens to every session, about $0.0140 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
chrome-devtools-mcp AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| chrome-devtools-mcp AGENTS.mdChromeDevTools/chrome-devtools-mcp | Instructions file | 60k | today | Apache-2.0 | A | 3,504 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 196k | today | MIT | A | 9,887 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 144k | today | MIT | A | 7,230 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 196k | today | MIT | A | 5,685 | GitHub Copilot |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 150k | today | MIT | A | 4,680 | Codex, OpenCode |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 196k | today | MIT | A | 3,303 | GitHub Copilot |
| deno copilot-instructions.mddenoland/deno | Instructions file | 109k | today | MIT | A | 3,077 | GitHub Copilot |