Release Readiness Triage MCP
Analyzes Flyway migration files (V*.sql) to determine rollback eligibility and classify operations as additive or destructive.
Analyzes Liquibase migration files (XML/YAML) to determine rollback eligibility and classify operations as additive or destructive.
Analyzes Prisma migration files (migration.sql) to determine rollback eligibility and classify operations as additive or destructive.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Release Readiness Triage MCP Analyze CI failures and provide release readiness verdict"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
π¦ release-readiness-triage-mcp
Stop reading CI logs. Start getting verdicts.
MCP server that aggregates test failures, cross-references flakiness history, and outputs a GO / CONDITIONAL_GO / NO_GO / INVESTIGATE release decision β so your AI agent can triage a broken CI run in seconds instead of asking you to read 3000 lines of logs.
π€ The problem
In any real codebase, CI always has something failing. The hard question isn't "are there failures?" β it's "are these failures real regressions, or just the usual noise?"
Answering that requires correlating three signals at once:
π Error signatures β is this the same failure repeated 12 times, or 12 different problems?
π Flakiness history β is this test known to be unreliable?
π Code changes β is the failing test actually related to what changed?
An AI agent can't do this without structured tools. Raw CI logs are thousands of lines. Flakiness databases are external. Codeβtest mapping requires AST analysis. Without this MCP, the agent just guesses.
Related MCP server: qa-toolkit-mcp
π οΈ Tools
aggregate_suite_failures
Groups failures by normalized error signature, deduplicates repeated errors, categorizes as assertion / timeout / network / crash. Pass customInfraPatterns for cloud-specific errors.
cross_reference_flakiness
Scores each failure against your flakiness history: KNOWN FLAKY, MILDLY FLAKY, or NO HISTORY.
correlate_code_changes
Matches changed files against failing tests. Works standalone or with pre-computed affected test lists from ast-impact-mapper-mcp.
generate_release_recommendation
The final step. Outputs a risk-weighted verdict with confidence score and full breakdown. Supports format: "markdown" for GitHub PR comments and Slack.
Verdict levels:
NO_GOβ regression in a critical domain (payment,auth,billing,checkout,security)CONDITIONAL_GOβ regression in a low/medium-risk domain (analytics,docs,admin); review before releasingGOβ all failures are known flaky or infrastructure noiseINVESTIGATEβ too many unknowns to decide
Output includes:
aggregate_risk_scoreβ 0.0β1.0, probability union across all regression risk contributionsfailing_tests_analysis[]β per-regression breakdown withdomain,severity(HIGH/MEDIUM/LOW),risk_contribution,blast_radius
detect_temporal_failure_patterns
Analyzes historical failures with timestamps to identify chronometric artifacts β failures that only appear at the same UTC hour, weekday, day of month, or during DST transitions. When a pattern is found, the failure is a time artifact, not a code regression.
Output includes:
temporal_pattern_detectedβ booleanclusters[]β per-test:pattern_type(hourly | daily | monthly | timezone_shift),cluster_times,confidence_score
analyze_rollback_readiness
Scans a repository for versioned migration files (Flyway V*.sql, Prisma migration.sql, Liquibase XML/YAML) and classifies each operation as additive (rollback safe) or destructive (forward-fix only).
Detected destructive operations: DROP TABLE, DROP COLUMN, ALTER COLUMN TYPE, MODIFY COLUMN, TRUNCATE
Output includes:
rollback_eligibleβ booleanblocking_migrations[]β each withfile,line,operation,reasondeployment_strategyβstandard | forward_fix_only
π§ͺ What it looks like in practice
5 failures in CI. What's real, what's noise?
failures:
- Auth Suite > login with expired token β "Expected status 200, got 401"
- API Suite > health check β "connect ECONNREFUSED 127.0.0.1:3000"
- Button Suite > renders button correctly β "Expected null, got <button>Submit</button>"
- Search Suite > debounce timing β "Expected 42, received 43"
- Storage Suite > upload avatar β "GCP quota exceeded for this project"
changedFiles: ["src/components/Button.tsx"]
affectedTests: ["renders button correctly"]
customInfraPatterns: ["GCP quota exceeded"]
format: "markdown"Output:
## π΄ Release Recommendation: NO_GO (75% confidence)
> 1 confirmed regression(s) in critical domain(s) [payment]. Do not release.
**Aggregate risk score:** 1.0
| Category | Count |
| ------------------- | ----- |
| Total failures | 5 |
| π΄ Real regressions | 1 |
| π‘ Known flaky | 2 |
| βͺ Infra blips | 2 |
| β Unknown | 0 |
### Risk Breakdown
| Test | Domain | Severity | Risk | Blast Radius |
| -------------------------------------- | ------ | -------- | ---- | ------------ |
| Button Suite::renders button correctly | core | MEDIUM | 0.5 | 1 |
### Blockers (must fix before release)
**Button Suite > renders button correctly**
- Test is directly affected by code changes in this commit
- `Expected null, got <button>Submit</button>`
### Safe to ignore
- ~~Auth Suite > login with expired token~~ β Historically flaky: 73% failure rate in history
- ~~API Suite > health check~~ β Error pattern matches infrastructure issues (network)
- ~~Search Suite > debounce timing~~ β Mildly flaky: 22% historical failure rate
- ~~Storage Suite > upload avatar~~ β Error pattern matches infrastructure issues (network)One tool call. One verdict. Go fix Button.tsx.
β‘ Setup
{
"mcpServers": {
"release-readiness-triage": {
"command": "npx",
"args": ["-y", "release-readiness-triage-mcp"]
}
}
}π Usage
"Here are the failures from our CI run, our flakiness database, and the files changed in this PR. Is it safe to release?"
The agent calls generate_release_recommendation and returns a verdict with a full breakdown β ready to paste into a PR comment or Slack.
Works standalone, or as a meta-orchestrator on top of:
flakiness-knowledge-graph-mcp β for flakiness history
ast-impact-mapper-mcp β for codeβtest correlation
playwright-trace-decoder-mcp β for trace-level failure analysis
π¦ Links
License
MIT
Available Tools
6 toolsaggregate_suite_failuresA
Parse a CI test run and group failures by error signature. Deduplicates repeated errors and categorizes them as assertion, timeout, network, or crash. Use this as the first step before triage.
Inputs: failures (required), totalTests (required), passedTests (required), runId, +3 more.
analyze_rollback_readinessA
Scans a repository for versioned database migration files (Flyway V*.sql, Prisma migration.sql, Liquibase XML/YAML) and classifies each operation as additive (rollback safe) or destructive (forward-fix only). Returns rollback_eligible, a list of blocking_migrations with file and line, and deployment_strategy. Use before recommending deployment to determine whether a rollback is safe after go-live.
Inputs: repo_path (required).
correlate_code_changesA
Match a list of changed files against failing tests to determine which failures are directly caused by the code changes in this commit. Returns a correlation mapping.
Inputs: failures (required), changedFiles (required), affectedTests.
cross_reference_flakinessA
Given a list of test failures and a flakiness history, score each failure by how likely it is to be a known flaky test vs a real regression. Returns probability scores per test.
Inputs: failures (required), flakinessHistory (required).
detect_temporal_failure_patternsA
Analyzes a history of test failures with timestamps to detect chronometric patterns: failures that cluster at the same UTC hour (hourly jobs), same day of month (billing runs), same weekday (scheduled jobs), or around DST transitions. When a pattern is found, the failure is a time artifact β not a code regression. The agent should schedule a re-run at a different time rather than investigating the source code.
Inputs: failures (required).
generate_release_recommendationA
The final step: combines failures, flakiness history, and code change correlation to produce a GO / NO_GO / INVESTIGATE verdict with confidence score and a breakdown of blockers vs safe-to-ignore failures.
Inputs: failures (required), changedFiles (required), flakinessHistory (required), format, +2 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
TDQS
Scored across 6 tools
Each tool targets a distinct analysis step: grouping failures, scoring flakiness, correlating code changes, detecting temporal patterns, assessing rollback readiness, and final recommendation. Some overlap exists between cross_reference_flakiness and detect_temporal_failure_patterns (both identify non-regression failures), but descriptions clearly distinguish their inputs and purpose.
All tool names follow a consistent verb_noun pattern in snake_case (e.g., aggregate_suite_failures, correlate_code_changes). The verbs are varied and descriptive, and the naming scheme is uniform throughout the set.
Six tools is well-scoped for a release readiness triage server. Each tool represents a necessary step in the triage workflow, with no redundant or trivial additions.
The tool set covers the full triage pipeline from raw failure aggregation through final recommendation, plus rollback readiness. Minor gaps exist: the agent must supply flakiness history and changed files externally, and there is no direct tool to retrieve raw CI output, but these are acceptable workarounds.
Maintenance
Related MCP Connectors
MCP compatibility and transport verification server.
MCP compatibility and transport verification server.
MCP compatibility and transport verification server.
MCP compatibility and transport verification server.
Related MCP Servers
AlicenseBqualityBmaintenanceMCP server that exposes actionable Omniboard checks for the current project to a local agent.234 npmMIT- AlicenseAqualityDmaintenanceAn MCP server that reads test reports and provides regression analysis tools for comparing runs, identifying regressions, fixes, and persistent failures.3MIT
- -licenseNot gradedqualityNot gradedmaintenanceMCP server that parses stack traces and logs to generate deduplicated issue drafts with severity, repro steps, and owner guesses.-
- AlicenseNot gradedqualityDmaintenanceThis MCP server builds a local flakiness knowledge graph from Playwright test run history and enables AI agents to query flaky tests, failure patterns, trends, and correlated git commits, helping diagnose test reliability without manual analysis.63 npmMIT