
Real Browser MCP
Give AI agents control of your real Chrome browser with existing sessions, cookies, and logins.
Add to your client
Copy the config for your MCP client and paste it into its config file.
npx -y real-browser-mcpPaste into ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"real-browser-mcp": {
"command": "npx",
"args": [
"-y",
"real-browser-mcp"
]
}
}
}Step-by-step guides: Add to Claude Desktop · Add to Cursor · Add to Windsurf
Before you start
- Node.js with npx available (for the MCP server)
- Google Chrome with the Real Browser MCP extension installed (from the Chrome Web Store or loaded unpacked from the extension/ folder)
- An MCP-compatible client such as Cursor, Claude Desktop, Claude Code, Windsurf, or Cline
About Real Browser MCP
Real Browser MCP is a two-part tool: an MCP server (npm package real-browser-mcp) that runs on your machine and talks to your AI agent, and a Chrome extension (Manifest V3) that sits in your browser and executes the commands. The two communicate over a localhost WebSocket (default port 7225). Because the extension lives inside your real Chrome, the agent operates with your existing cookies, sessions, and logins already loaded, including pages behind corporate SSO. It exposes 18 tools across See, Interact, Navigate, and Debug groups, and ships pre-built agent rules for Cursor and Claude Code that teach a snapshot-first workflow. Connection drops are handled automatically with exponential backoff, ping/pong health checks, and per-tool timeouts.
Tools & capabilities (18)
browser_snapshotCapture the accessibility tree with element refs; compact mode (default) returns only interactive elements.
browser_screenshotCapture what is currently on screen.
browser_textExtract raw text from the page or a specific element.
browser_findQuery elements by CSS selector.
browser_clickClick an element by ref or CSS selector.
browser_click_textClick by visible text; works through React portals and overlays.
browser_typeType into inputs and contenteditable fields.
browser_press_keySend key combos such as Enter, Escape, or Ctrl+A.
browser_scrollScroll pages and virtual containers.
browser_hoverHover to trigger tooltips and dropdowns.
browser_selectPick an option from native <select> dropdowns.
browser_waitWait for elements to appear or disappear.
browser_navigateGo to a URL in the active tab.
browser_tabsList, create, close, or focus tabs.
browser_consoleRead console output (log, warn, error).
browser_networkInspect XHR/fetch requests with status codes.
browser_evaluateRun JavaScript via the Chrome DevTools Protocol.
browser_handle_dialogHandle alert, confirm, and prompt dialogs.
What this server can do
Real Browser MCP provides tools for these capabilities — tap one to see every MCP server that does the same:
When to use it
- Let the agent verify its own code fixes by navigating and clicking through the real, logged-in app
- Automate workflows on sites behind corporate SSO without replaying login flows
- Debug front-end issues by reading console errors and network requests from the live page
- Drive multi-tab browsing and form filling using your existing browser state
- Run JavaScript against the current page via the DevTools Protocol for inspection or scripting
Security notes
Everything stays local: the MCP server and Chrome extension communicate over WebSocket on localhost only. No cloud component, no analytics, no telemetry. Because the extension runs inside your actual Chrome, the agent inherits all of your logged-in sessions and can act on any site you are authenticated to, so grant access only to agents you trust.
Real Browser MCP FAQ
Does it work with my logged-in sessions?
Yes, that is the whole point. The extension runs inside your actual Chrome with the same cookies, sessions, and local storage, so no re-authentication is needed.
Does it send data anywhere?
No. The MCP server and extension talk over WebSocket on localhost. Nothing leaves your machine, and there is no analytics, telemetry, or cloud component.
Which AI clients work?
Any MCP-compatible client, including Cursor, Claude Desktop, Claude Code, Windsurf, and Cline.
Can I use it with multiple Chrome profiles?
Yes. Run two MCP server instances on different ports (set WS_PORT for the second) and update the port in each extension popup to match.
How is this different from Playwright MCP or browser-use?
Those launch a brand-new browser with no state, cookies, or sessions, so you replay the full login flow every time. Real Browser MCP connects to the browser you already have open with everything loaded.
Alternatives to Real Browser MCP
Compare all alternatives →Automate your existing browser with AI using your real profile, logged-in sessions, and stealth fingerprint.
All-in-one web access MCP — Web Unlocker, SERP, Scraper API, and a cloud Scraping Browser.
macOS screen capture, AI visual analysis, and full GUI automation for AI agents.
Compare Real Browser MCP with: