Find your next open-source project

Search by name, purpose, or keyword — or paste a GitHub repository URL

duty1g/x64dbg-mcp-server

Developer Tools

Native 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 →
2,881
341
Zig
MIT
3 months old

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

  1. Get the release files from the releases page. Or build them yourself with Zig 0.16-dev or later:
    zig build -Doptimize=ReleaseSafe --prefix dist
    
    The build outputs dist/x32/plugins/x64dbg-MCP-Server.dp32 and dist/x64/plugins/x64dbg-MCP-Server.dp64 (build output).
  2. Copy the contents of dist/ (or the release archive) into your x64dbg root folder. This deploys both architectures.
  3. Launch x64dbg. The server starts automatically on 0.0.0.0:9094 for x64 and 0.0.0.0:9095 for x32.
  4. Add the server to your MCP client config (for example .mcp.json):
    {
      "mcpServers": {
        "x64dbg": {
          "type": "http",
          "url": "http://localhost:9094/",
          "headers": {
            "Authorization": "Bearer YOUR_TOKEN_HERE"
          }
        }
      }
    }
    
    For legacy clients, use the sse type and http://localhost:9094/sse (usage).
  5. 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.json next 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 to 0.0.0.0 opens 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.

You might also like

  1. github/github-mcp-serverConnects AI coding agents to GitHub repositories, issues, PRs and Actions through the Model Context Protocol.Go33,925
  2. mrexodia/ida-pro-mcpMCP servers that expose IDA Pro's decompiler, disassembler, types and debugger to LLM clients for assisted reverse engineering.Python13,591