duty1g/x64dbg-mcp-server
Developer ToolsNative x64dbg plugin that exposes the debugger over MCP so AI assistants can drive breakpoints, stepping and memory inspection.
This project ships 1 agent skillsSkill list and install →What it does
x64dbg-MCP Server is a native plugin for the x64dbg debugger that exposes its API over HTTP as an MCP server. It is meant for reverse engineers and malware analysts who already work in x64dbg and want an AI assistant to drive the session: loading binaries, setting software/hardware/memory breakpoints, stepping, reading registers and memory, scanning for patterns and strings, dumping modules, detecting OEP, inspecting PEB/SEH, and more.
The README lists 80 tools and 22 event callbacks. It supports MCP 2024-11-05 with Streamable HTTP and SSE transports over JSON-RPC 2.0. It is written in Zig, has no runtime dependencies, and is built as a single binary for both x32 and x64. The plugin loads into x64dbg at startup, resolves debugger symbols from x64bridge.dll and x64dbg.dll, and starts an HTTP server on a background thread, so it runs inside the debugger's address space without external processes (how it works).
Quick start
- Get the release files from the releases page. Or build them yourself with Zig 0.16-dev or later:
The build outputszig build -Doptimize=ReleaseSafe --prefix distdist/x32/plugins/x64dbg-MCP-Server.dp32anddist/x64/plugins/x64dbg-MCP-Server.dp64(build output). - Copy the contents of
dist/(or the release archive) into your x64dbg root folder. This deploys both architectures. - Launch x64dbg. The server starts automatically on
0.0.0.0:9094for x64 and0.0.0.0:9095for x32. - Add the server to your MCP client config (for example
.mcp.json):
For legacy clients, use the{ "mcpServers": { "x64dbg": { "type": "http", "url": "http://localhost:9094/", "headers": { "Authorization": "Bearer YOUR_TOKEN_HERE" } } } }ssetype andhttp://localhost:9094/sse(usage). - Find the generated token in Plugins > x64dbg-MCP Server > Configure MCP Server...; use Copy, or Generate to rotate it. The config (bind address, port, token) is saved to
mcp_config.jsonnext to the x64dbg executable, and the server restarts on save.
After connecting, the assistant can use tools such as LoadBinary, SetBreakpoint, run, WaitForPause, GetAllRegisters, and ReadMemory in a normal debugging session.
Constraints
- Runs as a Windows x64dbg plugin; build artifacts target x32 and x64. Cross-compiling is supported from Linux, macOS, or WSL, but testing needs x64dbg on Windows.
- A Bearer token is required on every request; requests without a valid token get
401 Unauthorized. Binding to0.0.0.0opens access beyond localhost, and the server uses unencrypted HTTP, so the README advises against exposing it to untrusted networks. - The plugin offers full debugger control, including memory writes and code execution; use it only on software you are authorized to analyze.
- Licensed under MIT (LICENSE).
HotRepo's take
The project has no recorded GitHub daily rank or HotRepo snapshots, so there is no data on its long-term trend. What is visible from the repository is its scope: a tool-rich MCP bridge with mandatory authentication, configurable bind/port, and a Zig codebase that cross-compiles both x32 and x64 plugins, which suggests the design was aimed at daily reverse-engineering work rather than a demo. Because the main deliverable is a prebuilt plugin loaded into a debugger, before deploying it, check that the release plugin matches the source, and decide whether the debugger session should be exposed beyond localhost.
Written by AI from the project's public information and HotRepo's records, updated . The project's own docs are the source of truth.