Roslyn MCP server: semantic .NET/C# intelligence - analysis, refactoring, tests, IL inspection.
Runs locally over stdio
This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).
Run
npx -y roslyn-codelens-mcp
MCP client config
{
"mcpServers": {
"roslyn-codelens": {
"command": "npx",
"args": [
"-y",
"roslyn-codelens-mcp"
]
}
}
}Published to NuGet as `RoslynCodeLens.Mcp` — run it with your .NET MCP host.