Agent skill

Chrome Devtools MCP

by managedcode in managedcode/dotnet-skills

Use Chrome DevTools MCP from .NET agents and .NET-focused repos to inspect, debug, and automate Chrome through an MCP client.

MITAuto-check passedDevelopment

Install Chrome Devtools MCP

skills CLI
$ npx skills add managedcode/dotnet-skills --skill chrome-devtools-mcp -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install managedcode/dotnet-skills chrome-devtools-mcp --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/managedcode/dotnet-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/catalog/Tools/Chrome-DevTools-MCP/skills/chrome-devtools-mcp .claude/skills/chrome-devtools-mcp && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
chrome-devtools-mcp
GitHub stars
486
Token cost
~2.2k tokens
SKILL.md length
1,021 words
Files
2
Skills in repo
81
Repo updated
First seen
Licence
MIT

At a glance

Use Chrome DevTools MCP from .NET agents and .NET-focused repos to inspect, debug, and automate Chrome through an MCP client.

  • Works in 5 steps: Choose the browser mode first. → Prefer repo-local config over ad hoc… → Start from the smallest useful surface. → …
  • : the repo needs browser-level debugging for ASP.NET Core
  • SKILL.md covers Trigger On, Do Not Use For, Inputs and Workflow, plus 7 more sections
  • Calls codex and npx

What it does

Chrome Devtools MCP is an agent skill from managedcode/dotnet-skills. Use Chrome DevTools MCP from .NET agents and .NET-focused repos to inspect, debug, and automate Chrome through an MCP client. USE FOR: the repo needs browser-level debugging for ASP.NET Core, Blazor, WebAssembly, or any .NET app with a web UI; the user wants an MCP server that can inspect console. DO NOT USE FOR: pure .NET code analysis, unit testing, or NuGet/package management; static HTML linting alone. INVOKES: inspect the repository context, edit targeted files, and run relevant build, test, lint, or…

Its SKILL.md is about 2.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `manifest.json`). Compatibility notes: Requires an MCP-capable .NET agent/app or repo with a browser-debugging workflow; Chrome DevTools MCP runs as an external Node-based server and needs Chrome…

It sits in Development, covering Browser testing, MCP servers and Linting and formatting. It works with Model Context Protocol, Chrome DevTools, .NET and ASP.NET Core. The repository describes itself as: Installable .NET skill catalog and CLI for Codex, Claude Code, GitHub Copilot, and Gemini. The licence is MIT.

When your agent uses it

  • : the repo needs browser-level debugging for ASP.NET Core
  • Any .NET app with a web UI
  • The user wants an MCP server that can inspect console
  • : pure .NET code analysis

Example prompts

  • “/chrome-devtools-mcp”

Requirements

  • Node.js
  • Compatibility (from SKILL.md): Requires an MCP-capable .NET agent/app or repo with a browser-debugging workflow; Chrome DevTools MCP runs as an external Node-based server and needs Chrome or Chrome for Testing.

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Choose the browser mode first.
  2. Prefer repo-local config over ad hoc shell commands.
  3. Start from the smallest useful surface.
  4. Be explicit about privacy and cost.
  5. Validate against the real app, not a mock page.

What it can do on your machine

Read from SKILL.md and the folder at commit 535dd55. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • codex
    • npx

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use npx, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Requires an MCP-capable .NET agent/app or repo with a browser-debugging workflow; Chrome DevTools MCP runs as an external Node-based server and needs Chrome or Chrome for Testing.

    From compatibility in the SKILL.md frontmatter.

Context cost

Chrome Devtools MCP loads about 2.2k tokens when it runs. Until then it costs about 143 tokens; SKILL.md has 1,021 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~143
When it runs · the whole SKILL.md, loaded when a task matches
~2.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from managedcode/dotnet-skills at commit 535dd55, republished under its MIT licence (© managedcode). 1,021 words, ~2,205 tokens.

Download SKILL.mdSave it as .claude/skills/chrome-devtools-mcp/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
chrome-devtools-mcp
description
Use Chrome DevTools MCP from .NET agents and .NET-focused repos to inspect, debug, and automate Chrome through an MCP client. USE FOR: the repo needs browser-level debugging for ASP.NET Core, Blazor, WebAssembly, or any .NET app with a web UI; the user wants an MCP server that can inspect console. DO NOT USE FOR: pure .NET code analysis, unit testing, or NuGet/package management; static HTML linting alone. INVOKES: inspect the repository context, edit targeted files, and run relevant build, test, lint, or validation commands when changes are made.
compatibility
Requires an MCP-capable .NET agent/app or repo with a browser-debugging workflow; Chrome DevTools MCP runs as an external Node-based server and needs Chrome or Chrome for Testing.

Chrome DevTools MCP for .NET Repos

Trigger On

  • the repo needs browser-level debugging for ASP.NET Core, Blazor, WebAssembly, or any .NET app with a web UI
  • the user wants an MCP server that can inspect console output, network traffic, screenshots, traces, and DOM state
  • the repo needs agent-friendly browser control instead of manual DevTools work

Do Not Use For

  • pure .NET code analysis, unit testing, or NuGet/package management
  • static HTML linting alone
  • sensitive browser sessions that must not be exposed to an MCP client

Inputs

  • the nearest AGENTS.md
  • the MCP client config for the current agent or app
  • the target Chrome mode: launch new, connect to existing browser, or attach to a WebSocket endpoint
  • the target app URL or local dev server

Workflow

  1. Choose the browser mode first.
    • new ephemeral browser: default when you want a clean session
    • existing browser: use --browserUrl or --wsEndpoint
    • running browser with a user profile: use --autoConnect only when Chrome 144+ and remote debugging are already enabled
  2. Prefer repo-local config over ad hoc shell commands.
    • store the MCP server block in the repo or agent config so every run is repeatable
  3. Start from the smallest useful surface.
    • use --slim when you only need navigation, JavaScript execution, and screenshots
    • leave the full toolset enabled when you need network, performance, or emulation
  4. Be explicit about privacy and cost.
    • disable usage statistics or CrUX-backed performance enrichment when policy or sensitivity requires it
  5. Validate against the real app, not a mock page.
    • use the app's local dev server, preview URL, or a production-like environment that reflects the bug

Current Upstream Notes

  • Chrome DevTools MCP v1.8.0 adds PWA automation, query_heapsnapshot, richer heap-edge and native-context inspection, console stack traces, multi-file upload, and a stable-DOM bypass for evaluate_script. Enable memory-debugging tools explicitly and keep heap output bounded to the investigation.
  • Page-scoped tools now require pageId by default. Update callers to select and pass the intended page instead of relying on ambient tab state. The release also fixes CLI default handling, remote-path validation, HiDPI screenshot bounds, slow-client root listing, and lifecycle regressions; reproduce the real browser path before adding client-side workarounds.
  • Use the memory tools only when heap snapshots are the actual debugging need; close snapshots when finished so the browser session does not keep unnecessary memory pressure.
  • For sensitive or scoped browser automation, prefer allowedUrlPattern / blockedUrlPattern over relying only on prompt instructions.
  • When enabling category extensions, prompt the user for the category instead of silently broadening the tool surface.

Install And Configure

Use the same JSON MCP server block in whatever .NET agent/app host you use:

json
{
  "mcpServers": {
    "chrome-devtools": {
      "command": "npx",
      "args": ["-y", "chrome-devtools-mcp@latest"]
    }
  }
}

Common variants:

json
{
  "mcpServers": {
    "chrome-devtools": {
      "command": "npx",
      "args": ["-y", "chrome-devtools-mcp@latest", "--slim", "--headless"]
    }
  }
}
json
{
  "mcpServers": {
    "chrome-devtools": {
      "command": "npx",
      "args": ["-y", "chrome-devtools-mcp@latest", "--browserUrl", "http://127.0.0.1:9222"]
    }
  }
}

For Codex CLI, the upstream repo documents:

bash
codex mcp add chrome-devtools -- npx chrome-devtools-mcp@latest
Useful Flags
  • --slim: three-tool surface for navigation, JavaScript execution, and screenshots only
  • --headless: run without UI
  • --browserUrl or --wsEndpoint: attach to an existing debuggable browser
  • --wsHeaders: add custom WebSocket headers when --wsEndpoint is used
  • --autoConnect: connect to a locally running Chrome 144+ instance instead of launching a new one
  • --channel stable|beta|dev|canary: pick a Chrome channel
  • --isolated: create and clean up a temporary profile
  • --userDataDir: reuse a specific Chrome profile directory
  • --no-usage-statistics: opt out of usage collection
  • --no-performance-crux: stop sending performance trace URLs to CrUX
  • --acceptInsecureCerts: only when the target environment uses self-signed or expired certs
  • --allow-unrestricted-paths: opt out of filesystem path restrictions only for a trusted local workflow that genuinely needs arbitrary path access
  • --logFile <path>: opt-in debug artifact for an unresolved bug; keep it size-bounded outside model context and inspect only exact bounded excerpts
  • --experimentalScreencast: only when ffmpeg is available and you need video capture
Show full SKILL.md (437 more words)Show less

Practical Usage Patterns

  • Debug a local ASP.NET Core or Blazor app:
    • start the app
    • connect with --browserUrl if the browser is already running, or let the server launch Chrome
    • ask the agent to inspect console errors, network failures, and rendering behavior
  • Investigate a flaky UI test:
    • use --headless --isolated
    • link screenshots and show only relevant Warning/Error console entries from the failing route (at most 80 lines / 8 KiB per diagnostic response); never dump console history
    • compare the result to a known-good run
  • Diagnose performance regressions:
    • keep the full toolset enabled
    • use performance tools only when you need trace data
    • prefer --slim for quick smoke checks, not for performance work
  • Work in a sandboxed or containerized environment:
    • attach to a running browser with --browserUrl or --wsEndpoint
    • avoid assuming the server can launch Chrome itself
  • Reuse a signed-in session:
    • use --userDataDir
    • avoid --isolated
    • accept that this increases exposure to sensitive browser state
mermaid
flowchart LR
  A[".NET repo or app"] --> B["MCP-capable agent/app"]
  B --> C["chrome-devtools-mcp config"]
  C --> D["Chrome"]
  D --> E["Console / network / screenshots / traces"]

Risks And Tradeoffs

  • The server can see and act on browser content, so do not point it at sensitive accounts or data unless that exposure is intended.
  • --slim lowers token and tool overhead, but it removes network, performance, and emulation workflows.
  • --isolated is safer for disposable runs, but it discards existing browser state and logins.
  • --autoConnect is convenient for local debugging, but it depends on Chrome 144+ and remote debugging being enabled.
  • --no-usage-statistics and CrUX-backed performance traces may change what data leaves the machine; disable them when policy requires it.
  • --headless is good for CI or scripted runs, but it can hide UI-specific failures.
  • Passing --chromeArg='--no-sandbox' or similar launch flags can be necessary in some container or root environments, but only use it when the environment really requires it.

Handle Failures

  • If npx returns a permission denied error on macOS from _npx, clear ~/.npm/_npx and rerun.
  • If the server cannot find Chrome, check --channel, --executablePath, and whether Chrome is installed on the host.
  • If connection to an existing browser fails, verify http://127.0.0.1:9222/json/version and the webSocketDebuggerUrl value.
  • If performance traces are noisy or too expensive, keep the browser mode stable and compare runs against the same URL and browser channel.

Validate

  • npx -y chrome-devtools-mcp@latest --help prints the expected flags on the current host
  • the MCP client can list the server and open a page in the target browser
  • the agent can capture at least one screenshot or console/network observation from the real app
  • the chosen mode matches the task: --slim for quick browser checks, full mode for debugging and performance

Deliver

  • a repeatable MCP server config for the repo or agent host
  • a browser connection mode that fits the environment
  • a safe default for privacy, performance, and reproducibility

© managedcode, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in catalog/Tools/Chrome-DevTools-MCP/skills/chrome-devtools-mcp of managedcode/dotnet-skills.

  • SKILL.md
  • manifest.json

Open the folder on GitHubat commit 535dd55

Compare with similar skills

Chrome Devtools MCP next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Chrome Devtools MCP compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Chrome Devtools MCP this skillmanagedcode/dotnet-skills486—~2.2kAutomated safety check: PassMIT
Extension Puppeteer Debuggingmengxi-ream/read-frog10k—~2kAutomated safety check: NotesGPL-3.0
System Bridge Testing Workflowtimmo001/system-bridge356—~843Automated safety check: PassApache-2.0
Vscode MCP Architecturetjx666/vscode-mcp106—~1.5kAutomated safety check: PassCustom licence
Browser Testing With Devtoolsshashankswe2020-ux/whoop-mcp166—~3kAutomated safety check: WarnMIT
Dotnet Debuggingnovotnyllc/dotnet-artisan233—~2.1kAutomated safety check: PassMIT

Similar skills

  • Extension Puppeteer Debugging

    mengxi-ream/read-frog

    Debug the built Read Frog extension in real Chrome. An agent skill from mengxi-ream/read-frog.

    10k GitHub stars~2k tokensUpdated today
    DevelopmentAuto-check: notes
  • System Bridge Testing Workflow

    timmo001/system-bridge

    How to test System Bridge - Go table-driven tests and commands, web-client quality checks (lint/typecheck/format, no unit tests), the Chrome DevTools MCP interactive test loop for UI and WebSocket…

    356 GitHub stars~843 tokensUpdated today
    Testing & QAAuto-check passed
  • Vscode MCP Architecture

    tjx666/vscode-mcp

    VSCode MCP Bridge project architecture — current monorepo layout, IPC/EventDispatcher flow, per-workspace socket discovery, MCP/CLI adapters, tool filtering, and VSCode extension services.

    106 GitHub stars~1.5k tokensUpdated 2 mo ago
    DevelopmentAuto-check passed
  • Browser Testing With Devtools

    shashankswe2020-ux/whoop-mcp

    Tests in real browsers. An agent skill from shashankswe2020-ux/whoop-mcp.

    166 GitHub stars~3k tokensUpdated today
    Testing & QAAuto-check: warnings
  • Dotnet Debugging

    novotnyllc/dotnet-artisan

    Debugs Windows and Linux/macOS applications (native, .NET/CLR, mixed-mode) with WinDbg MCP (crash dumps, !analyze, !syncblk, !dlk, !runaway, !dumpheap, !gcroot, BSOD), dotnet-dump, lldb with SOS…

    233 GitHub stars~2.1k tokensUpdated 1 mo ago
    DevelopmentAuto-check passed
  • Bringup

    jenissimo/bottleship

    Drive and observe the BottleShip emulator to bring up a game, using the AI-agent harness (window.BS.harness + bun tools/harness.ts).

    131 GitHub stars~2.9k tokensUpdated today
    Agent WorkflowsAuto-check passed

More from managedcode/dotnet-skills

All 81 skills in this repo
  • Analyzer Config

    managedcode/dotnet-skills

    Use a repo-root .editorconfig to configure free .NET analyzer and style rules.

    486 GitHub stars~1.3k tokensUpdated today
    Auto-check passed
  • Archunitnet

    managedcode/dotnet-skills

    Use the open-source free ArchUnitNET library for architecture rules in .NET tests.

    486 GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Aspire

    managedcode/dotnet-skills

    Build, upgrade, and operate Aspire 13.5.x C or TypeScript application hosts with the current CLI, AppHost, ServiceDefaults, integrations, dashboard, testing, MCP, and deployment patterns for…

    486 GitHub stars~3.6k tokensUpdated today
    Auto-check passed
  • Aspnet Core

    managedcode/dotnet-skills

    Build, debug, modernize, or review ASP.NET Core applications with correct hosting, middleware, security, configuration, logging, and deployment patterns on current .NET.

    486 GitHub stars~2.1k tokensUpdated today
    Auto-check passed
  • Asynkron Profiler

    managedcode/dotnet-skills

    Use the open-source free Asynkron.Profiler dotnet tool for CLI-first CPU, allocation, exception, contention, and heap profiling of .NET commands or existing trace artifacts.

    486 GitHub stars~1.7k tokensUpdated today
    Auto-check passed
  • Azure Functions

    managedcode/dotnet-skills

    Build, review, or migrate Azure Functions in .NET with correct execution model, isolated worker setup, bindings, DI, and Durable Functions patterns.

    486 GitHub stars~2.6k tokensUpdated today
    Auto-check passed

Questions about Chrome Devtools MCP

What does Chrome Devtools MCP do?

Use Chrome DevTools MCP from .NET agents and .NET-focused repos to inspect, debug, and automate Chrome through an MCP client. Chrome Devtools MCP is an agent skill from managedcode/dotnet-skills.NET-focused repos to inspect, debug, and automate Chrome through an MCP client.

When should I use Chrome Devtools MCP?

Chrome Devtools MCP fits situations like: : the repo needs browser-level debugging for ASP.NET Core; any .NET app with a web UI; the user wants an MCP server that can inspect console; : pure .NET code analysis.

How do I install Chrome Devtools MCP in Claude Code?

Run `npx skills add managedcode/dotnet-skills --skill chrome-devtools-mcp -a claude-code`. Or copy the skill folder (catalog/Tools/Chrome-DevTools-MCP/skills/chrome-devtools-mcp in managedcode/dotnet-skills) into .claude/skills/chrome-devtools-mcp in your project. Claude Code loads it when a task matches its description.

How do I install Chrome Devtools MCP in Codex?

Run `npx skills add managedcode/dotnet-skills --skill chrome-devtools-mcp -a codex`. Or copy the skill folder (catalog/Tools/Chrome-DevTools-MCP/skills/chrome-devtools-mcp in managedcode/dotnet-skills) into .agents/skills/chrome-devtools-mcp in your project. Codex loads it when a task matches its description.

Can I use Chrome Devtools MCP in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add managedcode/dotnet-skills --skill chrome-devtools-mcp -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/chrome-devtools-mcp, .gemini/skills/chrome-devtools-mcp, .github/skills/chrome-devtools-mcp and .opencode/skills/chrome-devtools-mcp in your project.

What does Chrome Devtools MCP need to run?

Going by SKILL.md and its folder, Chrome Devtools MCP needs the command-line tools its instructions call (codex and npx). Our summary lists: Node.js. Compatibility (from SKILL.md): Requires an MCP-capable .NET agent/app or repo with a browser-debugging workflow; Chrome DevTools MCP runs as an external Node-based server and needs Chrome or Chrome for Testing..

Does Chrome Devtools MCP access the network?

SKILL.md contains no URLs. Its commands use npx, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Chrome Devtools MCP safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Chrome Devtools MCP use?

Chrome Devtools MCP is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Chrome Devtools MCP use?

About 2.2k tokens (SKILL.md is roughly 8.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Chrome Devtools MCP?

Skills that share tags, products or a category with Chrome Devtools MCP: Extension Puppeteer Debugging (mengxi-ream/read-frog, 10k stars), System Bridge Testing Workflow (timmo001/system-bridge, 356 stars), Vscode MCP Architecture (tjx666/vscode-mcp, 106 stars) and Browser Testing With Devtools (shashankswe2020-ux/whoop-mcp, 166 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Chrome Devtools MCP?

managedcode (a GitHub organization) maintains it in managedcode/dotnet-skills, which has 486 GitHub stars. The repository holds 81 skills in this directory. The repository was last updated on October 7, 2026.

Source: managedcode/dotnet-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.