# io.github.hubertgajewski/playwright-report-mcp (npm · playwright-report-mcp)

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

- Trust score: 78/100 (medium)
- Change this week: +33
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-08-03

## Components

- npm · `playwright-report-mcp`: 78/100 (this document), [markdown](https://verifymcp.io/servers/hubertgajewski-playwright-report-mcp/playwright-report-mcp.md), [page](https://verifymcp.io/servers/hubertgajewski-playwright-report-mcp/playwright-report-mcp)

## Channel facts

- Registry: `npm`
- Package: `playwright-report-mcp`
- Version: `3.2.2`
- Transport: `stdio`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-08-03.

- **Supply Chain Security**: 86/100
  - No malware found by supply-chain analysis.
  - Only part of the dependency tree could be resolved (94 of 98), so this covers what we could see, not the whole tree.
  - No install/post-install scripts declared.
  - Only part of the dependency tree could be resolved (94 of 98), so this covers what we could see, not the whole tree.
- **Provenance & Transparency**: 97/100
  - Source repository is publicly reachable at the declared URL.
  - Cryptographically verified build provenance (signed, bound to hubertgajewski/playwright-report-mcp).
  - Clear OSI-approved license (MIT).
  - Actively maintained (last published 59 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 69/100
  - AI-judged instruction clarity (good).
  - Context-footprint check failed: tool/resource definitions use about 651 tokens (~130/item across 5 items; 5 tools + 0 resources), over budget; trim descriptions and params.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 27/100
  - Stability observed for 8 of 30 days with no destabilising changes; credit accrues until the full window elapses.
- **Tool Coverage**: 98/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 95% of tool parameters carry a description.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

## Install

### Claude

```bash
claude mcp add hubertgajewski-playwright-report-mcp -- npx -y playwright-report-mcp
```

### Codex

```bash
codex mcp add hubertgajewski-playwright-report-mcp -- npx -y playwright-report-mcp
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "hubertgajewski-playwright-report-mcp": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "playwright-report-mcp"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add hubertgajewski-playwright-report-mcp --command npx --arg -y --arg playwright-report-mcp
```

### Hermes

```yaml
mcp_servers:
  hubertgajewski-playwright-report-mcp:
    command: "npx"
    args: ["-y", "playwright-report-mcp"]
```

### Other

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

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-08-03 (score 78, +38)

- [security improvement] Provenance: unverified → pass
- [security improvement] Install scripts: unverified → pass
- [security improvement] Known CVEs: unverified → partial
- [security] The attested source repository moved: hubertgajewski/playwright-report-mcp
- [functional improvement] Schema quality: unverified → good
- [functional improvement] Maintenance: unverified → pass
- [functional improvement] Dependency health: unverified → partial
- [functional improvement] License: unverified → pass
- [functional improvement] Stability: unverified → 0.27
- [functional] Licence: MIT

### 2026-08-02 (score 40, +35)

- [security improvement] Malware scan: unverified → pass
- [security] Stability: Stability not yet verified: not enough scan history yet (needs a 30-day window).
- [functional improvement] MCP protocol: unverified → pass
- [functional improvement] Tool coverage: unverified → 100

### 2026-08-01 (score 5, −44)

- [functional] We updated how we score, so this day's move reflects our rubric, not a change to the server

### 2026-07-31 (score 49, +4)

- [security regression] Malware scan: pass → unverified
- [security improvement] Provenance: unverified → pass
- [security improvement] Install scripts: unverified → pass
- [security] The attested source repository moved: hubertgajewski/playwright-report-mcp
- [functional improvement] Maintenance: unverified → pass
- [functional improvement] License: unverified → pass
- [functional] Licence: MIT

### 2026-07-27 (score 45)

First indexed and scored.

## MCP tools (5)

### `run_tests` (~285 tokens)

Run Playwright tests and return structured results.

Input parameters:

- `browser` (string)
- `headed` (boolean): Run with a visible browser window. Omitting or setting false leaves playwright.config.ts intact — Playwright has no --no-headed flag, so false does not force headless when the config sets headed.
- `maxFailures` (integer): Stop the run after this many failures.
- `retries` (integer): Maximum retry count for flaky tests; 0 disables retries.
- `spec` (string): Spec file path, e.g. tests/navigation.spec.ts
- `tag` (string): Tag filter, e.g. @smoke or @regression
- `timeout` (integer): Timeout in milliseconds for the whole test run. Defaults to 300000.
- `trace` (string): Force Playwright tracing mode, overriding playwright.config.ts.
- `updateSnapshots` (string): Update snapshot baselines. Playwright default is "missing"; "changed" updates differing + missing.
- `wait` (boolean): Wait for completion before returning. Defaults to true. Set false to start a background run and poll it with get_run_status.
- `workers` (integer): Number of parallel workers (positive integer).
- `workingDirectory` (string): Playwright project directory. Absolute or relative to the MCP server launch directory. Defaults to ".". Must be under PW_ALLOWED_DIRS.

### `get_run_status` (~142 tokens)

Return status for a tracked Playwright run. Pass runId for a specific background run, or omit it to inspect the latest tracked run for a workingDirectory. If no tracked run exists, returns idle with current results.json metadata; it does not inspect unrelated OS processes.

Input parameters:

- `runId` (string): Run identifier returned by run_tests with wait=false.
- `workingDirectory` (string): Playwright project directory. Absolute or relative to the MCP server launch directory. Defaults to ".". Must be under PW_ALLOWED_DIRS. Used to find the latest tracked run when runId is omitted; when…

### `get_failed_tests` (~57 tokens)

Return failed tests from the last run with error messages and attachment paths.

Input parameters:

- `workingDirectory` (string): Playwright project directory. Absolute or relative to the MCP server launch directory. Defaults to ".". Must be under PW_ALLOWED_DIRS.

### `get_test_attachment` (~95 tokens)

Read the content of a named attachment for a specific test from the last run.

Input parameters:

- `attachmentName` (string, required): Attachment name, e.g. "AI diagnosis", "DOM"
- `testTitle` (string, required): Exact test title as shown in the report
- `workingDirectory` (string): Playwright project directory. Absolute or relative to the MCP server launch directory. Defaults to ".". Must be under PW_ALLOWED_DIRS.

### `list_tests` (~72 tokens)

List all tests with their spec file and tags without running them.

Input parameters:

- `tag` (string): Filter by tag, e.g. @smoke
- `workingDirectory` (string): Playwright project directory. Absolute or relative to the MCP server launch directory. Defaults to ".". Must be under PW_ALLOWED_DIRS.

## Diagnostics

Captured diagnostic sections: Provenance, Dependencies. The full working is on the page: https://verifymcp.io/servers/hubertgajewski-playwright-report-mcp/playwright-report-mcp#diagnostics

## Score history

- 2026-08-03: 78
- 2026-08-02: 40
- 2026-08-01: 5
- 2026-07-31: 49
- 2026-07-29: 45
- 2026-07-28: 45
- 2026-07-27: 45

## Links

- npm package: https://www.npmjs.com/package/playwright-report-mcp
- Socket report: https://socket.dev/npm/package/playwright-report-mcp
- Repository: https://github.com/hubertgajewski/playwright-report-mcp
- Changelog RSS feed: https://verifymcp.io/servers/hubertgajewski-playwright-report-mcp/playwright-report-mcp/changelog.xml
- Changelog JSON feed: https://verifymcp.io/servers/hubertgajewski-playwright-report-mcp/playwright-report-mcp/changelog.json
- HTML version of this page: https://verifymcp.io/servers/hubertgajewski-playwright-report-mcp/playwright-report-mcp
