J

codecov-mcp

...
Created 3/8/2025bystedwick

Categories

codecovmcpmcp-server

Language:

JavaScript

Stars:

3

Forks:

1

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

  • get_commit_coverage_totals - Returns the coverage totals for a given commit and the coverage totals broken down by file. Uses this api.

Prompts

  • suggest_tests - 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 from here - Go to Settings -> Access.

And git url: git remote get-url origin

Cursor command: npx -y codecov-mcp-server --api-key XXX --git-url XXX (On Windows) Cursor command: cmd.exe /c npx -y codecov-mcp-server --api-key XXX --git-url XXX

To use with Claude (or any AI), add the server config:

{
  "mcpServers": {
    "codecov-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "codecov-mcp-server",
      ],
      "env": {
        "CODECOV_API_KEY": "XXX",
        "GIT_URL": "XXX"
      }
    }
  }
}

Debugging

Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector, which is available as a package script:

npm run inspector

The Inspector will provide a URL to access debugging tools in your browser.

Development

Install dependencies:

npm install

Build the server:

npm run build

For development with auto-rebuild:

npm run watch
Last updated: 3/11/2025

Publisher info

stedwick's avatar

Philip Brocoum

Senior Engineering Manager at Syncta

9
followers
4
following
20
repos

More MCP servers built with JavaScript

mcp-server-semgrep

MCP Server Semgrep is a [Model Context Protocol](https://modelcontextprotocol.io) compliant server that integrates the powerful Semgrep static analysis tool with AI assistants like Anthropic Claude. It enables advanced code analysis, security vulnerability detection, and code quality improvements directly through a conversational interface.

By Szowesgad9
protonmail-mcp

This MCP server provides email sending functionality using Protonmail's SMTP service. It allows both Claude Desktop and Cline VSCode extension to send emails on your behalf using your Protonmail credentials.

By amotivv6
agentql-mcp

Model Context Protocol server that integrates AgentQL's data extraction capabilities.

By tinyfish-io45