AX

agentsmithers/x64dbgmcpserver

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

752 stars 106 forks 质量 63 趋势 9

x64DbgMCPServer 由 C# 制作,支持 Claude、Windsurf 和光标

概览

该项目是构建适用于 x96/x64/x32dbg https://github.com/x64dbg/x64dbg/ 的 MCP(模型上下文协议)服务器插件的起点,该插件使用 C# 在经典的 Windows 专用 .NET Framework 平台上(无需 ASP.NET Core 托管)。 该插件作为MCP客户端与调试器之间的轻量级HTTP接口桥梁,允许LLM MCP客户端交互式发送命令,检查内存、反汇编、查询寄存器、操作标签/注释等——所有这些都可以通过远程和程序化实现。 除了与 x64dbg 调试器引擎的必要绑定外,该模板还提供了简洁的项目结构、内置命令系统和一个简单的 HTTP 监听器,通过基于文本的 API 暴露你的命令。 * ✅ 自托管的HTTP命令接口(无ASP.

概述(AI 翻译)

该项目是构建适用于 x96/x64/x32dbg https://github.com/x64dbg/x64dbg/ 的 MCP(模型上下文协议)服务器插件的起点,该插件使用 C# 在经典的 Windows 专用 .NET Framework 平台上(无需 ASP.NET Core 托管)。

该插件作为MCP客户端与调试器之间的轻量级HTTP接口桥梁,允许LLM MCP客户端交互式发送命令,检查内存、反汇编、查询寄存器、操作标签/注释等——所有这些都可以通过远程和程序化实现。

除了与 x64dbg 调试器引擎的必要绑定外,该模板还提供了简洁的项目结构、内置命令系统和一个简单的 HTTP 监听器,通过基于文本的 API 暴露你的命令。

特色

  • ✅ 自托管 HTTP 命令接口(无需 ASP.NET 核心)
  • ✅ 轻量级、零依赖二进制部署
  • ✅ 带参数映射的模块化命令
  • ✅ 与寄存器、内存、线程、反汇编的直接交互
  • ✅ 双向AI/LLM指令支持
  • ✅ 插件重载时无需重启x64dbg
  • ✅ 表达式功能和菜单扩展支持

光标支持

光标连接:

Claude 桌面版支持

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

X64Dbg MCP Server (plugin)

This project is a starting point for building an MCP (Model Context Protocol) server plugin for x96/x64/x32dbg https://github.com/x64dbg/x64dbg/ using C# on the classic Windows-only .NET Framework platform (No ASP.NET Core hosting required).

The plugin acts as a lightweight HTTP interface bridge between an MCP client and the debugger, allowing you to have an LLM MCP client interactively send commands to inspect memory, disassemble, query registers, manipulate labels/comments, and more—all remotely and programmatically.

On top of essential bindings to the x64dbg debugger engine, this template offers a clean project structure, a built-in command system, and a simple HTTP listener that exposes your commands through a text-based API.

Features

  • ✅ Self-hosted HTTP command interface (no ASP.NET Core required)
  • ✅ Lightweight, zero-dependency binary deployment
  • ✅ Modular commands with parameter mapping
  • ✅ Direct interaction with registers, memory, threads, disassembly
  • ✅ Bi-directional AI/LLM command support
  • ✅ Plugin reload without restarting x64dbg
  • ✅ Expression function and menu extension support

Cursor Support

Cursor Connection:

{
  "mcpServers": {
    "AgentSmithers X64Dbg MCP Server": {
      "url": "http://127.0.0.1:50300/sse"
    }
  }
}

Claude Desktop support

MCPProxy STIDOSSE Bridge required: https://github.com/AgentSmithers/MCPProxy-STDIO-to-SSE/tree/master

Claude Configuration Connection:

{
  "mcpServers": {
    "x64Dbg": {
      "command": "C:\\MCPProxy-STDIO-to-SSE.exe",
      "args": ["http://localhost:50300"]
    }
  }
}

Windsurf support

MCPProxy STIDOSSE Bridge required: https://github.com/AgentSmithers/MCPProxy-STDIO-to-SSE/tree/master

Claude Configuration Connection:

{
  "mcpServers": {
    "AgentSmithers x64Dbg STDIOSSE": {
      "command": "C:\\MCPProxy-STDIO-to-SSE.exe",
      "args": ["http://localhost:50300"]
    }
  }
}

Known: Context deadline exceeded (timeout) issue with directly using SSE.

X64Dbg MCP Client - Need a client to sample?

mcp-csharp-sdk-client.zip

Open the project Edit line 590 in Program.cs and enter your GeminiAI key from Google Cloud API. Edit line 615 in Program.cs and enter in your MCP Server IP: Location = “http://192.168.x.x:50300/sse”,

在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "AgentSmithers X64Dbg MCP Server": { "url": "http://127.0.0.1:50300/sse" } } }