MCP server + Playwright reporter that builds a flakiness knowledge graph from test run history
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"flakiness-knowledge-graph": {
"command": "flakiness-knowledge-graph-mcp"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
A Playwright custom reporter + MCP server that builds a local flakiness knowledge graph from your test run history. Ask your AI agent which tests are unreliable, on which browser, and whether they're getting worse.
Run this in your terminal to verify the server starts. Then let us know if it worked — your result helps other developers.
npx -y 'flakiness-graph-seed' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
Checked flakiness-graph-seed against OSV.dev.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in browser
Browser automation with Puppeteer for web scraping and testing
🔥 Official Firecrawl MCP Server - Adds powerful web scraping and search to Cursor, Claude and any other LLM clients.
MCP server for Firecrawl — search, scrape, and interact with the web. Supports both cloud and self-hosted instances. Features include web search, scraping, page interaction, batch processing, and LLM-powered content analysis.
The Apify MCP server enables your AI agents to extract data from social media, search engines, maps, e-commerce sites, or any other website using thousands of ready-made scrapers, crawlers, and automation tools available on the Apify Store.
MCP Security Weekly
Get CVE alerts and security updates for io.github.vola-trebla/flakiness-knowledge-graph-mcp and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
A Playwright custom reporter + MCP server that builds a local flakiness knowledge graph from your test run history. Ask your AI agent which tests are unreliable, on which browser, and whether they're getting worse.
A single Playwright trace tells you what failed right now. It doesn't tell you whether this test has been silently flaking for two weeks, or only fails on Firefox in CI, or is getting slower with every release.
This tool fixes that by accumulating run history into a SQLite database and exposing it to AI agents via MCP.
| Tool | Arguments | What it returns |
|---|---|---|
get_flaky_tests | db_path, min_runs?, limit?, since_days? | Tests ranked by flakiness rate (failed+flaky / total runs) |
get_test_history | db_path, test_id, limit? | Full run history for a specific test — status, duration, error, retry, browser, OS |
get_failure_patterns | db_path, since_days? | Failure rates broken down by browser × OS combination |
get_slow_tests | db_path, limit? | Tests ranked by average duration |
get_error_groups | db_path, min_failures?, limit?, since_days? | Failures clustered by exact error prefix — surfaces shared root causes across tests |
get_flakiness_trend | db_path, test_id, days? | Daily flakiness rate over the last N days — shows whether a test is getting worse |
cluster_semantic_error_trees | db_path, min_instances?, since_days? | Like get_error_groups but normalises dynamic values (UUIDs, IDs, URLs) first, then fuzzy-merges with Levenshtein |
correlate_git_commit_flakiness | db_path, min_stable_runs?, since_days? | Finds the exact commit SHA where a test transitioned stable→flaky (or back), with branch and author |
npm install -g flakiness-knowledge-graph-mcp
Or build from source:
git clone https://github.com/vola-trebla/flakiness-knowledge-graph-mcp.git
cd flakiness-knowledge-graph-mcp
npm install && npm run build
// playwright.config.ts
export default defineConfig({
reporter: [["html"], ["flakiness-knowledge-graph-mcp/reporter", { dbPath: "./flakiness.db" }]],
});
Run your tests normally — the reporter writes every result to flakiness.db automatically.
.cursor/mcp.json or .vscode/mcp.json){
"mcpServers": {
"flakines
... [View full README on GitHub](https://github.com/vola-trebla/flakiness-knowledge-graph-mcp#readme)