Flakeprint
Flaky-test evidence for AI: analyze CI reports, explain flaky tests, reports, stress runs
Should I use this
Quality & Safety
Based on automated analysis of tool definitions and protocol compliance.
Context Cost
This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.
Install
One-Click Install
Add this to your `claude_desktop_config.json` file:
{
"mcpServers": {
"flakeprint": {
"command": "uvx",
"args": [
"https://github.com/raunaksahahere/flakeprint/releases/download/v0.8.1/flakeprint-mcp.mcpb"
]
}
}
}Runnable packages
0.8.1stdioRemote endpoints
https://flakeprint-backend.onrender.com/mcpstreamable-httpWhat it can do
Tool inventory
Tools (13)
🟢list_repos
Repositories whose Flakeprint history the backend has mirrored, with attempt counts.
Input Schema
{
"type": "object",
"properties": {},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢analyze_reports(reports, repo, sha, useHistory)
Run the Flakeprint detector on test report files you pass as text (JUnit XML, CTRF, go test -json, TRX, NUnit, xUnit, TestNG, Cucumber, Robot, Mocha JSON). To detect same-commit FAIL→PASS flips, pass the reports of each attempt of the same commit with attempt: 1, 2, … (e.g. the failed run and its re-run). With a repo, the recorded history of that repo is used too. Nothing is stored.
Input Schema
{
"type": "object",
"properties": {
"reports": {
"minItems": 1,
"maxItems": 50,
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 300,
"description": "File name, e.g. reports/junit.xml"
},
"content": {
"type": "string",
"minLength": 1,
"description": "The full report text"
},
"attempt": {
"description": "Which attempt of the commit this report is from (default 1)",
"type": "integer",
"minimum": 1,
"maximum": 20
}
},
"required": [
"name",
"content"
]
}
},
"repo": {
"description": "owner/name to compare against its mirrored history (optional)",
"type": "string",
"pattern": "^[A-Za-z0-9_.-]{1,100}\\/[A-Za-z0-9_.-]{1,100}$"
},
"sha": {
"description": "Commit SHA the reports belong to",
"type": "string",
"pattern": "^[0-9a-f]{7,64}$"
},
"useHistory": {
"description": "Compare against the repo history (default true when repo is given)",
"type": "boolean"
}
},
"required": [
"reports"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢repo_overview(repo)
Counts of tracked, healthy, flaky, broken, recovered and critical tests, CI minutes lost, top time wasters, recent attempts, flake risk and flake debt for one repository.
Input Schema
{
"type": "object",
"properties": {
"repo": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]{1,100}\\/[A-Za-z0-9_.-]{1,100}$",
"description": "GitHub repository as owner/name"
}
},
"required": [
"repo"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢list_tests(repo, health, limit)
Per-test statistics for a repository: health, Beta-Binomial flake rate with 90% interval, runs, failures, CI minutes lost and idHash. Filter by health.
Input Schema
{
"type": "object",
"properties": {
"repo": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]{1,100}\\/[A-Za-z0-9_.-]{1,100}$",
"description": "GitHub repository as owner/name"
},
"health": {
"description": "Only tests in this state",
"type": "string",
"enum": [
"flaky",
"broken",
"recovered",
"healthy"
]
},
"limit": {
"description": "Max rows (default 50)",
"type": "integer",
"minimum": 1,
"maximum": 500
}
},
"required": [
"repo"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_test(repo, test)
One test in depth: statistics, reviewer advice with reasons and evidence links, and its run timeline (last 100 executions).
Input Schema
{
"type": "object",
"properties": {
"repo": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]{1,100}\\/[A-Za-z0-9_.-]{1,100}$",
"description": "GitHub repository as owner/name"
},
"test": {
"type": "string",
"minLength": 1,
"maxLength": 500,
"description": "The test: idHash from list_tests, or (part of) its name or test ID"
}
},
"required": [
"repo",
"test"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢explain_test(repo, test)
Evidence for one test (outcomes on the same commit and settings, fingerprints, durations, environments) plus, when the backend has Gemini configured, AI hypotheses and investigation steps. Facts and hypotheses are kept separate; if AI is down the facts are still complete. If the hypotheses are still being generated (aiStatus pending), call it again in about a minute. Cached per evidence.
Input Schema
{
"type": "object",
"properties": {
"repo": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]{1,100}\\/[A-Za-z0-9_.-]{1,100}$",
"description": "GitHub repository as owner/name"
},
"test": {
"type": "string",
"minLength": 1,
"maxLength": 500,
"description": "The test: idHash from list_tests, or (part of) its name or test ID"
}
},
"required": [
"repo",
"test"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢repo_report(repo, format, adviceFor)
A written reliability report for a repository (Markdown, or JSON): summary counts, flaky and broken tests with flake rates, where CI time goes, recommended next steps and flake debt. Built only from recorded evidence.
Input Schema
{
"type": "object",
"properties": {
"repo": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]{1,100}\\/[A-Za-z0-9_.-]{1,100}$",
"description": "GitHub repository as owner/name"
},
"format": {
"description": "Default markdown",
"type": "string",
"enum": [
"markdown",
"json"
]
},
"adviceFor": {
"description": "How many worst tests get advice (default 5)",
"type": "integer",
"minimum": 0,
"maximum": 20
}
},
"required": [
"repo"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢repo_analytics(repo, period)
Failure and flake series per day/week/month, and comparisons across branches, operating systems and settings.
Input Schema
{
"type": "object",
"properties": {
"repo": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]{1,100}\\/[A-Za-z0-9_.-]{1,100}$",
"description": "GitHub repository as owner/name"
},
"period": {
"type": "string",
"enum": [
"day",
"week",
"month"
]
}
},
"required": [
"repo"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢org_overview(org)
Flaky/broken/critical counts and CI minutes lost across every mirrored repository of an owner or organization.
Input Schema
{
"type": "object",
"properties": {
"org": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]{1,100}$",
"description": "GitHub owner or organization"
}
},
"required": [
"org"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢sync_repo(repo)
Mirror a repository's flakeprint-data branch into the backend (needed before the read tools show anything for a new repo). Returns a job id; poll get_job.
Input Schema
{
"type": "object",
"properties": {
"repo": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]{1,100}\\/[A-Za-z0-9_.-]{1,100}$",
"description": "GitHub repository as owner/name"
}
},
"required": [
"repo"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢start_stress_run(repo, runs, ref)
Run the repository's tests many times across Linux, Windows and macOS (and environment variations) on GitHub Actions, via the repository's stress workflow. The test command comes from that workflow. Only call when the user asks. Returns a job id; poll get_job, then sync_repo and list_tests once the run finishes.
Input Schema
{
"type": "object",
"properties": {
"repo": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]{1,100}\\/[A-Za-z0-9_.-]{1,100}$",
"description": "GitHub repository as owner/name"
},
"runs": {
"description": "Runs per environment (1–10, default from the workflow)",
"type": "integer",
"minimum": 1,
"maximum": 10
},
"ref": {
"description": "Branch or tag (default main)",
"type": "string",
"pattern": "^[A-Za-z0-9._/-]{1,100}$"
}
},
"required": [
"repo"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_job(id)
Status of a sync or stress job; for a dispatched stress run also the GitHub Actions run status and link.
Input Schema
{
"type": "object",
"properties": {
"id": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
}
},
"required": [
"id"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡create_ticket(repo, test, provider)
Open an issue for a flaky test in Jira or Linear with its evidence. Repeating it for the same test returns the existing ticket. Only call when the user asks.
Input Schema
{
"type": "object",
"properties": {
"repo": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]{1,100}\\/[A-Za-z0-9_.-]{1,100}$",
"description": "GitHub repository as owner/name"
},
"test": {
"type": "string",
"minLength": 1,
"maxLength": 500,
"description": "The test: idHash from list_tests, or (part of) its name or test ID"
},
"provider": {
"type": "string",
"enum": [
"jira",
"linear"
]
}
},
"required": [
"repo",
"test",
"provider"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Community
Evidence