.NET Types Explorer MCP Server
A Model Context Protocol (MCP) server that provides detailed type information from .NET projects for AI coding agents.
Overview
The .NET Types Explorer MCP Server is a powerful tool designed to help AI coding agents understand and work with .NET codebases. It provides a structured way to explore assemblies, namespaces, and types in .NET projects, making it easier for AI agents to generate accurate and context-aware code suggestions.
The server uses reflection to extract detailed type information from compiled .NET assemblies, including classes, interfaces, methods, properties, fields, and events. This information is then made available through a set of tools that can be used by AI agents to explore the codebase in a systematic way.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Features
- Assembly Exploration: Retrieve a list of all assemblies referenced by a .NET project
- Namespace Exploration: Discover all namespaces within specified assemblies
- Type Exploration: Get detailed information about types within specified namespaces, including:
- Full type names with generic parameters
- Implemented interfaces
- Constructors with parameters
- Methods with return types and parameters
- Properties with types and accessors
- Fields with types and modifiers
- Events with handler types
- NuGet Package Search: Search for NuGet packages on nuget.org with filtering and pagination
- NuGet Package Version Information: Retrieve version history and dependency information for specific NuGet packages
- Configurable Assembly Resolution: Resolve assemblies from build output, NuGet global packages cache (restore-only, no build required), or automatically try both
- Filtering: Apply wildcard filters to narrow down results
- Pagination: Handle large result sets with built-in pagination






