Skip to content
Cursor

playwright report mcp for Cursor

io.github.hubertgajewski/playwright-report-mcp

Run Playwright tests and surface structured results for AI agents doing test failure analysis.

client:Cursor transport:stdio runtime:npm

Install playwright report mcp in Cursor

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

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "playwright-report-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "playwright-report-mcp"
      ],
      "env": {
        "PW_ALLOWED_DIRS": "<PW_ALLOWED_DIRS>",
        "PW_RESULTS_FILE": "<PW_RESULTS_FILE>"
      }
    }
  }
}

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

playwright report mcp in other clients