Decompiler
A powerful MCP (Model Context Protocol) server for decompiling and analyzing .NET assemblies, with specialized support for Unity's Assembly-CSharp.dll files. DecompilerServer provides comprehensive decompilation, search, and code analysis capabilitie
What is Decompiler?
Decompiler is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to powerful mcp (model context protocol) server for decompiling and analyzing .net assemblies, with specialized support for unity's assembly-csharp.dll files. decompilerserver provides comprehensive deco...
A powerful MCP (Model Context Protocol) server for decompiling and analyzing .NET assemblies, with specialized support for Unity's Assembly-CSharp.dll files. DecompilerServer provides comprehensive decompilation, search, and code analysis capabilitie
This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- A powerful MCP (Model Context Protocol) server for decompili
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx decompilerserverConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use Decompiler
DecompilerServer is a .NET-based MCP server that gives AI assistants the ability to load, decompile, and analyze .NET assemblies through a rich set of structured tools. It is purpose-built for Unity modding, third-party library inspection, and version-to-version migration analysis, with specialized support for Unity's Assembly-CSharp.dll. The server can maintain multiple assemblies simultaneously under named aliases and exposes tools for symbol search, type listing, source decompilation, caller/callee analysis, IL inspection, and side-by-side comparison of assembly versions.
Prerequisites
- .NET 10 runtime installed (required to run prebuilt binaries) or .NET 10 SDK if building from source
- A prebuilt binary downloaded from https://github.com/pardeike/DecompilerServer/releases or built from source
- An MCP-compatible client such as Claude Desktop, Cursor, or VS Code with MCP support
- One or more .NET assemblies (.dll files) to analyze — e.g., Unity's Assembly-CSharp.dll
Download and extract the prebuilt binary
Download the release archive for your platform from the GitHub releases page and extract it to a permanent location.
# macOS / Linux
mkdir -p ~/tools/decompiler-server
tar -xzf decompilerserver-v*-*.tar.gz -C ~/tools/decompiler-server --strip-components=1
# Windows (PowerShell)
Expand-Archive decompilerserver-v*-win-x64.zip -DestinationPath "$HOME\tools\decompiler-server"Verify .NET 10 runtime is installed
The prebuilt binary depends on .NET 10. Verify it is installed and the binary can execute.
dotnet --version
# Should show 10.x.x
# Test the binary (macOS/Linux):
~/tools/decompiler-server/DecompilerServer --versionAdd to your MCP client configuration
Register DecompilerServer with your MCP client using the absolute path to the binary. No environment variables are required — all configuration is done through tool calls.
# Use the absolute path — replace with your actual extraction locationRestart your MCP client
Restart Claude Desktop, Cursor, or VS Code to load the new server. Confirm it is active by asking for the server status.
"Call status() to check if DecompilerServer is running"Load an assembly and start analyzing
Use the load_assembly tool to register a .dll file under a named alias. All subsequent tool calls can reference this alias to route to the correct assembly.
"Load the assembly at /path/to/Assembly-CSharp.dll with alias unity-game"
"List all types in the unity-game assembly that contain 'Player'"Compare two assembly versions
Load a second version under a different alias and use the compare tools to diff types or symbols between versions.
"Load /path/to/Assembly-CSharp-v2.dll as alias unity-game-v2"
"Compare the PlayerController type between unity-game and unity-game-v2"Decompiler Examples
Client configuration
Claude Desktop configuration for DecompilerServer — use the absolute path to the extracted binary:
{
"mcpServers": {
"decompiler": {
"command": "/Users/you/tools/decompiler-server/DecompilerServer"
}
}
}Prompts to try
Use these prompts once DecompilerServer is connected to your AI assistant:
- "Load the assembly at /path/to/Assembly-CSharp.dll and list all types containing 'Controller'"
- "Decompile the PlayerMovement class from the loaded Unity assembly"
- "Find all callers of the method PlayerHealth.TakeDamage in the assembly"
- "Search for any types implementing IEnemy in the assembly"
- "Compare PlayerController between assembly version 1.4 and 1.5 and show what changed"Troubleshooting Decompiler
Binary fails to start with 'dotnet runtime not found'
Install .NET 10 from https://dotnet.microsoft.com/download/dotnet/10.0. After installation, verify with 'dotnet --version'. On macOS, you may need to run 'xattr -d com.apple.quarantine /path/to/DecompilerServer' to bypass Gatekeeper.
load_assembly fails with 'file not found'
The path passed to load_assembly must be an absolute path to the .dll file, not a relative one. Confirm the file exists with 'ls /full/path/to/Assembly-CSharp.dll' before invoking the tool.
Decompiled output is incomplete or shows only IL
Some heavily obfuscated assemblies may fall back to IL output when C# decompilation fails. Try using get_il() directly for those methods, or search for non-obfuscated types first using search_types() to confirm the assembly loaded correctly.
Frequently Asked Questions about Decompiler
What is Decompiler?
Decompiler is a Model Context Protocol (MCP) server that powerful mcp (model context protocol) server for decompiling and analyzing .net assemblies, with specialized support for unity's assembly-csharp.dll files. decompilerserver provides comprehensive decompilation, search, and code analysis capabilitie It connects AI assistants to external tools and data sources through a standardized interface.
How do I install Decompiler?
Follow the installation instructions on the Decompiler GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with Decompiler?
Decompiler works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is Decompiler free to use?
Yes, Decompiler is open source and available under the MIT license. You can use it freely in both personal and commercial projects.
Decompiler Alternatives — Similar Developer Tools Servers
Looking for alternatives to Decompiler? 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 Decompiler 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 Decompiler?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.