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.
主要功能
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.
使用案例
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.