Flakiness MCP Server

MCP server + Playwright reporter that builds a flakiness knowledge graph from test run history

Local serverstdioTypeScript

What is the Flakiness MCP Server?

MCP server + Playwright reporter that builds a flakiness knowledge graph from test run history

The short version

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.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
get_flaky_testsdb_path, min_runs?, limit?, since_days?
get_test_historydb_path, test_id, limit?
get_failure_patternsdb_path, since_days?
get_slow_testsdb_path, limit?
get_error_groupsdb_path, min_failures?, limit?, since_days?
get_flakiness_trenddb_path, test_id, days?
cluster_semantic_error_treesdb_path, min_instances?, since_days?
correlate_git_commit_flakinessdb_path, min_stable_runs?, since_days?

How to install the Flakiness MCP Server

{
  "mcpServers": {
    "flakiness-knowledge-graph": {
      "command": "flakiness-knowledge-graph-mcp"
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Example prompts to try

  • “Use Flakiness to get flaky tests.”
  • “Use Flakiness to get test history.”
  • “Use Flakiness to get failure patterns.”

Frequently asked questions

MCP server + Playwright reporter that builds a flakiness knowledge graph from test run history Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.