Skip to content
Gemini CLI

dotnetdevmcp for Gemini CLI

io.github.csa7mdm/dotnetdevmcp

MCP server for .NET: Roslyn code navigation and refactoring, build, and affected-test selection.

client:Gemini CLI transport:stdio runtime:nuget

Install dotnetdevmcp in Gemini CLI

~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json

{
  "mcpServers": {
    "dotnetdevmcp": {
      "command": "dnx",
      "args": [
        "DotNetDevMCP",
        "--yes"
      ]
    }
  }
}

Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs

dotnetdevmcp in other clients