roslyn-codelens-mcp
v2.18.0
Published
Roslyn-based MCP server that gives AI agents deep semantic understanding of .NET codebases — navigation, call graphs, diagnostics, refactoring, code-quality auditing, test intelligence, and IL inspection.
Maintainers
Readme
roslyn-codelens-mcp
npm launcher for Roslyn CodeLens — a Roslyn-based MCP server that gives AI agents deep semantic understanding of .NET codebases.
npx -y roslyn-codelens-mcpThis package contains no server code. It is a thin shim that ensures the
RoslynCodeLens.Mcp .NET global tool is
installed at the matching version, then execs it. The .NET 10 SDK must be on PATH.
MCP client config
{
"mcpServers": {
"roslyn-codelens": {
"type": "stdio",
"command": "npx",
"args": ["-y", "roslyn-codelens-mcp"]
}
}
}Solution paths can be passed as extra args; without them the server walks up from the working
directory to discover .sln/.slnx files.
If you already have the .NET SDK and prefer no npm indirection, install the tool directly:
dotnet tool install -g RoslynCodeLens.McpSee the full documentation for the tool catalog, runtime configuration, and the analyzer trust model.
MIT licensed.
