Playwright MCP

Official Microsoft Playwright for modern multi-browser automation and testing

By MicrosoftMIT
View Repositoryclaude mcp add playwright --scope user -- npx -y @playwright/mcp@latest

Features

Multi-browser support
Cross-platform testing
Headed and headless modes
Modern browser automation

Use Cases

E2E testingWeb application testingCross-browser compatibilityAutomated testing workflows

Installation

NPM Package
claude mcp add playwright --scope user -- npx -y @playwright/mcp@latest

Supported Models

Claude 3.5 SonnetClaude 3 HaikuGPT-4

Configuration Example

{
  "mcpServers": {
    "playwright": {
      "command": "add",
      "env": {
        // Add your environment variables here
      }
    }
  }
}