Browser Mcp
@Agent360dk
About Browser Mcp
Drive your real, logged-in Chrome from any AI agent (Claude Code, Cursor, VS Code) — works where headless dies. Reads emailed login codes from your Gmail, solves CAPTCHAs, 34 tools. MIT, local-only.
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"browser-mcp": {
"command": "npx",
"args": [
"@agent360/browser-mcp"
]
}
}
}Tools
34Navigate the active browser tab to a URL. Reuses the current tab by default (no tab spam). Pass new_tab=true only when you need to keep the current page open.
Get the content of the current page as text or HTML.
Take a screenshot of the visible area of the current tab. Returns base64 PNG, or saves to disk if path is provided.
Execute JavaScript code in the context of the current page. Returns the result.
Click an element on the page. Supports CSS selectors AND text-based selectors. Auto-scrolls element into view. Uses real mouse events (works on Angular/React SPAs and CSP-strict sites like Google, Stripe). Examples: "button:text(Get started)", "text=Submit", "#my-button", "a.btn-primary"
Fill a form input field with a value. Supports CSS selectors AND text-based selectors. Auto-scrolls and focuses the element. Works on CSP-strict sites via Chrome Debugger API. For date inputs use browser_set_date, for autocomplete/combobox use browser_set_combobox.
Press a keyboard key (Enter, Tab, Escape, ArrowDown, etc.). Useful for submitting forms, navigating dropdowns, closing dialogs. Supports modifier keys (ctrl, alt, shift, meta).
Scroll the page to an element or by pixel amount. Useful for reaching elements below the fold.
Wait for an element to appear on the page. Supports CSS and text-based selectors.
Hover over an element to trigger tooltips, dropdown menus, or hover states. Supports CSS and text selectors.
Select an option from a dropdown menu. Works with native <select> elements AND custom dropdowns (Angular Material, React Select, etc.). For custom dropdowns: clicks the trigger, waits for options, then clicks the matching option by text. For autocomplete (typing filters options) use browser_set_combobox instead.
Dismiss visible popups, modals, tooltips, banners, and "Are you sure?"-style overlays in one call. Heuristic-based: finds close affordance via aria-label, text content (Skip/Cancel/Ikke nu/Don't show/Got it/Close), or × character button. Use when a flow is interrupted by unexpected dialogs (cookie banners, onboarding tooltips, draft-confirm prompts on Meta Ads, etc.). Returns list of what was dismissed.
Set value(s) on an autocomplete/combobox input. Handles the click → type query → wait for filtered listbox → click option flow as one MCP call. Supports multi-select (e.g., Languages on Meta Ads). Use when browser_select_option fails because options render lazily after typing.
Upload a file by finding a hidden <input type="file"> within a drag-drop zone's subtree (or parent up to 2 levels). Use when browser_upload_file fails because the dropzone has no visible file input. Returns clear error if no input is found anywhere — pure drop-zones without backing inputs require manual handling.
Robustly set a date input — handles native <input type="date">, masked text inputs (e.g. MM/DD/YYYY), and calendar pickers (MUI, react-datepicker, AntD, Lexical/Meta). Tries native value-set, format-aware typing via Input.insertText, and ARIA-based picker navigation in sequence with read-back verification. Use instead of browser_fill when fill fails or for any input that opens a calendar widget.
Handle JavaScript alert(), confirm(), or prompt() dialogs. Call this BEFORE triggering the action that causes the dialog. Waits for the dialog to appear, then accepts or dismisses it.
Wait for a network request to complete. Useful after clicking buttons that trigger API calls — ensures data is loaded before reading the page. Monitors real network traffic via Chrome DevTools Protocol.
Make an HTTP request from the extension background (NOT subject to CORS). Use this when page-context fetch would be blocked by CORS or CSP. Useful for API calls to Google, Stripe, Slack APIs while on their pages.
List all open browser tabs with their URLs and titles.
Get cookies for a specific domain.
Read localStorage from the current page. Pass key for a specific value, or omit for all.
Set one or more cookies for a domain.
Set a localStorage key-value pair on the current page.
Get recent console.log/warn/error messages from the page. Installs a lightweight interceptor on first call. Returns the last N console messages.
Show an overlay dialog asking the user to perform an action or provide information (credentials, 2FA, CAPTCHA, OAuth consent). Can include input fields for the user to fill in. Returns user responses.
List all frames (iframes) in the current page with their URLs and indices.
Execute JavaScript in a specific iframe by frame index. Use browser_list_frames first to find the right index.
Get the most recently opened tab (useful after clicking links that open new tabs, OAuth popups, etc.).
Switch to a specific browser tab by ID. Get tab IDs from browser_list_tabs or browser_get_new_tab.
Close a browser tab by ID. Only tabs owned by the current session can be closed.
Upload a file to a <input type="file"> element on the page. Uses Chrome Debugger API to set files programmatically — no dialog needed. For drag-drop zones without visible file input use browser_drop_file.
Navigate to a provider's API settings page so you can read its API token from the page.
Detect and solve CAPTCHAs on the current page. Auto-detects reCAPTCHA v2/v3, hCaptcha, Cloudflare Turnstile, and FunCaptcha. Tries auto-click first (often clears reCAPTCHA v2 when signed into Google), then returns a screenshot for AI vision analysis, then falls back to asking the user. Returns detection info and solving status.
Returns Browser MCP info and pre-filled URLs the user can click to submit feature wishes, share use-cases, or report bugs. Call this PROACTIVELY whenever the user (a) mentions a feature they wish existed ("I wish browser-mcp could...", "it would be nice if..."), (b) says something is missing, broken, or unexpected, (c) asks how Browser MCP works or who maintains it, or (d) describes something cool they built with browser-mcp. Pass intent="wish" | "use_case" | "bug" | "info" plus an optional title and body, and offer the returned submit_url to the user. Browser MCP is community-shaped — this tool is how the user contributes back.
Overview
What is Browser MCP?
Browser MCP gives AI agents (Claude Code, Cursor, VS Code agent mode) control of your real, logged-in Chrome browser — with your cookies, sessions, and 2FA — so it works on CAPTCHA, 2FA, and anti-bot sites where headless tools get blocked. It is built for developers who need to automate web tasks that require an authenticated human browser.
How to use Browser MCP?
Install the MCP server by running npx @agent360/browser-mcp install, then load the Chrome extension from ~/.browser-mcp/extension/ via chrome://extensions with Developer mode enabled. Alternatively, install from the Chrome Web Store and run npx @agent360/browser-mcp install --skip-extension to configure Claude Code.
Key features of Browser MCP
- 34 browser control tools (navigation, interaction, tabs, data, CAPTCHA solving)
- ~80% reCAPTCHA checkbox auto-solve with human fallback
- Multi-session support with color-coded tab groups (up to 10 concurrent sessions)
- Human-in-the-loop overlay for 2FA, CAPTCHA, and credential input
- 9 built-in provider integrations for token extraction (Stripe, HubSpot, Slack, etc.)
- MIT licensed, free, and 100% local — nothing leaves your machine
Use cases of Browser MCP
- Operate web platforms that have no API (e.g., LinkedIn, Reddit, dashboards)
- QA your own web application end-to-end using a real browser session
- Automate workflows that require 2FA or CAPTCHA bypass by reusing your logged-in browser
- Extract API tokens from provider dashboards without manual copy-paste
FAQ from Browser MCP
How does Browser MCP differ from Playwright MCP?
Browser MCP uses your real Chrome with existing logins and cookies, supports multi-session with tab groups, includes human-in-the-loop tools, and has built-in provider integrations. Playwright MCP uses a headless browser that must log in every time and has no human fallback.
How does Browser MCP handle CAPTCHAs?
It auto-detects reCAPTCHA v2/v3, hCaptcha, Turnstile, and FunCaptcha. It can auto-click the checkbox (~80% success with Google login), use AI vision for grid selection, or fall back to asking the human via an overlay dialog.
Is Browser MCP free and does it send data anywhere?
Yes, it is MIT licensed and free. All processing is local — nothing leaves your machine. The extension connects to the MCP server via WebSocket on localhost.
How do I update Browser MCP?
The MCP server updates automatically via npx @agent360/browser-mcp@latest. The extension updates automatically if installed from the Chrome Web Store; if loaded unpacked, re-run npx @agent360/browser-mcp install and reload the extension in Chrome.
What are the runtime requirements?
You need Chrome (or a Chromium-based browser) and Node.js to run the npx command. No additional authentication is required — it uses your existing Chrome session.
Frequently asked questions
How does Browser MCP differ from Playwright MCP?
Browser MCP uses your real Chrome with existing logins and cookies, supports multi-session with tab groups, includes human-in-the-loop tools, and has built-in provider integrations. Playwright MCP uses a headless browser that must log in every time and has no human fallback.
How does Browser MCP handle CAPTCHAs?
It auto-detects reCAPTCHA v2/v3, hCaptcha, Turnstile, and FunCaptcha. It can auto-click the checkbox (~80% success with Google login), use AI vision for grid selection, or fall back to asking the human via an overlay dialog.
Is Browser MCP free and does it send data anywhere?
Yes, it is MIT licensed and free. All processing is local — nothing leaves your machine. The extension connects to the MCP server via WebSocket on localhost.
How do I update Browser MCP?
The MCP server updates automatically via `npx @agent360/browser-mcp@latest`. The extension updates automatically if installed from the Chrome Web Store; if loaded unpacked, re-run `npx @agent360/browser-mcp install` and reload the extension in Chrome.
What are the runtime requirements?
You need Chrome (or a Chromium-based browser) and Node.js to run the `npx` command. No additional authentication is required — it uses your existing Chrome session.
Basic information
More Browser Automation MCP servers

Fetch
modelcontextprotocolModel Context Protocol Servers
MCP server w/ Browser Use
JovaniPinkFastAPI server implementing MCP protocol Browser automation via browser-use library.
Fetch MCP
jae-jaeMCP server for fetch web page content using Playwright headless browser.
browser-use-mcp-server
co-browserBrowse the web, directly from Cursor etc.
Screenshot Scout
screenshotscoutCapture screenshots of webpages as images or PDFs with Screenshot Scout.
Comments