io.github.raunaksahahere/flakeprint
Flaky-test evidence for AI: analyze CI reports, explain flaky tests, reports, stress runs
- Created
- 4 days ago
- Last commit
- 3 days ago
- Latest repo release
- v0.10.03 days ago
Security Findings
Tool name/behavior mismatch
MaliciousScannerrun_tests: The handler executes the caller-supplied command string through a shell (sh -c / cmd /c) under the flakeprint stress and retry wrappers, which is arbitrary command execution by design; the description says only 'Run a test command', and the command parameter is the disclosed target, so this is an arbitrary-exec capability to review rather than a hidden mismatch.
Dangerous parameter surface
SuspiciousScanner1 tool(s) expose a command-execution parameter: run_tests.command
Tools
19 tools exposed by this MCP server
run_tests
Run a test command in
analyze_local_reports
Classify the test reports in
analyze_reports
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.
create_ticket
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.
doctor
Health check of the local Flakeprint setup: Node, git, CI provider, test reports, .flakeprint.yml, quarantine file, workflows and the data branch.
explain_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.
get_job
Status of a sync or stress job; for a dispatched stress run also the GitHub Actions run status and link.
get_test
One test in depth: statistics, reviewer advice with reasons and evidence links, and its run timeline (last 100 executions).
list_repos
Repositories whose Flakeprint history the backend has mirrored, with attempt counts.
list_tests
Per-test statistics for a repository: health, Beta-Binomial flake rate with 90% interval, runs, failures, CI minutes lost and idHash. Filter by health.
local_report
Per-test flake rates (Beta-Binomial, 90% interval), runs, failures, CI minutes lost and advice from the local history or the data branch, as Markdown, JSON, or a PDF file written in the project.
org_overview
Flaky/broken/critical counts and CI minutes lost across every mirrored repository of an owner or organization.
propose_quarantine
Tests that qualify for quarantine (same-commit FAIL→PASS on at least 2 commits), as .flakeprint/quarantine.yml entries to review. Nothing is written.
repo_analytics
Failure and flake series per day/week/month, and comparisons across branches, operating systems and settings.
repo_overview
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.
repo_report
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.
setup_workflow
The GitHub Actions step that adds Flakeprint after the test step of this repository (detects the test job and framework).
start_stress_run
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.
sync_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.
Versions
1- 0.8.1Scanned Dec 1, 2026, 11:30 PMHigh