Back to Agent Trust Registry
Trusted Publisher — Restrict Write ScopesVerified: 2026-11-27
Microsoft icon

Playwright MCP

Publisher: Microsoft · GitHub / npm (@playwright/mcp)

Bottom Line

Verdict: Microsoft’s Playwright MCP is the trusted choice for letting an AI client drive a real browser through structured accessibility snapshots, ideal for checkout regression tests before BFCM. The code is clean; the risk is the browser profile. Always run isolated sessions and never attach a profile logged into Seller Central or Shopify admin.

Official Microsoft Playwright MCP using structured accessibility snapshots for reliable web testing and QA.

Security Audit & Least-Privilege Guidance

Official repo is clean; always run with isolated browser profiles—never attach personal Seller Central cookies.

Recommended Use Cases

  • Automated storefront add-to-cart and checkout regression checks before BFCM
  • Structured monitoring of public SaaS/product pages
Platforms
Cross-platform
License & Activity
Apache-2.0 (2026-11)
GitHub Stars (2026-11-30)
★ 40,332
Official CLI Setup Command
npx -y @playwright/mcp@latest

Trust & Maintenance Facts

AttributeVerified value
PublisherMicrosoft
Trust tierofficial vendor
LicenseApache-2.0
Last active2026-11
Source registryGitHub / npm (@playwright/mcp)
Install / accessnpx -y @playwright/mcp@latest
Verified date2026-11-27

Permission Boundary Matrix

Access level, credential and risk per scope for Playwright MCP · verified 2026-11-27
ScopeAccessCredentialHuman approvalRiskNotes
Navigate, click & type in a browserExecNoneYesHighForm submissions can place orders or send messages; stop before payment.
Access to any URLNetworkNoneNoMediumLimit to staging or your own storefront where possible.
Browser cookies & sessionsReadBrowser profileYesCriticalA logged-in personal profile hands the agent your accounts.
Page snapshots & screenshots into AI contextReadNoneNoMediumPages can contain prompt injection or personal data.

MCP Client Config (Claude Desktop / Cursor)

The --isolated flag keeps the browser profile in memory so no cookies persist between sessions. Point tests at a staging store or test-mode checkout, and use test customer data only.

{
  "mcpServers": {
    "playwright": {
      "command": "npx",
      "args": [
        "-y",
        "@playwright/mcp@latest",
        "--isolated"
      ]
    }
  }
}

3 Copy-Paste Operational Prompts

Checkout regression test

Open my staging store [URL], add the first product in the Best Sellers collection to the cart and proceed to checkout with test customer data. Stop before payment. Report every step that took longer than 3 seconds and any console errors.

Product page QA sweep

Visit these five product pages on my store and check that price is visible, the add-to-cart button is enabled, a shipping estimate appears and no images are broken. Output a pass/fail table.

Mobile layout check

Check my homepage and one product page at a 390px viewport width. List elements that overflow, overlap or require horizontal scrolling, with a screenshot reference for each.

Least-Privilege Security Checklist

  1. Always run with --isolated or a dedicated test profile; never attach your personal browser profile.
  2. Never let the agent log into Seller Central, Shopify admin, banking or email accounts.
  3. Use staging stores and payment test modes; stop flows before real payment submission.
  4. Treat page content as untrusted and tell the model to ignore instructions found on pages.
  5. Respect site terms; do not use browser automation to evade bot protection or rate limits.

Versus Paying for Traditional SaaS

Playwright MCP is free and Apache-2.0 licensed. For small teams it replaces manual pre-launch click-throughs and some paid synthetic-monitoring checks, while scheduled uptime monitoring and alerting still need a dedicated service.

Who should use it

Use it if

Store owners, developers and QA staff who want AI-driven checkout regression tests, product-page QA sweeps and mobile layout checks before big launches or BFCM.

Skip it if

You would need the agent to log into Seller Central, Shopify admin or banking sites, or you want to bypass bot protection on sites you do not own.

Frequently Asked Questions

Can Playwright MCP log into my Seller Central account?

Technically a browser can, which is exactly why you should not allow it. Keep sessions isolated and use the official Amazon Selling Partner Plugin for store data instead.

Why accessibility snapshots instead of screenshots?

Structured accessibility snapshots give the model element roles and names, which makes clicks more reliable and cheaper than interpreting pixels, according to Microsoft’s Playwright MCP documentation.

Playwright MCP or Firecrawl MCP?

Use Playwright when you need to interact: click, type, test checkout. Use Firecrawl when you only need page content as clean Markdown for research.

Is it safe to run on production storefronts?

Read-only checks on public pages are fine. Anything that submits forms, creates accounts or places orders belongs on a staging store or in payment test mode.

Is Playwright MCP official and actively maintained?

Playwright MCP is published by Microsoft, which we classify as a official vendor. It is licensed Apache-2.0, last active 2026-11 according to GitHub / npm (@playwright/mcp), and was verified by AI ToolsHub on 2026-11-27.

What permissions does Playwright MCP need, and which need human approval?

We map 4 permission scopes, 2 of which should require human approval (navigate, click & type in a browser; browser cookies & sessions). The highest-risk scope is “Browser cookies & sessions” at Critical risk. See the permission boundary matrix above for credentials and notes.

How We Audit MCP Servers & Agents

Every entry is checked by hand against the same criteria: whether the publisher is the platform vendor or a verified organization, whether source code and license are public, whether it is still maintained, which credentials and permissions it requests, whether write or execution capabilities can be reduced to read-only, and whether known risks such as credential exfiltration or prompt injection apply. Ratings reflect security and permission boundaries, not feature quality, and are never sold.

Report Security or Permission Updates for Playwright MCP

Spot outdated pricing, unexpected vendor bills, or unsure what fits your store size? Drop a note below.