Roslyn

•
3
•

Provides compiler-accurate C# solution intelligence to coding agents through Roslyn and MSBuildWorkspace.

Roslyn is a read-only Model Context Protocol server that offers advanced, compiler-accurate C# solution intelligence to various coding agents like Codex and Claude Code. It leverages Roslyn and MSBuildWorkspace to load the real solution/project graph, accurately resolving complex semantic questions such as overloads, namespaces, generic symbols, interface implementations, compiler diagnostics, and project references. This design ensures that AI agents receive precise, bounded, and structured contextual information, surpassing the limitations of simple text-based search for sophisticated code understanding.

Características Principales

01Resolves complex semantic details including overloads, namespaces, generics, and interface implementations.
02Provides a Windows installer that automates .NET SDK prerequisite checks and client registration.
031 GitHub stars
04Delivers compiler-accurate C# solution intelligence using Roslyn and MSBuildWorkspace.
05Designed to integrate seamlessly with AI coding agents like Codex and Claude Code for enhanced development workflows.
06Offers a comprehensive catalog of 32 (or 34 with optional tools) Model Context Protocol (MCP) tools for C# code analysis.

Casos de Uso

01Automating semantic analysis and refactoring previews for C# projects.
02Empowering AI coding agents with deep, compiler-level understanding of C# solutions.
03Integrating advanced C# code intelligence into custom development and automation workflows.