X64DBG MCP Server Plugin in C# prototype

With the great help of https://github.com/mrexodia/DotNetPluginCS by Adams85 and approx. ~20 hours of coding time I managed to create a starting point for a self-contained MCP Server for x64Dbg. I have some cleaning up of some of the code to do but is a perfect proof of concept of getting this thing to fly.

One of the larger hurdles that needed to be overcome was creating a self contained MCP server without the ASP.NET hosting core dependency.


I’ve validated a few commands so far and is currently working wonders. I’m very excited to get this into the hands of a capable LLM.

I will continue to work and make improvements on this project as I am currently using it as an opportunity to grow me experience with AI integration and implementation / security.

There are a few commands I am actively working the kinks out on but it wont take me long to straighten out. I am release the source code to the public to assist them with streamlining their reverse engineering process and another useful tool to add into their collect for those whom don’t want to be directly dependent on Ghidra. *Cheers*

You can run the project and rebuild / modify from the source or copy the files (DotNetPluginCS\bin\x64\Debug) into the x64DBG plugin (x96\release\x64\plugins) folder to run

All of these files may not be necessary but it does not seem to impact x64DBG running at all. Once you run x64DBG, the plugin menu will appear and you may select “Start MCP Server”. From there you may connect to it with your MCP AI Client.

If any of you have any suggestions or would like help in creating your own integration feel free to drop me an email (information on contact page) as I am looking for additional opportunities to grow in this area.

Download the latest copy here: https://github.com/AgentSmithers/x64DbgMCPServer

Leave a comment

Your email address will not be published. Required fields are marked *