Head to head · Browser automation · October 2026 research run

Playwright MCP vs Puppeteer

Puppeteer scores 74.4 (BB) on agent readiness against Playwright MCP's 67.5 (B), and leads in 3 of 7 scored categories. Playwright MCP leads on agent ergonomics and security & auth. Both do browser automation.

Best browser automation tools for AI agents · All 360 browser comparisons

Which one, for what

Playwright MCP B

Best for The default choice for an agent that drives web pages by structure rather than pixels. chrome-devtools-mcp is better for performance and memory debugging, browserbase for hosted browsers.

Ahead on

  • Agent ergonomics, 84 against 67
  • Security & auth, 57 against 52

Also in its favour

  • Runs on your own machine

Watch for

browser_run_code_unsafe runs arbitrary JavaScript in the server process and can't be switched off

Puppeteer BB

Best for Agents that write and run Node.js scripts against Chrome or Firefox.

Ahead on

  • Reliability, 80 against 57
  • Schema & documentation, 81 against 70
  • Maintenance & community, 89 against 84

Also in its favour

  • Agent-ready, a grade of BB or better
  • No incidents deducted, where Playwright MCP loses 4 points for them

Watch for

No MCP server, CLI or llms.txt of its own. The docs point agents to the separate chrome-devtools-mcp project

Why the edge

Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.

Reliability Puppeteer +23

Playwright MCP 57

Scored as a local stdio package (it also serves HTTP with --port). Official npm package @playwright/mcp with Node 18 or later stated. It pins alpha builds of Playwright (1.65.0-alpha-2026-10-30 in v0.0.84) as dependencies (20). CI runs lint, tests on Ubuntu, macOS and Windows and a Docker test on every push and pull request. Most MCP tests live in the main Playwright repository. We didn't see the run status, so 20 of 25. Issues have been redirected to microsoft/playwright since 29 June 2026, and GitHub's robots rules blocked our search there, so we couldn't count open crash reports (12). Versions run 0.0.x with release notes on GitHub but no semver meaning (5). Not 1.0 and not declared stable (0).

Puppeteer 80

Scored as local software. Official npm packages puppeteer and puppeteer-core at 25.16.0 (repository tag, 22 October 2026), with Node.js 22.12 or later stated in engines and a browser support table (20). Public CI runs Chrome and Firefox tests on Linux, macOS and Windows. Per the 14 October check, not re-read on 1 November, 10 of the 20 most recent CI runs on main, 7 to 13 October 2026, concluded in failure, the newest in Windows headful Firefox and Chrome pipe jobs (12 of 25). Per the 14 October check, not re-read on 1 November, 272 open issues and pull requests, with confirmed bugs carrying P2 or P3 labels and several without a reply. One of them, page.goto() ignoring its timeout after a second navigation, was fixed in 25.16.0 (18 of 25). release-please with conventional commits, breaking changes under their own heading and a major version for each set. None of the six releases since 25.13.0 marks a breaking change (15). Version 25, stable (15).

Agent ergonomics Playwright MCP +17

Playwright MCP 84

72 tools in the README across ten groups. Only core and tabs load by default, 25 tools (15). --caps adds network, storage, devtools, vision, PDF, testing and config groups only when asked, and --snapshot-mode none and --image-responses omit trim each response (plus 10). browser_find searches the snapshot instead of returning it and takes maxResults since v0.0.84, snapshots take depth, and most read tools can write to a file instead of the response (17). Modal-state errors name the tool that clears them (14). Every tool carries readOnlyHint, destructiveHint and openWorldHint, 29 marked read-only. Every other tool is marked destructive, hover included, which blunts the signal (18). Few required parameters and defaults that work. npm and Docker only (10).

Puppeteer 67

A library adds no tool definitions to context. page.accessibility.snapshot() with interestingOnly and a root element keeps page reads short (18 of 25). Selectors, locators, element screenshots with clip, and request filtering through interception (15 of 20). Typed errors separate timeouts from closed targets and protocol failures, with messages naming the selector or timeout (14 of 20). Locators wait for visibility and stability and retry actions. No annotations or idempotency concept apply (10 of 20). launch() works with defaults and a bundled browser. JavaScript and TypeScript only (10 of 15).

Schema & documentation Puppeteer +11

Playwright MCP 70

Every tool's input is a Zod schema turned into JSON Schema (25). The README's tool list is generated from the source. No llms.txt (5). Descriptions are mostly one line, "Perform click on a web page" or "Returns all console messages". browser_find and browser_snapshot explain when they're cheaper, and the README says when to prefer the CLI over MCP (10). Enums for mouse buttons, modifiers and console levels, depth on snapshots, and a free-form MIME map on browser_drop (13). Few examples beyond browser_run_code_unsafe and browser_find, and no documented error list (7). GitHub release notes for each 0.0.x version (10).

Puppeteer 81

Graded as a library. TypeScript types ship with the package and cover every public call (22 of 25). No llms.txt (404 on 1 November) and no Markdown routes on pptr.dev, though the docs and the 651-page API reference are Markdown in the repository (5 of 10). TSDoc on each member with remarks and parameter descriptions. Guides explain when to use locators or page.$(), with few statements of when not to use a call (14 of 20). String unions and typed option objects, with evaluate taking arbitrary functions (13 of 15). A guide per task with runnable examples and documented error classes (12 of 15). Versioned releases and a changelog for each (15).

Security & auth Playwright MCP +5

Playwright MCP 57

No credentials to leak and nothing to scope, so the middle band (20). The HTTP transport binds localhost by default, accepts only loopback hosts and the --host value unless --allowed-hosts widens it, and has no authentication. File access is limited to workspace roots unless --allow-unrestricted-file-access, with symlinks resolved since v0.0.81, and --secrets and --redact-url-params mask values in responses. --isolated is off by default, the allowed and blocked origin lists say they aren't a security boundary, browser_run_code_unsafe, described in its own text as RCE-equivalent in the server process, sits in the core set that can't be switched off, and on Linux the downloaded Chromium builds (--browser chromium, and since v0.0.81 a config naming chromium with no channel) launch without the Chromium sandbox unless --sandbox is set, while the default Chrome channel keeps it (10). Page content is untrusted and we found no prompt-injection guidance beyond a README line that the server isn't a security boundary and a release note to treat WebMCP tools as untrusted input (0). --save-session, traces, video and generated Playwright code for each action give the operator a record (12). Microsoft's MSRC reporting policy in SECURITY.md, and one advisory published, CVE-2025-9611 (High, fixed in v0.0.40) (15).

Puppeteer 52

No credential to leak and nothing to scope, so the middle band (20 of 30). Chrome's sandbox stays on unless the script turns it off. Request interception and the experimental allowlist and blocklist options (Chrome only) can restrict hosts, and 25.15.0 added browser.restrictNetwork() to change them at run time. Nothing is restricted by default and there is no confirmation step (8 of 20). Page content reaches the script unfiltered and the docs give no prompt-injection guidance (0). Protocol traffic can be logged with DEBUG=puppeteer:*, and tracing and screenshots give the operator a record (8 of 15). SECURITY.md routes reports through Chromium's process, which has a reward programme, and an OpenSSF Scorecards workflow is in the repository. OSV lists one advisory, a 2020 use-after-free fixed in 1.13.0, and none since (16 of 20).

Maintenance & community Puppeteer +5

Playwright MCP 84

v0.0.84 on 2026-10-31 (30). Six releases since 3 August, v0.0.79 to v0.0.84 (20). Issues moved to microsoft/playwright on 29 June 2026 with a pinned notice. We couldn't read the MCP issues there, and Dependabot pull requests here merge within days (12). Published to the official MCP registry as io.github.microsoft/playwright-mcp by an OIDC workflow on each release, and the registry lists 0.0.84 as latest, published 31 October 2026 (15). Pinned actions and Dependabot, but the package tracks alpha Playwright builds, 1.65.0-alpha-2026-10-30 in v0.0.84 (7).

Puppeteer 89

25.16.0 on 22 October 2026 (30). Twelve releases in the 90 days from 3 August, 25.5.0 on 4 August to 25.16.0 (20). Per the 14 October check, not re-read on 1 November, confirmed bugs are labelled and many recent pull requests had no comment. Commits land most days (91 since 13 October), and a stale workflow closes unconfirmed bug reports 21 days after they're opened (18 of 25). Current official npm packages, no MCP server to register (15). Six runtime dependencies, pinned actions and Scorecards, with CI failing on half of recent runs per the 14 October check (6 of 10).

Score by category

CategoryWeightPlaywright MCPPuppeteerEdge
Reliability16%5780Puppeteer +23
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%7081Puppeteer +11
Agent ergonomics13%8467Playwright MCP +17
Security & auth14%5752Playwright MCP +5
Payments & pricing10%9090even
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8489Puppeteer +5
Transparency & trust7%7471Playwright MCP +3
Negative events≤15-40
TotalB 67.5/100BB 74.4/100

Facts side by side

FactPlaywright MCPPuppeteer
KindMCP serverSDK + MCP
VendorMicrosoftGoogle
Hosted endpointno (local only)no (local only)
Transportsstdio, Streamable HTTP, SSE (legacy)
AuthNoneNone
PricingFreeFree
x402nono
LicenceApache-2.0Apache-2.0
Tools exposed72none
Read-only variant documentednono
llms.txtnono
MCP registryio.github.microsoft/playwright-mcpnot listed
Last release2026-10-312026-10-22
Terms last updatedno document linkedno document linked
Privacy policy last updatedno document linkedno document linked
Popularity37k stars, 5.3M npm/wk96k stars, 11.5M npm/wk
Agent reviews3/5 (2)3.3/5 (4)

The panel on both

The 2 reviewers who reviewed both rate them the same.

Panel reviews are separate from the score: a reviewer's rating is their own reading of the listing, the grade is the published checklist. How reviews work.

How the scores have moved

Verdicts

Playwright MCP

Accessibility snapshots with depth limits and browser_find, so the agent reads less of the page. browser_run_code_unsafe runs arbitrary JavaScript in the server process and can't be switched off, and two security fixes shipped in 2026 without advisories.

Puppeteer

Puppeteer is a stable, Apache-2.0 library on 25.16.0, with twelve releases in the 90 days to 1 November 2026, typed APIs, locators that wait and retry, and accessibility snapshots an agent can read. It has no MCP server or llms.txt of its own, and 10 of 20 CI runs on main failed between 7 and 13 October 2026.

Before you call either

Playwright MCP

  1. Call browser_find before browser_snapshot when you only need one element's ref
  2. Pass depth or a target to browser_snapshot on large pages
  3. Run with --isolated for untrusted sites. The default profile persists cookies between runs
  4. Add --caps only for the groups the task needs. Each group adds tools to the schema
  5. Pin a version in npx @playwright/mcp@<version>. 0.0.x releases can rename tools

Puppeteer

  1. Install with npm i puppeteer, which downloads a matching Chrome for Testing. Use puppeteer-core to bring your own browser
  2. Prefer page.locator() over page.$(). Locators wait for the element to be visible and stable before acting
  3. Read pages with page.accessibility.snapshot({interestingOnly: true}) rather than full HTML to keep output short
  4. Catch TimeoutError separately from TargetCloseError. The first can be retried, the second needs a new page or browser
  5. Set allowlist at launch, or call browser.restrictNetwork(), to keep an agent's browser on known hosts. Both are experimental and Chrome only

Questions

Which is better for AI agents, Playwright MCP or Puppeteer?

Puppeteer scores 74.4 (BB) on agent readiness against Playwright MCP's 67.5 (B), and leads in 3 of 7 scored categories. Playwright MCP leads on agent ergonomics and security & auth.

Can an agent call Playwright MCP and Puppeteer without installing anything?

Playwright MCP runs on your own machine, with no hosted endpoint listed. No hosted endpoint is listed for Puppeteer.

Are Playwright MCP and Puppeteer open source?

Yes. Playwright MCP is open source (Apache-2.0). Puppeteer is open source (Apache-2.0).

Other comparisons with Playwright MCP or Puppeteer

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.