Playwright MCP Server
Full browser automation: navigate, click, type, screenshot, extract.
Playwright is a Developer Tools MCP (Model Context Protocol) server: Full browser automation: navigate, click, type, screenshot, extract. It is Apache-2.0-licensed and self-hosted from its source repository. Listed on MCP Collection since July 2026.
About Playwright
Microsoft's official Playwright MCP server. Gives agents a real browser via accessibility-tree snapshots rather than pixels — fast and reliable for web tasks and testing.
How to connect Playwright to Claude, Cursor or VS Code
Playwright is self-hosted. Install it from the source repository, then register its start command in your MCP client's config (Claude Code, Cursor, Windsurf or VS Code).
{
"mcpServers": {
"playwright": {
"command": "<start command from the README>",
"args": []
}
}
}
The exact command (often npx, uvx or docker) is in the project README at github.com/microsoft/playwright-mcp.
Playwright FAQ
What is Playwright?
Playwright is a Model Context Protocol (MCP) server in the Developer Tools category. Full browser automation: navigate, click, type, screenshot, extract. MCP servers expose tools that AI assistants like Claude can call during a conversation.
How do I use Playwright with Claude or Cursor?
Playwright is self-hosted. Install it from the source repository, then register its start command in your MCP client's config (Claude Code, Cursor, Windsurf or VS Code).
Is Playwright free to use?
Playwright is published under the Apache-2.0 license, so the software itself is free to run. Hosted or API-backed servers may have their own usage tiers; check the project homepage.
Where is the source code for Playwright?
The source is at github.com/microsoft/playwright-mcp.