Roslyn CodeLens is a Model Context Protocol (MCP) server: Roslyn MCP server: semantic .NET/C# intelligence - analysis, refactoring, tests, IL inspection. Because it speaks the Model Context Protocol, AI assistants can use Roslyn CodeLens as a set of callable tools instead of you copy-pasting between apps.
It runs locally: the npm package roslyn-codelens-mcp speaks MCP over stdio on your machine. No credentials are required — it works out of the box. The current release is v2.18.0, published under the MIT license, with source at MarcelRoozekrans/roslyn-codelens-mcp on GitHub, where it has earned 48 stars.
On mcp.site, Roslyn CodeLens sits in the Development category. Any MCP client can use it — Claude Desktop, Claude Code, Cursor, VS Code, Windsurf, Zed among them — via the install snippets below. If you maintain Roslyn CodeLens for MarcelRoozekrans, claim this listing to verify ownership, earn the Verified badge, and keep the details current.
▸npm package — roslyn-codelens-mcp · MCP over stdio
▸NuGet package — RoslynCodeLens.Mcp · MCP over stdio
▸Open source — MIT license · MarcelRoozekrans/roslyn-codelens-mcp