Codecov MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| CODECOV_TOKEN | Yes | Codecov API token (not upload token). Required for authentication. | |
| CODECOV_BASE_URL | No | Base URL of the Codecov instance (must use https). For self-hosted instances, e.g., https://codecov.your-company.com. | https://codecov.io |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {} |
| prompts | {
"listChanged": true
} |
| resources | {
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_file_coverageB | Get line-by-line coverage data for a specific file in a repository. Returns coverage percentages and line-level hit/miss information. |
| get_commit_coverageA | Get coverage data for a specific commit, including overall coverage percentage and file-level changes. |
| get_repo_coverageA | Get overall coverage statistics for a repository, optionally for a specific branch. |
| get_pull_request_coverageA | Get coverage data for a specific pull request, including coverage changes and file-level impact. |
| compare_coverageB | Compare coverage between two git references (branches, commits, or tags). |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| analyze_coverage | Get comprehensive coverage analysis for a repository |
| compare_commits | Compare coverage changes between two commits |
| find_low_coverage | Identify files with coverage below a threshold |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| Getting Started Guide | Quick start guide for using the Codecov MCP server |
| GitHub Actions Integration | Example GitHub Actions workflow for Codecov |
| Common Query Patterns | Examples of common Codecov queries |
| Configuration Guide | How to configure CODECOV_BASE_URL and CODECOV_TOKEN |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/egulatee/mcp-server-codecov'
If you have feedback or need assistance with the MCP directory API, please join our Discord server