NestDaddy

Dotnet Coverage Mcp

io.github.Hyeonu-Cha/dotnet-coverage-mcp ยท v0.1.1

MCP server for .NET coverage: run tests, parse Cobertura, find uncovered branches, append tests.

Connect Runs on your machine

Terminal
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
claude_desktop_config.json
{
  "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>"
      }
    }
  }
}
~/.cursor/mcp.json
{
  "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>"
      }
    }
  }
}
.vscode/mcp.json
{
  "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

NameDescription
COVERAGE_MCP_ALLOWED_ROOT
Optional
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_MS
Optional
Override the dotnet test timeout in milliseconds. Default: 600000 (10 minutes).

Details

Package[email protected] (NUGET, stdio)
First published5 May 2026
Last updated5 May 2026
Registry nameio.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.