Playwright MCP vs Browser Harness.
Same score on 100 public browser tasks, using half the median input tokens per task. And Browser Harness works in your real Chrome, logged in as you.
Side by side
Pick Playwright MCP for a clean, isolated browser in tests, or if your team already runs Playwright.
Playwright MCP or Chrome DevTools MCP for a coding agent?
As of Nov 2, 2026: Playwright MCP to drive and test your app in Chrome, Firefox or WebKit; Chrome DevTools MCP for performance traces and source-mapped console errors. Both read console and network, and both ship a CLI; Microsoft suggests Playwright's for coding agents: fewer tokens.
claude mcp add playwright npx @playwright/mcp@latest--extension or --cdp. Use it when: The same from the shell. Microsoft's pick for coding agents: tool schemas and page trees stay out of the model's context. Setup: npm install -g @playwright/cli@latest && playwright-cli install --skills--autoConnect. Use it when: Debugging: performance traces and insights, console errors with source-mapped stacks. Chrome only. Ships a CLI too. Setup: claude mcp add chrome-devtools --scope user npx chrome-devtools-mcp@latestclaude mcp add browser-harness -- uvx --from "browser-harness[mcp]" browser-harness-mcpQuestions
Should a coding agent use Playwright CLI or Playwright MCP?
Microsoft suggests the CLI with its skills for coding agents: fewer tokens. MCP fits long-running loops that keep browser state, like exploratory or self-healing tests. Sources: Playwright docs: CLI for coding agents.
Is Browser Harness better than Playwright MCP?
On success, neither wins. On 100 public BU Bench V2.1 tasks with the same agent (Codex, GPT-6 Luna), the same cloud browser and the same judge, Browser Harness scored 60.4 and Playwright MCP 60.0 out of 100; the paired difference has a 95% interval of -5.7 to +6.6 points, which includes zero. The difference is cost: Playwright MCP used 2.1x the input tokens per task (median 4.4M vs 2.1M), so the agent's bill was $0.066 vs $0.042 per task. One run per task; per-task scores are public.
Can I use both?
Yes, they do not conflict. Use Playwright MCP for isolated test runs and Browser Harness for work on sites you are logged in to.
Does Browser Harness have an MCP server?
Yes, browser-harness-mcp, for any MCP client. You usually do not need it: the setup prompt installs Browser Harness as a skill, with no config to edit.
What does it cost?
Nothing. Browser Harness is open source under MIT, and using your own Chrome is free. Cloud browsers are $0.02 per browser-hour if you want them.
You will never use
the browser again.