1. Conduid
  2. Developer Tools
  3. ILSpyMCP
MCP server · Developer Tools

ILSpyMCP

内置 ICSharpCode.Decompiler 的反编译 MCP 服务器,可在对话中直接反编译 .NET 程序集为 C# 源码或列出类型。

Unclaimed devtools
34Low

Scored 2 months ago · breakdown

About ILSpyMCP

ILSpyMCP is an MCP server published by Phantomical in the Developer Tools category: 内置 ICSharpCode.Decompiler 的反编译 MCP 服务器,可在对话中直接反编译 .NET 程序集为 C# 源码或列出类型。.

The repository has 2 stars and 0 forks, with the last commit 3 months ago. Recent commit activity is the strongest signal that reported issues will get attention.

Install

From source
git clone https://github.com/Phantomical/ILSpyMCP

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

Powered by Claude · Grounded in docs

I know everything about ILSpyMCP. 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

An MCP server that uses ICSharpCode.Decompiler to provide .NET assembly inspection tools. Lets LLMs list types, decompile C#, and view IL disassembly from compiled assemblies.

Prerequisites

Build

dotnet build

Usage

The server communicates over stdio using the MCP protocol.

dotnet run [options]

Options

Option Description
--reference-path <path> Add assembly reference directory (repeatable)
-v, --verbose Enable debug-level logging to stderr

Tools

list_types

List all types (classes, interfaces, structs, delegates, enums) in a .NET assembly, grouped by namespace.

Parameter Required Description
assemblyPath yes Path to the .dll or .exe
pattern no Regex to filter type names

list_members

Decompile a type to C# and list its members and nested types.

Parameter Required Description
assemblyPath yes Path to the .dll or .exe
typeName yes Fully qualified type name (e.g. Namespace.ClassName)

decompile

Decompile a type to C# source code.

Parameter Required Description
assemblyPath yes Path to the .dll or .exe
typeName yes Fully qualified type name

disassemble

Disassemble a type to IL (Intermediate Language) code.

Parameter Required Description
assemblyPath yes Path to the .dll or .exe
typeName yes Fully qualified type name

MCP Client Configuration

Claude Code

Add to your MCP settings:

{
  "mcpServers": {
    "ilspy": {
      "command": "dotnet",
      "args": ["run", "--project", "/path/to/ILSpyMCP"]
    }
  }
}

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "ilspy": {
      "command": "dotnet",
      "args": ["run", "--project", "/path/to/ILSpyMCP"]
    }
  }
}

To pass additional options (e.g. reference paths for framework assemblies):

{
  "mcpServers": {
    "ilspy": {
      "command": "dotnet",
      "args": [
        "run", "--project", "/path/to/ILSpyMCP",
        "--",
        "--reference-path", "/path/to/framework/assemblies"
      ]
    }
  }
}

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

Questions

About ILSpyMCP

How do I install ILSpyMCP?

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

Is ILSpyMCP 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 still maintained?

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