Skip to content
MCP server

Dotnet Coverage MCP

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

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
2.0.2
Listing updated
5 days ago

About Dotnet Coverage MCP

Dotnet Coverage MCP is an open-source MCP server. It runs locally on your machine and is started by your AI client.

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

Install

Run in a terminal

claude mcp add dotnet-coverage-mcp -- dnx dotnet-coverage-mcp --yes

Add to claude_desktop_config.json

{
  "mcpServers": {
    "dotnet-coverage-mcp": {
      "command": "dnx",
      "args": [
        "dotnet-coverage-mcp",
        "--yes"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "dotnet-coverage-mcp": {
      "command": "dnx",
      "args": [
        "dotnet-coverage-mcp",
        "--yes"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "dotnet-coverage-mcp": {
      "type": "stdio",
      "command": "dnx",
      "args": [
        "dotnet-coverage-mcp",
        "--yes"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "dotnet-coverage-mcp": {
      "command": "dnx",
      "args": [
        "dotnet-coverage-mcp",
        "--yes"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "dotnet-coverage-mcp": {
      "command": "dnx",
      "args": [
        "dotnet-coverage-mcp",
        "--yes"
      ]
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • COVERAGE_MCP_ALLOWED_ROOTRestrict 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_MSOverride the dotnet test timeout in milliseconds. Default: 600000 (10 minutes).

Pricing

Open source

Dotnet Coverage MCP FAQ

Is Dotnet Coverage MCP free?

Yes. Dotnet Coverage MCP is open source, so you can use and self-host it for free.

How do I add Dotnet Coverage MCP to Claude Code?

Run this command in your terminal: claude mcp add dotnet-coverage-mcp -- dnx dotnet-coverage-mcp --yes

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers