Playwright MCP and Chrome DevTools MCP are the two open-source Model Context Protocol servers most often used to give an AI agent a browser. They overlap on basic automation and differ on what they are for: Playwright MCP is built for driving web tasks, Chrome DevTools MCP for inspecting and measuring pages in Chrome. For each one on its own, see what Playwright MCP is and what Chrome DevTools MCP is.
How do Playwright MCP and Chrome DevTools MCP compare?
They compare as follows, from each project's own documentation read on 2026-11-26.
Table: Playwright MCP compared with Chrome DevTools MCP
| Playwright MCP | Chrome DevTools MCP | |
|---|---|---|
| npm package | @playwright/mcp | chrome-devtools-mcp |
| Version on npm, 2026-11-26 | 0.0.86 | 1.14.0 |
| Licence | Apache-2.0 | Apache-2.0 |
| Built on | Playwright | Puppeteer and Chrome DevTools |
| Browsers | --browser accepts chrome, firefox, webkit, msedge | Officially Chrome and Chrome for Testing only |
| Node.js | 20 or newer | ^20.19.0, ^22.12.0 or 23 and later |
| Page view for the model | Accessibility snapshot with element references | Accessibility-tree snapshot with element uids |
| Clicking by coordinates | Opt-in, --caps=vision | Opt-in, --experimentalVision |
| Default profile | Persistent, per workspace | Persistent, one shared directory |
| Throwaway profile | --isolated | --isolated |
| Load a saved login into a clean session | --storage-state <file> | Not in its configuration guide |
| Cookie and storage tools | Opt-in, --caps=storage | Not listed in its tool reference |
| Request interception | Opt-in, --caps=network (routes) | Opt-in network mocks |
| Network allow and block lists | --allowed-origins, --blocked-origins; "*does not* serve as a security boundary" | --allowedUrlPattern (Chrome 149+), --blockedUrlPattern |
| Performance traces and insights | Tracing with --caps=devtools | Built in, with performance insights and Lighthouse audits |
| Memory heap snapshots | Not listed | 14 tools, with --memoryDebugging |
| Usage statistics | None described in the README | On by default; --no-usage-statistics |
| Reduced tool set | Playwright CLI suggested for coding agents | --slim, three tools |
| Says it is a security boundary | No: "not a security boundary" | No: it "exposes content of the browser instance to the MCP clients" |
Sources: Playwright MCP README, Chrome DevTools MCP README, its configuration guide and tool reference, and the npm registry entries for @playwright/mcp and chrome-devtools-mcp, all read 2026-11-26. "Not listed" means we did not find it in that project's documentation on that date.
When should an agent use Playwright MCP?
An agent should use Playwright MCP when its job is to complete tasks on websites.
- Task automation across engines. It can run Chromium, Firefox or WebKit, which matters when a site behaves differently per engine.
- Clean sessions with a login.
--isolated --storage-state <file>starts every session empty except for one saved login, which is the pattern in resetting browser state between sessions. - State inspection. With
--caps=storage, the agent can list and set cookies and local storage directly. - Generated test code. Its
--codegenoption chooses the language for generated code: TypeScript by default, or Python, Java or C#.
When should an agent use Chrome DevTools MCP?
An agent should use Chrome DevTools MCP when its job is to find out why a page is slow, broken or leaking memory in Chrome.
- Performance work.
performance_start_trace,performance_stop_traceandperformance_analyze_insightrecord a trace and return findings;lighthouse_auditruns an audit. - Debugging. Console messages come with source-mapped stack traces, and network requests can be listed and read one by one.
- Memory. Heap snapshots can be taken and compared once memory debugging is enabled.
- Narrow network scope.
--allowedUrlPatternrestricts the browser to listed URL patterns on Chrome 149 and later, and rejects patterns it cannot enforce on redirects or subresources.
Its design principles include "Token-Optimized: Return semantic summaries" and "Small, Deterministic Blocks" (design principles, read 2026-11-26), which suits an agent that reports findings rather than clicking through long flows.
What do both need before an agent uses them?
Both need the same surroundings, because neither one isolates the agent by itself.
- A disposable environment. Run the server and browser in a container or virtual machine that holds nothing else of value.
- A throwaway profile. Start with
--isolatedunless the task truly needs a long-lived login; see a persistent profile for a browser agent. - A pinned version. Replace
@latestwith a version number so tools do not change between runs. - Network rules outside the browser. Send traffic through a proxy with an allow-list and block internal addresses, as in restricting a browser agent's network access.
- No code execution for agents that read untrusted pages. Keep Playwright MCP's
browser_run_code_unsafeaway from them, and consider Chrome DevTools MCP's--javascriptEvaluation=false, which its guide says "is not a JavaScript sandbox" but does remove the evaluation tools. - Telemetry off where it exists. For Chrome DevTools MCP,
--no-usage-statisticsand--no-performance-crux.
What we read for this article
- Playwright MCP README and option list, read 2026-11-26
- Chrome DevTools MCP README, read 2026-11-26
- Chrome DevTools MCP configuration guide, tool reference and design principles, read 2026-11-26
- npm registry entries for @playwright/mcp and chrome-devtools-mcp, read 2026-11-26
Frequently asked
Can I run Playwright MCP and Chrome DevTools MCP together?
Yes, as two servers in one MCP client. Give each its own browser profile, because both keep a persistent profile by default and a profile can only be used by one browser at a time.
Which one uses fewer tokens?
Both default to a text snapshot of the accessibility tree rather than screenshots. Chrome DevTools MCP has a --slim mode with three tools, and Playwright MCP's README suggests its CLI for coding agents that need to save context.
Which one can click by screen coordinates?
Both, and in both it is opt-in. Playwright MCP adds coordinate mouse tools with --caps=vision; Chrome DevTools MCP adds click_at with --experimentalVision.
Does either one send usage data?
Chrome DevTools MCP collects usage statistics by default and can be opted out with --no-usage-statistics. The Playwright MCP README describes no usage statistics.