Test MCP Server

Analyze test coverage from LCOV files - makes AI agents coverage-aware without wasting tokens

Local serverstdioTypeScript

What is the Test MCP server?

Analyze test coverage from LCOV files - makes AI agents coverage-aware without wasting tokens. The test mcp server wraps that behind the Model Context Protocol, so an assistant can use it through 4 defined tools rather than through you.

What it actually does

Give your coding and testing agent eyes: MCP server that provides instant, reliable, token-efficient test coverage data for any programming language (LCOV based)

Its toolset

Everything the assistant can do here goes through one of these:

  • coverage_summary — The coverage_summary tool exposed by this server
  • coverage_file_summary — The coverage_file_summary tool exposed by this server
  • start_recording — The start_recording tool exposed by this server
  • get_diff_since_start — The get_diff_since_start tool exposed by this server

Adding it to your client

Installation goes through your MCP client rather than a global install: point it at test-coverage-mcp on npm and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.

When to reach for it

Plenty of developer tooling servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Test's toolset — coverage_summary, coverage_file_summary, start_recording and 1 more — is a fair guide to whether it matches your workflow. It is maintained by goldbergyoni; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Caveats

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the test mcp server does with a few real requests.

Available tools

ToolWhat it does
coverage_summaryThe coverage_summary tool exposed by this server.
coverage_file_summaryThe coverage_file_summary tool exposed by this server.
start_recordingThe start_recording tool exposed by this server.
get_diff_since_startThe get_diff_since_start tool exposed by this server.

How to install the Test MCP server

{
  "mcpServers": {
    "test-coverage": {
      "command": "npx",
      "args": ["-y", "test-coverage-mcp"]
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Example prompts to try

  • Use Test to coverage summary.
  • Use Test to coverage file summary.
  • Use Test to start recording.

Frequently asked questions

It connects Test to MCP-compatible AI assistants such as Claude and Cursor, exposing 4 tools (coverage_summary, coverage_file_summary, start_recording, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Test directly.