# Playwright MCP

Microsoft’s MCP server for browser automation with Playwright.

Playwright MCP lets agents drive a real browser through Playwright using structured accessibility snapshots, published on npm as @playwright/mcp.

- Canonical URL: https://meetnewai.com/mcp/playwright-mcp
- Official URL: https://www.npmjs.com/package/@playwright/mcp
- Pricing: Open source
- Verified: Checked Oct 18, 2026
- Repository: https://github.com/microsoft/playwright-mcp
- License: Apache-2.0

## MCP Install Config

```json
{
  "name": "playwright",
  "remote": false,
  "launch": "npx @playwright/mcp@latest",
  "source": "https://github.com/microsoft/playwright-mcp",
  "checked": "2026-10-18",
  "snippets": [
    {
      "id": "json",
      "code": "{\n  \"mcpServers\": {\n    \"playwright\": {\n      \"command\": \"npx\",\n      \"args\": [\n        \"@playwright/mcp@latest\"\n      ]\n    }\n  }\n}"
    },
    {
      "id": "vscode",
      "code": "{\n  \"servers\": {\n    \"playwright\": {\n      \"type\": \"stdio\",\n      \"command\": \"npx\",\n      \"args\": [\n        \"@playwright/mcp@latest\"\n      ]\n    }\n  }\n}"
    },
    {
      "id": "claude",
      "code": "claude mcp add playwright -- npx @playwright/mcp@latest"
    }
  ]
}
```
