Does Playwright have an MCP server?
Playwright maintains an official MCP server.
- Access
- Local server
- Repository
- microsoft/playwright-mcp
- Maintainer
- Microsoft
- License
- Apache-2.0
- Language
- TypeScript
- Stars
- 36k
- Last commit
- 2d ago
- Category
- Developer Tools
Playwright MCP server
Project site: www.npmjs.com
Playwright MCP server
Runs on your machine over stdio, launched by your MCP client.
Add it from the terminal, then restart your session:
claude mcp add playwright -- npx -y <package-from-readme>Swap in the exact package and flags from the repo README — most servers need an API key passed as an environment variable.
Add --scope user to make it available in every project.
Open Settings → Developer → Edit Config and add the server to claude_desktop_config.json:
{
"mcpServers": {
"playwright": {
"command": "npx",
"args": [
"-y",
"<package-from-readme>"
],
"env": {
"API_KEY": "…"
}
}
}
}Restart Claude Desktop after saving.
Add to .cursor/mcp.json in your project, or ~/.cursor/mcp.json for
every project:
{
"mcpServers": {
"playwright": {
"command": "npx",
"args": [
"-y",
"<package-from-readme>"
],
"env": {
"API_KEY": "…"
}
}
}
}A green dot in Settings → MCP means it connected.
Add to .vscode/mcp.json:
{
"servers": {
"playwright": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"<package-from-readme>"
]
}
}
}Then pick the server from the tools menu in Copilot's agent mode.
Does Playwright have an official MCP server?
Yes. Playwright maintains an official MCP server. The source lives at microsoft/playwright-mcp on GitHub.
How do I connect Playwright to Claude?
Run the server locally and register it in Claude's MCP config. In Claude Code that's a single "claude mcp add" command; in Claude Desktop you add it to claude_desktop_config.json.
How is this verdict verified?
microsoft/playwright-mcp (~36k stars) is the official Playwright MCP server (npm @playwright/mcp). Seed top_repo was a third-party service. GitHub metadata is refreshed every six hours.
microsoft/playwright-mcp (~36k stars) is the official Playwright MCP server (npm @playwright/mcp). Seed top_repo was a third-party service.
- github data refreshed 2026-08-11, then every 6 hours
- vendor docs verified on 2026-08-10
Spotted something out of date? Tell us — corrections ship same-day.