Best Browser MCP Servers: Which One to Use and How to Set It Up

So, you've got your agent running and want it to control a browser through an MCP server. Maybe it needs to sign in to a supplier portal each week and download invoices. But which server will work with your client, get past the 2FA step, and keep a record of what the agent did? And how do you set it up?
We build Skyvern for recurring work in third-party portals. Our MCP server supports stored credentials, scheduled agents, and run recordings. We put together this guide to help you choose a browser MCP server that fits your task and get a working connection in place.
In this article, we compare eight browser MCP servers and explain how they handle logins, 2FA, and CAPTCHAs. Then we walk through setup in Claude Code and Cursor, common troubleshooting steps, and security checks.
Note: Here, "browser MCP server" refers to the general category. "Browser MCP" is also the name of a Chrome extension and its companion server, included in the comparison below.
Browser MCP servers compared
The biggest differences between the servers are where the browser runs and how they read the page.
At the protocol level, they all work the same way. Your AI client calls a tool on the server, such as "click" or "snapshot", and the server drives a browser to carry it out, over the Chrome DevTools Protocol (CDP), WebDriver, or a browser extension. What the server sends back decides how the model sees the page: an accessibility snapshot (a text tree of the page's elements and their roles), the raw HTML, a screenshot, or an answer in plain language. For the transports between client and server, stdio and HTTP, see our MCP server architecture guide.

Since Chrome 136, Chrome ignores its remote-debugging switches on your default profile to make cookie theft harder. Servers that launch Chrome use a separate profile, while those that access your existing signed-in session usually use an extension.
| Server | Runs where | How it reads the page | Logins and MFA |
|---|---|---|---|
| Playwright MCP | Local | Accessibility snapshot; vision optional | Saved profile, storage-state file, or your tabs via extension |
| Chrome DevTools MCP | Local Chrome | Accessibility snapshot, plus DevTools data | Its own profile or a Chrome instance you connect to |
| Browser MCP | Your everyday Chrome | Snapshot refs, locators, or CSS selectors | Your signed-in profile |
| browser-tools-mcp | Your Chrome, via extension | Console, network, screenshots, and audits | Your signed-in session |
| Browserbase MCP | Browserbase cloud | Plain-language actions (Stagehand) | Saved session state |
| Browser Use MCP | Your Chrome or Browser Use Cloud | Python helpers and screenshots | Your Chrome's logins |
| SeleniumBase MCP | Local | CSS or XPath selectors, page HTML | TOTP from a secret key |
| Skyvern MCP | Skyvern Cloud or self-hosted | Natural language, selectors, or both | Stored credentials with 2FA |
For longer reviews of most of these servers, see our Playwright MCP alternatives roundup.
Note for existing Puppeteer MCP users
The Puppeteer reference server (
@modelcontextprotocol/server-puppeteer) was archived in May 2025, and its npm package is deprecated with "no security guarantees". If you're still using it, our Skyvern MCP vs Puppeteer MCP comparison explains how the two servers differ.
1. Playwright MCP
Playwright MCP is Microsoft's server built on Playwright. It reads pages through accessibility snapshots, so the model doesn't need to interpret screenshots, and an optional vision capability adds clicks by screen coordinates. It runs Chrome, Firefox, WebKit, or Edge locally, headed by default. Logins persist in a saved profile, load from a storage-state file, or come from your own tabs through its extension. Its README suggests coding agents may do better with the Playwright CLI.
Learn more in our guide to Playwright MCP.
2. Chrome DevTools MCP
Chrome DevTools MCP gives coding agents access to performance traces, network requests, console messages with source-mapped stack traces, and screenshots. It acts through Puppeteer and reads pages from an accessibility-tree snapshot. By default, it starts Chrome with a dedicated profile that persists between runs. You can use flags to choose a temporary profile or connect to a Chrome instance you've already started.
3. Browser MCP
Browser MCP connects Claude Code, Cursor, VS Code, Codex, and other clients to the Chrome you use every day, so the agent's signed in wherever you are. It has two parts: a Chrome extension and the @browsermcp/mcp server, which your client starts with npx. Agents work in tab groups of their own through a single browser tool that takes short commands. Everything runs on your computer. To upgrade to version 2.0, you need to update both the Chrome extension and the @browsermcp/mcp server.
4. browser-tools-mcp
browser-tools-mcp, from AgentDesk, streams console output, network activity, screenshots, and Lighthouse audits from your real Chrome session to your coding agent. It attaches through a DevTools extension, so you stay signed in to the app you're debugging. Version 2.0 is a rewrite that runs as a single process. The README says 1.x is unsupported and has known critical vulnerabilities that won't be patched.
For a closer look at how this debugging tool compares with Skyvern, see our Skyvern MCP vs browser-tools-mcp comparison.
5. Browserbase MCP
Browserbase MCP gives an MCP client cloud browsers on Browserbase's infrastructure. Its six tools are built on Stagehand, so the agent acts and extracts data with plain-language instructions such as "click the login button". It's a hosted Streamable HTTP endpoint that takes your Browserbase API key. The self-hostable repository is archived and no longer maintained, and Browserbase recommends the hosted server.
6. Browser Use MCP
Browser Use's MCP server runs with uvx and the --cli-mcp flag. Its docs specify a particular version to install because upgrading to a newer release can stop an existing setup from working. Its main tool, browser_exec, runs Python code written by your AI client's model to control the browser through Browser Use's helper functions. In local mode, the server controls your open Chrome browser and uses your existing sign-ins. In cloud mode, it controls a browser hosted by Browser Use Cloud, which you access by signing in or providing an API key.
7. SeleniumBase MCP
SeleniumBase MCP ships three servers on top of SeleniumBase: a pure CDP mode, a WebDriver mode, and a full mode with the most tools. All three open a visible browser by default. The agent works with CSS or XPath selectors and the page's HTML. The full mode has tools that generate TOTP codes from a stored secret key. The CDP mode includes a tool that can solve some types of CAPTCHA.
8. Skyvern MCP
Skyvern MCP is our server, with 118 tools for a cloud browser. The agent acts from natural-language instructions or selectors, extracts structured data, and signs in with credentials stored in Skyvern, including the 2FA step. The server can build, run, and schedule Skyvern agents. The hosted endpoint works with any Skyvern account through browser sign-in (OAuth) or an x-api-key header. You can also run it locally over stdio against self-hosted Skyvern. Each agent run keeps a recording, screenshots, and outputs.
If your agent only needs to read pages and not act on them, our list of MCP servers for web scraping is a better starting point.
How each server handles logins, 2FA, and CAPTCHAs
Most browser MCP servers either let the agent handle the login or use a browser session you're already signed in to. An agent can get past a login in three ways.
- Use your own signed-in profile. Browser MCP, Playwright MCP's extension mode, and Browser Use's local mode work in the Chrome you're signed in to. A local Skyvern MCP server can do the same with tabs you share through the Skyvern Agent extension. The agent never sees a password, because you already logged in. It can also act as you on every site in that profile, and it runs only while your machine and browser are on.
- Reuse saved session state. Browserbase keeps authentication state and cookies across interactions, and Playwright MCP can load a storage-state file into an isolated browser. Someone still signs in by hand once, and again whenever the session expires.
- Use a server with a credential store. The server signs in itself, so logins keep working on runs nobody watches. In Skyvern MCP, the
skyvern_logintool signs in with credentials stored in Skyvern, so passwords never pass through the chat. The model driving the browser gets placeholders, not your values, and Skyvern types the real ones into the fields. SeleniumBase MCP's full mode also generates TOTP codes from a secret you give it.

Servers that sign in for you also need to handle any 2FA checks the portal requires. Skyvern completes 2FA using the method saved with your credentials. Your plan determines which of our authentication options you can use:
- Authenticator (TOTP) codes: Skyvern generates these from a stored key. This requires Pro.
- Email codes and magic links: Skyvern reads these from a connected Gmail or Outlook inbox or a forwarding address. There's no plan restriction.
- Text-message codes: These arrive on a Twilio number you connect or a Skyvern phone number. Skyvern numbers cost $10 a month on Pro and are covered by Enterprise agreements.
- Vault integrations: 1Password is available on Pro. Bitwarden and Azure Key Vault are available on Enterprise.
- Passkeys: These require Enterprise and a connected Bitwarden account.
Push approvals and single sign-on need a different approach. A push approval in an authenticator app needs a person to tap approve. For "Sign in with Google or Microsoft" buttons on the target site, we recommend a direct username and password, or signing in once in a browser session and reusing it. More on this in how Skyvern handles authentication.
CAPTCHA handling also varies by server. Use these features only on sites you have permission to automate. When the agent works in your own visible browser, you can solve a CAPTCHA yourself. SeleniumBase MCP's CDP mode has a solving tool for supported types. Skyvern solves common CAPTCHAs in agent runs with a solver that depends on the plan: Basic on Hobby, Advanced on Pro, and Elite on Enterprise. Browser sessions you drive directly use a separate Captcha Solver extension, which is Enterprise-only (browsers docs). We can't guarantee that every CAPTCHA will be solved.
Set up a browser MCP server in Claude Code
Use claude mcp add to connect Claude Code to a browser MCP server.
To add a local server, put its startup command after --. Claude Code runs the server on your machine and communicates with it over stdio. Here's the command for Browser MCP:
claude mcp add --scope user browsermcp -- npx @browsermcp/mcp@latestFor a hosted server, provide its URL and use --transport http to connect over HTTP. Here's how to add our hosted Skyvern MCP server:
claude mcp add --transport http skyvern https://api.skyvern.com/mcp/ --scope userBoth examples use --scope user, which makes the server available to you across all your projects. You can choose from three scope options:
local(the default): Available only to you, in the current project.project: Available to your team in that project. The configuration is saved in.mcp.jsonat the project root and shared through Git. Each person approves it the first time Claude Code runs in that project.user: Available only to you, across all your projects.
Then check and test it:
- Run
claude mcp list. Each server shows a status such as✔ Connected,! Needs authentication, or✘ Failed to connect. - For a server that uses browser sign-in, such as Skyvern's, run
/mcpinside Claude Code and follow the prompt. - Ask Claude Code to "open example.com and take a screenshot". If the server's tools run, the setup works.
To use a Skyvern API key instead of signing in, add the server with the key as a header:
claude mcp add-json skyvern '{"type":"http","url":"https://api.skyvern.com/mcp/","headers":{"x-api-key":"YOUR_SKYVERN_API_KEY"}}' --scope userPick one method per entry. A static API key makes Claude Code skip browser sign-in. To switch back, run claude mcp remove skyvern and add the server again without the header.
Set up a browser MCP server in Cursor
Cursor reads MCP servers from .cursor/mcp.json in the project or ~/.cursor/mcp.json for every project.
For a local server, give the command that starts it. This is Browser MCP:
{
"mcpServers": {
"browsermcp": {
"type": "stdio",
"command": "npx",
"args": ["@browsermcp/mcp@latest"]
}
}
}For a hosted server, give the URL. This is Skyvern's, which signs you in through your browser:
{
"mcpServers": {
"Skyvern": {
"type": "streamable-http",
"url": "https://api.skyvern.com/mcp/"
}
}
}Save the file, open Customize in Cursor's sidebar, check that the server's listed and turned on, and sign in when Cursor prompts you. To use an API key instead, add a headers field to the Skyvern entry and load the key from an environment variable. This keeps the key out of the configuration file. Set the variable in your shell profile, because remote servers don't support Cursor's envFile option:
"headers": { "x-api-key": "${env:SKYVERN_API_KEY}" }Leave headers out when you sign in with OAuth, because a static key stops the sign-in from starting. For setup instructions for other clients, including Codex, Windsurf, and Claude Desktop, see our MCP setup guide.
Fix common browser MCP errors
If the server won't connect or a browser task fails, use the checks below to narrow down the cause.
Connection refused. The server process isn't running or can't start. Run its command by hand in a terminal and read the startup error. For self-hosted Skyvern, the local MCP server needs the Skyvern server running first (skyvern run server), with SKYVERN_BASE_URL pointing at its port.
Timeouts on long tasks. In Claude Code, MCP_TIMEOUT sets how long a server has to start, and a timeout field in milliseconds on a server's entry caps each tool call. A call that sends nothing for the idle window also fails. The idle timeout is five minutes for HTTP servers and 30 minutes for stdio servers. You can adjust this limit with CLAUDE_CODE_MCP_TOOL_IDLE_TIMEOUT.
With Skyvern, the first call takes the longest because a new browser session takes a few seconds to start. If calls keep timing out, check that your Skyvern account has credits.
Extension not detected. Extension-based setups need both the browser extension and the MCP server installed, with matching versions. For example, Browser MCP 2.0 needs the 2.0 extension and @browsermcp/mcp@latest. The first time you connect, you click Allow in the extension's popup after checking that its six-digit code matches the one your client shows. For browser-tools-mcp, load its chrome-extension folder through Developer mode in chrome://extensions, and run Node 22.19 or newer.
Crashes mid-task. Run the server with verbose logging so you get a stack trace. With Playwright MCP and Chrome DevTools MCP, two clients sharing one saved profile conflict, because a profile can only be open in one browser at a time. Start the second client with --isolated or give it its own user data directory.
"Tool not found" in Cursor. The server didn't load, or it's turned off. Open Customize and check that it's listed and enabled, then read MCP Logs in the Output panel for the startup error.
Server skipped in Claude Code. If a hosted server's JSON configuration includes a url but no type, Claude Code treats it as a local stdio server and skips it. Add "type": "http" to that server's configuration to identify it as an HTTP connection.
Sign-in never starts. If you've added an x-api-key header for Skyvern, browser sign-in (OAuth) won't start. To use browser sign-in, remove the server's configuration entry and add it again without the headers field.
Security checklist for browser MCP servers
A browser MCP server can act with your sessions, so treat it like any tool with credentials.
- Approve and inventory servers. Keep a list of which servers each team runs, and in which scope. Claude Code's managed MCP configuration and Cursor's team MCP configuration let admins restrict which servers can run.
- Check extension permissions and format. An extension can read every page it's allowed on. Chrome 138 disabled Manifest V2 extensions for all users, so install only extensions built on Manifest V3.
- Keep secrets out of config files. Reference environment variables (
${env:VAR}in Cursor,${VAR}in.mcp.json) instead of pasting keys, or use a server that keeps credentials out of the model's context. - Run supported versions. The archived Puppeteer reference server comes with no security guarantees. browser-tools-mcp 1.x is unsupported and has known critical vulnerabilities that won't be fixed.
- Check telemetry defaults. Chrome DevTools MCP sends usage statistics to Google by default (
--no-usage-statisticsturns that off), and its performance tools may send trace URLs to Google's CrUX API (--no-performance-crux). - Limit what the browser can reach. Run automation browsers away from internal systems they don't need. Browser MCP's extension talks only to its server on
127.0.0.1. - Keep run logs. You need a record of what an agent did on each site. Browserbase keeps session replays, and Skyvern keeps a recording, screenshots, and outputs for every run.
For more on securing automated logins, read our browser automation security best practices.
Try Skyvern MCP on a recurring portal task
Choose a browser MCP server around the job and the way your agent will sign in. For debugging your own app, check which console and network data the server exposes. For recurring work behind a login, check how it regains access when a session expires, whether it supports the portal's 2FA method, and what records it keeps for review.
Skyvern MCP lets you build and schedule agents that sign in with stored credentials and supported 2FA methods. Each agent run keeps a recording, screenshots, and outputs, so you can review what happened after it finishes.
To test Skyvern on one of those tasks, start a 14-day free trial and follow our MCP setup guide to connect your AI client. Test the login process and review a completed run before scheduling it. Use the security checklist above to check credential handling and limit the browser's access to what the task needs.
FAQ
What's Browser MCP?
Browser MCP is a Chrome extension and MCP server that lets Claude, Cursor, or Codex drive the Chrome you're already signed in to. You install the extension, add npx @browsermcp/mcp@latest to your client, and allow the connection once in the extension's popup. Agents then work in their own tab groups in your browser, on your computer. People also use "browser MCP" loosely for any browser MCP server.
Which browser MCP servers work with Claude Code?
All eight servers here work with Claude Code, because it supports both local (stdio) and hosted (HTTP) servers. Add a local one with claude mcp add <name> -- <command> and a hosted one with claude mcp add --transport http <name> <url>.
Can a browser MCP server handle 2FA?
Yes, if it signs in for the agent or works in a browser where you're already signed in. Skyvern MCP's skyvern_login tool signs in with stored credentials and completes 2FA with authenticator, email, or text-message codes; push approvals still need a person. SeleniumBase MCP can generate TOTP codes from a secret. Servers that use your own profile skip the login because you've already done it.


