
Company News
Free Business Plan Upgrades for Open Source Maintainers
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.
browser-mcp-cdp
Advanced tools
MCP server that controls your real Chrome via CDP with profile snapshot isolation and shared-broker multi-client support
A Model Context Protocol (MCP) server that drives your real local Chrome via the Chrome DevTools Protocol. Designed for agents that need access to your logged-in sessions (Gmail, internal dashboards, banking, etc.) without uploading credentials to a cloud service.
Different tradeoffs from the alternatives:
| browser-mcp-cdp | Playwright MCP | Chrome DevTools MCP | |
|---|---|---|---|
| Browser | Your local Chrome | Managed Playwright Chromium | Your local Chrome |
| Login state | ✅ Snapshot of your profile (cookies, logins, IndexedDB) | ❌ Fresh profile | ✅ Real profile (modifies it) |
| Profile isolation | ✅ Copy-on-start, real profile untouched | N/A | ⚠️ Direct attach |
| Multi-client | ✅ Shared broker across MCP clients | ❌ Per-client | ❌ Per-client |
| Dependencies | Node only (no Playwright download) | Playwright + browsers | Node only |
The profile snapshot pattern means you can ask an agent to "check my email" — it sees your Gmail logged in — but the agent's actions never modify your real Chrome profile. Each session gets a disposable copy.
claude mcp add browser -- npx -y browser-mcp-cdp
Or add manually to ~/.claude.json / Claude Desktop config:
{
"mcpServers": {
"browser": {
"command": "npx",
"args": ["-y", "browser-mcp-cdp"]
}
}
}
Requires Node 18+ and Google Chrome installed.
| Tool | Purpose |
|---|---|
browser_navigate | Load a URL, return final URL + title |
browser_evaluate | Run JS in the page, return result |
browser_screenshot | PNG of current page |
browser_click | Click via CSS selector |
browser_click_at | Click at pixel coordinates (pierces iframes / overlays) |
browser_fill | Set value on input/textarea/select |
browser_wait_for | Wait for a selector to appear |
browser_get_url | Current URL |
browser_get_text | Visible text of page or element |
browser_get_html | outerHTML of page or element |
browser_scroll | Scroll by (x, y) pixels |
browser_tabs | List open tabs |
browser_new_tab | Open a new tab |
| Var | Default |
|---|---|
BROWSER_MCP_CHROME_PATH | Auto-detected per OS |
BROWSER_MCP_CHROME_PROFILE_ROOT | OS-standard Chrome profile dir |
BROWSER_MCP_BROKER_SOCKET_PATH | ~/.browser-mcp/broker.sock |
BROWSER_MCP_BROKER_LOCK_PATH | ~/.browser-mcp/broker.lock |
BROWSER_MCP_BROKER_IDLE_TIMEOUT_MS | 600000 (10 min) |
--user-data-dir=<temp> and --remote-debugging-port.BROKER_IDLE_TIMEOUT_MS of no activity; temp profile is deleted.This server lets an LLM execute arbitrary JavaScript in a browser that is logged into your accounts. Only use with models and prompts you trust. Profile snapshotting limits damage (no persistent mutations to your real Chrome), but the agent can read cookies, session tokens, and any data visible to logged-in you for the duration of the session.
MIT
FAQs
MCP server that controls your real Chrome via CDP with profile snapshot isolation and shared-broker multi-client support
We found that browser-mcp-cdp demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.