← Claude MCP Servers Directory

🎪

Playwright MCP Server

Community

About

Browser automation using Playwright from Microsoft. Interact with web pages through structured accessibility snapshots without needing screenshots or vision models.

Features

  • Uses accessibility tree (not pixels)
  • No vision models needed
  • Screenshot capture
  • Form interaction and automation
  • JavaScript execution
  • Multi-browser support

Installation

Using Claude Desktop

Add this configuration to your Claude Desktop config file:

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

Using Cursor

Configure in your Cursor settings (Settings > MCP):

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

How to Use

Once installed, you can ask your AI assistant to:

  • "Automate browser testing"
  • "Scrape dynamic web content"
  • "Test web applications"
  • "Generate test code from interactions"