ego (lite) es solo un navegador, ego es su agente personal en todos sus dispositivos.
Únanse a la lista de espera
Playwright MCPMCP serverBrowser automationAI agentsReview

Is Playwright MCP Good? An Honest Review (2026)

12 ago 20268 min read
Playwright's green comedy and red tragedy masks on a yellow pedestal, casting a shadow filled with accessibility and browser-testing icons on a textured blue background

The core conclusion first: Playwright MCP is worth installing, with conditions. It's best for short sessions on public pages, and wrong for long tasks and logged-in sites, where the token bill (89K-114K per test run in published measurements) and the fresh-profile login wall take over.

If your pain is exactly that token bill or that login wall, ego (lite), an agent browser for browser automation, pairs a low-token skill route with a real browser that keeps your logged-in state, free.

A QA engineer on r/QualityAssurance described being told by their lead that Playwright MCP was "wonderful and marvelous." Then they tried it: an hour on a single test against a tricky app, and it never passed.

The same thread also calls it underrated with "a fuck ton of potential." Both takes are right, which is exactly why the verdict above comes with conditions. Let's take it apart properly.

What is Playwright MCP?

Playwright MCP is an open-source MCP server from Microsoft that snapshots a page's accessibility tree, hands that structured text to an LLM, and executes the model's chosen actions (clicks, typing, navigation) in a real browser.

It's not an AI product itself, and it's not a test framework: it's the plumbing that lets any MCP-capable agent (Claude Code, Cursor, VS Code, Codex) see and touch web pages without vision models. The snapshot approach is the differentiator: elements arrive as text with reference IDs like ref=e5, so the model acts on structure, not pixels.

Setup really is one line. For Claude Code:

claude mcp add playwright npx @playwright/mcp@latest

That accessibility-snapshot design is both the reason it works and the reason it gets expensive. Hold that thought.

The microsoft/playwright-mcp GitHub repository showing 36.1k stars, Apache-2.0 license, and commits from the past week
The official microsoft/playwright-mcp repository: 36.1k stars, Apache-2.0 license, active commits within the past week. Whatever else is true about it, this is not an abandoned side project.

What does Playwright MCP do well?

Three strengths keep showing up in real usage reports, not marketing pages.

1. Zero-to-working in minutes. One config line and your agent has 26+ browser tools. No script scaffolding, no framework decisions. For someone who has never automated a browser, this is the shortest path that exists, and it's officially maintained by Microsoft's Playwright team, so it tracks browser changes instead of rotting like most community bridges.

The first-run experience sells it. You type "open our staging site and tell me if the signup form validates emails," and thirty seconds later the agent has opened a browser, filled the form with a bad address, and reported what the error message said. No other setup in this category gets you there that fast.

2. Finding locators and drafting tests. The honest praise from the QA thread: "it can save a shit ton of time finding locators and setting the POM structure." Pointing the agent at a page and asking for a page-object class plus draft tests genuinely works. One commenter turned a 300-line unstructured test class into a 55-line one this way.

3. Deterministic, auditable actions. Because the model targets element refs instead of guessing pixel coordinates, actions are reproducible, and every step is a logged tool call you can review. GitHub Copilot's coding agent uses it to verify its own UI changes, which is a real production endorsement.

Where does Playwright MCP fall down?

Three failure modes, each with receipts.

1. The token bill. Every action returns a fresh page snapshot, and they stack up in context. The r/ClaudeCode field report: one or two tests and the chat gets compacted. Some sites don't load at all because "the snapshot is too big." Issue #889 on the official repo reports 6x token growth between two minor versions for the same task.

The published numbers put a full MCP test run at 89K-114K tokens where a CLI run costs 24K-27K; if tokens are your pain, the ego-browser skill in a real logged-in browser is the escape hatch, and we broke down those measurements in the Playwright MCP vs CLI article.

89K-114KTokens per test run over MCP (published measurements)
6xToken growth between v0.0.30 and v0.0.32, official repo issue #889
12-15Step count where sessions start degrading on stale snapshots

2. Long tasks lose the plot. By step 12-15 a session can carry 60-90K tokens of stale page state, and the measured failure is telling: the agent referenced a login-page element that no longer existed. Multi-step workflows are precisely where you want an agent, and precisely where this architecture strains.

3. Complex, real-world pages. The QA engineer's hour-long failed test wasn't an exotic app, just a tricky one, "quite close to a real scenario." And the generated code isn't a finished product either: "you will 100% refactor a large portion of it." Treat output as a first draft, not a deliverable. Add the state-leakage caveat from Currents' analysis (cookies and storage persist across calls unless you reset them) and complex flows need real supervision.

Reddit post on r/QualityAssurance titled Opinions on Playwright MCP, where a QA engineer describes spending an hour failing to get one test running
The r/QualityAssurance thread this review keeps quoting, and the top result when you search this question. The postscript is the whole verdict in miniature: real time saved on locators, one hour lost on a single tricky test.

Who should use Playwright MCP?

The verdict splits cleanly by what you're actually trying to do.

You areVerdictWhy
A QA engineer writing test suitesYes, as a drafting toolGreat for locators and page objects. Keep your framework for the actual suite; MCP is an execution layer, not a test runner.
Scraping or extracting data regularlyProbably notLong multi-page runs hit the snapshot-accumulation wall, and logged-in sources aren't covered by a fresh profile.
A developer who wants the agent to check pages occasionallyYes, with a budgetShort sessions under ~10 steps are its sweet spot. Watch your context after each run.
Running daily browser tasks on your own accountsNoWrong shape twice: token cost scales with steps, and login state isn't yours. ego (lite), an agent browser driven through the ego-browser skill, fits here.

That last row is where ego (lite) sits: an agent browser for browser automation, built for sharing your logged-in browser state with AI agents like Claude Code and Codex. The agent drives it through the ego-browser skill, runs whole workflows as one script outside the model's context, and works in its own Space so it never takes over the window you're using. Every site you've signed into stays signed in, so the agent starts past the login wall instead of at it.

If you're weighing the escape routes, here's the shape of the choice. All three drive a real browser engine, and the third row is the first two combined: ego (lite)'s token economics in a browser that carries your login state.

RouteWhat it can doWhat it can't do
Playwright MCPWorks with any MCP client, even ones without shell access; zero-code setupCan't keep token cost flat on long tasks; no logged-in state out of the box
Playwright CLICuts tokens roughly 4x by writing snapshots to disk; composes with shell tools and CICan't serve non-coding agents; still launches a fresh profile without your sessions
ego (lite) + ego-browserRuns whole workflows as one script in a real browser that keeps your logins; freeCan't run headless in CI containers; not a test framework with assertions

See the full ego (lite) vs Playwright MCP comparison if that's your situation; otherwise Playwright MCP is a fine place to start.

FAQ: free, safe, good for testing?

Is Playwright MCP free?

Yes. Playwright MCP is open source under the Apache-2.0 license, maintained by Microsoft, and installed free via npm (@playwright/mcp). What isn't free is the token consumption it drives through your LLM subscription or API bill, which is where the real cost lives.

Is Playwright MCP safe?

It runs locally and only exposes declared browser tools, which keeps agent actions auditable. Two edges to respect: the optional browser_run_code_unsafe tool executes arbitrary JavaScript and the docs themselves call it RCE-equivalent, so leave it off for untrusted clients; and browser state (cookies, storage) persists across tool calls unless you reset it, which can leak session context between tasks.

Is Playwright MCP good for testing?

Good for exploring, drafting, and reproducing bugs; wrong for running your regression suite. It has no assertion model, no retries, and no determinism guarantees, so keep scripted Playwright tests in CI and use MCP as the interactive layer in front of them.

Does Playwright MCP work with Cursor and Codex?

Yes. Cursor adds it under Settings, then MCP, then Add new MCP Server with the command npx @playwright/mcp@latest, and Codex takes codex mcp add playwright npx @playwright/mcp@latest. The same standard JSON config block works in VS Code, Windsurf, and most other MCP clients.

What is Playwright MCP used for day to day?

The common real uses in 2026: generating test drafts and page objects, letting a coding agent verify its own UI changes, reproducing flaky behavior on demand, and short exploratory automation on public pages.

So, is Playwright MCP good? For a free tool that took one line to install, genuinely yes. The QA lead from the opening scene wasn't wrong about the potential; they just skipped the conditions. Keep your sessions short, keep your pages public, treat generated code as a draft, and it earns its slot. When your tasks get long or move behind logins, that's not Playwright MCP being bad. That's you outgrowing it.