Skills chrome-devtools-mcp
Chrome DevTools MCP — Google's official browser automation and testing server. Control Chrome via Puppeteer through MCP protocol: click, fill forms, navigate, screenshot, performance traces, network inspection, console debugging. Use for browser testing, web automation, performance analysis, UI testing, form filling, and visual regression.
install
source · Clone the upstream repo
git clone https://github.com/openclaw/skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/banalit/luke-chrome-devtools-mcp" ~/.claude/skills/clawdbot-skills-chrome-devtools-mcp-8e59bf && rm -rf "$T"
manifest:
skills/banalit/luke-chrome-devtools-mcp/SKILL.mdsource content
🌐 Chrome DevTools MCP
Google's official Chrome DevTools MCP server — gives AI agents full control of a live Chrome browser via Puppeteer and the Chrome DevTools Protocol.
Features
- Input automation — click, drag, fill forms, hover, press keys, upload files, handle dialogs
- Navigation — open/close/switch pages, wait for elements/network idle
- Screenshots & snapshots — capture page state visually and as DOM
- Performance traces — record and analyze Chrome performance traces with insights
- Network inspection — list/inspect network requests and responses
- Console debugging — read console messages with source-mapped stack traces
- Device emulation — emulate mobile devices, resize viewport
- Form automation — fill multiple form fields at once
Requirements
- Node.js v20.19+ (already available in OpenClaw)
- Chrome/Chromium browser
Quick Start
Install & verify
npx -y chrome-devtools-mcp@latest --help
Start the MCP server
# Standard (launches Chrome automatically) npx -y chrome-devtools-mcp@latest # Headless mode (for servers) npx -y chrome-devtools-mcp@latest --headless # Connect to existing Chrome (must be started with --remote-debugging-port=9222) npx -y chrome-devtools-mcp@latest --browser-url=http://127.0.0.1:9222 # Disable telemetry npx -y chrome-devtools-mcp@latest --no-usage-statistics --no-performance-crux
OpenClaw MCP Integration
Add to your
openclaw.json under MCP servers:
{ "mcp": { "servers": { "chrome-devtools": { "command": "npx", "args": ["-y", "chrome-devtools-mcp@latest", "--headless", "--no-usage-statistics"] } } } }
Or use the setup script:
python3 {baseDir}/scripts/setup_chrome_mcp.py setup python3 {baseDir}/scripts/setup_chrome_mcp.py status python3 {baseDir}/scripts/setup_chrome_mcp.py test
Tool Reference
Input Automation (8 tools)
| Tool | Description | Key Params |
|---|---|---|
| Click an element | (required), |
| Drag element onto another | , |
| Type text into input/textarea/select | , |
| Fill multiple form elements at once | |
| Accept/dismiss browser dialogs | (accept/dismiss) |
| Hover over element | |
| Press keyboard key | |
| Upload file to input | , |
Navigation (6 tools)
| Tool | Description | Key Params |
|---|---|---|
| Go to URL | |
| Open new tab | |
| Close current tab | — |
| List all open tabs | — |
| Switch to tab | |
| Wait for element/network | , , |
Debugging (5 tools)
| Tool | Description |
|---|---|
| Capture page as image |
| Get DOM/accessibility snapshot |
| Run JavaScript in page |
| Get console log entries |
| Get specific console message |
Performance (3 tools)
| Tool | Description |
|---|---|
| Begin performance recording |
| Stop and get trace data |
| AI analysis of trace |
Network (2 tools)
| Tool | Description |
|---|---|
| List all network requests |
| Get request/response details |
Emulation (2 tools)
| Tool | Description |
|---|---|
| Emulate device (mobile, tablet) |
| Change viewport size |
Common Workflows
Test a webpage
→ URLnavigate_page
→ get element UIDstake_snapshot
/click
→ interact with elementsfill
→ capture resulttake_screenshot
Performance audit
→ URLnavigate_pageperformance_start_trace- Interact with page
performance_stop_traceperformance_analyze_insight
Form testing
→ form URLnavigate_page
→ identify form fieldstake_snapshot
→ fill all fields at oncefill_form
→ submit buttonclick
→ verify resulttake_screenshot
Privacy Notes
- Google collects usage statistics by default — disable with
--no-usage-statistics - Performance tools may send trace URLs to Google CrUX API — disable with
--no-performance-crux - Avoid sharing sensitive data in browser sessions