Skip to content
Cursor

Playwright for Cursor

io.github.microsoft/playwright-mcp

Playwright Tools for MCP

client:Cursor transport:stdio runtime:npm tools:8

Install Playwright in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

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

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

What Cursor can do once it is connected

Playwright in other clients