ILSpy MCP

v1.0.0โ€ขDeveloper Toolsโ€ขstable

๐Ÿ”“ UNLEASH ILSpy'S POWER. Reverse-engineer DOTNET code at GOD SPEED. AI-assisted debugging that THINKS with you. Decompile ANYTHING. ๐Ÿš€

ai-assistedcode-analysisdebuggingdecompilerdotnet
Share:
35
Stars
0
Downloads
0
Weekly
0/5

What is ILSpy MCP?

ILSpy MCP is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to ๐Ÿ”“ unleash ilspy's power. reverse-engineer dotnet code at god speed. ai-assisted debugging that thinks with you. decompile anything. ๐Ÿš€

๐Ÿ”“ UNLEASH ILSpy'S POWER. Reverse-engineer DOTNET code at GOD SPEED. AI-assisted debugging that THINKS with you. Decompile ANYTHING. ๐Ÿš€

This server falls under the Developer Tools and Coding Agents categories on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • ๐Ÿ”“ UNLEASH ILSpy'S POWER. Reverse-engineer DOTNET code at GOD

Use Cases

Decompile .NET code at high speed with AI assistance.
Debug .NET applications through reverse engineering.
Analyze compiled assemblies and understand code logic.
bivex

Maintainer

LicenseMIT
Languagec#
Versionv1.0.0
UpdatedMay 22, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx ilspy-mcp

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use ILSpy MCP

ILSpy MCP Server brings the power of the ILSpy .NET decompiler directly into AI-assisted development workflows via the Model Context Protocol. It allows AI assistants such as Claude Code, Cursor, and Claude Desktop to decompile .NET assemblies, inspect type hierarchies, search for members by name, and analyze architectural patterns in compiled DLL files โ€” all through natural language commands. This is especially useful for reverse-engineering third-party libraries, debugging without source code, or understanding legacy .NET codebases.

Prerequisites

  • .NET 9.0 SDK or higher installed on your machine
  • An MCP-compatible client: Claude Code, Cursor, or Claude Desktop
  • Access to the .NET assemblies (DLL files) you want to decompile
  • No API keys required โ€” ILSpy runs entirely locally
1

Install the ILSpy MCP server as a global dotnet tool

Install ILSpyMcp.Server from NuGet as a global .NET tool. This makes the 'ilspy-mcp' command available system-wide.

dotnet tool install -g ILSpyMcp.Server
2

Verify the installation

Confirm the tool is installed and accessible by checking its version.

ilspy-mcp --version
3

Register the server with Claude Code

For Claude Code users, register the ILSpy MCP server at user scope so it is available across all projects.

claude mcp add ilspy-mcp --command "ilspy-mcp" --scope user
4

Configure for Claude Desktop

Add the server to your Claude Desktop configuration file. On macOS this is at ~/Library/Application Support/Claude/claude_desktop_config.json.

{
  "mcpServers": {
    "ilspy-mcp": {
      "command": "ilspy-mcp",
      "args": []
    }
  }
}
5

Optionally tune performance via environment variables

The server exposes environment variables to control memory limits, operation timeouts, and concurrency. Set these in your shell or in the MCP client env block.

export ILSpy__MaxDecompilationSize=2097152
export ILSpy__DefaultTimeoutSeconds=60
export ILSpy__MaxConcurrentOperations=5

ILSpy MCP Examples

Client configuration (Claude Desktop)

Minimal Claude Desktop configuration to enable the ILSpy MCP server. No API keys or environment variables are required for basic use.

{
  "mcpServers": {
    "ilspy-mcp": {
      "command": "ilspy-mcp",
      "args": []
    }
  }
}

Prompts to try

Use these natural language prompts to decompile and analyze .NET assemblies after connecting the server.

- "List all types in the assembly /path/to/MyLibrary.dll"
- "Decompile the ProductService class from /path/to/ECommerce.dll"
- "Find the CalculateTotal method in /path/to/Calculator.dll"
- "Show me the type hierarchy for IOrderRepository in /path/to/Domain.dll"
- "Search for members containing 'Authenticate' in /path/to/Auth.dll"
- "Find all extension methods for the IQueryable type in /path/to/Data.dll"

Troubleshooting ILSpy MCP

'ilspy-mcp' command not found after installation

The global dotnet tools directory may not be on your PATH. Add '~/.dotnet/tools' to your PATH environment variable: export PATH="$PATH:$HOME/.dotnet/tools". Then open a new terminal session and retry.

Decompilation times out on large assemblies

Increase the timeout by setting ILSpy__DefaultTimeoutSeconds to a higher value (e.g., 120) in the env block of your MCP client config. Also consider increasing ILSpy__MaxDecompilationSize if output is being truncated.

Error: assembly path not found or access denied

Provide the absolute path to the DLL file. Ensure the file exists and the process running ilspy-mcp has read access to it. On macOS/Linux, check file permissions with 'ls -la /path/to/assembly.dll'.

Frequently Asked Questions about ILSpy MCP

What is ILSpy MCP?

ILSpy MCP is a Model Context Protocol (MCP) server that ๐Ÿ”“ unleash ilspy's power. reverse-engineer dotnet code at god speed. ai-assisted debugging that thinks with you. decompile anything. ๐Ÿš€ It connects AI assistants to external tools and data sources through a standardized interface.

How do I install ILSpy MCP?

Follow the installation instructions on the ILSpy MCP GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with ILSpy MCP?

ILSpy MCP works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is ILSpy MCP free to use?

Yes, ILSpy MCP is open source and available under the MIT license. You can use it freely in both personal and commercial projects.

Browse More Developer Tools MCP Servers

Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "ilspy-mcp": { "command": "npx", "args": ["-y", "ilspy-mcp"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide โ†’

Ready to use ILSpy MCP?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides