Decompiler

v1.0.0Developer Toolsstable

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

decompilerservermcpai-integration
Share:
76
Stars
0
Downloads
0
Weekly
0/5

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

Decompile and analyze .NET assemblies including Unity Assembly-CSharp.dll.
Search and perform code analysis on decompiled outputs.
pardeike

Maintainer

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

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx decompilerserver

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 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
1

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"
2

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 --version
3

Add 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 location
4

Restart 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"
5

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'"
6

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.

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": { "decompilerserver": { "command": "npx", "args": ["-y", "decompilerserver"] } } }

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

Read the full setup guide →

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.

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