Skip to content
Gemini CLI

dotnet coverage mcp for Gemini CLI

io.github.hyeonu-cha/dotnet-coverage-mcp

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

client:Gemini CLI transport:stdio runtime:nuget

Install dotnet coverage mcp in Gemini CLI

~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "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>"
      }
    }
  }
}

Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs

dotnet coverage mcp in other clients