MCP Server written for ASP.net 4.7.2 without external dependencies

I am currently working on throwing together a MCP server for ASP.net to create invoice integration with a large language model. I tested this implementation with Cursor and was able to run successful test making this an all in one .ashx.cs solution to implementing into your own project.

I have attached a VB.net version as well. My VB.net version required two additional lines within HandleSseHandshake. It may be due to my .NET web.config setup which may result in compression being automatically appended in my response. Adding these two lines corrected the issue.

Piping MIC recordings from a WebBrowser to C# Form

An example of an HTML page that sends recording remotely to a c# processor.

The file is set for 16khz ready for LLM translation. This takes a file from an HTTP post and processes it in memory (you can uncomment to save copies of the file if needed) and passes it to the LLM function.

Using Whisper for Voice to Text within .Net Framework (non-core)

This application records microphone audio, detects silence, and transcribes speech into text using Whisper.net and NAudio. It supports multiple transcription modes: real-time, silence-aware, and WAV-file-based.

Use 16Khz Wav’s for a file feeds (FFMPEG).

Google Gemini API in c#

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