ILSpy MCP
๐ UNLEASH ILSpy'S POWER. Reverse-engineer DOTNET code at GOD SPEED. AI-assisted debugging that THINKS with you. Decompile ANYTHING. ๐
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
Maintainer
Works with
Installation
Manual Installation
npx ilspy-mcpConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
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
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.ServerVerify the installation
Confirm the tool is installed and accessible by checking its version.
ilspy-mcp --versionRegister 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 userConfigure 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": []
}
}
}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=5ILSpy 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.
ILSpy MCP Alternatives โ Similar Developer Tools Servers
Looking for alternatives to ILSpy MCP? Here are other popular developer tools servers you can use with Claude, Cursor, and VS Code.
Ecc
โ 188.2kThe agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Javaguide
โ 155.8kJava ้ข่ฏ & ๅ็ซฏ้็จ้ข่ฏๆๅ๏ผ่ฆ็่ฎก็ฎๆบๅบ็กใๆฐๆฎๅบใๅๅธๅผใ้ซๅนถๅใ็ณป็ป่ฎพ่ฎกไธ AI ๅบ็จๅผๅ
Gemini CLI
โ 104.5kA secure MCP server that wraps the Google Gemini CLI, allowing clients to query Gemini models using local OAuth sessions without requiring an API key. It provides tools for model interaction and diagnostics with built-in protection against command in
Awesome MCP Servers
โ 87.3kโญ Curated list of Model Context Protocol (MCP) servers - tools that extend Claude Desktop, Cursor, Windsurf, and other MCP clients with custom capabilities.
MCP Servers
โ 86.0kModel Context Protocol Servers
CC Switch
โ 77.5kA cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Gemini CLI & Hermes Agent. Only official website: ccswitch.io
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.
Set Up ILSpy MCP in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
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.