codecov-mcp

codecov-mcp

4

Codecov MCP Server is a Model Context Protocol server designed in TypeScript to assess and suggest test coverage in codebases. It provides tools to identify where tests are lacking and suggests new tests based on Codecov reports.

Codecov MCP Server

A Codecov Model Context Protocol server in TypeScript.

  • Tools for finding where your codebase is lacking tests.
  • Prompts for suggesting which tests to write.

Features

Resources

  • None yet

Tools

  • Returns the coverage totals for a given commit and the coverage totals broken down by file.

Prompts

  • Suggests tests to write based on Codecov report.

Installation

Usage: Ask your AI agent to "run the get_commit_coverage_totals tool" in your chat.

Configure: No need to install anything, just run with npx and put in your Codecov API key.

Set the git url, and use the cursor command with npx.