Home / Search & web / playwright-mcp

playwright-mcp

io.github.microsoft/playwright-mcp · v0.0.85 stdio

Score 90. Maintenance 40 of 40, security 35 of 35, adoption 15 of 25.

Playwright Tools for MCP

Description supplied by the publisher in the MCP Registry. We have not tested this server.

Use it for browser testing from an agent: it drives pages through Playwright's accessibility tree rather than screenshots. At our last check: 39,497 GitHub stars, TypeScript, Apache-2.0; connects over stdio; Socketlist score 90/100.

Ranks #23 of 817 Search & web servers on Socketlist by score, with 39,497 GitHub stars and a last code push 19d ago.

Install

npx -y @playwright/mcp

Assembled from the package metadata in the official MCP Registry (including any subcommand or flag the publisher lists). Some publishers do not list the subcommand that starts MCP mode, so confirm the command in the README, along with any required configuration and credentials, before connecting it to real data.

Connect playwright-mcp to Claude Code, Cursor or VS Code

Built from what the publisher declared in the official MCP Registry (the launch command above). We have not run this server. Replace anything in <angle brackets>, and keep keys and tokens in your environment, not in a shared file.

Claude Code

Run in a terminal. Adds the server at local scope; add --scope project or --scope user to share it. Claude Code setup guide.

claude mcp add --transport stdio playwright-mcp -- npx -y @playwright/mcp

.mcp.json (Claude Code project scope, VS Code with Copilot)

Put this in a .mcp.json file at the project root. VS Code and .mcp.json guide.

{
  "mcpServers": {
    "playwright-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@playwright/mcp"
      ]
    }
  }
}

Cursor

Put this in .cursor/mcp.json in the project, or ~/.cursor/mcp.json for every project. Cursor mcp.json guide.

{
  "mcpServers": {
    "playwright-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@playwright/mcp"
      ]
    }
  }
}

Allowlist entry

If your organisation restricts MCP servers, this is the entry an admin adds to allowedMcpServers in Claude Code managed settings or a GitHub Copilot enterprise managed-settings.json. A serverCommand entry must match the configured command and arguments exactly, so change both together.

{
  "allowedMcpServers": [
    {
      "serverCommand": [
        "npx",
        "-y",
        "@playwright/mcp"
      ]
    }
  ]
}

How allowlists work in each client: MCP server allowlists for Claude Code, GitHub Copilot and Cursor. Before you connect it to real data: 10 security checks for MCP servers.

Score breakdown

PartPointsWhat we observedResult
Maintenance40/40Last push 19d ago, 0 open issuesStrong
Security hygiene35/35Licence Apache-2.0, SECURITY.md present, published package or hosted endpointStrong
Adoption15/2539,497 GitHub stars, 0 npm downloads a weekFair

Result: Strong is 80% or more of the part's points, Fair 50% or more. Automated signals, not a security audit. How we score.

Maintain this server? Claim or correct this listing, or get featured in Search & web. Paid placements are labelled and never change the score.

Five scored MCP servers, every Monday

The Plug Weekly is a free email picked from these scores, with a short Best of MCP servers PDF when you join. About a 3-minute read. Unsubscribe any time.

Get The Plug Weekly
GitHub stars39,497
npm weekly downloads0
Last push19d ago
LicenceApache-2.0
Open issues0
SECURITY.mdYes
LanguageTypeScript
Latest version published2026-11-09

Signals captured from GitHub, npm and the official MCP Registry on November 11, 2026. See the scoring method.

Similar servers

Compare all alternatives

Vibe Test — Browser Testing Agent

Score 76. Maintenance 39 of 40, security 25 of 35, adoption 11 of 25.

io.github.AishwaryShrivastav/vibe-testing

Code-aware browser testing agent — 14 Playwright tools for AI code editors via MCP

★ 18↓ 107/wkMITpushed 23d ago Search & web

safari-mcp

Score 95. Maintenance 40 of 40, security 35 of 35, adoption 21 of 25.

io.github.achiya-automation/safari-mcp

Native Safari browser automation for AI agents — 98 tools, zero Chrome overhead.

★ 241↓ 2.7k/wkMITpushed 19d ago Search & web

pagespeed-insights-mcp

Score 92. Maintenance 40 of 40, security 35 of 35, adoption 17 of 25.

io.github.ruslanlap/pagespeed-insights-mcp

Google PageSpeed Insights and CrUX: six workflow tools for web performance.

★ 80↓ 1.1k/wkApache-2.0pushed 20d ago Search & web