Mcp Csharp Sdk Client
About
Mcp Csharp Sdk Client is a sample C# MCP client designed for use with the x64Dbg MCP Server. It allows an AI model (Gemini or Claude) to connect to the MCP server and issue debugging commands within x64Dbg.
Details
- Author
- AgentSmithers
- GitHub stars
- 3
- Downloads
- 317
- Categories
- Developer Tools
Jump to
- Connects to an MCP server for x64Dbg debugging.
- Supports both Gemini and Anthropic AI models.
- Interruptible execution with Shift key.
- Automatic task execution based on configured prompt.
- Simple C# client structure for customization.
Set environment variables or hardcode values for GeminiAIKey, ANTHROPIC_API_KEY, and MCPServerIP in QuickstartClient\Program.cs. Comment out unused AI services (Gemini or Anthropic), then adjust the selected service calls. Update the prompt in Program.cs and run the application.
This is a sample C# MCP client designed for use with the x64Dbg MCP Server.
To get started, either import the necessary environment variables or hardcode the values directly into the following lines:
Line 21 (QuickstartClient\Program.cs):
string? GeminiAIKey = Environment.GetEnvironmentVariable("GeminiAIKey");
Line 22 (QuickstartClient\Program.cs):
string? AnthropicAIKey = Environment.GetEnvironmentVariable("ANTHROPIC_API_KEY");
Line 23 (QuickstartClient\Program.cs):
string? MCPServerIP = Environment.GetEnvironmentVariable("MCPServerIP");
Comment out the unused services (Gemini/AnthropicAI)
Line 24 GeminiAI MyGem = new GeminiAI(GeminiAIKey);
Line 25 AnthropicAI MyClaude = new AnthropicAI(AnthropicAIKey);
Adjust like 98 and 99 to use the selected service.
After setting the values, update the prompt to reflect your intended use case (also located in Program.cs), then run the application.
While running, your AI model will automatically begin executing tasks. You may hold Shift to interrupt its next action and manually type commands if needed.
The client is expected to connect to the MCP Server and will begin issuing commands to start the debugging process within x64Dbg.
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.





