MCP server for .NET coverage: run tests, parse Cobertura, find uncovered branches, append tests.
Connect Runs on your machine
claude mcp add dotnet-coverage-mcp -e COVERAGE_MCP_ALLOWED_ROOT=<COVERAGE_MCP_ALLOWED_ROOT> -e COVERAGE_MCP_DOTNET_TEST_TIMEOUT_MS=<COVERAGE_MCP_DOTNET_TEST_TIMEOUT_MS> -- dnx dotnet-coverage-mcp --yes
{
"mcpServers": {
"dotnet-coverage-mcp": {
"command": "dnx",
"args": [
"dotnet-coverage-mcp",
"--yes"
],
"env": {
"COVERAGE_MCP_ALLOWED_ROOT": "<COVERAGE_MCP_ALLOWED_ROOT>",
"COVERAGE_MCP_DOTNET_TEST_TIMEOUT_MS": "<COVERAGE_MCP_DOTNET_TEST_TIMEOUT_MS>"
}
}
}
}
{
"mcpServers": {
"dotnet-coverage-mcp": {
"command": "dnx",
"args": [
"dotnet-coverage-mcp",
"--yes"
],
"env": {
"COVERAGE_MCP_ALLOWED_ROOT": "<COVERAGE_MCP_ALLOWED_ROOT>",
"COVERAGE_MCP_DOTNET_TEST_TIMEOUT_MS": "<COVERAGE_MCP_DOTNET_TEST_TIMEOUT_MS>"
}
}
}
}
{
"servers": {
"dotnet-coverage-mcp": {
"type": "stdio",
"command": "dnx",
"args": [
"dotnet-coverage-mcp",
"--yes"
],
"env": {
"COVERAGE_MCP_ALLOWED_ROOT": "<COVERAGE_MCP_ALLOWED_ROOT>",
"COVERAGE_MCP_DOTNET_TEST_TIMEOUT_MS": "<COVERAGE_MCP_DOTNET_TEST_TIMEOUT_MS>"
}
}
}
}
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools
This server runs locally, so its tools are listed by your MCP client once it starts.
Environment variables
| Name | Description |
|---|---|
COVERAGE_MCP_ALLOWED_ROOTOptional | Restrict every tool's filesystem access to this subtree. Recommended for shared environments. When unset, the server logs a warning and accepts any path. |
COVERAGE_MCP_DOTNET_TEST_TIMEOUT_MSOptional | Override the dotnet test timeout in milliseconds. Default: 600000 (10 minutes). |
Details
| Package | [email protected] (NUGET, stdio) |
| First published | 5 May 2026 |
| Last updated | 5 May 2026 |
| Registry name | io.github.Hyeonu-Cha/dotnet-coverage-mcp |
More developer tools servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
