NestDaddy

Playwright Report Mcp

io.github.hubertgajewski/playwright-report-mcp · v3.4.0

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

Connect Runs on your machine

Terminal
claude mcp add playwright-report-mcp -e PW_ALLOWED_DIRS=<PW_ALLOWED_DIRS> -e PW_RESULTS_FILE=<PW_RESULTS_FILE> -- npx -y [email protected]
claude_desktop_config.json
{
  "mcpServers": {
    "playwright-report-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "PW_ALLOWED_DIRS": "<PW_ALLOWED_DIRS>",
        "PW_RESULTS_FILE": "<PW_RESULTS_FILE>"
      }
    }
  }
}
~/.cursor/mcp.json
{
  "mcpServers": {
    "playwright-report-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "PW_ALLOWED_DIRS": "<PW_ALLOWED_DIRS>",
        "PW_RESULTS_FILE": "<PW_RESULTS_FILE>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "playwright-report-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "PW_ALLOWED_DIRS": "<PW_ALLOWED_DIRS>",
        "PW_RESULTS_FILE": "<PW_RESULTS_FILE>"
      }
    }
  }
}

Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.

Tools

This server runs locally, so its tools are listed by your MCP client once it starts.

Environment variables

NameDescription
PW_ALLOWED_DIRS
Optional
path.delimiter-separated list of directories the per-call workingDirectory parameter may point at. Entries may be absolute or relative (resolved once against the server's launch cwd at startup). Defaults to '.' (authorizes only the launch directory).
PW_RESULTS_FILE
Optional
Absolute path override for the JSON reporter output file. Defaults to <workingDirectory>/test-results/results.json, computed per call.

Details

Package[email protected] (NPM, stdio)
First published25 Sep 2026
Last updated25 Sep 2026
Registry nameio.github.hubertgajewski/playwright-report-mcp

More browser automation servers See all

Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.