playwright-mcp
CommunityMCP server by microsoft · updated · ★ 38k
Playwright Tools for MCP playwright-mcp is a community project by microsoft, not verified by a company domain.
Last commit in the past day
Apache-2.0: permissive, fine for commercial use
Published package or server URL, 38,377 stars, original repository
Not checked yet. What we check
Install playwright-mcp
Built from the published package, never by AIclaude mcp add playwright-mcp -- npx -y @playwright/mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"playwright-mcp": {
"command": "npx",
"args": [
"-y",
"@playwright/mcp"
]
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"playwright-mcp": {
"command": "npx",
"args": [
"-y",
"@playwright/mcp"
]
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"playwright-mcp": {
"command": "npx",
"args": [
"-y",
"@playwright/mcp"
]
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add playwright-mcp -- npx -y @playwright/mcp{
"mcpServers": {
"playwright-mcp": {
"command": "npx",
"args": [
"-y",
"@playwright/mcp"
]
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add playwright-mcp npx -y @playwright/mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the playwright-mcp block.
Alternatives to playwright-mcp
All alternatives →Control a real Chrome browser to complete any task: fill forms, extract data, book flights.
Let your AI agent operate any website through a real, logged-in browser session.
Autonomous coding agent CLI - capable of creating/editing files, running commands, using the browser, and more
Stealthy browser automation, testing, and web-scraping via CDP Mode.
Web scraping with stealth HTTP, real browsers, and Cloudflare bypass. CSS selectors supported.
Dark web OSINT over Tor: search onion engines, scrape pages, report with your own model.
playwright-mcp: common questions
How do I install playwright-mcp?
In Claude Code run claude mcp add playwright-mcp -- npx -y @playwright/mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is playwright-mcp the official server?
playwright-mcp is a community project by microsoft, not verified by a company domain.
Is playwright-mcp free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is playwright-mcp safe to use?
It scores 91 of 100. Grades: maintenance A, licence A, quality B. The security check has not run for it yet. Review the code before you install. How grades work.
What are alternatives to playwright-mcp?
Similar MCP servers: browser-use, Actionbook, Cline, SeleniumBase MCP.
Does playwright-mcp work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
