Compare approaches

Oya vs Playwright MCP: choose the browser behind your coding agent.

When Claude Code, Codex, Cursor or VS Code needs to work in a real browser, decide whether you want a stateless local MCP wrapper or a browser built for signed-in sessions, live takeover and repeatable playbooks.

Download Oya Browser
Compare approaches
Oya
Playwright MCP
How coding agents connect
Browser and runtime model
Separate agent tab and live takeover

Criteria from the comparison below.

Conceptual illustration

Start with how your coding agent uses the browser.

List whether the agent only tests local pages during development, or signs in to real web apps where you need to watch, step in and rerun the finished task later.

Check session isolation, secrets and replay.

Compare how credentials stay away from the model, what happens when a site requires a person to step in, and whether a completed run becomes reusable code without paying for a model every time.

Check the published differences.

The table below uses the linked vendor pages and their stated review date. “Not stated” means the pages reviewed did not say; it does not establish that a capability is absent.

Sources checked 2026-11-20View primary sources (1)
Oya and Playwright MCP, from each project’s own pages
OyaPlaywright MCP
How coding agents connectOne-click Connect adds oya-browser to Claude Code, Codex, Cursor or VS Code over MCP; cloud MCP also availablenpx @playwright/mcp@latest over MCP (Node 20+); README notes modern coding agents often favor playwright-cli and skills
Browser and runtime modelDesktop app (macOS, Windows), Oya Cloud, or self-hosted; agents drive real Chromium tabsPlaywright driving Chromium, Firefox or WebKit via accessibility snapshots; persistent profile, --storage-state or Chrome/Edge extension
Separate agent tab and live takeoverEach agent session gets its own tab while you keep yours; watch live, take over and hand backNot stated
Replays a finished task with no modelYes: playbooks, and the agent repairs only a step that movedNot stated
Reusable Playwright code you ownYes: every playbook is a readable Playwright module that runs on any Chromium browser over CDPOptional --codegen flag generates Playwright test code in TypeScript, Python, Java or C#
Passwords and TOTP hidden from the modelPasswords and TOTP seeds are sealed and never shown to the model--secrets loads dotenv values and --redact-url-params masks URL parameters
Published security and telemetry notesProject host allowlists refuse off-list hosts; desktop app runs locally with optional cloud syncREADME states Playwright MCP is not a security boundary and --allowed-origins/--blocked-origins do not govern redirects
Cloud fleet and self-hosted editionOya Cloud and self-hosted community (free up to 5 browsers) or enterprise edition (Docker, ECS, GCP, Kubernetes)Not stated
Audit trail of agent and person actionsAppend-only and hash-chained; every read of ePHI audited; kept six years in HIPAA modeNot stated
HIPAA compliance and signed BAAYes: HIPAA mode on Oya Cloud (BAA on request) or self-hosted in your own cloudNot stated
Price and licenceFree desktop app (500 agent steps/mo); Oya Cloud 1 free browser hour, then $500/mo for 100 hours; source-available community editionFree, open source (Apache-2.0)

Choose Oya when

  • You want one-click MCP setup with a separate agent tab you can watch, take over and hand back.
  • You need sealed passwords and TOTP seeds hidden from the model, plus saved Playwright playbooks that replay with no model.
  • Your workflow may move from desktop to Oya Cloud or self-hosted enterprise infrastructure with an audit trail or a HIPAA BAA.

Choose Playwright MCP when

  • You want a lightweight, Apache-2.0 npm package (npx @playwright/mcp@latest) with no desktop app to install.
  • You need cross-browser testing across Chromium, Firefox and WebKit or --codegen test snippets in TypeScript, Python, Java or C#.
  • You only automate local dev or non-sensitive sites where a security boundary, audit trail and BAA are not required.

Playwright code stays portable either way.

Oya does not route browsers through Playwright MCP, yet both speak standard Playwright. Every Oya playbook exports as a readable Playwright module, and any Playwright script can connect directly to an Oya browser over its CDP URL.

Test the fit with your own work.

Use the comparison to shortlist an approach, then evaluate it against a representative workflow.

Sources

What this page says about other companies comes from their own public pages, read on 2026-11-20. Vendors change their pages; check the source before you rely on a cell.

Start with the browser task you were about to do yourself.

Download Oya Browser

Questions

What is the difference between Oya Browser and Playwright MCP?

Playwright MCP is an open-source MCP server from Microsoft that lets agents drive Playwright browsers via accessibility snapshots and explicitly notes it is not a security boundary. Oya Browser is a desktop, cloud and self-hosted browser for AI agents that adds a separate agent tab with live takeover, sealed passwords and TOTP seeds, saved Playwright playbooks that replay with no model, and an audit trail with a Business Associate Agreement (BAA) on Oya Cloud and the enterprise edition.

Can I use Oya with Claude Code, Codex, Cursor or VS Code?

Yes. Open the Oya desktop app and click Connect next to Claude Code, Codex, Cursor or VS Code to register the local oya-browser MCP server with no Oya account required. Any MCP client can also connect to Oya Cloud.

Can I keep using my existing Playwright tests with Oya?

Yes. Every Oya browser exposes a CDP URL that Playwright connects to directly, and every Oya playbook exports as standard Playwright code you own.

Does Playwright MCP or Oya hide passwords from the AI model?

Playwright MCP documents --secrets for dotenv values and --redact-url-params for URL parameters. Oya seals stored passwords and TOTP seeds so they are never shown to the model.

Is Oya Browser free like Playwright MCP?

Playwright MCP is free under Apache-2.0. The Oya desktop app for macOS and Windows is free with 500 agent steps a month, and the source-available community edition self-hosts free up to 5 cloud browsers at once. Paid plans cover Oya Cloud and the enterprise edition.