
Exploring Chrome DevTools MCP: A Complete Guide for Agents
28 September 2025Modern AI assistants are getting smarter — not just writing code, but also running, testing, and debugging it inside a real browser. That’s where MCP servers (Model Context Protocol servers) come in. They act as a bridge between your LLM agent and the browser, enabling things like:
- Opening and navigating websites
- Typing into fields, clicking buttons
- Reading console logs and network calls
- Capturing performance traces
- Running JavaScript inside the page
Two popular MCP servers today are Playwright MCP and the official Chrome DevTools MCP from Google. Both are powerful, but they differ in setup, performance, and scope.
Let’s dive into how they work, how to set them up, and which one might be the right fit for you.
What Is Playwright MCP?
Playwright MCP (GitHub) extends the popular Playwright automation framework into the MCP ecosystem. It gives your AI assistant a way to:
- Control Chromium, Firefox, and WebKit browsers
- Interact with UI elements reliably via accessibility snapshots
- Monitor network requests and console output
- Run isolated or persistent sessions
Basic configuration:
{
"mcpServers": {
"playwright": {
"command": "npx",
"args": ["@playwright/mcp@latest"]
}
}
}
For isolated sessions with saved state:
{
"mcpServers": {
"playwright": {
"command": "npx",
"args": [
"@playwright/mcp@latest",
"--isolated",
"--storage-state=path/to/state.json"
]
}
}
}
Playwright MCP is great if you want cross-browser testing and already use Playwright in your QA workflows. The downside? It sometimes requires a browser extension, and it can produce larger context outputs (token usage).
What Is Chrome DevTools MCP?
The Chrome DevTools MCP (GitHub) is a brand-new server released by the Chrome team. It integrates directly with the Chrome DevTools Protocol, so it talks to Chrome natively — no extensions required.
Out of the box, it comes with more tools than Playwright MCP (26 vs 21), including:
performance.startTrace/performance.stopTraceevaluateScriptanalyzePerformanceInsight
This makes it particularly strong for performance analysis, debugging, and audits.
Basic configuration:
{
"mcpServers": {
"chrome-devtools": {
"command": "npx",
"args": ["chrome-devtools-mcp@latest"]
}
}
}
You can also add flags for advanced use:
{
"mcpServers": {
"chrome-devtools": {
"command": "npx",
"args": [
"chrome-devtools-mcp@latest",
"--channel=canary",
"--headless=true",
"--isolated=true"
]
}
}
}
Because it’s built by Google for Chrome, setup is almost effortless — and overhead is lower, meaning it consumes fewer tokens in your LLM’s context.
Side-by-Side Comparison
| Feature | Chrome DevTools MCP | Playwright MCP |
|---|---|---|
| Provider | Chrome team (Google) | Microsoft / Playwright |
| Setup | Simple, no extension | Requires extension in some cases |
| Toolset | ~26 tools (extra performance/debugging) | ~21 tools (cross-browser automation) |
| Context usage | Lower (lighter on tokens) | Higher (can bloat context) |
| Browser support | Chrome / Chromium only | Chromium, Firefox, WebKit |
| Best for | Chrome-centric dev, debugging, audits | Cross-browser QA, Playwright users |
Which One Should You Choose?
- ✅ Choose Chrome DevTools MCP if:
- You primarily work in Chrome
- You want easy setup and efficient context usage
- You need deep debugging and performance insights
- ✅ Choose Playwright MCP if:
- You need multi-browser support (Chrome, Firefox, WebKit)
- You already rely on Playwright for test automation
- You’re okay with some extra overhead for flexibility
Conclusion
Both Playwright MCP and Chrome DevTools MCP bring AI-powered browser automation into your workflow.
- Playwright MCP shines when you need cross-browser testing and consistency with Playwright’s familiar automation tools.
- Chrome DevTools MCP is the more efficient choice if you live in Chrome: fewer dependencies, faster execution, and more built-in debugging tools.
👉 For many developers, the new Chrome DevTools MCP feels like a “drop-in upgrade” for Chrome-only work. But if cross-browser coverage is non-negotiable, Playwright MCP remains indispensable.


