TurnSignal for Playwright

v0.6.8
ai.turnsignal/turnsignal Checked 3 days ago Published 17 days ago

Read-only Playwright CI results for agents: new vs known failures, flaky tests, test history.

Values you need

VariableWhat it is
TURNSIGNAL_TOKENrequired secret Project token from app.turnsignal.ai (read-only use)
TURNSIGNAL_API_URLoptional Only for a self-hosted server (default https://app.turnsignal.ai)

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add turnsignal -e 'TURNSIGNAL_TOKEN=<TURNSIGNAL_TOKEN>' -- npx -y turnsignal@0.6.8 mcp
Add to claude_desktop_config.json
{
  "mcpServers": {
    "turnsignal": {
      "args": [
        "-y",
        "turnsignal@0.6.8",
        "mcp"
      ],
      "command": "npx",
      "env": {
        "TURNSIGNAL_TOKEN": "<TURNSIGNAL_TOKEN>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "turnsignal": {
      "args": [
        "-y",
        "turnsignal@0.6.8",
        "mcp"
      ],
      "command": "npx",
      "env": {
        "TURNSIGNAL_TOKEN": "<TURNSIGNAL_TOKEN>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "TURNSIGNAL_TOKEN",
      "id": "turnsignal-token",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "turnsignal": {
      "args": [
        "-y",
        "turnsignal@0.6.8",
        "mcp"
      ],
      "command": "npx",
      "env": {
        "TURNSIGNAL_TOKEN": "${input:turnsignal-token}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.turnsignal]
command = "npx"
args = ["-y", "turnsignal@0.6.8", "mcp"]
env = { "TURNSIGNAL_TOKEN" = "<TURNSIGNAL_TOKEN>" }

For AI agents

  1. Ask the user for: TURNSIGNAL_TOKEN. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: turnsignal_recent_runs, turnsignal_run, turnsignal_test_history, turnsignal_flaky_tests.
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json