dotnet coverage mcp for Cursor
io.github.hyeonu-cha/dotnet-coverage-mcp
MCP server for .NET coverage: run tests, parse Cobertura, find uncovered branches, append tests.
client:Cursor
transport:stdio
runtime:nuget
Install dotnet coverage mcp in Cursor
~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json
{
"mcpServers": {
"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>"
}
}
}
}
Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs