TurnSignal for Playwright
Source of the turnsignal npm package: the Playwright reporter, the turnsignal CLI and the TurnSignal MCP server for coding agents. MIT licensed.
TurnSignal keeps every Playwright test's results across CI runs and branches, and labels each failure as a new failure, also failing on main or known flaky. Package docs: packages/turnsignal/README.md.
MCP server
Read-only Playwright CI results for coding agents (Claude Code, Cursor, Copilot, ...). Before an agent "fixes" a failing test, it can check whether the failure is new in this pull request, already failing on main, or known flaky.
{
"mcpServers": {
"turnsignal": {
"command": "npx",
"args": ["-y", "turnsignal", "mcp"],
"env": { "TURNSIGNAL_TOKEN": "<project token from https://app.turnsignal.ai>" }
}
}
}
Claude Code: claude mcp add turnsignal -e TURNSIGNAL_TOKEN=<token> -- npx -y turnsignal mcp
The server talks JSON-RPC over stdio and only reads data the project token can see. It is listed in the official MCP Registry as ai.turnsignal/turnsignal.
Layout
npm ci
npm test # build + unit tests
npm run package # builds packages/turnsignal/dist
The hosted service (API and web app) is not part of this repository; ADR-NNN references in code comments point to its internal design records. This repository is a mirror: changes land upstream and are synced here, so please report issues to [email protected] or open an issue. Questions: [email protected].