.NET MCP Server for VS Code
io.github.jongalloway/dotnet-mcp
AI assistant access to .NET SDK for projects, packages, building, testing, and development tools.
client:VS Code
transport:stdio
runtime:nuget
Install .NET MCP Server in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "dotnet-skip-first-time-experience",
"description": "DOTNET_SKIP_FIRST_TIME_EXPERIENCE",
"password": true
},
{
"type": "promptString",
"id": "dotnet-nologo",
"description": "DOTNET_NOLOGO",
"password": true
}
],
"servers": {
"dotnet-mcp": {
"type": "stdio",
"command": "dnx",
"args": [
"Community.Mcp.DotNet",
"--yes"
],
"env": {
"DOTNET_SKIP_FIRST_TIME_EXPERIENCE": "${input:dotnet-skip-first-time-experience}",
"DOTNET_NOLOGO": "${input:dotnet-nologo}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs