dotnet coverage mcp for VS Code
io.github.hyeonu-cha/dotnet-coverage-mcp
MCP server for .NET coverage: run tests, parse Cobertura, find uncovered branches, append tests.
client:VS Code
transport:stdio
runtime:nuget
Install dotnet coverage mcp in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "coverage-mcp-allowed-root",
"description": "COVERAGE_MCP_ALLOWED_ROOT",
"password": true
},
{
"type": "promptString",
"id": "coverage-mcp-dotnet-test-timeout-ms",
"description": "COVERAGE_MCP_DOTNET_TEST_TIMEOUT_MS",
"password": true
}
],
"servers": {
"dotnet-coverage-mcp": {
"type": "stdio",
"command": "dnx",
"args": [
"dotnet-coverage-mcp",
"--yes"
],
"env": {
"COVERAGE_MCP_ALLOWED_ROOT": "${input:coverage-mcp-allowed-root}",
"COVERAGE_MCP_DOTNET_TEST_TIMEOUT_MS": "${input:coverage-mcp-dotnet-test-timeout-ms}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs