Playwright MCP

Test your app in a real browser: click through flows, take screenshots and catch console errors

Playwright MCP is Microsoft's official MCP server for browser automation. It gives the agent a real browser: it opens pages, clicks, fills forms, takes screenshots and reads the console. It's the most used MCP server there is.
It reads pages through Playwright's accessibility tree, not pixels, so it works with any model. It's the fastest way to make an agent check its own work, and it's just as useful for design QA at every screen size. For performance traces and network debugging, pair it with Chrome DevTools MCP.
Real browser
Opens pages, clicks, types and fills forms like a user
Screenshots
Captures the page or one element at any viewport size
Console and network
Reads console messages and the requests the page made
Any screen size
Resizes the window to check phone, tablet and desktop layouts

A real run

We asked it to check paralect.com the way a new visitor would. It couldn't find the Skills page from the homepage, so it went through About and found the link in the footer. Then it reported four real problems, including a view counter that has been failing silently.
0:00 / 0:00
We also asked for a design QA pass on our Skills page at phone, tablet and desktop widths. It found 12 issues. The worst two only show at tablet width: there is no menu at all, and the footer pushes the page sideways.
Prompts to try
When to use
  • You want the agent to test its own changes in a real browser
  • You need end-to-end checks of sign-up, checkout or onboarding flows
  • You want a design QA pass at phone, tablet and desktop widths
When not to use
  • You need performance traces, Lighthouse or deep network debugging: use Chrome DevTools MCP
  • You run long sessions where context is tight: Microsoft's playwright-cli with skills uses fewer tokens
  • You need to scrape many sites at scale: use Firecrawl or Apify

Watch out

  • It loads about 40 tools into context. For long sessions, Microsoft now recommends its playwright-cli with skills, which uses fewer tokens.
  • Full-page screenshots can miss lazy-loaded content and sticky headers. Ask for viewport screenshots while scrolling when the page has either.

Install

Terminal

Loading editor...

claude mcp add playwright npx @playwright/mcp@latest
Cursor, VS Code, Codex and Claude Desktop take the same npx @playwright/mcp@latest command in their MCP settings. No account or key is needed.
© 2026 Paralect, Inc 651 N Broad St, Suite 206, Middletown, 19709, Delaware, United States