What it does
Roslyn CodeLens is an MCP server that gives AI tools semantic access to .NET and C# code through Roslyn. Its publisher describes it as covering code analysis, refactoring, tests and IL inspection.
It is relevant for development and testing work on .NET and C# projects, where code analysis, refactoring, test handling or inspection of compiled IL output is needed.
Safety
Our team has not reviewed this resource. Only automated rules checked it; resources with high-risk signals are not published. These are signals, not a guarantee that installing it is safe. Try it in a sandbox project first.
- Runs code or changes an assistant's behaviour
Sources
- Official MCP Registry first seen 13 Nov 2026 · last seen 17 Nov 2026 · its page on the source
Roslyn CodeLens
Roslyn MCP server: semantic .NET/C# intelligence - analysis, refactoring, tests, IL inspection.
v2.19.1As shown on registry.modelcontextprotocol.io when we last read it