Skip to content

About

Rust MCP server for the Codecov API (stdio or Streamable HTTP): coverage totals, miss files, file reports

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

3 stars

Watchers

0 watching

Forks

codecov-rust-mcp

CI codecov

MCP server for the Codecov API v2 over stdio or Streamable HTTP. Agents can inspect PR patch coverage, find exact missed changed lines, check commit totals, and fetch per-file line reports.

Canonical repo: Interchouette-ITC/codecov-rust-mcp.

Service is fixed to GitHub (github in the Codecov API path).

Docs

Doc Description
OVERVIEW.md Product overview and layout
mcp.md Operator guide: tools, auth, env, Make, MCP clients
CONTRIBUTING.md PR habits and local gates
CODE_OF_CONDUCT.md Contributor Covenant
SECURITY.md Vulnerability reporting
pull_request_template.md PR Summary + Test plan
Rust API (rustdoc) Generated by make doc; published from dev via GitHub Pages
LICENSE Apache-2.0

Tools

Tool Purpose
codecov_pr_report PR patch totals plus missed/partial added lines (provide owner, repo, and PR number)
codecov_totals Whole-commit coverage totals for a GitHub owner / repo (optional branch or sha)
codecov_miss_files Whole-commit files with misses, sorted descending (limit default 30; 0 = uncapped)
codecov_file_report Whole-file line coverage for one repository-relative path

Quick start

cargo +stable install --locked codecov-rust-mcp
mkdir -p "${XDG_CONFIG_HOME:-$HOME/.config}/codecov-rust-mcp"

Create .env in that directory and set CODECOV_TOKEN to a Codecov Access token (not an upload token), or provide it in the process environment. When installing from a checkout instead, run cargo +stable install --locked --path . --force.

Point any MCP-capable agent or IDE at mcp.json.example: run codecov-rust-mcp on PATH. Token stays in user config .env (or process env), not in the MCP host JSON.

Prebuilt Linux binary: GitHub Releases (codecov-rust-mcp-*-x86_64-unknown-linux-gnu).

Docker image: interchouette/codecov-rust-mcp (Streamable HTTP on :8690 /mcp by default). Hub Overview source: docker/DOCKERHUB.md.

Thanks

Thanks to GitHub for hosting and Actions, and to Codecov for coverage reports and the API this server wraps.

License

Apache-2.0 (Apache License, Version 2.0). See LICENSE.

About

Rust MCP server for the Codecov API (stdio or Streamable HTTP): coverage totals, miss files, file reports

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages