/product-design:install-chrome-devtools-mcp [--scope <scope>] [--headless] [--auto-connect]from product-design
Installs Chrome DevTools MCP server with configurable scope, headless mode, auto-connect, and viewport settings for debugging and network inspection within Claude Code.
Ships in product-design. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Install the Chrome DevTools MCP server to enable debugging and network inspection capabilities.
The Chrome DevTools MCP server provides:
Run this command to install:
claude mcp add chrome-devtools -- npx -y chrome-devtools-mcp@latest
--scope local (default): Available only in current project--scope project: Shared with team via .mcp.json--scope user: Available across all your projects# Install for user (all projects)
claude mcp add chrome-devtools --scope user -- npx -y chrome-devtools-mcp@latest
# Install for project (team shared)
claude mcp add chrome-devtools --scope project -- npx -y chrome-devtools-mcp@latest
For headless operation (no visible browser):
claude mcp add chrome-devtools -- npx -y chrome-devtools-mcp@latest --headless
Connect to an already-running Chrome instance (Chrome 145+):
claude mcp add chrome-devtools -- npx -y chrome-devtools-mcp@latest --autoConnect
For sandboxed environments or remote debugging:
claude mcp add chrome-devtools -- npx -y chrome-devtools-mcp@latest --browserUrl http://127.0.0.1:9222
Set initial window size:
claude mcp add chrome-devtools -- npx -y chrome-devtools-mcp@latest --viewport 1920x1080
Use temporary profile that cleans up automatically:
claude mcp add chrome-devtools -- npx -y chrome-devtools-mcp@latest --isolated
After installation:
/mcp to see the chrome-devtools serverevaluate_script - Run JavaScript in page contextget_console_message - Get specific console messagelist_console_messages - List all console messagestake_screenshot - Capture page screenshotstake_snapshot - Capture accessibility snapshotget_network_request - Get specific network request detailslist_network_requests - List all network requestsnavigate_page - Navigate to URLclick - Click elementsfill - Fill input fieldsfill_form - Fill multiple form fieldswait_for - Wait for conditionsperformance_start_trace - Start performance traceperformance_stop_trace - Stop and analyze traceperformance_analyze_insight - Get performance insightsnew_page - Open new tabclose_page - Close current pagelist_pages - List all open pagesselect_page - Switch to specific pageChrome DevTools MCP works alongside Playwright MCP:
| Use Case | Recommended Tool |
|---|---|
| QA Testing / Automation | Playwright |
| Debugging / Network inspection | Chrome DevTools |
| Form filling / Navigation | Either |
| Console inspection | Chrome DevTools |
| Accessibility snapshots | Either |
| Performance analysis | Chrome DevTools |
Both can be installed simultaneously - they use different tool namespaces:
mcp__playwright__*mcp__chrome-devtools__*The MCP server launches and controls its own Chrome instance. No browser-side setup needed:
claude mcp add chrome-devtools -- npx -y chrome-devtools-mcp@latest
Best for: Simple debugging, isolated sessions, no existing login state needed.
Connect to your regular Chrome browser to debug with your logged-in sessions.
Browser setup: Launch Chrome with remote debugging enabled:
# macOS
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --remote-debugging-port=9222
# Linux
google-chrome --remote-debugging-port=9222
# Windows
chrome.exe --remote-debugging-port=9222
Install command:
claude mcp add chrome-devtools -- npx -y chrome-devtools-mcp@latest --autoConnect
Best for: Debugging pages that require your authentication/cookies.
For sandboxed environments or when auto-connect doesn't work.
Browser setup: Same as auto-connect - launch Chrome with --remote-debugging-port=9222
Install command:
claude mcp add chrome-devtools -- npx -y chrome-devtools-mcp@latest --browserUrl http://127.0.0.1:9222
Best for: Sandboxed environments, remote debugging, CI/CD pipelines.
Create an Automator app or alias:
alias chrome-debug='/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --remote-debugging-port=9222'
Create a desktop shortcut with the --remote-debugging-port=9222 flag.
--remote-debugging-port=9222 to Target fieldOn macOS with sandboxing restrictions:
# Use auto-connect mode instead
claude mcp add chrome-devtools -- npx -y chrome-devtools-mcp@latest --autoConnect
http://127.0.0.1:9222/json in another browser--remote-debugging-port=9222# Use a different port
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --remote-debugging-port=9333
# Then connect with:
claude mcp add chrome-devtools -- npx -y chrome-devtools-mcp@latest --browserUrl http://127.0.0.1:9333
When the user runs this command:
Determine scope from arguments or default to local
Check for options:
--headless -> add --headless flag--auto-connect -> add --autoConnect flagRun installation:
claude mcp add chrome-devtools [--scope <scope>] -- npx -y chrome-devtools-mcp@latest [options]
Verify success by checking output
Inform user to restart Claude Code to use the new MCP server
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub jpoutrin/product-forge --plugin product-design43 skills in this plugin
/agent-toolsReference for configuring tool permissions when launching Claude Code agents. Use when setting up --allowedTools flags, restricting file access, or configuring agent permissions./brainstorm-solutionStructured brainstorming for technical solutions/browser-debugCapture browser console, network, and performance logs for debugging. Auto-loads when debugging browser issues, analyzing errors, or investigating page behavior. Provides systematic log capture workflow using Chrome DevTools MCP./console-debuggingUse when debugging JavaScript errors, checking console warnings, analyzing browser logs, finding runtime errors, investigating console output, or troubleshooting browser issues. Provides console message analysis./create-personaCreate detailed user persona with guided questions/create-prdInteractive PRD creation wizard with comprehensive question flowOther plugins' skills for the same job