1. Conduid
  2. Blockchain
  3. ILSpyMcp.Server
MCP server · Blockchain

ILSpyMcp.Server

MCP server for .NET assembly decompilation and analysis using ILSpy. Enables AI assistants to decompile types, methods, list assembly types, analyze architecture, find type hierarchies, and search members in compiled .NET assemblies.

Unclaimed blockchain
34Low

Scored 6 months ago · breakdown

About ILSpyMcp.Server

ILSpyMcp.Server is an MCP server published by gentledepp in the Blockchain category: mCP server for .NET assembly decompilation and analysis using ILSpy. Enables AI assistants to decompile types, methods, list assembly types, analyze architecture, find type hierarchies, and search members in compiled .NET assemblies.

Recent commit activity is the strongest signal that reported issues will get attention.

Install

From source
git clone https://github.com/gentledepp/ILSpy-Mcp

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about ILSpyMcp.Server

Powered by Claude · Grounded in docs

I know everything about ILSpyMcp.Server. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.

5 checks have not been run yet.

README

ILSpy MCP Server

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

🎯 What is this?

ILSpy MCP Server enables AI assistants (like Claude Desktop, Cursor) to decompile and analyze .NET assemblies directly through natural language commands. It integrates ILSpy to provide powerful reverse-engineering capabilities.

🚀 Quick Start

Prerequisites

  • .NET 8.0 or higher
  • ILSpy installed or ILSpy CLI available
  • MCP-compatible client (Cursor, Claude Desktop, etc.)

Installation

  1. Clone the repository:

    git clone https://github.com/bivex/ILSpy-Mcp.git
    cd ILSpy-Mcp
    
  2. Build the project:

    dotnet build -c Release
    
  3. Configure MCP Client:

    For Claude Desktop, add to claude_desktop_config.json:

    {
      "mcpServers": {
        "ilspy-mcp": {
          "command": "dotnet",
          "args": ["/path/to/ILSpy-Mcp.dll"]
        }
      }
    }
    

    For Cursor, configure in MCP settings:

    {
      "servers": {
        "ilspy-mcp": {
          "command": "dotnet",
          "args": ["/path/to/ILSpy-Mcp.dll"]
        }
      }
    }
    

Usage Examples

Decompile an Assembly

Decompile the assembly /path/to/MyAssembly.dll and show me the Main method

List All Types

List all types in the assembly /path/to/MyLibrary.dll

Find a Specific Method

Find the CalculateTotal method in the assembly /path/to/Calculator.dll

Analyze Type Hierarchy

Show me the type hierarchy for ProductService in /path/to/ECommerce.dll

Search Members

Search for members containing "Authenticate" in /path/to/Auth.dll

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

Requirements

  • .NET 8.0+
  • ILSpy or ILSpy CLI
  • MCP-compatible client

License

See LICENSE file for details.

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About ILSpyMcp.Server

How do I install ILSpyMcp.Server?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is ILSpyMcp.Server safe to use with an AI agent?

Its trust score is 34 out of 100 (low). It passes 1 of the 1 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is ILSpyMcp.Server still maintained?

Yes — the last commit was 2 months ago. The repository has 0 stars and 0 forks.