AI-driven browser automation using Claude Code and Chrome DevTools Protocol via MCP.
- Start Chrome with remote debugging:
./start-browser.sh- Use Claude Code MCP tools to automate browser interactions
claudeControl the browser through Claude Code using natural language:
- "Go to github.com" - Navigate to websites
- "Click the login button" - Interact with elements (requires snapshot first)
- "Fill the search box with 'hello'" - Fill form inputs
- "Take a screenshot" - Capture page visually
All interactions use MCP tools prefixed with mcp__chrome-devtools__.
- Chrome runs with remote debugging on port 9222
chrome-devtools-mcpserver connects to Chrome via DevTools Protocol- Claude Code uses MCP tools to control the browser (navigate, click, fill forms, etc.)
.mcp.json- MCP server configuration.claude/settings.local.json- Claude Code settings with pre-approved tools