duty1g/x64dbg-mcp-server

x64dbg-MCP Server is a native MCP (Model Context Protocol) plugin for x64dbg that exposes the debugger's full functionality over HTTP. Connect any MCP-compatible AI assistant and control x64dbg programmatically: set breakpoints, step through code, read memory, dump registers, and more. Built with Zig — zero dependencies, single-binary output, cros

What it solves

This project provides a way to connect AI assistants to the x64dbg debugger, allowing them to perform reverse engineering tasks programmatically. It eliminates the need for a human to manually interact with the debugger's UI, enabling an AI agent to control the debugger, analyze code, and inspect memory directly.

How it works

It is a native plugin for x64dbg written in Zig. It resolves the debugger's API symbols at runtime and starts an HTTP server on a background thread. AI assistants (MCP clients) connect via HTTP or SSE, sending JSON-RPC requests that the plugin translates into direct x64dbg SDK calls to control the debugger.

Who it’s for

Security researchers, malware analysts, and reverse engineers who want to use AI agents to automate and accelerate their analysis workflow in x64dbg.

Highlights

  • Extensive Toolset: Includes 84 MCP tools for full debugger control, including disassembly, breakpoints, memory allocation, and PE analysis.
  • Zero Dependencies: Built with Zig as a single binary plugin with no need for .NET or Python runtimes.
  • Dual Transport: Supports both streamable HTTP and SSE for compatibility with various MCP clients.
  • Secure Access: Enforces mandatory Bearer token authentication to prevent unauthorized access to the debugger.
  • Cross-Platform Build: Can be cross-compiled to both x32 and x64 architectures from Linux, macOS, or WSL.

Related

  • Project
  • Project
  • Project
  • Project
  • Project