Playwright MCP server
io.github.microsoft/playwright-mcp·v0.0.84·38k starsPlaywright Tools for MCP
not scanned yet
38k stars8.5M downloads/wk
Reviews
Write oneNobody has reviewed Playwright yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Playwright tools
No tool declarations could be read from the package source. They show once the server is installed.
How Playwright compares
Against every graded Scraping and browsing MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 94/100
- higher than 92% of 866 Scraping and browsing servers
- GitHub stars
- 37,766
- more than 97% of 583 Scraping and browsing servers
- Downloads a week
- 8,541,359
- more than 100% of 309 Scraping and browsing servers with a package
Release history: 3 versions in the registry since 2026-09-14, latest 2026-10-31, typically one every 43 days.
Install Playwright in Claude Code, Cursor or VS Code
Runs npx -y @playwright/mcp on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add playwright-mcp -- npx -y @playwright/mcp
What the publisher says
From the Playwright repository's README, as published. We do not edit it. Read it on GitHub
Playwright MCP
A Model Context Protocol (MCP) server that provides browser automation capabilities using Playwright. This server enables LLMs to interact with web pages through structured accessibility snapshots, bypassing the need for screenshots or visually-tuned models.
Playwright MCP vs Playwright CLI
This package provides MCP interface into Playwright. If you are using a coding agent, you might benefit from using the CLI+SKILLS instead.
- CLI: Modern coding agents increasingly favor CLI–based workflows exposed as SKILLs over MCP because CLI invocations are more token-efficient: they avoid loading large tool schemas and verbose accessibility trees into the model context, allowing agents to act through concise, purpose-built commands. This makes CLI + SKILLs better suited for high-throughput coding agents that must balance browser automation with large codebases, tests, and reasoning within limited context windows.Learn more about Playwright CLI with SKILLS.
- MCP: MCP remains relevant for specialized agentic loops that benefit from persistent state, rich introspection, and iterative reasoning over page structure, such as exploratory automation, self-healing tests, or long-running autonomous workflows where maintaining continuous browser context outweighs token cost concerns.
Key Features
- Fast and lightweight. Uses Playwright's accessibility tree, not pixel-based input.
- LLM-friendly. No vision models needed, operates purely on structured data.
- Deterministic tool application. Avoids ambiguity common with screenshot-based approaches.
Requirements
- Node.js 18 or newer
- VS Code, Cursor, Windsurf, Claude Desktop, Goose, Grok, Junie or any other MCP client
<!-- // Generate using: node utils/generate-links.js -->
Getting started
First, install the Playwright MCP server with your client.
Standard config works in most of the tools:
{
"mcpServers": {
"playwright": {
"command": "npx",
"args": [
"@playwright/mcp@latest"
]
}
}
}Amp
Add via the Amp VS Code extension settings screen or by updating your settings.json file:
"amp.mcpServers": {
"playwright": {
"command": "npx",
"args": [
"@playwright/mcp@latest"
]
}
}Amp CLI Setup:
Add via the amp mcp add command below
amp mcp add playwright -- npx @playwright/mcp@latestAntigravity
Add via the Antigravity settings or by updating your configuration file:
{
"mcpServers": {
"playwright": {
"command": "npx",
"args": [
"@playwright/mcp@latest"
]
}
}
}Claude Code
Use the Claude Code CLI to add the Playwright MCP server:
claude mcp add playwright npx @playwright/mcp@latestClaude Desktop
Follow the MCP install guide, use the standard config above.
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Playwright: common questions
- Is Playwright MCP server safe?
- Yes, by our scan: it is graded A (94/100). Read the Playwright safety report
- How do I install Playwright?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Playwright need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Playwright maintained?
- The last commit was 36 days ago (2026-09-28). The latest release is v0.0.84.
- What can I use instead of Playwright?
- Servers from other publishers that do the same job: invisible_playwright_mcp MCP server, CloakBrowser MCP server and Endform MCP server.
- How does Playwright compare with other Scraping and browsing MCP servers?
- safety score 94/100 (higher than 92% of 866 Scraping and browsing servers); github stars 37,766 (more than 97% of 583 Scraping and browsing servers); downloads a week 8,541,359 (more than 100% of 309 Scraping and browsing servers with a package). Full comparison.
Alternatives to Playwright
Same job from other publishers: the closest match first, then the best rated.
- invisible_playwright_mcpAI browser agent: browses, clicks, types, and reads real web pages from plain-English instructions.not reviewedEstablishedA
- CloakBrowser MCPPlaywright MCP-compatible browser automation bridge for CloakBrowser Chromium.not reviewedEstablishedB
EndformFind failing, flaky, and slow Playwright tests on Endform and keep your suite healthy as it grows.not reviewedGrowingA- Good EggsMCP server for Good Eggs grocery shopping automation using Playwright.not reviewedGrowingA
- CdpilotZero-dependency browser automation over raw CDP — no Puppeteer, Playwright, or Selenium.not reviewedGrowingB