Comparison ·

Browser MCP Servers Compared: Playwright MCP vs Chrome DevTools MCP, Browser MCP, Browser Use and a Hosted Option

Claude Code, Cursor and Codex cannot see a web page until you give them a browser tool. There are now at least six serious ways to do that, and they solve different problems: one is built for clicking through flows, one for debugging performance, one for working inside the Chrome you are already logged into, and one for capturing pages without any local browser. This guide compares them on what actually decides the choice, with the setup command for each. We checked every project's README and docs on November 23, 2026.

Browser MCP servers grouped by whose browser the agent drives: your Chrome (Browser MCP, BrowserTools), a separate local browser (Playwright MCP, Chrome DevTools MCP) and remote (Browser Use Cloud, SnapshotFlow), with the main trade-off of each group

The short answer

If you need to…Start with
Let the agent click, type and test flows in a browser separate from yoursPlaywright MCP
Debug a page: console, network, performance traces, LighthouseChrome DevTools MCP
Work inside your own logged-in Chrome (dashboards, admin pages)Browser MCP, or Playwright MCP with its extension
Let the agent write browser code against your Chrome or a cloud browserBrowser Use (--cli-mcp)
Read console and network logs from your real Chrome tab, plus SEO and accessibility auditsBrowserTools MCP 2.0
Capture, compare or read many public pages with no browser on the agent's machineA hosted MCP such as SnapshotFlow
Save tokens in a coding agent that can run shell commandsA CLI with skills (Playwright CLI, agent-browser) instead of MCP

These tools are not mutually exclusive. A common pairing is one local browser server for interactive work and one tool for checks that should not depend on a local browser. The rest of this page explains the trade-offs.

Two questions that decide most of it

1. Whose browser does the agent drive?

A separate agent browser (Playwright MCP and Chrome DevTools MCP by default) keeps the agent out of your everyday Chrome and starts logged out of your accounts. Note that both keep a dedicated persistent profile by default, so cookies from the agent's last session are still there; for a truly clean, repeatable run, start them with --isolated. Your own Chrome (Browser MCP, BrowserTools, Playwright MCP with --extension, Chrome DevTools MCP with --autoConnect) reaches your inbox, CRM and admin panels without a login step. It also exposes all of that to the model. A remote browser (a hosted MCP or a cloud browser) runs nowhere near your machine, so it works from cloud agents and CI, but it can only reach public URLs or pages you pass credentials for.

2. How does the agent read the page?

Playwright MCP and Chrome DevTools MCP both prefer an accessibility snapshot: a text tree with an ID for every interactive element. It is exact and cheaper than an image, and the agent clicks by ID. Screenshots catch what a tree cannot: overlapping elements, wrong colors, broken images. Code execution (Browser Use's browser_exec, evaluate_script in DevTools MCP) is the most flexible and the hardest to review. A good setup lets the agent read with snapshots or text and look with screenshots only when the visual result matters.

Comparison table

Playwright MCPChrome DevTools MCPBrowser MCPBrowser UseBrowserTools MCPSnapshotFlow MCP
MaintainerMicrosoftChrome DevTools teamBrowserMCP projectBrowser UseAgentDeskSnapshotFlow
Runs whereLocalLocalLocal (your Chrome)Local or Browser Use CloudLocal (your Chrome)Hosted
Default browserDedicated persistent profile, headed (--isolated for a clean one)Dedicated persistent profile, launched on first use (--isolated for a clean one)Your open ChromeYour open Chrome, else temporary headless ChromiumYour open ChromeServer-side Chromium
Your loginsWith --extension, --cdp-endpoint or --storage-stateWith --autoConnect or --browser-urlYes, by designYes, locallyYes, by designCookies and headers you pass
How it reads pagesAccessibility snapshotSnapshot, screenshots, scriptsSnapshot and commandsPython the model writesLogs, page info, screenshotsScreenshots, Markdown/text
Clicks and formsYesYesYesYes (via code)Basic (softClick, softType)No
Console and networkConsole messages and request listYes, detailedYesVia CDP in codeYes, main purposeNo
Performance and auditsNoTraces, Core Web Vitals, LighthouseNoNoLighthouse auditsNo
Batch and visual diffNoNoNoNoNoYes
Works from cloud agents and CIHeadless, if Chromium can be installedHeadless, if Chrome can be installedNoWith Browser Use CloudNoYes
Install needsNode.js 20+Node.js LTS, Chrome stableNode.js, Chrome extensionPython 3.11+, uvxNode.js 22.19+, unpacked extensionNone (OAuth)
PriceFree, open sourceFree, open sourceFree, open sourceFree locally; cloud needs a Browser Use API keyFree, open source300 free screenshots, then paid plans

"Clicks and forms: No" for SnapshotFlow is a real limit, not a footnote. It renders a URL or HTML and returns the result. It does not walk through a checkout step by step.

Playwright MCP: the default for clicking through flows

Microsoft's server is the one most tutorials and client docs assume. Its design choice is the accessibility snapshot: the README says it uses Playwright's accessibility tree, not pixel-based input, so it works without a vision model. The agent calls browser_snapshot, gets refs such as e42, and passes them to browser_click or browser_type.

# Claude Code claude mcp add playwright npx @playwright/mcp@latest # Any client with an mcpServers config { "mcpServers": { "playwright": { "command": "npx", "args": ["@playwright/mcp@latest"] } } }
  • Headed by default. Add --headless for CI or when you do not want a window to appear.
  • Persistent profile by default. Cookies survive between sessions. Use --isolated for a clean profile each time, or --storage-state auth.json to start from a known login.
  • Your own browser: --extension connects to a running Chrome or Edge through the Playwright extension; --cdp-endpoint connects to any browser that exposes the Chrome DevTools Protocol.
  • Opt-in capabilities: --caps=vision adds coordinate clicks for canvases and maps, pdf adds PDF export, devtools adds video and tracing.

Best for: test generation, reproducing a bug from steps, checking a form end to end. Weak spot: every snapshot is text the model has to read, and large pages produce large snapshots. Microsoft itself now recommends the CLI for coding agents (see CLI vs MCP). Screenshot specifics, such as where files are saved, are in our guide to browser_take_screenshot in Playwright MCP.

Chrome DevTools MCP: the debugger

Built by the Chrome DevTools team, this server gives the agent what you see in DevTools: console messages with stack traces, network requests with headers and bodies, performance traces with Core Web Vitals insights, and a lighthouse_audit tool for accessibility, SEO and best practices. It also has the usual automation tools (click, fill, navigate, wait) and both take_snapshot and take_screenshot.

# Claude Code claude mcp add chrome-devtools --scope user npx chrome-devtools-mcp@latest # Any client with an mcpServers config { "mcpServers": { "chrome-devtools": { "command": "npx", "args": ["-y", "chrome-devtools-mcp@latest"] } } }
  • Launches its own Chrome the first time a tool needs a browser, with a dedicated profile. --isolated uses a temporary profile, --headless hides the window.
  • Attach to your Chrome: --autoConnect (Chrome 144+, enabled at chrome://inspect/#remote-debugging) or --browser-url=http://127.0.0.1:9222.
  • Fewer tools when you want them: --slim exposes only navigation, script execution and screenshots, which keeps the tool list small in the model's context.
  • Defaults to know: Google collects usage statistics unless you pass --no-usage-statistics, and performance tools may send trace URLs to the CrUX API unless you pass --no-performance-crux.

Best for: "why is this page slow", "why does this request fail", "fix the console errors". For screenshot details, see our take_screenshot guide for Chrome DevTools MCP.

Chrome DevTools MCP vs Playwright MCP

These two overlap more than any other pair, so this is the most common question. Both launch a local Chromium, both read pages with an accessibility snapshot, both click and type. The difference is what they add on top.

TaskBetter choiceWhy
Generate or fix an end-to-end testPlaywright MCPSame engine and locators as your Playwright tests
Multi-step flow with forms and dialogsPlaywright MCPThe snapshot-and-ref loop is mature and well documented
Find what makes LCP or INP slowChrome DevTools MCPPerformance traces and insight analysis are built in
Debug a failing API call or CORS errorChrome DevTools MCPFull request and response details, including headers
Accessibility or SEO auditChrome DevTools MCPlighthouse_audit
Agent in your already open ChromeEitherPlaywright via its extension, DevTools via --autoConnect

Installing both is reasonable, but every tool definition takes space in the model's context. If you only debug occasionally, enable Chrome DevTools MCP in the projects where you need it rather than globally.

Browser MCP: your logged-in Chrome

Browser MCP is a Chrome extension plus a local MCP server. Its whole point is that agents use your existing profile, so they can reach the dashboards, inboxes and admin pages you are logged into. Agents open tabs in the background, grouped under the AI app's name. Version 2.0 exposes one browser tool that takes short commands (goto, click, fill, snapshot -i, screenshot --full, console, requests and more).

# 1. Install the Browser MCP extension from the Chrome Web Store # 2. Add the server (Claude Code shown) claude mcp add --scope user browsermcp -- npx @browsermcp/mcp@latest # 3. Restart the AI app and approve the six-digit code in the extension popup

The project says everything runs on your computer and the background process listens only on 127.0.0.1. Incognito tabs and browser settings pages are off limits by default. Keep in mind what "local" means here: the pages themselves stay on your machine, but whatever the agent reads from your inbox or CRM is sent to your AI provider as part of the conversation.

Best for: tasks that only make sense with your session, such as pulling numbers from an analytics dashboard or checking a ticket queue. Not a fit for CI or cloud agents, because it needs your desktop Chrome running. If you used 1.x, update both the extension and the server for 2.0.

Browser Use: the agent writes browser code

Browser Use is best known as a Python library for autonomous browser agents. Its MCP server takes a different approach from the rest: there is no MCP tool that runs a full Browser Use agent. Instead, the client's model writes Python that runs against the browser. The current server exposes four tools: browser_exec (run code with helpers such as goto_url, click_at_xy, type_text and raw CDP), browser_screenshot, browser_login and browser_feedback.

{ "mcpServers": { "browser-use": { "command": "uvx", "args": ["--from", "browser-use==1.0.6", "browser-use", "--cli-mcp"] } } }

The docs ask you to keep the exact version pin shown there, so copy it from the Browser Use MCP page when you install. The older --mcp flag is deprecated. The server needs no LLM API key, because your client's model does the thinking. Locally it drives your open Chrome and falls back to a temporary headless Chromium. With a Browser Use API key the same code can run in a cloud browser, for 30 minutes by default and up to 240.

Best for: developers comfortable reviewing generated Python, and scraping-style tasks where scripted loops beat clicking one element at a time. The trade-off is reviewability: a block of code is harder to approve than "click e42".

BrowserTools MCP: logs and audits from your real tab

AgentDesk's BrowserTools MCP started as a way to pipe console and network logs from your Chrome into Cursor. Version 2.0 is a rewrite that runs as one process instead of three and has 22 tools: console and network logs and errors, the selected element, tabs, simple navigation, softClick and softType, screenshots, browser storage, and four Lighthouse-based audits (accessibility, performance, SEO, best practices).

{ "mcpServers": { "browser-tools": { "command": "npx", "args": ["-y", "@agentdeskai/browser-tools-mcp@latest"] } } }

You also load the extension unpacked from the repository's chrome-extension folder in developer mode, and you need Node.js 22.19 or newer. npx @agentdeskai/browser-tools-mcp --doctor checks the setup.

If you installed it in 2025: the README says 1.x is unsupported and lists known critical vulnerabilities in it. Remove the old three-process setup (extension, browser-tools-server and MCP) and install 2.0.

Best for: frontend work where you reproduce a bug by hand in your own tab and want the agent to see the same console and network state. For deep performance work, Chrome DevTools MCP goes further.

A hosted MCP: no browser on the agent's machine

Most servers above run a browser where the agent runs. That breaks in three common situations: cloud agents and sandboxes that cannot launch Chromium, CI jobs where installing a browser is slow, and jobs that touch many URLs, where a local browser opens them one at a time. There are two remote options. Browser Use Cloud gives the agent an interactive cloud browser that it drives with code. A hosted capture MCP takes a URL or HTML and returns an image, a diff or text, with no session to manage.

SnapshotFlow is one such server. You add one URL and sign in with OAuth, with no API key in the config:

{ "mcpServers": { "snapshotflow": { "url": "https://api.snapshotflow.com/mcp" } } }

Claude Code and VS Code also need "type": "http"; the SnapshotFlow MCP server page has the exact entry for each client. It has five tools:

ToolWhat it does
screenshotCapture a URL or HTML as PNG, JPEG or WebP, full page or viewport, with options such as wait_for_selector, block_cookie_banners, block_ads and dark_mode
batch_screenshotCapture 1 to 10 URLs in one parallel call
visual_diffCompare two URLs and return a highlighted diff image with change statistics
extract_textReturn the rendered page as Markdown, plain text or HTML, far cheaper in tokens than an image
check_jobFollow an async job, including partial batch results

What it does not do: click through flows, read your local localhost (give it a tunnel or preview deploy URL instead), or use your browser session. That is why it complements a local server rather than replacing one. Typical prompts: "capture staging and production and show me what changed", "check these 10 landing pages for broken layouts", "read this docs page as Markdown". More are on the MCP prompts page.

Pricing: 300 free screenshots for the lifetime of the account, no credit card. Each screenshot and extract_text call counts as one, visual_diff as two, batch_screenshot as one per captured URL, cache hits and check_job are free. Your AI client's tokens are billed separately by your AI provider. Details are on the MCP tools table and the pricing page.

CLI vs MCP: when a command line beats a server

A newer option skips MCP entirely. The agent runs a browser CLI through its shell tool and learns the commands from a skill file. Microsoft's own Playwright MCP README now says coding agents might benefit from the CLI with skills, because CLI calls avoid loading large tool schemas and verbose accessibility trees into context. It keeps MCP for long-running agent loops that need persistent state and rich introspection.

Browser MCP serverCLI + skills
ExamplesPlaywright MCP, Chrome DevTools MCP@playwright/cli, agent-browser, the chrome-devtools CLI
Context costTool schemas sent to the model (some clients load them on demand); snapshots returned inlineOnly the commands used; snapshots saved to files
Works inAny MCP client, including chat apps without a shellAgents with a shell: Claude Code, Codex, Copilot
StateHeld by the server for the sessionNamed sessions on disk
Good forExploratory loops, chat clients, non-developersCoding agents doing many short browser steps
# Playwright CLI with its skill npm install -g @playwright/cli@latest playwright-cli install --skills

The Playwright CLI is headless by default and keeps the profile in memory unless you pass --persistent. For a CLI built specifically for agents, see our agent-browser screenshot guide. The same logic applies to hosted tools: SnapshotFlow also ships an Agent Skill that calls the REST API from the shell instead of through MCP.

Security: what each setup exposes

  • Your logged-in browser is your identity. Chrome DevTools MCP's README warns that the server exposes the browser's content to the MCP client, which can inspect and modify any data in it. The same is true for every server that attaches to your profile. Use a separate Chrome profile for agent work.
  • Remote debugging ports are open to every local app. Starting Chrome with --remote-debugging-port lets any program on your machine control it. Prefer --autoConnect or an extension that asks for approval.
  • Prompt injection travels through pages. A page the agent reads can contain instructions aimed at the model. With your session attached, an injected instruction could act on your accounts. Keep approval prompts on for clicks and form submissions.
  • Check the defaults. Chrome DevTools MCP sends usage statistics to Google unless you opt out. BrowserTools 1.x has known vulnerabilities. Pin or update versions deliberately.
  • Hosted means the URL leaves your machine. A hosted MCP fetches the page from its own servers. That is fine for public pages and staging behind a shared secret; it is the wrong tool for internal pages that must not be sent anywhere.

Which to pick: four common setups

You are…Install
A developer in Claude Code or Codex building a web appPlaywright CLI (or Playwright MCP) for flows, plus Chrome DevTools MCP in projects where you debug performance
Using Cursor or a chat client, mostly reading your own dashboardsBrowser MCP, with a separate Chrome profile
Running agents in the cloud, CI or a sandboxA hosted MCP for captures and text; Browser Use Cloud if you need scripted interaction
Checking many pages: deploy checks, competitor pages, visual regressionsA hosted MCP with batch and diff, plus a local server only for the pages that need a login

For the verification step after a coding agent changes UI, our guide to AI agent UI verification shows the checklist and where captures fit. If you are weighing Playwright itself against an API for screenshots, see Playwright alternatives for screenshots.

FAQ

What is a browser MCP server?

An MCP server that gives an AI client tools to open, read and act on web pages. The client (Claude Code, Cursor, Codex, VS Code and others) lists the tools to the model, and the model decides when to navigate, read a snapshot, click or take a screenshot. "Browser MCP" is also the name of one specific project, the Chrome extension covered above.

Is Chrome DevTools MCP better than Playwright MCP?

For debugging, yes: it has performance traces, detailed network data and Lighthouse audits. For flows and tests, Playwright MCP is the more mature choice and matches the Playwright API you may already use in tests. They can be installed side by side.

Should I use Playwright CLI or Playwright MCP?

If your agent has a shell (Claude Code, Codex, Copilot), Microsoft recommends the CLI with skills because it uses fewer tokens. Use the MCP server in clients without a shell, or for long exploratory sessions where the server holding state helps.

Can a browser MCP use my logged-in accounts?

Yes, if it attaches to your Chrome: Browser MCP and BrowserTools do this by default, Playwright MCP with --extension, Chrome DevTools MCP with --autoConnect. Use a separate profile and keep approvals on, because the model then acts with your sessions.

Which browser MCP works without installing a browser?

A hosted one. SnapshotFlow renders pages on its servers and returns screenshots, diffs and text over a remote MCP endpoint, so it works in cloud agents. Browser Use can also run its code in a cloud browser with an API key.

Sources and further reading

Add a browser your agent does not have to run

Keep your local browser MCP for flows and debugging. Add SnapshotFlow for screenshots, batch captures, visual diffs and page text from any agent, including cloud ones. 300 free screenshots, no credit card.