Skip to main content
Glama
dotnet-decompiler

dotnet-decompiler

by Rangesa

.NET Decompiler MCP Server

AI特化型の.NET DLLデコンパイラMCPサーバー

概要

このMCPサーバーは、Claude CodeなどのAIツールから.NET DLLを簡単に解析できるようにします。 ゲームMOD作成、リバースエンジニアリング、コード解析などに最適です。

Related MCP server: dotnet-sherlock-mcp

機能

Steam/ゲーム自動検出

  • find_steam_games: Steamライブラリをスキャンして全ゲームを検索

    • Windowsレジストリから自動検出(非標準インストール先にも対応)

    • libraryfolders.vdfから複数ライブラリ対応

    • フォールバック機能(レジストリ失敗時)

  • scan_game_assemblies: ゲームディレクトリから.NET DLL/EXEを自動検出

    • Unity(Managed/、*_Data/Managed/)

    • IL2CPP対応

    • ModMenu.dll等のルートディレクトリDLLも検出

デコンパイル

  • list_types: DLL内の全ての型(クラス、インターフェース等)を一覧表示

  • inspect_type: 特定の型の詳細情報(メソッド、フィールド、プロパティ)を取得

  • decompile_method: 特定のメソッドをC#コードにデコンパイル

パス解決

  • 相対パス自動解決

  • 環境変数展開対応

前提条件

  • Python 3.10以上

  • ilspycmd(.NET Tool)

クイックスタート

1. 依存関係のインストール

# ilspycmdのインストール
dotnet tool install -g ilspycmd

# Python依存関係のインストール
cd C:\Programming\dotnet-decompiler-mcp
pip install -r requirements.txt

2. Claude Code設定

%APPDATA%\Claude\claude_desktop_config.json に追加:

{
  "mcpServers": {
    "dotnet-decompiler": {
      "command": "python",
      "args": ["C:\\Programming\\dotnet-decompiler-mcp\\server.py"]
    }
  }
}

3. Claude Codeを再起動

詳細はINSTALL.mdを参照してください。

使用方法

MCPサーバーとして起動

python server.py

Claude Code設定

claude_desktop_config.jsonに以下を追加:

{
  "mcpServers": {
    "dotnet-decompiler": {
      "command": "python",
      "args": ["C:\\Programming\\dotnet-decompiler-mcp\\server.py"]
    }
  }
}

対象ユーザー

  • ゲームMOD作成者

  • リバースエンジニア

  • .NET開発者

  • セキュリティ研究者

ライセンス

MIT License

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Enables LLMs to read .NET assemblies as C# by providing tools to list types, decompile types, decompile assemblies, and search decompiled source.
      4
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      ILSpy for LLM coding agents. Reflection-based MCP server with 31+ tools to explore .NET assemblies, NuGet packages, types, members, attributes, and XML docs.
      10
      MIT
    • A
      license
      C
      quality
      C
      maintenance
      Enables an AI agent to auto-detect a game's engine (Unity, Unreal, Godot, Java, or native) from its files and then inspect, search, and patch the underlying binaries with in-process PE analysis, hex editing, pattern scanning, string extraction, checksums, diffing, and disassembly. Everything runs locally and offline with no cloud dependency or telemetry.
      100
      56 npm
      5
      MIT