Roslyn CodeLens for Gemini CLI
io.github.marcelroozekrans/roslyn-codelens
Roslyn MCP server: semantic .NET/C# intelligence - analysis, refactoring, tests, IL inspection.
client:Gemini CLI
transport:stdio
runtime:npm
Install Roslyn CodeLens in Gemini CLI
~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json
{
"mcpServers": {
"roslyn-codelens": {
"command": "npx",
"args": [
"-y",
"roslyn-codelens-mcp"
]
}
}
}
Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs