Playwright MCP
MCP server that lets agents drive a browser through Playwright.
Bookmark
Bookmarks are kept in your free account, so you can find this page again on any device.
Sign in to bookmarkWhat it is
Playwright MCP is Microsoft's MCP server for browser control. It gives agents tools to navigate, click, type and read pages using the accessibility tree rather than screenshots, which is faster and more reliable.
Best for
Letting a coding agent check a web app in a real browser session.
Skills it helps with
Learn Playwright MCP by doing
- Connect MCP servers to Claude Code, Codex and Cursor
Add local and remote MCP servers to Claude Code, Codex and Cursor, choose the right scope, sign in with OAuth and check which tools actually loaded.
- Exploratory testing with Playwright MCP
Give a coding agent a browser through Playwright MCP, run a time-boxed exploratory charter, record findings, and turn the confirmed ones into Playwright specs.
- Playwright test agents: planner, generator and healer
How Playwright's planner, generator and healer test agents work, how to set them up with Claude Code or VS Code, and how to review the tests they write for you.
- Generate Playwright tests with AI agents, then review them
Approve a test plan before any code exists, generate tests from it and review them like production code.
- Run an accessibility audit with an agent
Run an AI accessibility audit against WCAG 2.2 AA with Playwright, axe-core and an agent, add the manual checks scanners miss, and rank fixes by user impact.
- Fix flaky E2E tests with the Playwright healer, safely
Prove the flake, run Playwright's healer agent on a branch, check each change for red flags, keep a heal log and merge by hand.
Related tools
Chrome DevTools for agents
MCP server and CLI for agents to debug live Chrome.
Agent Plugins
Package format for shipping Agent Skills and MCP servers together.
Context7
Serves current, version-specific library documentation to coding agents over MCP.
FastMCP
Pythonic framework for building MCP servers and clients with decorators.
Figma MCP server
Figma's MCP server for giving coding agents design context.
GitHub MCP Server
GitHub's official MCP server for repositories, issues and pull requests.