Druzhe vs Playwright MCP
Both are MCP servers that let your agent drive a browser through accessibility snapshots. Pick Playwright MCP for testing, clean or isolated profiles, headless runs and Firefox or WebKit; pick Druzhe to act on your real accounts in your everyday Chrome, with every request that would send data held for your approval and repeats that replay with zero model calls.
| Feature | Druzhe | Playwright MCP |
|---|---|---|
| Which browser | Your everyday Chrome, through the Druzhe extension, in its own "Druzhe" tab group; or Chrome 144+ over remote debugging | A browser it starts with a persistent profile per workspace by default; --isolated keeps it in memory; --extension or --cdp-endpoint connects to a running browser |
| Browser engines | Chrome | Chrome, Edge, Firefox, WebKit |
| Headless | No: it works in a visible Chrome window you can watch | Headed by default; --headless and a headless Docker image |
| Page model | Accessibility snapshots with refs; each action returns the page diff | Accessibility snapshots; screenshots and vision optional |
| Before something is sent | The outgoing request is held; you see method, site and fields, and deny is the default | No approval step documented |
| Site limits | Only http(s), and only your allowlist if you set one, enforced by the guard | --allowed-origins and --blocked-origins, documented as not a security boundary |
| Secrets | {{profile.key}} placeholders filled locally, optionally bound to sites; the model never sees the values | --secrets from a dotenv file; --storage-state loads cookies and local storage |
| Repeating a task | Saved as a flow that replays with zero model calls; schedules, export and import | --codegen emits Playwright code (TypeScript, Python, Java or C#) |
| CAPTCHAs | Handed to you; the run continues when you've solved it | Not documented |
| Install | Homebrew, install script, or npx -y druzhe | npx @playwright/mcp@latest (Node.js 20+) |
| Operating systems | macOS, Linux | Windows, macOS, Linux |
| License | Apache-2.0 | Apache-2.0 |
The short version
Playwright MCP brings Microsoft's Playwright to your agent: a browser it controls, any engine, headless when you want it. Its README says plainly that it is not a security boundary. Druzhe is built for the opposite job: acting in the browser where you are already logged in, where a wrong click can pay, post or delete. So it holds every request that would send data until you say yes, and keeps your personal details out of the model's view.
This page is written by the Druzhe project. We have not benchmarked Playwright MCP, so this page compares capabilities, not numbers. Facts about Playwright MCP come from its README, linked under Sources.
When to choose Playwright MCP instead
- Testing and QA. Clean or in-memory profiles, Firefox and WebKit, and generated Playwright code for your test suite.
- Headless, CI or Docker. Druzhe works in a visible Chrome; Playwright MCP runs headless and ships a Docker image.
- Windows. Druzhe runs on macOS and Linux only.
- Throwaway sessions on public sites, where nothing of yours is logged in and approvals would only slow you down.
How to switch
Both are MCP servers, so you can keep both. To move a task to Druzhe:
- Install Druzhe:
brew install turman17/tap/druzheon macOS, or the install script on Linux (see Install). - Run
druzhe. The dashboard connects Claude Code, Codex, Gemini CLI and Antigravity it finds, with the MCP server and the Druzhe skill. Headless:druzhe connect --yes. - Add the Druzhe extension to Chrome. Its setup page turns green once the program is linked.
- Restart your agent and ask for a small read-only task first, for example "what's the top story on news.ycombinator.com".
If you no longer want Playwright MCP, remove its entry from your client's MCP settings. Druzhe's skill tells the agent when to reach for Druzhe.
Questions
Can Playwright MCP use my logged-in Chrome?
Yes. By default it keeps a persistent profile of its own per workspace, and with --extension or --cdp-endpoint it connects to a browser that is already running. It does not add an approval step before actions that send data.
Is Playwright MCP a security boundary?
Its README says it is not, and that --allowed-origins and --blocked-origins do not serve as one. Druzhe enforces its allowlist and holds outgoing requests in its own guard.
Which one is cheaper?
Both are free and open source; the cost is the model your agent uses. We have not measured Playwright MCP. Druzhe flows replay with zero model calls, so a repeated task costs no tokens.
Can I use both?
Yes. They are separate MCP servers. A common split is Playwright MCP for testing your own app and Druzhe for tasks on your real accounts.