Playwright MCP
Microsoft's official MCP server that gives AI agents deterministic browser control via Playwright's accessibility tree.
Playwright MCP
Playwright MCP is Microsoft's official Model Context Protocol server that lets AI agents drive a real browser through Playwright. Instead of guessing from screenshots, it exposes the page's structured accessibility tree so agents act on semantic elements — making automation fast, deterministic, and reliable without a vision model in the loop.
It is one of the most widely adopted MCP servers, used to give assistants the ability to navigate the web, fill forms, extract content, and verify UI flows.
Key features
- MCP tools for navigation, clicking, typing, forms, tabs, file uploads, and screenshots
- Accessibility-tree snapshots for deterministic actions (no pixel guessing required)
- Works with Claude, VS Code, Cursor, Windsurf, and any MCP client
- Headless or headed Chromium / Firefox / WebKit with network and console capture
- Ships as an npx package (
npx @playwright/mcp@latest) for zero-install startup
Usage note: register it in your MCP client's server config pointing at @playwright/mcp and grant the origins/actions you want the agent to reach.
Curated mirror of the open-source Playwright MCP (Apache-2.0). Get it from the source.