TurnSignal for Playwright
v0.6.8Read-only Playwright CI results for agents: new vs known failures, flaky tests, test history.
Values you need
| Variable | What it is | |
|---|---|---|
TURNSIGNAL_TOKEN | required secret | Project token from app.turnsignal.ai (read-only use) |
TURNSIGNAL_API_URL | optional | 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 mcpAdd 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
- Ask the user for: TURNSIGNAL_TOKEN. Never invent or guess these values; secrets go into the client config, not into chat logs.
- 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).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: turnsignal_recent_runs, turnsignal_run, turnsignal_test_history, turnsignal_flaky_tests.
- 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