chrome-devtools-mcp-wrapper
Click on "Install 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., "@chrome-devtools-mcp-wrapperswitch to the browser on 9222 and take a screenshot"
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.
chrome-devtools-mcp-wrapper
A dynamic multi-browser wrapper around chrome-devtools-mcp that lets your AI coding agent connect to multiple Chrome instances at once and switch between them at runtime — without restarting the MCP server.
Implements the feature proposed in ChromeDevTools/chrome-devtools-mcp#590.
Key features
Dynamic browser routing: connect to any number of Chrome instances and route each tool call to the right one via an optional
browserUrlargument.Runtime switching: call
switch_browserto change the active browser without restarting anything.All upstream tools included: every tool from
chrome-devtools-mcpis proxied automatically, plus two wrapper-native tools (switch_browser,list_browsers).No fork: runs
npx chrome-devtools-mcp@latestas a subprocess, so upstream updates are picked up automatically.
Related MCP server: paparazzi
Getting started
Add the following config to your MCP client:
{
"mcpServers": {
"chrome-devtools-wrapper": {
"command": "npx",
"args": ["-y", "chrome-devtools-mcp-wrapper@latest"]
}
}
}To connect to an already-running Chrome instance at startup:
{
"mcpServers": {
"chrome-devtools-wrapper": {
"command": "npx",
"args": ["-y", "chrome-devtools-mcp-wrapper@latest", "--browser-url=http://127.0.0.1:9222"]
}
}
}Usingchrome-devtools-mcp-wrapper@latest ensures your MCP client always uses the latest version.
MCP client configuration
Install via CLI (MCP only)
Use the Claude Code CLI to add the wrapper (guide):
claude mcp add chrome-devtools-wrapper --scope user -- npx -y chrome-devtools-mcp-wrapper@latestClick the button to install:
Or install manually:
Follow the VS Code MCP configuration guide and use the standard config above, or use the CLI:
For macOS and Linux:
code --add-mcp '{"name":"chrome-devtools-wrapper","command":"npx","args":["-y","chrome-devtools-mcp-wrapper@latest"],"env":{}}'For Windows (PowerShell):
code --add-mcp '{"""name""":"""chrome-devtools-wrapper""","""command""":"""npx""","""args""":["""-y""","""chrome-devtools-mcp-wrapper@latest"""]}'Click the button to install:
Or install manually:
Go to Cursor Settings → MCP → New MCP Server and paste the standard config above.
In Kiro Settings, go to Configure MCP → Open Workspace or User MCP Config and paste the standard config above.
Or from the IDE Activity Bar → Kiro → MCP Servers → Open MCP Config.
Go to Settings | Tools | AI Assistant | Model Context Protocol (MCP) → Add. Use the standard config above.
For Junie: Settings | Tools | Junie | MCP Settings → Add.
Config file locations:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
Paste the standard config above.
Follow https://docs.cline.bot/mcp/configuring-mcp-servers and use the standard config above.
gemini mcp add chrome-devtools-wrapper npx chrome-devtools-mcp-wrapper@latestOr globally:
gemini mcp add -s user chrome-devtools-wrapper npx chrome-devtools-mcp-wrapper@latestFollow the configure MCP guide and use the standard config above.
On Windows 11, configure the Chrome install location and increase the startup timeout by updating .codex/config.toml:
[mcp_servers.chrome-devtools-wrapper]
command = "cmd"
args = ["/c", "npx", "-y", "chrome-devtools-mcp-wrapper@latest"]
env = { SystemRoot="C:\\Windows", PROGRAMFILES="C:\\Program Files" }
startup_timeout_ms = 20_000Requirements
Usage
1. Start Chrome with remote debugging
macOS
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome \
--remote-debugging-port=9222 \
--user-data-dir=/tmp/chrome-profileLinux
google-chrome --remote-debugging-port=9222 --user-data-dir=/tmp/chrome-profileWindows
"C:\Program Files\Google\Chrome\Application\chrome.exe" --remote-debugging-port=9222 --user-data-dir="%TEMP%\chrome-profile"Enabling the remote debugging port exposes a debugging interface that any local application can connect to. Avoid browsing sensitive websites while the port is open.
2. Connect to your browser
switch_browser(url: "9222")Or with a full URL or WebSocket endpoint:
switch_browser(url: "http://127.0.0.1:9222")
switch_browser(url: "ws://127.0.0.1:9222/devtools/browser/abc123")After connecting, all chrome-devtools-mcp tools become available.
3. Use any browser tool
navigate_page(url: "https://example.com")
take_screenshot()
evaluate_script(expression: "document.title")4. Route a single call to a specific browser
Every proxied tool accepts an optional browserUrl argument:
navigate_page(url: "https://staging.example.com", browserUrl: "9333")
take_screenshot(browserUrl: "9222")5. Check active connections
list_browsers()Wrapper-native tools
These two tools are always available, even before a browser connects:
Tool | Description |
| Connect to a browser and set it as the default. Accepts a full URL, WebSocket endpoint, or bare port number (e.g. |
| List all active browser backends and which is the current default. |
All other tools come from chrome-devtools-mcp and are registered once a browser connects.
Configuration options
WebSocket endpoint
If you know the exact WebSocket endpoint (from http://127.0.0.1:9222/json/version → webSocketDebuggerUrl):
{
"mcpServers": {
"chrome-devtools-wrapper": {
"command": "npx",
"args": [
"-y",
"chrome-devtools-mcp-wrapper@latest",
"--browser-url=ws://127.0.0.1:9222/devtools/browser/<id>"
]
}
}
}Multiple browsers
Start multiple Chrome instances on different ports, then route calls dynamically:
switch_browser(url: "9222")
navigate_page(url: "https://prod.example.com")
navigate_page(url: "https://staging.example.com", browserUrl: "9333")
take_screenshot(browserUrl: "9333")How it works
MCP client (Claude Code, Cursor, etc.)
│
▼
chrome-devtools-mcp-wrapper
├── switch_browser / list_browsers ← always available
├── navigate_page(browserUrl?) ─┐
├── take_screenshot(browserUrl?) ├─ proxied from chrome-devtools-mcp
├── evaluate_script(browserUrl?) │ registered after first browser connects
└── ... (50+ tools) ─┘
│ │
▼ ▼
backend [9222] backend [9333]
npx chrome- npx chrome-
devtools-mcp devtools-mcp
--browserUrl= --browserUrl=
...9222 ...9333One
chrome-devtools-mcpsubprocess per browser URL, reused across callsIdle backends are killed after 5 minutes of inactivity
Upstream updates are inherited automatically on restart
Relation to upstream
This package wraps chrome-devtools-mcp without forking it. All 50+ upstream tools are proxied transparently.
For single-browser use cases, the upstream package is the right choice. Use this wrapper when you need to connect to multiple Chrome instances or switch between them at runtime.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityCmaintenanceEnables multiple MCP clients to share a single Chrome instance while maintaining isolated tab sessions for each client. It acts as a multiplexer between clients and the chrome-devtools-mcp server, preventing tab conflicts across different sessions like Claude Code windows.Last updated29345Apache 2.0
- Alicense-qualityDmaintenanceMCP server that connects to your browser to capture screenshots, inspect console logs, network requests, and more via Chrome DevTools Protocol.Last updated42MIT
- Alicense-qualityBmaintenanceA fork of Chrome DevTools MCP that adds Streamable HTTP transport for multiple AI agents to concurrently control and inspect a live Chrome browser via the Model Context Protocol.Last updated28Apache 2.0
- Alicense-qualityDmaintenanceMCP server for controlling Chromium/Chrome via Chrome DevTools Protocol. Supports cross-platform automation, auto-launch, and automatic reconnection.Last updated1MIT
Related MCP Connectors
Live browser debugging for AI assistants — DOM, console, network via MCP.
Browser MCP for logged-in tasks. Uses your Chrome — credentials stay local. Zero-token replay.
Hosted real Google Chrome MCP with per-user persistent state. Navigate, click, type, screenshot.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/wtf403/chrome-devtools-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server