flakyguard
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
flakyguard
"That test is flaky" is usually a feeling. flakyguard turns it into evidence. Feed it the per-test outcomes from a set of CI runs and it builds the record for every test:
Per-test history — how many runs contained the test, and how many times it passed, failed, or was skipped
Evidence runs — passes plus failures; a skip is recorded but never counts as evidence, because a test that did not run proves nothing either way
Classification — a test needs a minimum amount of evidence (two evidence runs by default) before it earns a verdict:
stable_passif it never failed,stable_failif it never passed,flakyif it did both, andinsufficient_datauntil thenFlakiness rate — the minority outcome's share of the evidence runs, so a test that splits its results evenly rates 0.5 and a mostly reliable one rates close to 0
Quarantine list — the flaky tests whose rate meets the quarantine threshold (0.5 by default), worst first, each entry carrying the pass/fail counts behind its rate
Verdict —
quarantine_recommendedwhen the list is non-empty, otherwiseclean
Rates are rounded to four decimal places. Everything is
computed locally from the runs you supply: no network, no
configuration, no history kept between calls. Bad input —
a run with no results, a status outside
passed / failed / skipped, the same test twice in
one run — is rejected with an error naming the offending
path, and no partial analysis is produced.
CLI
npx @reneturcios/flakyguard analyze --input args.json
npx @reneturcios/flakyguard --versionargs.json contains the full arguments object:
{
"runs": [
{
"run_id": "run-101",
"results": [
{ "test": "checkout totals", "status": "passed" },
{ "test": "search ranking", "status": "failed" }
]
},
{
"run_id": "run-102",
"results": [
{ "test": "checkout totals", "status": "failed" },
{ "test": "search ranking", "status": "failed" }
]
}
],
"min_runs": 2,
"quarantine_threshold": 0.5
}min_runs and quarantine_threshold are optional. The
analysis is printed as JSON.
Exit codes: 0 on success, 1 on a runtime error
(including an unreadable or invalid input file, or
invalid input), 2 on a usage error.
Related MCP server: ReleaseGuard AI
MCP server
npx -y @reneturcios/flakyguard mcpMCP client config:
{
"mcpServers": {
"flakyguard": {
"command": "npx",
"args": ["-y", "@reneturcios/flakyguard", "mcp"]
}
}
}Tools
analyze_test_flakiness— Analyze test flakiness across CI runs.runs(array, required, at least one) — runs as{run_id, results}objects, where each result is{test, status}andstatusis one ofpassed,failed,skipped; a test may not appear twice in one runmin_runs(integer, optional, >= 1, default 2) — minimum evidence runs before a test is classified as stable or flakyquarantine_threshold(number, optional, 0 to 1, default 0.5) — flakiness-rate threshold for the quarantine list
Returns
{run_count, test_count, tests, quarantine, summary, verdict}.
Docker
docker run -i ghcr.io/cloudcorprecords/flakyguard
docker run --rm -v "$PWD:/w" ghcr.io/cloudcorprecords/flakyguard analyze --input /w/args.jsonDevelopment
npm install
npm run build # tsc -> dist/
npm test # tsx --test test/*.test.ts (pure local, no network)
npm run dev # run the CLI from sourceLicense
MIT — Copyright (c) 2026 Rene Turcios
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Flaky test detection, root cause analysis, and fix suggestions for development teams.
Offline log parsing, CI failures, HTTP capture analysis and bounded JSON configuration validation.
Test the voice agents you run: scored transcripts, pass/fail verdicts, latency and WER metrics.
Finds the GitHub Actions workflow eating your CI bill and suggests fix diffs, verified against runs.
Related MCP Servers
- FlicenseBqualityDmaintenanceProvides tools to analyze test failures, cluster similar failures, and detect flaky tests from input or log files, helping QA teams debug and triage issues.3-
- AlicenseNot gradedqualityCmaintenanceEnables evidence-first release readiness assessment by running or accepting build, API, browser, visual, performance, and security evidence, then returning SHIP, REVIEW, or HOLD recommendations with clustered regressions.7 npmApache 2.0
- FlicenseNot gradedqualityBmaintenanceEnables automated analysis of test suite traces to identify timing races and state pollution, helping detect flaky test non-determinism in CI/CD workflows such as Datadog CI or Trunk.8-
- AlicenseAqualityCmaintenanceTurns JUnit XML test reports from CI into queryable QA metrics, letting AI assistants answer plain-English questions about failures, flaky tests, regressions pinned to a commit, root-cause clusters, and performance drift. Also generates ready-to-share QA health reports and self-contained HTML dashboards without logging into separate tools.11MIT