Roslyn CodeLens

•
78
•

Provides AI agents with deep semantic understanding of .NET/C# codebases through a comprehensive set of 57 tools for code analysis, navigation, diagnostics, and quality auditing.

This Roslyn-based MCP server provides AI agents with deep semantic understanding of .NET/C# codebases through an extensive suite of 57 tools. It offers granular insights into type hierarchies, call graphs, dependency injection, diagnostics, and refactoring, enabling advanced code analysis and manipulation. Developers and AI systems can leverage its capabilities for tasks like identifying code quality issues, generating test skeletons, detecting breaking changes, inspecting external assemblies or IL, and managing solution-level operations, fostering intelligent interaction with complex C# applications.

主な機能

01Offers comprehensive code quality auditing, including complexity, naming, and async/disposable misuse detection.
0226 GitHub stars
03Provides 57 tools for deep semantic analysis of .NET/C# codebases.
04Enables automated test intelligence, such as finding uncovered symbols and generating test skeletons.
05Allows inspection of external NuGet packages and referenced assemblies, including IL bytecode decompilation.
06Supports refactoring and application of code fixes with structured text edits.

ユースケース

01Automating code quality checks and identifying architectural smells or technical debt.
02Empowering AI agents to understand, navigate, and refactor .NET/C# code.
03Enhancing developer productivity through advanced code intelligence, diagnostics, and refactorings.