Back to directory
PM

Playwright MCP

Browser automation for agents via Playwright's accessibility tree.
Last updated July 18, 2026
DevOpsLocal · stdioTypeScript35.2k

Overview

Microsoft's official Playwright MCP server lets an agent interact with real web pages through structured accessibility snapshots rather than screenshots — no vision model needed.

Use cases

Fill out and submit a web form end-to-end.
Navigate and extract structured content from a page that requires JS rendering.
Drive exploratory automation or self-healing tests.

Install

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

FAQ

No — it operates on Playwright's accessibility tree (structured data), which is faster and more deterministic than pixel-based approaches.