Browser MCP: MCP server for controlling Chrome

Browser MCP: MCP server for controlling Chrome

browser•bybrowsermcp

A locally run MCP server that forwards AI apps' browser tool calls to a daemon controlling the user's own Chrome through an extension.

License: Apache-2.0•Runtime: Awaiting documentation review•Category: browser automation

WHAT IT DOES

  • •Runs an MCP server process per AI app and forwards the app's browser tool calls to a single per-user daemon.
  • •Drives the browser's tabs with Playwright through a chrome.debugger extension relay on localhost.
  • •Requires one-time pairing where the user checks a six-digit code and clicks Allow.
  • •The extension enforces its own limits regardless of daemon requests, such as blocking incognito and browser/extension pages.

BEST FOR

  • •AI apps like Claude Code, Cursor, VS Code, Codex and Claude Desktop using the user's signed-in Chrome sessions.
  • •Users who want browser automation to stay entirely on their own computer.
  • •Developers who want to build the extension and server themselves from the repo.

ABOUT BROWSER

Browser MCP: MCP server for controlling Chrome is cataloged as an MCP server attributed to browsermcp. A locally run MCP server that forwards AI apps' browser tool calls to a daemon controlling the user's own Chrome through an extension. It is categorized under browser automation. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Apache-2.0. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Browser MCP: MCP server for controlling Chrome are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Does Browser MCP run in the cloud?

No, everything runs on the user's computer, with the daemon reached only on 127.0.0.1.

Does Browser MCP support Firefox?

No, because Firefox has no debugger API.

Can I use a self-built extension instead of the Chrome Web Store version?

Yes, and the published server works with it too since it is the same server published from this repo.

Upstream README

View this exact version on GitHub

README.md · a51ddc4ee221 · Fetched 2026-11-13 09:28:50 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

Browser MCP

Browser MCP lets AI apps (Claude Code, Cursor, VS Code, Codex, Claude Desktop…) use your own Chrome: your signed-in sites, your profile, in tabs of their own. Everything runs on your computer.

How it works

Each AI app runs the MCP server (npx @browsermcp/mcp@latest), a small process that starts one daemon per user and forwards the app's browser tool calls to it. The daemon drives the browser's tabs with Playwright, through the extension: a thin chrome.debugger relay that only talks to the daemon on 127.0.0.1, and only after you click Allow in its popup once per computer, having checked that its six-digit code matches the one your AI app shows. The extension enforces its own rules whatever the daemon asks: no incognito tabs unless you turned on Allow in Incognito for the extension in Chrome, no browser or extension pages, and nothing while you've pressed Stop.

FolderPackage
packages/mcp@browsermcp/mcpThe MCP server and the daemon (README)
packages/protocol@browsermcp/protocolThe protocol between the extension and the daemon, including pairing
packages/extension-core@browsermcp/extension-coreThe extension's browser control: the connection, pairing, the debugger relay, the rules about tabs, tab groups, the badge
apps/extension@browsermcp/extensionThe extension built from this repo: browser control and its popup

Build it yourself

You need Node.js 24 or later, pnpm (corepack enable) and Chrome or another Chromium browser (Edge, Brave, Arc…). Firefox has no debugger API, so Browser MCP doesn't work there.

The Chrome Web Store version updates itself. A build you load yourself doesn't: you update it by hand (see Updating).

  1. Build the extension and the server:

    git clone https://github.com/BrowserMCP/mcp.git browsermcp
    cd browsermcp
    pnpm install
    pnpm build
    
  2. Open chrome://extensions, turn on Developer mode, click Load unpacked and pick apps/extension/.output/chrome-mv3. It's called "Browser MCP (self-built)". If the Chrome Web Store's Browser MCP is installed in the same profile, turn it off, or both would connect to the server as two browsers. Other Chrome profiles with Browser MCP connect too: agents can use tabs in each.

  3. In your AI app's MCP config, run the server you built instead of the one on npm:

    {
      "mcpServers": {
        "browsermcp": {
          "command": "node",
          "args": ["/path/to/browsermcp/packages/mcp/dist/index.js"]
        }
      }
    }
    

    npx @browsermcp/mcp@latest (the docs' setup) works with this extension too: it's the same server, published from this repo.

  4. Restart the AI app and ask it to do something in the browser. The first time, the extension's popup asks you to Allow the server on this computer: check that its code matches the one the AI app shows.

Every build of this extension has the same ID (imlplcjlhgpajopdbpbngiadkcmdbgob, from the key in apps/extension/extension-key.ts), which the server accepts besides the Chrome Web Store's. A build with another key needs its ID in BROWSER_MCP_EXTENSION_IDS (comma-separated) in the server's environment, or on a line of ~/.browsermcp/dev-extension-ids.

Updating

Only for a self-built extension: the Chrome Web Store version updates itself.

git pull
pnpm install
pnpm build

Then click the reload button on "Browser MCP (self-built)" in chrome://extensions, and restart your AI apps if they run the server from this folder. The extension and the server tell you when the other side is too old for them.

Development

  • pnpm lint, pnpm format (pnpm format:fix fixes it): Oxlint and Oxfmt.
  • pnpm typecheck, pnpm test: TypeScript and the unit tests (Vitest) of every package. The server's tests run Playwright's Chromium: install it once with pnpm --filter @browsermcp/mcp exec playwright-core install chromium.
  • pnpm smoke: builds the extension in development mode and the server, loads the extension in headless Chromium and drives it through the server as an AI app would, on random ports and a temporary BROWSER_MCP_HOME, so it never touches your own Browser MCP. Screenshots and the daemons' logs go to apps/extension/.output/smoke/ (--out <dir> elsewhere, e.g. for runs at once); a failed section names the step or check that failed, its error and the last call's output, and screenshots the open pages.
  • pnpm --filter @browsermcp/extension build:dev: a development build (apps/extension/.output/chrome-mv3-dev).

Contributing and security

See CONTRIBUTING.md for how to report bugs and send changes, and SECURITY.md to report a vulnerability privately.

License

Apache-2.0. Building it for yourself or your team is fine, and so is saying that your tool is compatible with Browser MCP or built on its code. If you publish a modified extension or server (to a browser extension store, npm or anywhere else others install it from), please give it another name and icon, and don't present it as the official Browser MCP or as endorsed by it, so people can tell the two apart. Keep the LICENSE and say what you changed.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Browser MCP: MCP server for controlling Chrome from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/browser)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related browser automation MCP Servers

Alternative and complementary servers in the same category

View all in browser automation →

A Model Context Protocol (MCP) server for controlling Chrome with debugging capabilities, userscript injection, and extension support.

Repository stats unavailable
Browser & Scraping
Web Browser MCP Server
web-browser-mcp-server•blazickjp

An MCP server that lets AI assistants browse websites and extract content using optional CSS selectors.

Repository stats unavailable
Browser & Scraping
Steel MCP Server
steel-mcp-server•steel-dev

An MCP server that reads pages, fills forms, takes screenshots, and hands the browser to a person for logins or CAPTCHAs.

Repository stats unavailable
Browser & Scraping