Skip to documentationMCP Browser ExtensionDocs

Introduction

What mcp-browser-extension is, why it drives your real Chrome instead of a fresh Chromium, and where to start.

Start here

Your browser.
Your next workflow.

From your first connection to working across tabs with Codex, Claude Code or Cursor.

Get connected

Let Claude use the Chrome you are already logged into. Not a fresh automated browser that greets every site as a stranger — your Chrome, with your sessions, your cookies, your 2FA already done. If you can see a page in your browser, your agent can read it, without logging in again and without pasting credentials anywhere.

Most browser MCP servers launch their own Chromium and hand your agent a signed-out window. MCP Browser Extension does the opposite: an MV3 extension dials into a localhost WebSocket server and drives the browser you already have open, through chrome.scripting/chrome.tabs. Works with Claude Code, Claude Desktop, and any other MCP host.

MCP Browser Extension has two parts: the extension, and a small MCP server you run with npx (npm package and command: mcp-browser-extension). The extension comes from the Chrome Web Store or loaded unpacked.

This build is extension-only. It never launches or attaches a Chromium of its own, so the extension is required, not optional — without it, no tool can run. The CDP flags (--cdp-fallback, --no-cdp-fallback, --cdp-endpoint, --prefer) are still accepted for back-compat but are ignored.

Full design: docs/BLUEPRINT.md — architecture, wire protocol, the complete tool surface, the extension manifest, the security model, and the phased build plan.

Use Claude in your signed-in Chrome

You are already signed in to Gmail, GitHub, your analytics dashboards, the admin panel, the CRM. MCP Browser Extension lets Claude (Claude Code, Claude Desktop, or any other MCP host) work in those same tabs: no re-login, no second 2FA prompt, no password or cookie in a config file. The extension runs inside your normal Chrome, so a page the agent opens is the page you would see.

  • Gmail — read a thread or search results in a tab you already have open.
  • GitHub — go through PRs, issues and settings pages as yourself, private repositories included.
  • Dashboards — pull numbers from analytics, billing or admin screens that have no API, or whose API you never set up.

Other tools drive a signed-in Chrome too (the hangwin/mcp-chrome extension, for one), so the question is what you get on top of the session:

  • Website checks with explicit Chrome permission. Local suspicious-site checks are on by default. After one Chrome permission grant, ordinary sites work automatically and flagged sites need Allow. Named-site approval remains available; --no-site-grants enforces the server's fixed allowlist. Reads and actions are checked in the extension. Mutations, eval, downloads and uploads are separate opt-ins.
  • Password values are never returned, and --redact scrubs tokens, API keys and JWTs out of page reads.
  • An audit trail: every call is logged with the URL, the allow/deny verdict, duration and bytes returned.
  • Recent activity in Chrome: the popup shows the latest five activity rows (a tab's open/close pair shares one row); Settings shows up to 100 with outcome filters. This session history contains website names and app keys, without page text, entered values or full URLs.
  • Stop access: disconnect all apps from the popup or Settings. The stop survives restarts; Resume connection requires fresh approval for each app. A command already running may finish, and completed actions cannot be undone.
  • It stays out of your tab: the agent opens its own tabs in the background and works there, so the page you are on is never navigated, clicked or pulled out of focus. batch reads many of them at once in one call.
  • Several Chrome profiles: load the extension in your work and personal profiles and switch between them with profile_use.
  • auth_check: when a session does expire, the agent gets an [AUTH_REQUIRED] signal instead of a confusing timeout, so it can stop and ask you to sign in again. MCP Browser Extension never holds credentials or signs in for you.

Setup is two pieces: the MCP server (npx, below) and the extension, which you can install from the Chrome Web Store or load from the folder the server unpacks.

Where to go next

  • Quickstart: register the server, install the extension, verify your email, and pair Chrome.
  • Agent setup: hand one URL to your agent and let it do the install.
  • Tools reference: all the tools, with arguments.
  • Security: the deny-all default and what you can opt into.
  • Architecture: the blueprint, wire protocol and build plan.

On this page