BrowserMCP

Browser automation

Browser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser.

Your AI app calls the BrowserMCP MCP server, which does the browser automation work and sends the result back to the chat.

About BrowserMCP

BrowserMCP is a community MCP server from BrowserMCP, filed in our directory under browser automation. Browser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser.

At a glance

Publisher
BrowserMCP (community)
Runs
See the README for setup
Written in
TypeScript
License
Apache-2.0
GitHub stars
7,439

How to set up BrowserMCP

  1. Follow the install steps in the BrowserMCP README; it is written in TypeScript, so have that toolchain ready.
  2. Check the BrowserMCP README for keys or settings; the registry lists none that BrowserMCP requires.
  3. Add BrowserMCP to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the BrowserMCP tools to confirm the connection.
  5. Run one read-only task with BrowserMCP first, and keep your app asking before each tool call until the results look right.

BrowserMCP compared with similar servers

  • Browser Tools by AgentDeskAI has fewer GitHub stars than BrowserMCP (7.3k against 7.4k); both are community servers, and both run locally.
  • Chrome by hangwin has more GitHub stars than BrowserMCP (12.6k against 7.4k); both are community servers, and both run locally.
  • Bb Browser by epiral has fewer GitHub stars than BrowserMCP (6.3k against 7.4k); both are community servers, and both run locally.

Before you connect BrowserMCP

  • Give BrowserMCP its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each BrowserMCP tool call until you trust what it does with them.
  • Treat text that BrowserMCP fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for BrowserMCP on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for BrowserMCP

How marketing and sales teams put BrowserMCP to work, by company size. Pick the size closest to yours and start BrowserMCP on one use case.

Small business

  • A small business can use BrowserMCP to check its own site after every change: forms submit, links work and checkout still loads.
  • Owners can have BrowserMCP collect competitor prices or offers from public pages once a week, instead of doing it by hand.
  • BrowserMCP runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Marketing teams can run BrowserMCP to test landing pages and signup flows on every release, catching a broken form before paid traffic hits it.
  • Growth teams can use BrowserMCP to capture screenshots of ads and pages across markets for reviews and audits.
  • Start BrowserMCP on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprises can run BrowserMCP in isolated environments with allow-listed sites, so browsing agents never reach internal or unknown pages.
  • Large web teams can use BrowserMCP for regression checks across many locales and devices, feeding results into release gates.
  • BrowserMCP is a community server, so have security review the code and pin a version before BrowserMCP touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

BrowserMCP README

From BrowserMCP/mcp on GitHub, shared under its Apache-2.0 license. Images are left out; the original has them.

README.md

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.

Folder Package
packages/mcp @browsermcp/mcp The MCP server and the daemon (README)
packages/protocol @browsermcp/protocol The protocol between the extension and the daemon, including pairing
packages/extension-core @browsermcp/extension-core The extension's browser control: the connection, pairing, the debugger relay, the rules about tabs, tab groups, the badge
apps/extension @browsermcp/extension The 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.

Questions about BrowserMCP

What is the BrowserMCP MCP server?

Browser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser. BrowserMCP is maintained by BrowserMCP on GitHub at BrowserMCP/mcp, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the BrowserMCP MCP server?

BrowserMCP doesn't publish a one-line install in the MCP registry, so follow the setup steps in its README on GitHub (BrowserMCP/mcp). Like most servers, BrowserMCP ends with a command or URL you paste into your AI app's MCP config.

Does BrowserMCP need an API key?

The registry lists no required keys for BrowserMCP. Check the BrowserMCP README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is BrowserMCP an official MCP server?

No. BrowserMCP is a community server maintained by BrowserMCP. Community servers can be excellent; read the code and the open issues before you give BrowserMCP access to company data.

What license is BrowserMCP under?

BrowserMCP is released under the Apache-2.0 license, according to its GitHub repository. The license covers the code of BrowserMCP; the service it connects to has its own terms.