BrowserMCP/mcp
A local MCP server and Chrome extension that let AI use your signed-in browser.
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
BrowserMCP is a TypeScript pnpm monorepo that separates the MCP client-facing process from browser control. Each AI client starts @browsermcp/mcp, which starts or uses a daemon shared by the local OS user and forwards browser tool calls. The daemon drives tabs with Playwright through a Chrome extension that relays commands via chrome.debugger and talks to the daemon only on 127.0.0.1.
packages/mcp contains the MCP server and daemon; packages/protocol defines daemon–extension communication and pairing. packages/extension-core handles the connection, debugger relay, tab rules, tab groups, and badge, while apps/extension builds the installable extension and popup. The extension enforces its own restrictions rather than relying on the daemon to honor them.
Key Capabilities & Differentiators
The main capability is letting MCP clients such as Claude Code, Cursor, VS Code, Codex, and Claude Desktop operate tabs in an existing Chromium profile. Agents get their own tabs and can reuse signed-in sessions. If the extension is connected from several profiles, agents can operate tabs in each; separate tabs should not be mistaken for a separate authentication context.
Pairing requires matching the six-digit code displayed by the AI app with the code in the extension popup and approving the connection once per computer. The extension blocks browser and extension pages, excludes incognito tabs unless Chrome has explicitly granted the extension incognito access, and refuses control while Stop is active. Chrome and other Chromium browsers are supported; Firefox lacks the required debugger API.
Trade-offs & Limitations
Compared with direct Playwright scripts that start a fresh browser context, BrowserMCP trades a controlled starting state for access to the browser profile a person already uses. That makes interactive work behind a login easier, but results can depend on existing session state and connected profiles. Direct Playwright is a better fit when a regression suite needs reproducible setup and clean isolation between runs.
The loopback relay keeps the browser-control path on the workstation, but that does not make a third-party AI client or its inference offline. Pairing and Stop give the user explicit control over the connection; neither makes an existing signed-in profile a sandbox. Use a dedicated Chromium profile when the assistant should have access to only a limited set of accounts. The extension requirement and manual maintenance of unpacked builds also matter for managed desktops.
Hardware & Deployment Guide
The published setup pairs the Chrome Web Store extension with npx @browsermcp/mcp@latest in an MCP client's configuration. The workspace targets Node.js 24 or later. For a source build, enable pnpm with corepack enable, then run pnpm install and pnpm build. Load apps/extension/.output/chrome-mv3 as an unpacked extension and point the MCP client at packages/mcp/dist/index.js with Node, or keep using the published npm server. Restart the client and verify the pairing code before approving.
The store extension updates automatically; an unpacked build requires rebuilding and reloading, plus a client restart if it runs the locally built server. The components report when the other side is too old. Disable the store build in the same profile if testing the unpacked build, or both register as separate browser connections. pnpm smoke exercises the stack in headless Chromium with random ports and a temporary BROWSER_MCP_HOME. No GitHub release milestone is available to date these changes.
browser tool calls to one daemon per OS user.chrome.debugger relay restricted to 127.0.0.1.apps/extension/.output/chrome-mv3.pnpm smoke uses headless Chromium, random ports, and a temporary BROWSER_MCP_HOME, and saves screenshots and daemon logs.Developers who want an MCP assistant to work interactively in authenticated Chromium sessions, such as checking a staging UI in a dedicated profile.
You need Firefox, a workflow that cannot install a browser extension, or regression automation that must start from a clean browser state on every run.
Quick Start & Installation
git pull pnpm install pnpm build
Comparison vs. Top Coding, Skills & MCP Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| mcp ★ | 7.4k | +33 | TypeScript | Apache-2.0 | A local MCP server and Chrome extension that let AI use your signed-in browser. |
| chrome-devtools-mcp | 60.4k | +760 | TypeScript | Apache-2.0 | Chrome DevTools via MCP and CLI for live browser debugging and performance analy |
| agent-browser | 55.4k | +1k | Rust | Apache-2.0 | Rust CLI and stdio MCP for agents that read and act on live web pages |
| context7 | 65.8k | +333 | TypeScript | MIT | A hosted documentation index with MCP and CLI access for coding agents |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/BrowserMCP/mcp.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about mcp
What runs when I connect Claude Code or another MCP client?
Do I need a GPU, and what determines local resource use?
Can a company self-host or redistribute it?
When should I use this instead of direct Playwright?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy