Claude Chrome MCP
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Claude Chrome MCPtake a screenshot of the current page"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Claude Chrome MCP
MCP server for browser automation via the Claude Chrome Extension.
This project integrates with Anthropic's Claude Chrome Extension using the standard Chrome Native Messaging protocol to provide browser automation capabilities to MCP clients.
Quick Start
1. Install Claude Browser Extension
Install from claude.com/chrome or the Chrome Web Store
2. Install MCP Server
# Install from GitHub
bun install -g git+https://github.com/nonsleepr/claude-chrome-mcp.git
# OR clone and install locally
git clone https://github.com/nonsleepr/claude-chrome-mcp.git
cd claude-chrome-mcp
bun install
bun run build
bun link3. Register Native Host
# Install (secure by default - auto-generates auth token)
claude-chrome-mcp --install
# Restart Chrome completelyAfter installation, your authentication token is displayed. Retrieve it anytime with:
claude-chrome-mcp --status4. Configure MCP Client
Use the token from installation output or --status command.
OpenCode (~/.config/opencode/opencode.json):
{
"mcp": {
"chrome": {
"type": "remote",
"url": "http://localhost:3456/mcp",
"enabled": true,
"headers": {
"Authorization": "Bearer YOUR_AUTO_GENERATED_TOKEN_HERE"
}
}
}
}Claude Desktop / Generic MCP Client (claude_desktop_config.json):
{
"mcpServers": {
"chrome": {
"transport": {
"type": "http",
"url": "http://localhost:3456/mcp",
"headers": {
"Authorization": "Bearer YOUR_AUTO_GENERATED_TOKEN_HERE"
}
}
}
}
}Related MCP server: selenium-mcp
Configuration
Run claude-chrome-mcp --help for detailed configuration options including custom tokens, ports, CORS origins, and security settings.
Insecure Mode (Local Development Only)
claude-chrome-mcp --install --insecureWARNING: Anyone with localhost access can control your browser.
Client config without auth:
{
"mcp": {
"chrome": {
"type": "remote",
"url": "http://localhost:3456/mcp",
"enabled": true
}
}
}What Your Agent Can Do
Browse and research - navigate websites, read content, extract text
Fill out forms - enter text, select dropdowns, click buttons
Interact naturally - click, scroll, type, keyboard shortcuts
Search pages semantically - find elements by description (requires Claude subscription)
Debug web apps - read console logs, inspect network requests, run JavaScript
Capture and share - screenshots, record workflows as animated GIFs
Manage tabs - open, switch, resize
Troubleshooting
Check status and view token:
claude-chrome-mcp --statusPort already in use:
# Find what's using the port
lsof -i :3456 # Mac/Linux
netstat -ano | findstr :3456 # Windows
# OR install with different port
claude-chrome-mcp --install --port 8080Connection issues:
Restart Chrome completely after installation
Check extension is installed at
chrome://extensionsVerify manifest exists:
~/.config/chromium/NativeMessagingHosts/
License
MIT License - see LICENSE
Attribution
This MCP server provides integration with Anthropic's Claude Chrome Extension using standard Chrome Native Messaging protocols. The extension itself is a separate product developed by Anthropic, available at claude.com/chrome.
This server cannot be deployed
Maintenance
Related MCP Connectors
Live browser debugging for AI assistants — DOM, console, network via MCP.
Provides cloud browser automation capabilities using Stagehand and Browserbase, enabling LLMs to i…
Hosted real Google Chrome MCP with per-user persistent state. Navigate, click, type, screenshot.
Stealth web browser for agents: search, fetch, click, download and type in persistent MCP sessions.
Related MCP Servers
- FlicenseNot gradedqualityBmaintenanceEnables Claude Code to control a real browser using AI for web scraping, competitive intelligence, and UX auditing through the MCP protocol.-
- AlicenseAqualityAmaintenanceEnables browser automation through the Model Context Protocol, allowing AI agents to control Chrome, Firefox, or Edge for tasks like navigation, clicking, typing, and screenshots.4140 npmMIT
- AlicenseNot gradedqualityBmaintenanceEnables Claude to perform stealth browser automation with anti-detection, including navigation, clicking, typing, screenshots, and network monitoring via an MCP server.MIT
- FlicenseNot gradedqualityDmaintenanceEnables browser automation (navigate, screenshot, click, type, etc.) for Claude Code via MCP protocol, with a Chrome extension for configuration.2-