Back to MCPs
Official

Playwright

Browser automation and testing using Playwright. More powerful than Puppeteer with cross-browser support and better reliability for web interactions.

browsertestingplaywright+1 more
1,234 upvotes 45,600 views by Anthropic
Installation
npx -y @anthropic/mcp-server-playwright

How to add to Claude Code

  1. Open Claude Code settings

    Run claude config or edit ~/.claude/config.json

  2. Add the MCP server configuration
    {
      "mcpServers": {
        "playwright": {
          "command": "npx",
          "args": [
                  "-y",
                  "@anthropic/mcp-server-playwright"
          ]
        }
      }
    }
  3. Restart Claude Code

    The MCP server will now be available in your sessions