browser-mcp-cdp MCP Server
Local Chrome via CDP with profile-snapshot isolation and shared-broker multi-client support
browser-mcp-cdp scores 51 (Fair), licensed MIT and written in TypeScript. It installs as a local process. It declares 13 tools. Filed under Browser automation. GitHub shows 0 stars. Package registries report about 46 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.
Fair trust
51 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade B
76/100 for listing completeness. Lost points: short README, 6 of 13 tools barely described, short summary.
How quality is graded
Where the 51 comes from
22 + 5 + 0 + 10 + 4 + 10 = 51. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 5 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "zhiqi-li-browser-mcp-cdp": { "command": "npx", "args": [ "-y", "browser-mcp-cdp@0.1.2" ] } }}
Environment variables
This server does not declare environment variables.
Tools13Tool docs quality grade D
All capabilitiesbrowser_clicktoolClick via CSS selector
browser_click_attoolClick at pixel coordinates (pierces iframes / overlays)
browser_evaluatetoolRun JS in the page, return result
browser_filltoolSet value on input/textarea/select
browser_get_htmltoolouterHTML of page or element
browser_get_texttoolVisible text of page or element
browser_get_urltoolCurrent URL
browser_navigatetoolLoad a URL, return final URL + title
browser_new_tabtoolOpen a new tab
PNG of current page
browser_scrolltoolScroll by (x, y) pixels
browser_tabstoolList open tabs
About
browser-mcp-cdp
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.
Why another browser MCP?
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.
Install
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.
Tools
| 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 |
Environment variables
| 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) |
How it works
- First MCP client connection spawns a broker subprocess (detached).
- Broker copies your Chrome profile's cookies/local storage/login data to a temp dir.
- Broker launches Chrome with
--user-data-dir=<temp>and--remote-debugging-port. - Subsequent MCP clients connect to the same broker over a Unix socket → they share one Chrome.
- Broker exits after
BROKER_IDLE_TIMEOUT_MSof no activity; temp profile is deleted.
Security
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.
License
MIT
Frequently asked questions
What is browser-mcp-cdp MCP Server?
Local Chrome via CDP with profile-snapshot isolation and shared-broker multi-client support
How do I install browser-mcp-cdp MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. browser-mcp-cdp MCP Server runs locally from the npm package browser-mcp-cdp with the command npx -y browser-mcp-cdp@0.1.2.
Is browser-mcp-cdp MCP Server free and open source?
Yes. browser-mcp-cdp MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does browser-mcp-cdp MCP Server support remote (HTTP) connections?
No remote endpoint is listed for browser-mcp-cdp MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does browser-mcp-cdp MCP Server provide?
browser-mcp-cdp MCP Server provides 13 tools, including browser_click, browser_click_at, browser_evaluate, and browser_fill. See the full tool list for descriptions and parameters.
How is browser-mcp-cdp MCP Server's trust score calculated?
browser-mcp-cdp MCP Server scores 51 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.
