dotnet-mcp for VS Code
io.github.skymly/dotnet-mcp
MCP server for .NET symbols, XAML, source generators, and restricted workspace edit
client:VS Code
transport:stdio
runtime:nuget
Install dotnet-mcp in VS Code
.vscode/mcp.json
{
"servers": {
"dotnet-mcp": {
"type": "stdio",
"command": "dnx",
"args": [
"Skymly.DotNetMcp",
"--yes"
]
}
}
}
Requires agent mode. MCP: Open User Configuration puts the same block in every workspace. VS Code docs