ILSpy-Mcp

bivex/ILSpy-Mcp

3.2

If you are the rightful owner of ILSpy-Mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.

The ILSpy MCP Server is a specialized server designed to provide .NET assembly decompilation and analysis capabilities using the Model Context Protocol.

ILSpy MCP Server

A Model Context Protocol (MCP) server that provides .NET assembly decompilation and analysis capabilities.

Architecture

This server follows a clean architecture with clear separation of concerns:

  • Domain: Core business logic and entities
  • Application: Use cases and application services
  • Infrastructure: External system adapters (ILSpy, file system)
  • Transport: MCP protocol layer

Capabilities

  • Decompile types, methods, and assemblies
  • List and search types in assemblies
  • Analyze assembly structure and architecture
  • Find type hierarchies and relationships
  • Discover extension methods
  • Search members by name

Configuration

Configuration is managed through environment variables and appsettings.json.

Security

  • All operations are read-only (no file modifications)
  • Assembly path validation
  • Timeout and cancellation support
  • Request context propagation