★ 22

Add Browser MCP to Claude Code

Give Claude Code control of your real, already-logged-in Chrome — install takes about 60 seconds.

npx @agent360/browser-mcp install

Run that, load the extension once in Chrome, restart Claude Code — done. 34 browser tools, your actual cookies and sessions, works on 2FA and CAPTCHA-gated sites where headless tools (Playwright, Puppeteer) get blocked. MIT-licensed, free, and 100% local — nothing leaves your machine.

If you want the full walkthrough, keep reading. If you just needed the command, that's it above.


Step-by-step install (Claude Code)

Step 1 — Configure the MCP server

npx @agent360/browser-mcp install

This does two things: copies the Chrome extension files to ~/.browser-mcp/extension/, and adds browser-mcp to your Claude Code MCP config automatically. The terminal prints the extension folder path — copy it, you'll need it in Step 2.

Step 2 — Load the extension in Chrome

Chrome doesn't let extensions install themselves from npm, so this one step is manual:

  1. Open Chrome and go to chrome://extensions
  2. Toggle Developer mode ON (top right)
  3. Click Load unpacked (top left, next to "Pack extension")
  4. Navigate to ~/.browser-mcp/extension/ and select it
  5. Mac: in the file picker, press Cmd+Shift+G, paste ~/.browser-mcp/extension/, hit Enter
  6. Windows: paste %USERPROFILE%\.browser-mcp\extension\ into the address bar
  7. Linux: type ~/.browser-mcp/extension/ into the path field

Don't want Developer mode on? Use the Chrome Web Store install instead — see below.

Step 3 — Restart Claude Code

Restart Claude Code so it picks up the new MCP server. You'll see the Browser MCP icon appear in your Chrome toolbar — that's the extension connected. 34 browser tools are now available in any Claude Code conversation.

Verify it's working

Ask Claude Code to navigate to a URL or take a screenshot of the current tab. If it acts instead of saying it has no browser access, you're connected.


Alternative installs

No npm? Manual zip download

  1. Download the extension zip from the latest GitHub release
  2. Unzip it anywhere (e.g. ~/Downloads/browser-mcp-extension/)
  3. Follow Step 2 above, but select the unzipped folder instead of ~/.browser-mcp/extension/
  4. Wire up Claude Code manually — add this to ~/.claude.json:
{
  "mcpServers": {
    "browser-mcp": {
      "command": "npx",
      "args": ["@agent360/browser-mcp"]
    }
  }
}

Or skip the manual JSON and run npx @agent360/browser-mcp install --skip-extension to have the CLI do it for you.

No Developer mode — Chrome Web Store

Install from the Chrome Web Store →

No Developer mode toggle needed, and Chrome updates the extension automatically in the background. Then run:

npx @agent360/browser-mcp install --skip-extension

to register the MCP server with Claude Code without touching the extension.


What your agent can do

The 2FA killer move

This is the reason people install Browser MCP: Claude Code hits a login wall, needs a verification code, and — because it's driving your actual logged-in Chrome rather than a fresh headless session — it can switch to your own Gmail tab, read the code, and finish the sign-in itself. No API can do that; there's no "read my 2FA code" endpoint to call. It works because Browser MCP isn't simulating a browser, it's operating yours: your cookies, your sessions, your already-passed 2FA challenges.

The same real-session advantage is why it clears CAPTCHA and anti-bot checks that block Playwright and Puppeteer outright — the traffic genuinely is coming from a human-operated Chrome, because it is one.

34 tools

CategoryTools
Navigation & contentbrowser_navigate, browser_get_page_content, browser_screenshot, browser_execute_script
Interactionbrowser_click, browser_fill, browser_press_key, browser_scroll, browser_wait, browser_hover, browser_select_option, browser_set_combobox, browser_set_date, browser_dismiss_overlays, browser_handle_dialog
Tabs & framesbrowser_list_tabs, browser_switch_tab, browser_close_tab, browser_get_new_tab, browser_list_frames, browser_select_frame
Data & networkbrowser_get_cookies, browser_set_cookies, browser_get_local_storage, browser_set_local_storage, browser_fetch, browser_wait_for_network, browser_extract_token, browser_console_logs, browser_upload_file, browser_drop_file
CAPTCHA solvingbrowser_solve_captcha — auto-detects reCAPTCHA v2/v3, hCaptcha, Turnstile, FunCaptcha; ~80% pass rate on the checkbox variant, human fallback for the rest
Human-in-the-loopbrowser_ask_user — overlay dialog for 2FA, CAPTCHA, or credential input, right inside the page
Metabrowser_about — session/extension info

Full source: github.com/Agent360dk/browser-mcp.

Why this over Playwright MCP

Browser MCPPlaywright MCP
BrowserYour real ChromeHeadless (fresh session)
Logins/cookiesAlready authenticatedMust log in every time
2FA / CAPTCHA / anti-bot sitesWorks — it's your sessionFrequently blocked
Human-in-the-loopbrowser_ask_userNone
Multi-session10 concurrent sessions, color-coded tab groupsSingle session
Provider integrations9 built-in (Stripe, HubSpot, Slack, Shopify, Pipedrive, Calendly, Mailchimp, Google, LinkedIn)None
Installnpx @agent360/browser-mcp installnpx @anthropic-ai/mcp-playwright

Running more than one Claude Code conversation at once

Each conversation gets its own MCP server on its own port (9876–9885), and the extension keeps every session's tabs in a separate color-coded Chrome tab group — one conversation can't see or click another's tabs. Idle sessions auto-exit after 4 hours without commands.


FAQ

How do I add an MCP server to Claude Code? Run npx @agent360/browser-mcp install. It edits your Claude Code MCP configuration for you — no manual JSON required unless you're doing the manual zip install. Restart Claude Code afterward so it picks up the new server.

What is Browser MCP? An MCP (Model Context Protocol) server that gives Claude Code — or any MCP client, including Cursor and VS Code agent mode — control of your actual, already-logged-in Chrome: your cookies, your sessions, your 2FA. 34 tools, MIT-licensed, 100% local.

Is it free? Yes. MIT license, no account, no paid tier.

Does it only work with Claude Code, or also Cursor / VS Code? Any MCP-compatible client. The install command wires up Claude Code specifically. For Cursor or VS Code agent mode, add the same block to that client's MCP config instead:

{"mcpServers": {"browser-mcp": {"command": "npx", "args": ["@agent360/browser-mcp"]}}}

Why do I have to load the extension manually instead of it just installing? Chrome blocks extensions from self-installing from npm or any script — that's a Chrome security boundary, not a Browser MCP limitation. Loading unpacked once, or installing from the Chrome Web Store, are the only two ways in.

Does my browsing data leave my machine? No. The MCP server runs locally over stdio, talks to the extension over a local WebSocket, and the extension talks to Chrome through Chrome's own APIs. Nothing is sent to a remote server.

How do I update it? The MCP server updates itself — every Claude Code session runs npx @agent360/browser-mcp@latest, so there's nothing to do. The extension auto-updates only if you installed it from the Chrome Web Store; if you loaded it unpacked, re-run npx @agent360/browser-mcp install and click ↻ reload on chrome://extensions.

Chrome extension says "not connected" — what do I check? Confirm it's loaded under chrome://extensions, click the extension icon → "Reconnect," and give it 2–3 seconds — it scans ports 9876–9885 for the running MCP server.

Is this the same as browsermcp.io? No — different project, same underlying idea (MCP + your real Chrome), separate codebase. If you found this page searching generically for "browser mcp," make sure you're grabbing the one you meant: this one is @agent360/browser-mcp on npm, github.com/Agent360dk/browser-mcp on GitHub.

Can I run it across multiple Claude Code conversations at once? Yes — up to 10 concurrent sessions, each on its own port with its own color-coded Chrome tab group, so sessions can't see or control each other's tabs.