.NET MCP Server for Gemini CLI
io.github.jongalloway/dotnet-mcp
AI assistant access to .NET SDK for projects, packages, building, testing, and development tools.
client:Gemini CLI
transport:stdio
runtime:nuget
Install .NET MCP Server in Gemini CLI
~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json
{
"mcpServers": {
"dotnet-mcp": {
"command": "dnx",
"args": [
"Community.Mcp.DotNet",
"--yes"
],
"env": {
"DOTNET_SKIP_FIRST_TIME_EXPERIENCE": "<DOTNET_SKIP_FIRST_TIME_EXPERIENCE>",
"DOTNET_NOLOGO": "<DOTNET_NOLOGO>"
}
}
}
}
Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs