SuperAPI AI Directory

x64dbgMCP

x64dbgMCP is a dynamic debugging MCP backend for x64dbg/x32dbg that lets MCP clients operate real debugging sessions under controlled conditions. It supports launching or attaching to target processes (with optional arguments, working directory, environment variables, and child process policy), reading and writing registers, memory, threads, modules, and its own breakpoints, collecting instruction, API, heap, exception, and basic block evidence, finding comparison values, runtime strings, indirect calls, OEP, and the import table, and generating in-memory PE dumps, minidumps, repaired imports, and patch exports. It exchanges runtime facts with IDA (the rison1337/ida-pro-mcp-fusion branch) through stable identities based on file SHA-256 plus module RVA, rather than relying on volatile runtime addresses. The project is released under GPL-3.0 and provides a Windows bundle (including x64/x32 native plugins and a Python backend) that can connect to stdio clients such as Codex, Claude Code, Claude Desktop, Cursor, VS Code MCP, and Windsurf.

Open website

About this tool

x64dbgMCP is a dynamic x64dbg/x32dbg MCP backend that provides MCP clients with controlled access to real x64dbg or x32dbg sessions, turning live debugging into a reproducible reverse-engineering workflow: bind to the exact process, observe runtime facts, recover useful artifacts, independently verify results, and hand the evidence to IDA.

Key capabilities

  • Launch or attach: supports arguments, working directory, environment variables, and child process policy.
  • State operations: read and modify registers, memory, threads, modules, and its own breakpoints.
  • Evidence collection: instruction, API, heap, exception, and basic block evidence.
  • Lookup: comparison values, runtime strings, indirect calls, OEP, and imports.
  • Artifact generation: in-memory PE dumps, minidumps, repaired imports, and patch exports.
  • Exchange with IDA: uses portable file SHA-256 plus module RVA identity instead of unstable runtime addresses.

Usage Download the Windows bundle from Releases, which contains the x64dbg plugin plugins\MCPx64dbg.dp64, the x32dbg plugin plugins\MCPx64dbg.dp32, runtime\src and runtime\requirements.txt, and the x64/x86 managed runtime probes under runtime\tools\bin\managed_probe. After closing x64dbg/x32dbg, open PowerShell in the extracted directory and run the installation script; the script will ask for the MCP package location and the installed x64dbg path. Then add the stdio server per client: for Codex, write to ~.codex\config.toml; for Claude Code, add the same stdio server using user scope; for Claude Desktop, use %APPDATA%\Claude\claude_desktop_config.json; for Cursor, VS Code MCP, Windsurf, and others, use the same command/args/env convention, with only the JSON file location differing. For normal target launching, simply call InitDebuggee and pass the EXE path; it automatically identifies x86/x64 and launches from X64DBG_ROOT.The action corresponds to the debugger, waits for the bridge, and opens the target.

ScyllaHide is optional: the launch tool defaults to use_scyllahide="off", and auto will also skip injection; when needed, use force and specify a configuration. The CLI backend generates a private INI next to the injector and locates the exact PID; its compatibility configuration simultaneously disables NtContinueHook and KillAntiAttach to avoid the reproduced continue-execution crash, and reports these overrides in the results.

Handoff with IDA This workflow targets the rison1337/ida-pro-mcp-fusion branch. ExportRuntimeEvidence writes out a versioned evidence document containing the target SHA-256, architecture, module RVAs, executed blocks, API calls, comments, tags, and functions; ResolveModuleRva and the coordinator normalize live addresses into static image identities; tools/ida_evidence_coordinator.py verifies that the open Fusion database SHA-256 and architecture match, then generates deterministic set_name, set_comments, define_func, and coverage/API comment actions, which Fusion applies in its IDA worker and which can be retained in a persistent SQLite cache for subsequent multi-binary analysis. This is an explicit, inspectable, retryable artifact/protocol handoff.

Applicable scenarios and limitations Suitable for reverse engineering workflows that need to systematically record live debugging evidence and pass it to IDA. CI covers the Python contract and both native plugin architectures, and the release process also checks the packaged stdio server and managed probe; live debugger checks run locally and retain JSON reports. Analyzing untrusted binaries should be done in a disposable virtual machine. The project is released under GPL-3.0, is based on Sam W (Wasdubya)'s x64dbgMCP, and attribution is in NOTICE.