MCP server for Gaffer test history - give your AI assistant memory of your tests
MCP server for Gaffer test history - give your AI assistant memory of your tests
This MCP server connects AI coding assistants like Claude Code and Cursor to your Gaffer test history and coverage data. It allows AI to:
list_projects — List all projects you have access toget_project_health — Get health metrics (pass rate, flaky count, trends)list_test_runs — List recent test runs with optional filteringget_test_run_details — Get parsed test results for a specific test runget_report — Get report file URLs for a test runget_report_browser_url — Get a browser-navigable URL for viewing reportsget_test_history — Get pass/fail history for a specific testget_flaky_tests — Get tests with high flip rates (pass↔fail)get_slowest_tests — Get slowest tests by P95 durationcompare_test_metrics — Compare test performance between commitsget_failure_clusters — Group failed tests by root cause (error similarity)get_upload_status — Check if CI results are uploaded and processedget_coverage_summary — Get overall coverage metrics and trendsget_coverage_for_file — Get coverage for specific files or pathsCompare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.
Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.
| Tool | What it does |
|---|---|
| list_projects | List all projects you have access to |
| get_project_health | Get health metrics (pass rate, flaky count, trends) |
| list_test_runs | List recent test runs with optional filtering |
| get_test_run_details | Get parsed test results for a specific test run |
| get_report | Get report file URLs for a test run |
| get_report_browser_url | Get a browser-navigable URL for viewing reports |
| get_test_history | Get pass/fail history for a specific test |
| get_flaky_tests | Get tests with high flip rates (pass↔fail) |
| get_slowest_tests | Get slowest tests by P95 duration |
| compare_test_metrics | Compare test performance between commits |
| get_failure_clusters | Group failed tests by root cause (error similarity) |
| get_upload_status | Check if CI results are uploaded and processed |
| get_coverage_summary | Get overall coverage metrics and trends |
| get_coverage_for_file | Get coverage for specific files or paths |
{
"mcpServers": {
"gaffer": {
"command": "npx",
"args": [
"-y",
"@gaffer-sh/mcp"
],
"env": {
"GAFFER_API_KEY": "YOUR_GAFFER_API_KEY"
}
}
}
}From the project documentation. Replace placeholders and example paths before connecting.
| Variable | Description | Required |
|---|---|---|
| GAFFER_API_KEY | Declared in the maintainer’s client configuration. | Check documentation |
Give your coding agent the full DevTools toolbox: traces, network, console, heap snapshots and Lighthouse.
Workers, KV, R2 and D1 by conversation — Cloudflare's official remote servers for building and observability.
Dashboards, Prometheus and Loki queries, incidents and alerts — observability by conversation.
Errors with full context — stack traces, issue triage and AI-powered root-cause analysis from Sentry's server.
Connect Flutter applications with AI coding assistants via the Model Context Protocol.
Enables natural language interaction with Splunk Enterprise and Cloud for searching data and managing resources.