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.

The short answer
| If you need to… | Start with |
|---|---|
| Let the agent click, type and test flows in a browser separate from yours | Playwright MCP |
| Debug a page: console, network, performance traces, Lighthouse | Chrome 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 browser | Browser Use (--cli-mcp) |
| Read console and network logs from your real Chrome tab, plus SEO and accessibility audits | BrowserTools MCP 2.0 |
| Capture, compare or read many public pages with no browser on the agent's machine | A hosted MCP such as SnapshotFlow |
| Save tokens in a coding agent that can run shell commands | A 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 MCP | Chrome DevTools MCP | Browser MCP | Browser Use | BrowserTools MCP | SnapshotFlow MCP | |
|---|---|---|---|---|---|---|
| Maintainer | Microsoft | Chrome DevTools team | BrowserMCP project | Browser Use | AgentDesk | SnapshotFlow |
| Runs where | Local | Local | Local (your Chrome) | Local or Browser Use Cloud | Local (your Chrome) | Hosted |
| Default browser | Dedicated persistent profile, headed (--isolated for a clean one) | Dedicated persistent profile, launched on first use (--isolated for a clean one) | Your open Chrome | Your open Chrome, else temporary headless Chromium | Your open Chrome | Server-side Chromium |
| Your logins | With --extension, --cdp-endpoint or --storage-state | With --autoConnect or --browser-url | Yes, by design | Yes, locally | Yes, by design | Cookies and headers you pass |
| How it reads pages | Accessibility snapshot | Snapshot, screenshots, scripts | Snapshot and commands | Python the model writes | Logs, page info, screenshots | Screenshots, Markdown/text |
| Clicks and forms | Yes | Yes | Yes | Yes (via code) | Basic (softClick, softType) | No |
| Console and network | Console messages and request list | Yes, detailed | Yes | Via CDP in code | Yes, main purpose | No |
| Performance and audits | No | Traces, Core Web Vitals, Lighthouse | No | No | Lighthouse audits | No |
| Batch and visual diff | No | No | No | No | No | Yes |
| Works from cloud agents and CI | Headless, if Chromium can be installed | Headless, if Chrome can be installed | No | With Browser Use Cloud | No | Yes |
| Install needs | Node.js 20+ | Node.js LTS, Chrome stable | Node.js, Chrome extension | Python 3.11+, uvx | Node.js 22.19+, unpacked extension | None (OAuth) |
| Price | Free, open source | Free, open source | Free, open source | Free locally; cloud needs a Browser Use API key | Free, open source | 300 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.
- Headed by default. Add
--headlessfor CI or when you do not want a window to appear. - Persistent profile by default. Cookies survive between sessions. Use
--isolatedfor a clean profile each time, or--storage-state auth.jsonto start from a known login. - Your own browser:
--extensionconnects to a running Chrome or Edge through the Playwright extension;--cdp-endpointconnects to any browser that exposes the Chrome DevTools Protocol. - Opt-in capabilities:
--caps=visionadds coordinate clicks for canvases and maps,pdfadds PDF export,devtoolsadds 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.
- Launches its own Chrome the first time a tool needs a browser, with a dedicated profile.
--isolateduses a temporary profile,--headlesshides the window. - Attach to your Chrome:
--autoConnect(Chrome 144+, enabled atchrome://inspect/#remote-debugging) or--browser-url=http://127.0.0.1:9222. - Fewer tools when you want them:
--slimexposes 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.
| Task | Better choice | Why |
|---|---|---|
| Generate or fix an end-to-end test | Playwright MCP | Same engine and locators as your Playwright tests |
| Multi-step flow with forms and dialogs | Playwright MCP | The snapshot-and-ref loop is mature and well documented |
| Find what makes LCP or INP slow | Chrome DevTools MCP | Performance traces and insight analysis are built in |
| Debug a failing API call or CORS error | Chrome DevTools MCP | Full request and response details, including headers |
| Accessibility or SEO audit | Chrome DevTools MCP | lighthouse_audit |
| Agent in your already open Chrome | Either | Playwright 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).
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.
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).
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.
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:
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:
| Tool | What it does |
|---|---|
screenshot | Capture 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_screenshot | Capture 1 to 10 URLs in one parallel call |
visual_diff | Compare two URLs and return a highlighted diff image with change statistics |
extract_text | Return the rendered page as Markdown, plain text or HTML, far cheaper in tokens than an image |
check_job | Follow 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.
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 server | CLI + skills | |
|---|---|---|
| Examples | Playwright MCP, Chrome DevTools MCP | @playwright/cli, agent-browser, the chrome-devtools CLI |
| Context cost | Tool schemas sent to the model (some clients load them on demand); snapshots returned inline | Only the commands used; snapshots saved to files |
| Works in | Any MCP client, including chat apps without a shell | Agents with a shell: Claude Code, Codex, Copilot |
| State | Held by the server for the session | Named sessions on disk |
| Good for | Exploratory loops, chat clients, non-developers | Coding agents doing many short browser steps |
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-portlets any program on your machine control it. Prefer--autoConnector 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 app | Playwright 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 dashboards | Browser MCP, with a separate Chrome profile |
| Running agents in the cloud, CI or a sandbox | A hosted MCP for captures and text; Browser Use Cloud if you need scripted interaction |
| Checking many pages: deploy checks, competitor pages, visual regressions | A 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
- microsoft/playwright-mcp and microsoft/playwright-cli READMEs: setup, flags and the CLI vs MCP guidance.
- ChromeDevTools/chrome-devtools-mcp: tool reference, configuration and privacy notes.
- browsermcp.io and BrowserMCP/mcp.
- Browser Use MCP server docs.
- AgentDeskAI/browser-tools-mcp README.
- On this blog: WebMCP explained, a LangChain screenshot tool and screenshot to code with Claude.
- Client setup for the hosted server: Claude Code, Cursor, Codex, VS Code.
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.