What is Playwright MCP?
Playwright MCP is Microsoft's official MCP server for the Playwright automation framework, published as playwright-mcp (you'll also see it written mcp-playwright or playwright-mcp-server). It exposes browser actions (navigate, click, type, snapshot) as MCP tools, so any MCP-capable agent can operate a browser without writing test scripts. It reads pages as accessibility-tree snapshots rather than screenshots, and ships a Chrome extension, the Playwright MCP bridge, for attaching the server to a tab in your running Chrome. It's the default answer to "how do I give my coding agent a browser": well-maintained, free, and backed by the Playwright team.
Is ego(lite) a good Playwright MCP alternative?
Yes, for agent-driven browsing. Playwright MCP is a thin MCP bridge over a fresh Playwright browser; ego(lite) is a full agent browser: real Chrome profile, parallel Spaces, and batched JavaScript execution that cuts per-task tokens. If your goal is committed, repeatable test scripts in CI, plain Playwright is still the right tool. See our ego(lite) vs Playwright page for that comparison.
Is there an ego(lite) vs Playwright MCP benchmark?
Real-World Bench measures the matchup through playwright-cli, the leaner of Microsoft's two agent interfaces; the MCP server shares the same Playwright engine and adds an MCP tool-call round trip on top of each action. On the bench's 31 complex real-world browser automation tasks, all on live websites with the same pi agent, the same model (gpt-5.6-sol, thinking effort max), and the same rubric judge, ego(lite) finished 93.5% of tasks perfectly at $1.75 per completed task, 63% faster on average task time; agent-driven Playwright finished 71% at $4.82. The harness, the tasks, the rubrics, and the raw results are open source in the ego-browser-benchmark-framework repository on GitHub, so every number can be audited or reproduced.
How do I add a browser to Claude Code without Playwright MCP?
The usual route is to add Playwright MCP to Claude Code with claude mcp add, then keep the Playwright MCP server running. The shorter route: install ego(lite) and run /ego-browser inside Claude Code. The agent gets Snapshot access to pages and can execute JavaScript in the browser, with no MCP server configuration and no config edits.
Does Playwright MCP work with Codex? Does ego(lite)?
Both do. Codex supports MCP servers, so a Playwright MCP Codex setup works, with the same one-tool-call-per-action loop and blank profile. ego(lite) plugs into Codex the same way it plugs into Claude Code and Cursor: run /ego-browser, and the agent drives your real logged-in browser. Gemini CLI, Opencode, and custom in-house agents work too.
What about the Playwright MCP Chrome extension (the MCP bridge)?
The official Chrome extension bridges the Playwright MCP server to a tab in your running Chrome, so the agent can reuse that tab's login state. It fixes the blank-profile problem for one tab, but the loop is unchanged (one MCP tool call per action) and there's no isolation: the agent works in the same window you're using. ego(lite) gives the agent your full profile and its own Spaces, so tasks run in parallel without touching your tabs.
Why does Playwright MCP use so many tokens?
Each browser action is a separate MCP tool call, and the model processes the result of every call before making the next one. Long tasks become long chains of round-trips, each carrying context. ego(lite) reduces the round-trips themselves: the agent batches several actions in one JavaScript execution and reads pages as compressed Snapshots, so the savings compound over a whole task. Across those 31 jobs it shows in the bill: $4.82 per completed task for agent-driven Playwright against $1.75 for ego(lite).
Can Playwright MCP use my existing Chrome logins?
Not out of the box, because it launches an isolated browser. You can point it at a persistent profile or a CDP endpoint with manual configuration, but sessions still break on SSO and 2FA. ego(lite) imports your Chrome profile once, and the agent inherits real login state everywhere.
Is ego(lite) free?
Yes. ego(lite) is free with no subscription, and the ego-browser shell is MIT-licensed open source.
Can ego(lite) use my logged-in Chrome session without OAuth?
Yes, when you import a Chrome profile you are authorized to use. The agent works from the cookies and sessions already present in that profile, so there is no separate OAuth connector to configure for each site. Credentials stay in the browser context and should never be pasted into the agent's prompt; SSO, MFA, and site policies still apply, and a challenge may require your manual approval.
Does ego(lite) give an agent the full DOM instead of an accessibility snapshot?
The agent can read a current compressed Snapshot and use JavaScript to inspect permitted DOM or in-page data when the accessible view omits relevant context. That makes the extraction path explicit, but it is not a guarantee that every shadow root, virtualized row, or hidden control is available. Ask it to verify the visible result and stop when the page cannot support the requested evidence.
Can I keep multiple Playwright MCP alternatives running in parallel?
Yes. ego(lite) gives each task its own Space inside one browser, so sessions remain isolated while several jobs run side by side. Keep the task owner and source visible, save artifacts before closing a Space, and do not assume that sharing one Playwright MCP context is safe parallelism—tabs, cookies, and stale assumptions can leak between agents.
Does ego(lite) bypass Cloudflare or CAPTCHA like a stealth browser?
No. A normal, user-controlled browser may avoid the blank-profile mismatch that causes extra verification, but ego(lite) does not defeat Cloudflare, CAPTCHA, rate limits, fingerprint checks, or robots and terms restrictions. If a permitted task reaches a challenge, pause, record the status, and let an authorized person decide whether to complete it or use an official API or licensed source.
Can I automate X or LinkedIn without an official API?
ego(lite) can help an authorized agent read public pages or perform a bounded, user-approved workflow in an existing session, subject to each platform's terms and rate limits. It is not a way to evade login or anti-bot controls, bulk-collect private data, or automate likes, follows, messages, or other engagement at scale. Keep review and a human stop point for any account action.