Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog
Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

AllMCPs on GitHub (opens in a new tab)
Launched onTiny Startupstinystartups.com
Explore
  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Random discovery New
  • Submit a server
  • Pricing & Boost Boost
Learn
  • Guides hub
  • What is MCP?
  • Install guide
  • Build an MCP server
  • Deploy an MCP server
  • Security guide
  • Troubleshooting
  • MCP for SEO & AEO
  • Protocol versioning
  • Blog & updates
Tools
  • All developer tools
  • Config generator
  • Config validator
  • Config auditor
  • MCP playground
  • Token calculator
  • OpenAPI β†’ MCP
  • Badge generator
For agents
  • REST API docs
  • Trust & traffic Live
  • Remote MCP server SSE β†— (opens in a new tab)
  • llms.txt β†— (opens in a new tab)
  • Catalog JSON β†— (opens in a new tab)
Company
  • About
  • Advertise Sponsor
  • Contact
  • GitHub β†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZoneAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZone
Β© 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. πŸ’» Developer Tools
  3. Gaffer
G
Health: Not checked yetWe have not completed a health check for this listing yet.No health check has run yet.

Gaffer

User RatingsBe the first to rate and review this MCP server! Enrichment pendingWe haven’t run our AI enrichment pass on this listing yet, so the overview, use cases, and FAQ below may be sparse or missing. We work through the catalog over time β€” check back soon.
View RepositoryVisit Website

Test analytics for AI agents: test history, flaky tests, failure clusters, coverage.

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β€” or use 1-click editor setup below.

Add to CursorAdd to VS Code
Manual Client & Custom JSON ConfigExpand JSON β–Ύ

Client Config & Setup

Choose your client or environment
Target File:~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "gaffer": {
      "command": "npx",
      "args": [
        "-y",
        "gaffer"
      ]
    }
  }
}

πŸ’‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.

Install Directory Badge Claim listing AlternativesπŸ’» More in Developer Tools

Documentation Overview

@gaffer-sh/mcp

MCP (Model Context Protocol) server for Gaffer - give your AI assistant memory of your tests.

What is this?

This MCP server connects AI coding assistants like Claude Code and Cursor to your Gaffer test history and coverage data. It runs in code mode: three MCP tools over a namespace of 17 functions β€” 16 read-only analytics functions plus upload_test_results. It allows AI to:

  • Check your project's test health (pass rate, flaky tests, trends)
  • Look up the history of specific tests to understand stability
  • Get context about test failures when debugging
  • Analyze code coverage and identify untested areas
  • Browse all your projects (with user API Keys)
  • Access test report files (HTML reports, coverage, etc.)

Prerequisites

  1. A Gaffer account with test results uploaded
  2. An API Key from Account Settings > API Keys

Setup

Claude Code (CLI)

The easiest way to add the Gaffer MCP server is via the Claude Code CLI:

Terminal
claude mcp add gaffer -e GAFFER_API_KEY=gaf_your_api_key_here -- npx -y @gaffer-sh/mcp

Claude Code (Manual)

Alternatively, add to your Claude Code settings (~/.claude.json or project .claude/settings.json):

config.json
{
  "mcpServers": {
    "gaffer": {
      "command": "npx",
      "args": ["-y", "@gaffer-sh/mcp"],
      "env": {
        "GAFFER_API_KEY": "gaf_your_api_key_here"
      }
    }
  }
}

Cursor

Add to .cursor/mcp.json in your project:

config.json
{
  "mcpServers": {
    "gaffer": {
      "command": "npx",
      "args": ["-y", "@gaffer-sh/mcp"],
      "env": {
        "GAFFER_API_KEY": "gaf_your_api_key_here"
      }
    }
  }
}

How this server works

This server uses code mode. Instead of exposing one MCP tool per API call, it exposes three tools plus a codemode namespace you call from JavaScript. Fewer tool definitions occupy the context window, and a single execution can chain several calls.

MCP toolWhat it does
execute_codeRun JavaScript against codemode.<function>(). Max 20 API calls, 30s timeout.
search_toolsFind available functions by keyword. An empty query lists all of them.
list_projectsList projects. Registered only when the token is a user API Key (gaf_).
server.ts
const health = await codemode.get_project_health({ projectId: "proj_abc" });
if (health.flakyTestCount > 0) {
  const flaky = await codemode.get_flaky_tests({ projectId: "proj_abc" });
  return { health, flaky };
}
return { health };

Functions available via execute_code

FunctionCategoryDescription
get_project_healthhealthHealth score, pass rate, flaky count, trend
get_test_historytestingPass/fail history for a specific test
get_flaky_teststestingTests with high flip rates (pass↔fail)
list_test_runstestingRecent test runs, filterable by commit/branch/status
get_test_run_detailstestingParsed individual results for one run
get_failure_clusterstestingFailed tests grouped by root cause
get_slowest_teststestingSlowest tests by P95 duration
compare_test_metricstestingCompare test performance between commits or runs
search_failurestestingSearch failures by error or test-name pattern, or list all recent failures
get_coverage_summarycoverageOverall coverage metrics and trend
get_coverage_for_filecoverageCoverage for specific files or paths
get_untested_filescoverageFiles below a coverage threshold
find_uncovered_failure_areascoverageFiles with low coverage AND test failures
get_reportreportsReport file URLs for a test run
get_report_browser_urlreportsSigned browser-navigable report URL (30 min)
get_upload_statusuploadsWhether CI results are uploaded and processed
upload_test_resultsuploadsUpload test results (write) β€” rate-limited and audit-logged

Every function except upload_test_results is read-only.

Function Reference

list_projects

List all projects you have access to.

  • Input: organizationId (optional), limit (optional, default: 50)
  • Returns: List of projects with IDs, names, and organization info
  • Example: "What projects do I have in Gaffer?"

get_project_health

Get the health metrics for a project.

  • Input: projectId (required), days (optional, default: 30)
  • Returns: Health score (0-100), pass rate, test run count, flaky test count, trend
  • Example: "What's the health of my test suite?"

get_test_history

Get the pass/fail history for a specific test.

  • Input: projectId (required), testName or filePath (one required), limit (optional)
  • Returns: History of runs with status, duration, branch, commit, errors
  • Example: "Is the login test flaky? Check its history"

get_flaky_tests

Get the list of flaky tests in a project.

  • Input: projectId (required), threshold (optional, default: 0.1), days (optional), limit (optional)
  • Returns: List of flaky tests with flip rates, transition counts, run counts
  • Example: "Which tests are flaky in my project?"

list_test_runs

List recent test runs with optional filtering.

  • Input: projectId (required), commitSha (optional), branch (optional), status (optional), limit (optional)
  • Returns: List of test runs with pass/fail/skip counts, commit and branch info
  • Example: "What tests failed in the last commit?"

get_test_run_details

Get parsed test results for a specific test run.

  • Input: testRunId (required), projectId (required), status (optional filter), limit (optional)
  • Returns: Individual test results with name, status, duration, file path, errors
  • Example: "Show me all failed tests from this test run"

get_report

Get URLs for report files uploaded with a test run.

  • Input: testRunId (required)
  • Returns: List of files with filename, size, content type, download URL
  • Example: "Get the Playwright report for the latest test run"

get_report_browser_url

Get a browser-navigable URL for viewing a test report.

  • Input: projectId (required), testRunId (required), filename (optional)
  • Returns: Signed URL valid for 30 minutes
  • Example: "Give me a link to view the test report"

get_slowest_tests

Get the slowest tests in a project, sorted by P95 duration.

  • Input: projectId (required), days (optional), limit (optional), framework (optional), branch (optional)
  • Returns: List of tests with average and P95 duration, run count
  • Example: "Which tests are slowing down my CI pipeline?"

compare_test_metrics

Compare test metrics between two commits or test runs.

  • Input: projectId (required), testName (required), beforeCommit/afterCommit OR beforeRunId/afterRunId
  • Returns: Before/after metrics with duration change and percentage
  • Example: "Did my fix make this test faster?"

get_coverage_summary

Get the coverage metrics summary for a project.

  • Input: projectId (required), days (optional, default: 30)
  • Returns: Line/branch/function coverage percentages, trend, report count, lowest coverage files
  • Example: "What's our test coverage?"

get_coverage_for_file

Get coverage metrics for specific files or paths.

  • Input: projectId (required), filePath (required - exact or partial match)
  • Returns: List of matching files with line/branch/function coverage
  • Example: "What's the coverage for our API routes?"

get_untested_files

Get files with little or no test coverage.

  • Input: projectId (required), maxCoverage (optional, default: 10%), limit (optional)
  • Returns: List of files below threshold sorted by coverage (lowest first)
  • Example: "Which files have no tests?"

find_uncovered_failure_areas

Find code areas with both low coverage AND test failures (high risk).

  • Input: projectId (required), days (optional), coverageThreshold (optional, default: 80%)
  • Returns: Risk areas ranked by score, with file path, coverage %, failure count
  • Example: "Where should we focus our testing efforts?"

get_failure_clusters

Group failed tests by root cause using error message similarity.

  • Input: projectId (required), testRunId (required)
  • Returns: Clusters of failed tests grouped by similar error messages, with representative error and test count
  • Example: "Are these 15 failures from the same bug?"

search_failures

Search past failures by error message, stack trace, or test name β€” or list every failure in the window.

  • Input: query (optional β€” omit to return all failures), projectId (required for gaf_ keys), searchIn (optional: errors/names/all, default all), days (optional, default: 30), branch (optional), limit (optional, default: 20)
  • Returns: Matching failures with test name, error message, run and commit context, plus truncated when scan caps cut the list short
  • Example: "Have we seen this connection-refused error before?" / "What failed in the last 7 days?"

get_upload_status

Check if CI results have been uploaded and processed.

  • Input: projectId (required), sessionId (optional), commitSha (optional), branch (optional)
  • Returns: Upload session(s) with processing status, linked test runs and coverage reports
  • Example: "Are my test results ready for commit abc123?"

upload_test_results

Upload structured test results. This is the only function that writes.

Use it when you have results in hand β€” parsed from CI output or a runner's JSON report β€” and no Gaffer CLI is available to upload them.

Read the full README β†’View source on GitHub β†’

Related MCP Servers

View all in Developer Tools View all alternatives
  • T
    Tldraw

    Draw and visually collaborate with your agents on tldraw's canvas.

    πŸ’» Developer Tools0 views
    Compare vs Tldraw β†’
  • PraisonAI logoPraisonAI

    AI Agents Framework with Self Reflection and MCP support

    πŸ’» Developer Tools1 views
    Compare vs PraisonAI β†’
  • Verdict MCP logoVerdict MCP

    Sandboxed test runs for coding agents: compact typed verdicts with failure fingerprints and history

    πŸ’» Developer Tools0 views
    Compare vs Verdict MCP β†’
  • Cypress Cloud MCP logoCypress Cloud MCP

    The Cypress Cloud MCP server brings Cypress test result context directly into your AI workflow.

    πŸ’» Developer Tools0 views
    Compare vs Cypress Cloud MCP β†’

Reviews

No reviews yet β€” be the first to share how this listing worked for you.

Frequently Asked Questions about Gaffer

Add the following block to your claude_desktop_config.json under mcpServers: "mcpServers": { "gaffer": { "command": "npx", "args": ["-y", "Gaffer"] } }

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewGaffer AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/gaffer?style=directory)](https://allmcps.com/mcp/gaffer)
HTML Embed
<a href="https://allmcps.com/mcp/gaffer"><img src="https://allmcps.com/api/badge/gaffer?style=directory" alt="Gaffer on AllMCPs" /></a>

Technical Specs & Signals

CategoryπŸ’»Developer Tools
More technical detailsExpand β–Ύ
TransportSTDIO
RuntimeNode.js
Last updatedSep 7, 2026
Views0
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
27Quality signal: Emerging Β· 27/100How this signal is calculated β–Ύ
Server availabilityNot measured

Not scored for repo-hosted servers β€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership8/20
Documentation & tools11/30
Adoption & activity1/15
Community engagement0/10

A guidance signal from public completeness & health data β€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

β˜… Spotlight Slot

Feature Your MCP Server

Get maximum visibility for your server across our directory, search results, and detail pages.

Spotlight Your Server

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to unlock edit access and the Official badge β€” proof is checked automatically, then reviewed by our team.

Free dofollow backlink: add your website and place the AllMCPs badge on it β€” no claim needed. We detect it automatically and keep it verified as long as the badge stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in πŸ’» Developer Tools β†’Best MCP servers for Developers β†’Alternatives to Gaffer β†’Install in Claude DesktopInstall in CursorInstall in VS Code