SkillAgentSearch skills...

DnSpyMCP

A powerful MCP server for .NET reverse engineering, game hacking, and Il2Cpp dump analysis. Features 31 tools for deep assembly inspection, cross-referencing, network patching, and more.

Install / Use

claude mcp add rabbanyhmm -- npx -y github:rabbanyhmm/DnSpyMCP

If the server publishes to npm under a different name, use that package instead — check the repo README.

About this skill
šŸ”Œ

MCP Server

Model Context Protocol server

Quality Score

83/100

Category

Other

Supported Platforms

Claude Code
Claude Desktop

Tags

Our assessment of DnSpyMCP

DnSpyMCP scores 83/100 on our quality scale, 181st of 241 Other skills we index.

Its MCP Server is 11 KB long, well organised into 31 sections with 14 code examples: a thorough specification that gives an agent plenty to work with.

It has 10 GitHub stars, so there is little community track record yet; judge it on its content.

Substance
29/30
Structure
20/20
Description
15/15
Adoption
4/20
Freshness
15/15

Maintenance, license and trust

  • The repository was last updated 43 days ago, so DnSpyMCP is actively maintained.
  • It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
  • Its trust signals score 97/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.

DnSpyMCP compared with similar skills

All 4 of these similar skills score higher than DnSpyMCP; compare them before choosing.

SkillScoreStarsUpdatedFormat
DnSpyMCP (this skill)by rabbanyhmm831043d agoMCP Server
Agent-Reachby Panniantong10096.4k4d agoCLAUDE.md
headroomby headroomlabs-ai10075.1k1d agoCLAUDE.md
CowAgentby zhayujie10047.4ktodayCLAUDE.md
Scraplingby D4Vinci10087.0k1d agoMCP Server

Frequently asked questions

How do I install DnSpyMCP?
Run claude mcp add rabbanyhmm -- npx -y github:rabbanyhmm/DnSpyMCP. The install tabs above show the steps for each supported agent.
Which AI agents does DnSpyMCP work with?
It is written for Claude Code and Claude Desktop, as a MCP Server file. Other agents that read the same format can often use it too.
Is DnSpyMCP safe to use?
It is MIT-licensed and scores 97/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
Is DnSpyMCP still maintained?
The repository was last updated 43 days ago, so DnSpyMCP is actively maintained.
<div align="center">

šŸ”¬ DnSpy MCP Server

GitHub stars GitHub forks GitHub issues GitHub last commit GitHub license .NET Version

A powerful MCP server for .NET reverse engineering, game hacking, and Il2Cpp dump analysis.

31 AI-optimized tools • Cross-References • Network Reversing • Il2Cpp Support • TCP Proxy Analysis • Multi-DLL Search

Visitors

</div>

Features

  • 31 MCP Tools for deep .NET assembly analysis, patching, and game reversing
  • Fully async, non-blocking architecture
  • Il2Cpp / Unity game dump optimized (offset search, RVA lookup, dummy detection)
  • Cross-reference scanning (method callers, field references)
  • Network/TCP proxy reverse engineering (packet handler discovery, crypto usage scanning)
  • Hardcoded secret extraction (IPs, URLs, API keys)
  • Multi-assembly search — search all DLLs in a folder at once
  • dump.cs bridge — resolve dump.cs line numbers to DummyDll types
  • C-struct layout export — ready for cheat engine / Frida scripts
  • Default assembly auto-discovery — DNSPY_DEFAULT_ASSEMBLY env var support
  • AI agent instructions — instructions.md for AI agent onboarding
  • Single-file publish (win-x64 / linux-x64)
  • MCP stdio transport (Claude Code / Codex / Cursor / OpenCode / Antigravity compatible)

Project Layout

src/DotNetInspectorMcp/
ā”œā”€ā”€ Program.cs                          # Entry point with graceful shutdown
ā”œā”€ā”€ Hosting/McpServerHost.cs            # Dependency wiring
ā”œā”€ā”€ Models/McpServer.cs                 # MCP request router
ā”œā”€ā”€ Communication/StdioJsonRpc.cs       # Stdio JSON-RPC transport
ā”œā”€ā”€ Domain/AssemblyAnalyzer.cs          # Core analysis engine
ā”œā”€ā”€ Domain/ResourceRegistry.cs          # MCP resources
ā”œā”€ā”€ Endpoints/AssemblyTools.cs          # All tool implementations
ā”œā”€ā”€ Endpoints/ToolRegistry.cs           # Reflection-based tool discovery
ā”œā”€ā”€ Endpoints/Attributes.cs             # [McpTool] / [ToolParam] attributes
ā”œā”€ā”€ Endpoints/ToolCallResult.cs         # Tool result model
└── Endpoints/ToolContext.cs            # DI context for tools

Tools (31 total)

Assembly Inspection

| Tool | Description | |------|-------------| | list_types | List all types. Supports gameCodeOnly filter to hide Unity/System noise. | | decompile_type | Decompile a full type to C#. | | decompile_method | Decompile a specific method. Auto-detects Il2Cpp dummy bodies. | | get_method_il | Get raw IL instructions for a method. | | search_members | Search types, methods, fields, properties by name. | | list_methods | List all methods of a type with tokens. | | find_string_references | Find all string literal usages across the assembly. |

Game Dump / Il2Cpp Analysis

| Tool | Description | |------|-------------| | analyze_type | Full class layout: fields with offsets, properties, methods with RVAs. | <<<<<<< HEAD | get_type_layout | Basic C-struct layout for cheat development. Automatically marks inline value types ([Inline Struct]) and omits pointer formatting. |

| get_type_layout | Basic C-struct layout for cheat development. |

9b7039f949a85947fd36460a2e67b8073fd13b11 | get_struct_layout | Advanced C++ struct export with explicit padding (char _pad) computed from offsets. | | get_method_rva | Get the Il2Cpp RVA for a specific method. | | search_by_offset | Search by hex (0x16D0) or decimal offset to find fields/methods. Numeric comparison. | | find_enum_values | Find/resolve enum values by magic number, hex value, or partial name. | | find_ui_bindings | Scan a class to find all Unity UI component references and the methods modifying them. | | get_class_pointer | Parse script.json from Il2CppDumper to get static TypeInfo class pointers for memory scanning. |

Deep Reverse Engineering

| Tool | Description | |------|-------------| | find_method_callers | Cross-reference: find all methods that call a target method. | | find_field_references | Cross-reference: find all methods that read/write a target field. | | trace_field_consumers | Traces the full call graph up from a field read/write to find who ultimately consumes the data. | | find_derived_types | Find all classes inheriting from a base class or interface. | | search_by_inheritance | Find classes inheriting from a base type and optionally filter by field names. | | lookup_token | Resolve a raw hex token (e.g., 0x06001234) to its Type/Method/Field. | | diff_types | Compare two types side-by-side to find field offset and signature differences. | | resolve_method_signature | Generates C++ function pointer typedefs for hooking (e.g., MinHook/Frida). |

Network / TCP Proxy Reversing

| Tool | Description | |------|-------------| | find_network_handlers | Heuristic scan for Socket/TcpClient/Packet handlers with RVAs. | | find_crypto_usage | Heuristic scan for AES/RSA/Encrypt/Decrypt methods. | | scan_secrets | Extract hardcoded IPs, URLs, WebSocket endpoints, and API keys. |

Multi-Assembly & Dump Bridge

| Tool | Description | |------|-------------| | search_workspace | Search ALL .dll files in a directory for matching types/members. | | resolve_dump_line | Bridge dump.cs line numbers to DummyDll types with full analysis. |

Patching

| Tool | Description | |------|-------------| | patch_replace_string_literal | Replace a string literal at a specific IL offset. Always creates backup. | | patch_nop_instructions | NOP one or more IL instructions. Always creates backup. |

Navigation

| Tool | Description | |------|-------------| | format_inspector_jump | Build step-by-step navigation from metadata tokens. |

Default Assembly Path

You can avoid repeating assemblyPath on every tool call by setting:

# Environment variable
set DNSPY_DEFAULT_ASSEMBLY=C:\path\to\DummyDll\Assembly-CSharp.dll

The server also auto-discovers assemblies in common locations relative to CWD:

  • DummyDll/Assembly-CSharp.dll
  • Dump/DummyDll/Assembly-CSharp.dll
  • Managed/Assembly-CSharp.dll

Resources

  • inspector://assemblies — list cached assemblies
  • inspector://assembly?path=<path>&view=summary — assembly summary
  • inspector://assembly?path=<path>&view=types — all type names

Build

dotnet build src/DotNetInspectorMcp/DotNetInspectorMcp.csproj -c Release

Run

dotnet run --project src/DotNetInspectorMcp/DotNetInspectorMcp.csproj -c Release

Publish (single-file)

./publish.ps1 -Runtime win-x64
./publish.ps1 -Runtime linux-x64

MCP Client Configuration

Claude Code / Cursor / Codex

{
  "mcpServers": {
    "dnspy-mcp": {
      "command": "dotnet",
      "args": [
        "<PATH_TO>/DnSpyMCP.dll"
      ]
    }
  }
}

OpenCode (Windows)

Config file: %USERPROFILE%\.config\opencode\opencode.json

{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "dnspy-mcp": {
      "type": "local",
      "enabled": true,
      "command": [
        "dotnet",
        "<PATH_TO>/DnSpyMCP.dll"
      ]
    }
  }
}

Using Published .exe (no dotnet runtime needed)

{
  "mcpServers": {
    "dnspy-mcp": {
      "command": "<PATH_TO>/DnSpyMCP-win-x64.exe",
      "args": []
    }
  }
}

Replace <PATH_TO> with the actual path to your built DLL or published EXE.

AI Agent Instructions

Copy configs/instructions.md to your MCP server's tool directory so AI agents automatically get usage guidance:

# Antigravity example:
copy configs\instructions.md %USERPROFILE%\.gemini\antigravity-ide\mcp\dnspy\instructions.md

Quick Start

  1. Build or publish
  2. Add config to your MCP client (see above)
  3. Copy configs/instructions.md to your MCP tool directory
  4. Restart your MCP client
  5. Ask the AI to call list_types with your target assembly path

Example Workflows

Find what modifies a health field

1. search_members → find "health" field
2. find_field_references → see all methods that read/write it
3. decompile_method → inspect the logic
4. get_method_rva → get the RVA for Frida hooking

TCP Proxy / Packet Interception

1. find_network_handlers → find Send/Receive methods
2. find_crypto_usage → find encryption before packets are sent
3. scan_secrets → extract server IPs and endpoints
4. get_method_rva → get RVAs for Frida hooks

Il2Cpp Game Analysis

1. list_types (gameCodeOnly=true) → see only game scripts
2. analyze_type → get full memory layout with offsets
3. get_type_layout → export as C struct for cheat engine
4. search_by_offset 0x16D0 → find what field is at that offset
5. find_method_callers → trace who calls a specific function

Multi-DLL Discovery

1. search_workspace → search all DLLs in DummyDll folder
2. analyze_type → deep dive into the matching type
3. find_field_references → cross-reference analysis

Bridge dump.cs to DummyDll

1. resolve_dump_line → resolve a dump.cs line to a type/member
2. analyze_type → get the full analysis from DummyDll

Star History

<a href="https://www.star-history.com/?repos=rabbanyhmm%2FDnSpyMCP&type=date&legend=bottom-right"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/chart?repos=rabbanyhmm/DnSpyMCP&type=date&theme=dark&legend=bottom-right" /> <source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/chart?repos=rabbanyhmm/DnSpyMCP&type=date&legend=bottom-right" /> <img alt="Star History Chart" src="https://api.star-history.com/chart?repos=rabbanyhmm/DnSpyMCP&type=date&legend=bottom-right" /> </picture> </a>

Related Skills

View on GitHub
GitHub Stars10
CategoryOther
Updated1mo ago
Forks4

Languages

C#

Trust signals

97/100

From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.

1 info
DnSpyMCP — MCP Server: Install & Safety Check | SkillAgent