AgentHubAgentHub

playwright-report-mcp

MCP ServerMCP Registry官方收录

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

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

概览

playwright-report-mcp 是一个MCP Server,收录自 官方 MCP Registry。支持 stdio 传输。本页提供 Cursor、Claude Code 等客户端的安装配置片段。

安装

选择你的平台查看安装方式

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

环境变量

PW_ALLOWED_DIRS可选

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可选

Absolute path override for the JSON reporter output file. Defaults to <workingDirectory>/test-results/results.json, computed per call.

相关资源

统一 Manifest

{
  "id": "io.github.hubertgajewski/playwright-report-mcp",
  "type": "mcp-server",
  "version": "3.2.2",
  "displayName": "playwright-report-mcp",
  "description": "Run Playwright tests and surface structured results for AI agents doing test failure analysis.",
  "repository": {
    "url": "https://github.com/hubertgajewski/playwright-report-mcp",
    "source": "github"
  },
  "distribution": {
    "packages": [
      {
        "registryType": "npm",
        "identifier": "playwright-report-mcp",
        "version": "3.2.2",
        "transport": "stdio",
        "environmentVariables": [
          {
            "name": "PW_ALLOWED_DIRS",
            "description": "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)."
          },
          {
            "name": "PW_RESULTS_FILE",
            "description": "Absolute path override for the JSON reporter output file. Defaults to <workingDirectory>/test-results/results.json, computed per call."
          }
        ]
      }
    ],
    "remotes": []
  },
  "dependencies": [],
  "installTargets": [
    "claude-code",
    "claude-desktop",
    "cursor",
    "vscode"
  ],
  "keywords": [],
  "provenance": {
    "origin": "official-mcp-registry",
    "originalId": "io.github.hubertgajewski/playwright-report-mcp",
    "originalUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.hubertgajewski%2Fplaywright-report-mcp/versions/latest",
    "isOfficial": true,
    "status": "active"
  }
}
playwright-report-mcp — MCP Server 安装与配置 · AgentHub