SkillAgentSearch skills...

dnSpy.MCP

An MCP Server for dnSpyEx, designed to enable AI-assisted .NET decompilation, code analysis, and reverse engineering.一个用于 dnSpyEx 的 MCP 服务器,旨在实现基于 AI 辅助的 .NET 反编译、代码分析及逆向工程。

Install / Use

claude mcp add freelyflyyy -- npx -y github:freelyflyyy/dnSpy.MCP

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

74/100

Supported Platforms

Claude Code
Claude Desktop

Our assessment of dnSpy.MCP

dnSpy.MCP scores 74/100 on our quality scale, 3801st of 4,698 Development & Engineering skills we index.

Its MCP Server is 4.1 KB long, split into 7 sections and no code examples: a solid amount of guidance for an agent.

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

Substance
26/30
Structure
11/20
Description
15/15
Adoption
7/20
Freshness
15/15

Maintenance, license and trust

  • The repository was last updated 2 days ago, so dnSpy.MCP is actively maintained.
  • It is released under GPL-3.0, a copyleft license: you can use it, but modified versions you distribute must carry the same license.
  • 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.

dnSpy.MCP compared with similar skills

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

SkillScoreStarsUpdatedFormat
dnSpy.MCP (this skill)by freelyflyyy74482d agoMCP Server
taste-skillby Leonxlnx100116.8k8d agoCLAUDE.md
Agent-Reachby Panniantong100112.3k8d agoCLAUDE.md
rufloby ruvnet10081.9ktodayCLAUDE.md
headroomby headroomlabs-ai10079.8ktodayCLAUDE.md

Frequently asked questions

How do I install dnSpy.MCP?
Run claude mcp add freelyflyyy -- npx -y github:freelyflyyy/dnSpy.MCP. The install tabs above show the steps for each supported agent.
Which AI agents does dnSpy.MCP 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 dnSpy.MCP safe to use?
It is GPL-3.0-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 dnSpy.MCP still maintained?
The repository was last updated 2 days ago, so dnSpy.MCP is actively maintained.
<div align="center">

dnSpy.MCP

Platform .NET Language Protocol License

English | 简体中文

</div>

Project Overview

dnSpy.MCP uses a Code Mode architecture to integrate dnSpyEx with MCP.
It moves beyond rigid JSON interfaces that map each feature to a separate tool. By embedding the Roslyn C# scripting engine (Microsoft.CodeAnalysis.CSharp.Scripting) inside the dnSpy process and communicating with the MCP server over named pipes, it lets large language models write and execute .csx scripts directly inside a running dnSpy instance for flexible .NET reverse engineering and code analysis.

Features and Advantages

The project provides only three basic tools:

| Tool | Purpose | |---|---| | session | Discover candidate dnSpy named pipes matching the naming convention | | search_api | Look up scripting API signatures, descriptions, and examples | | execute_csharp | Execute C# scripts inside a target dnSpy instance |

Traditional MCP plugins for reverse engineering typically rely on a fixed set of predefined tools, such as list_assemblies, get_types, and decompile_method. This can become a bottleneck in complex analysis tasks. dnSpy.MCP takes a different approach with Code Mode:

  • Unrestricted expressiveness AI is no longer limited to predefined tool parameters. By executing C# scripts directly inside dnSpy, the model can combine LINQ queries, conditional branches, filtering loops, and tracing across assemblies to carry out complex reverse-engineering workflows in a single execution.
  • Efficient interaction With conventional tools, locating specific logic in a large assembly can require a dozen or more tool calls. Large intermediate lists quickly consume tokens and clutter the model's context. With Code Mode, traversal, filtering, and aggregation all happen inside dnSpy, and only the final, relevant results are returned to the model.
  • Built-in API reference To help prevent the model from inventing APIs, the server includes an ApiCatalog, exposed through the search_api tool. Before writing scripts, AI can look up the exact method signatures and usage examples available through the global ctx context, helping avoid hallucinated API calls.

Requirements

| Component | Requirement | | :--- | :--- | | Operating system | Windows | | dnSpy | dnSpyEx 6.6.0, .NET 10 or .NET Framework 4.8; choose the matching Windows x64 package. | | Runtime | The packaged Server is self-contained. Framework dnSpy still requires .NET Framework 4.8. | | MCP client | Support for local stdio servers, such as Claude Code or Codex |

The requirements above are sufficient to use a release package. Building from source also requires the .NET 10 SDK.

Learn More

To learn more about the project, see:

Security Notice

This project allows arbitrary C# code to be dynamically compiled and executed inside the dnSpy process through local named pipes (restricted to the current user with CurrentUserOnly). Use it only in trusted local development environments with trusted MCP clients.

License

This project is open source under the GPLv3 license. See LICENSE for details.

Related Skills

View on GitHub
GitHub Stars48
CategoryDevelopment
Updated2d ago
Forks10

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