Menu

AI

Playwright MCP vs Chrome DevTools MCP: Browser Agents Compared (2026)

Playwright MCP vs Chrome DevTools MCP: browsers, tools, performance and Lighthouse features, data sharing, licences and security limits, checked in October 2026.

By: Irina ShvayaOctober 28, 2026

Playwright MCP vs Chrome DevTools MCP: Browser Agents Compared (2026)

This comparison is part of our MCP comparisons, within The MCP Guide. Facts are checked against each vendor's own documentation and pricing pages on the date shown.

Pick Playwright MCP when the AI needs to click through a site in Chrome, Firefox, WebKit or Edge, fill forms and check flows. Pick Chrome DevTools MCP when the AI needs to debug a page in Chrome. It records performance traces, reads network and console data, runs Lighthouse and finds memory leaks. Many web teams install both and use each for its strength.

Checked against: the Playwright MCP README and the Chrome DevTools MCP README on 28 October 2026. eSEOspace did not test either product.

Both are free, open-source servers that run on your own computer and drive a real browser. Microsoft publishes Playwright MCP. The Chrome DevTools team publishes Chrome DevTools MCP, which its README now calls "Chrome DevTools for agents."

Key Takeaways

  • Playwright MCP reads pages through accessibility snapshots, "bypassing the need for screenshots or visually-tuned models."
  • Chrome DevTools MCP records traces with Chrome DevTools and automates actions with Puppeteer.
  • Playwright supports Chrome, Firefox, WebKit and Edge; Chrome DevTools MCP "officially supports Google Chrome and Chrome for Testing only."
  • Chrome DevTools MCP sends usage statistics to Google by default; you can opt out with --no-usage-statistics.
  • Both are Apache 2.0, and Microsoft states plainly that "Playwright MCP is not a security boundary."

At a glance

Playwright MCPChrome DevTools MCP
PublisherMicrosoftChrome DevTools team (Google)
Package@playwright/mcpchrome-devtools-mcp
LicenseApache 2.0Apache 2.0
BrowsersChrome, Firefox, WebKit, EdgeGoogle Chrome and Chrome for Testing
How it reads pagesAccessibility snapshotsSnapshots, screenshots and DevTools data
Automation enginePlaywrightPuppeteer
TracingPlaywright traces and video, opt-in devtools groupPerformance traces with insight analysis
Lighthouse auditNot documentedlighthouse_audit
Memory heap analysisNot documented14 heap snapshot tools
Use your logged-in browserBrowser extension (Edge or Chrome)Connect to a running Chrome
Transportstdio by default; HTTP with --portstdio through npx
Usage data to vendorNot documentedOn by default, opt-out flag
Lighter modeCLI plus skills, per Microsoft--slim tool set and a CLI
PriceFreeFree

Where Playwright MCP is stronger

Cross-browser testing. The README's --browser option accepts "chrome, firefox, webkit, msedge." If your users are on Safari, WebKit coverage matters. Chrome DevTools MCP says other Chromium browsers "may work, but this is not guaranteed."

Structured, model-friendly input. Playwright works from the accessibility tree, "not pixel-based input." The README calls this "Deterministic tool application" that "Avoids ambiguity common with screenshot-based approaches." A browser_snapshot tool returns the page structure, which the README says "is better than screenshot."

Opt-in capability groups. Core tools cover navigation, clicks, typing, forms, tabs, dialogs, uploads and console messages. Extra groups load only when you ask with --caps, including network, storage, DevTools, PDF, coordinate-based "vision" clicks and test assertions. Fewer tools mean a smaller tool list for the model.

Testing workflows. The testing capability adds assertion tools, and a --mobile flag emulates a phone. Microsoft positions MCP for "exploratory automation, self-healing tests, or long-running autonomous workflows."

Docker and HTTP. You can run it in Docker or start it with --port for HTTP clients. The Docker image "only supports headless chromium at the moment."

Microsoft adds an honest caveat. For coding agents, it says a Playwright CLI with skills is often "more token-efficient" than MCP.

Where Chrome DevTools MCP is stronger

Performance work. Chrome DevTools MCP uses DevTools "to record traces and extract actionable performance insights." Its tool reference lists performance_start_trace, performance_stop_trace and performance_analyze_insight. For Core Web Vitals work, that is the main draw.

Deeper debugging. The debugging group includes lighthouse_audit, get_css_styles, evaluate_script, console tools and screencasts. Network tools return full request details. The README says console messages come "with source-mapped stack traces."

Memory and extensions. A memory group of 14 tools takes and analyzes heap snapshots. Extension tools install, reload and trigger Chrome extensions. Progressive Web App tools can install and launch PWAs.

Bundled skills. The package ships skills for accessibility debugging, cookie debugging, LCP (Largest Contentful Paint) and memory leaks. In Claude Code you can install the server and skills as one plugin.

Attach to real Chrome. --browserUrl connects to a running, debuggable Chrome. --autoConnect attaches to a local Chrome 144 or newer. The README also points to Android debugging in its advanced guide.

Early WebMCP support. An experimental WebMCP group lists and runs tools that a web page exposes. It is off unless you pass --categoryExperimentalWebmcp.

Pricing

Both servers are free and open source under Apache 2.0. Neither vendor sells a paid tier for the MCP server.

Your costs are indirect. Each tool call and page snapshot uses model tokens in your AI app. Microsoft's own README says verbose accessibility trees cost context, which is why it recommends the CLI for some coding agents. Chrome DevTools MCP offers --slim "for basic browser tasks only." If you run either server in the cloud, you pay for that hosting.

Security and admin controls

Neither is a security boundary. Playwright's README says so directly. It adds that --allowed-origins and --blocked-origins do "not serve as a security boundary" and do not affect redirects. Chrome DevTools MCP warns it "exposes content of the browser instance to the MCP clients allowing them to inspect, debug, and modify any data in the browser or DevTools."

Profiles and sessions. Playwright uses a persistent profile by default. Use --isolated to keep the profile in memory. Chrome DevTools MCP also supports --isolated and --headless. Avoid browser sessions logged in to admin panels, payment tools or customer data. Our guide to sandboxing local MCP servers shows safer setups.

Data sent to Google. Chrome DevTools MCP says "Data collection is enabled by default" for usage statistics such as tool success rates and latency. Turn it off with --no-usage-statistics, or set the CI environment variable. Performance tools "may send trace URLs to the Google CrUX API." Use --no-performance-crux to stop that. The Playwright README does not describe any usage data collection.

Script execution. Both can run JavaScript in the page, through browser_evaluate in Playwright and evaluate_script in Chrome DevTools. Web pages are untrusted input, so watch for prompt injection.

Network exposure. If you start Playwright with --port or in Docker on 0.0.0.0, anyone who can reach that port can drive the browser. Read exposed local MCP servers.

Which to choose

Pick Playwright MCP if:

  • You need to test in Firefox, WebKit or Edge, not just Chrome.
  • The job is user flows: sign-up, checkout, forms and navigation.
  • You want a long-running agent that keeps browser state.

Pick Chrome DevTools MCP if:

  • You are chasing slow pages, layout shifts or poor Core Web Vitals.
  • You need Lighthouse, network detail, console stack traces or heap snapshots.
  • Your team builds and debugs mainly in Chrome.

Use both if you want flow testing and performance debugging on the same site. Keep each scoped to a staging environment. Our browser testing playbook shows one way to split the work.

Next step

eSEOspace sets up browser MCP servers in Claude Code for website QA and performance work. See our Claude Code development service, or browse more MCP comparisons. Full profiles: Playwright MCP and Chrome DevTools MCP.

Frequently asked questions

Is Playwright MCP or Chrome DevTools MCP free?

Both are free and open source under the Apache 2.0 license. You install them locally with npx. Your only costs are the AI app's token usage and any hosting you choose.

Can Chrome DevTools MCP test Firefox or Safari?

No. Its README says it officially supports Google Chrome and Chrome for Testing only. Other Chromium browsers may work without a guarantee. For Firefox or WebKit, use Playwright MCP.

Does Chrome DevTools MCP send data to Google?

By default it sends usage statistics, such as tool success rates and latency, to Google. Performance tools may also send trace URLs to the CrUX API. Turn both off with --no-usage-statistics and --no-performance-crux.

Should a coding agent use Playwright MCP or the Playwright CLI?

Microsoft says coding agents often do better with the Playwright CLI plus skills, because it is more token-efficient. It recommends MCP for exploratory automation, self-healing tests and long-running workflows that need continuous browser context.

You Might Also like to Read

Get a FREE Website Audit

Enter your website and get a 20–30 page SEO, GEO, AEO & CRO audit within 24 hours. Completely free.

Don't have a site yet? Get in touch →

Ready to speak with a marketing expert?
Give us a call! (916) 866-7893

Websites Launched
1407
Websites Launched
Marketing Experts
29
Marketing Experts
Hours of Dedicated Work
204533
Hours of Dedicated Work
Irina S.Benjamin G.Jeanette M.David G.