P

Playwright

Official
Featured

Cross-browser automation — the same Playwright you write tests with.

by Microsoft· 6.2k·Development·Updated 2 days ago

Install

Add this command to your MCP client config to connect Playwright.

npx -y @playwright/mcp

About Playwright

The Playwright MCP server is similar in spirit to Puppeteer but uses Microsoft's Playwright under the hood. That means real cross-browser support (Chromium, Firefox, WebKit) and better handling of modern web apps.

In practice, prefer Playwright when you need WebKit (i.e., Safari-like behavior) or your target site has aggressive bot detection that the Playwright stealth ecosystem handles better. For pure Chromium tasks, Puppeteer is leaner.

Strong fit for "have the assistant write end-to-end tests for this app" or "automate this multi-step SaaS form."

Tags

Other MCP servers in Development and beyond.