The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the X64dbg MCP listing page.
https://github.com/user-attachments/assets/07b813eb-4175-4f14-b21b-602548906398
x64dbg MCP gives an MCP client guarded control of a real x64dbg or x32dbg session. It turns live debugging into a replayable reverse-engineering workflow: bind the exact process, observe runtime facts, recover useful artifacts, validate them independently, and hand the evidence to IDA.
| Workflow | Representative tools | Result |
|---|---|---|
| Launch and bind | InitDebuggee, AttachToProcess, LaunchFileUnderDebugger, WaitForBreakpoint | Reproducible process and session identity |
| Live control | RegisterGet, RegisterSet, MemoryRead, MemoryWrite, DebugSetBreakpoint, SetHardwareBreakpoint | Controlled execution, memory and breakpoint changes |
| Runtime evidence | RunNativeTrace, GetNativeTrace, StartApiTrace, StartHeapTrace, GetBasicBlockCoverage, WaitForBreakpointCapture | Instruction paths, API/heap calls, exceptions and executed blocks |
| Key and unpack recovery | SearchStrings, ScanMemoryStrings, PatternFindMem, FindOEP, RunUntilOEP, FindIATCandidates, InspectRuntimeIAT | Comparisons, strings, OEP and runtime import candidates |
| Dump and repair | WriteMiniDump, DumpModuleRaw, DumpPeFromMemory, ScanMemoryForPEImages, FixDumpImports, ValidateDump, ExportPatchedFile | Replayable dumps and independently checked PE artifacts |
| IDA evidence handoff | ExportRuntimeEvidence, ImportStaticAnnotations, SyncBreakpoints, ResolveModuleRva | Hash/RVA-addressed comments, labels, coverage and API facts |
The complete catalog, parameters and response contracts are in the
tool reference. The compact profile keeps routine
model-facing responses short; detail="full" and the full profile expose
the complete evidence when it is needed.
Download the combined Windows bundle from Releases. It contains both native plugins and the Python backend:
plugins\MCPx64dbg.dp64 for x64dbgplugins\MCPx64dbg.dp32 for x32dbgruntime\src and runtime\requirements.txtruntime\tools\bin\managed_probeClose x64dbg/x32dbg. Open PowerShell in the folder containing the downloaded ZIP, then run the block below. It asks where to keep the MCP bundle and where x64dbg is already installed; no drive or installation directory is assumed. Keep the same PowerShell window open for the client-specific commands below.
Add the server to ~\.codex\config.toml. Replace the three angle-bracketed
values with the absolute paths printed by the setup block. TOML single-quoted
strings preserve Windows backslashes as written.
For normal target startup, call InitDebuggee directly with the EXE path. It
detects x86/x64, starts the matching debugger from X64DBG_ROOT, waits for the
bridge and opens the target. A separate BridgeHello preflight or manual
debugger-path search is not required.
Optional installation check: start x64dbg or x32dbg and verify the bridge:
GetScyllaHideStatus.installed and integrationReady describe the MCP
InjectorCLI/HookLibrary backend. guiPluginPresent describes only the optional
x64dbg GUI plugin; it is not required for MCP injection.
ScyllaHide is opt-in: launch tools default to use_scyllahide="off", and
auto also skips injection. Use force with an explicit profile when needed.
The CLI backend stages a private INI beside the injector and targets the exact
PID. Its compatibility configuration disables NtContinueHook and
KillAntiAttach together to avoid the reproduced continuation crash; the
result reports these overrides. This does not guarantee that every third-party
profile is compatible with every target or Windows build.
Add the same stdio server to Claude Code with the user scope. This command uses the paths selected by the setup block instead of embedding a machine-specific location:
Alternatively, run claude mcp add and enter the same command, arguments and
environment interactively.
Use the client's MCP JSON configuration. For Claude Desktop on Windows, the
file is %APPDATA%\Claude\claude_desktop_config.json. Generate a JSON block
with the actual paths selected above:
Cursor, VS Code MCP, Windsurf and other stdio clients use the same
command/args/env contract; only the location of their JSON file differs.
The IDA workflow is designed for the rison1337/ida-pro-mcp-fusion fork. x64dbg MCP does not pretend to be an IDA replacement and does not silently mutate an unrelated database. Instead:
ExportRuntimeEvidence writes a versioned evidence document containing the
target SHA-256, architecture, module RVAs, executed blocks, API calls,
comments, labels and functions.ResolveModuleRva and the coordinator normalize live addresses to the
static image identity.tools/ida_evidence_coordinator.py validates that the open Fusion database
has the same SHA-256 and architecture, then creates deterministic
set_name, set_comments, define_func and coverage/API comment actions.This is an explicit artifact/protocol handoff, so it remains inspectable and retryable. See the coordinator and the Fusion README for the IDA-side worker and cache model.
CI covers the Python contract and both native plugin architectures. The release workflow also checks the packaged stdio server and managed probes. Live debugger gates run locally and retain JSON reports; see Contributing. Analyze untrusted binaries inside a disposable VM.
GPL-3.0. Based on x64dbgMCP by Sam W (Wasdubya). See NOTICE for attribution.
x64dbg MCP даёт MCP-клиенту защищённое управление настоящей сессией x64dbg или x32dbg. Он превращает живую отладку в воспроизводимый reverse-engineering workflow: привязать точный процесс, снять runtime-факты, восстановить полезные артефакты, независимо проверить результат и передать факты в IDA.
| Этап | Примеры MCP tools | Что получается |
|---|---|---|
| Запуск и привязка | InitDebuggee, AttachToProcess, LaunchFileUnderDebugger, WaitForBreakpoint | Воспроизводимый процесс и точная session identity |
| Управление | RegisterGet, RegisterSet, MemoryRead, MemoryWrite, DebugSetBreakpoint, SetHardwareBreakpoint | Контролируемый run/step, память и breakpoint'ы |
| Runtime evidence | RunNativeTrace, GetNativeTrace, StartApiTrace, StartHeapTrace, GetBasicBlockCoverage, WaitForBreakpointCapture | Пути инструкций, API/heap, исключения и выполненные блоки |
| Поиск ключей и unpack | SearchStrings, ScanMemoryStrings, PatternFindMem, FindOEP, RunUntilOEP, FindIATCandidates, InspectRuntimeIAT | Сравнения, строки, OEP и кандидаты runtime-IAT |
| Дамп и восстановление | WriteMiniDump, DumpModuleRaw, DumpPeFromMemory, ScanMemoryForPEImages, FixDumpImports, ValidateDump, ExportPatchedFile | Повторяемые дампы и проверенные PE-артефакты |
| Передача в IDA | ExportRuntimeEvidence, ImportStaticAnnotations, SyncBreakpoints, ResolveModuleRva | Комментарии, labels, coverage и API-факты по hash/RVA |
Полный каталог, параметры и контракты ответов находятся в
справочнике инструментов. Профиль compact делает
обычные ответы короткими; detail="full" и профиль full возвращают всё
доказательство.
Скачайте из Releases единый Windows-архив. Внутри сразу есть оба native-плагина и Python-backend:
plugins\MCPx64dbg.dp64 для x64dbgplugins\MCPx64dbg.dp32 для x32dbgruntime\src и runtime\requirements.txtruntime\tools\bin\managed_probeЗакройте x64dbg/x32dbg. Откройте PowerShell в папке со скачанным ZIP и выполните блок ниже. Он сам запросит папку для MCP и путь к уже установленному x64dbg — диск и расположение заранее не предполагаются. Не закрывайте это окно PowerShell до выполнения команд для выбранного MCP-клиента.
Добавьте сервер в ~\.codex\config.toml. Замените три значения в угловых
скобках на абсолютные пути, которые напечатал блок настройки. В одинарных
строках TOML обратные слеши Windows не нужно удваивать.
Для обычного запуска цели сразу вызовите InitDebuggee с путём к EXE.
Инструмент сам определит x86/x64, запустит подходящий debugger из
X64DBG_ROOT, дождётся bridge и откроет цель. Отдельная проверка через
BridgeHello и ручной поиск пути к x64dbg не нужны.
Необязательная проверка установки: запустите x64dbg или x32dbg и проверьте bridge:
Поля GetScyllaHideStatus.installed и integrationReady относятся к backend
на базе InjectorCLI, HookLibrary и profile INI. guiPluginPresent сообщает
только о необязательном GUI-плагине x64dbg; для MCP-инъекции он не требуется.
ScyllaHide включается явно: launch-инструменты используют use_scyllahide="off"
по умолчанию, а auto также пропускает инъекцию. При необходимости используйте
force с выбранным профилем. CLI backend создаёт отдельный INI рядом с injector
и передаёт точный PID. Для устранения воспроизведённого падения при продолжении
он отключает NtContinueHook вместе с KillAntiAttach и сообщает эти изменения
в результате. Совместимость остальных настроек профиля зависит от цели и Windows.
Добавьте тот же stdio-сервер в Claude Code с областью пользователя. Команда использует выбранные выше пути, а не расположение с чужого компьютера:
Либо запустите claude mcp add и введите те же command, args и env
интерактивно.
Используйте JSON-конфигурацию MCP вашего клиента. В Claude Desktop на Windows
это %APPDATA%\Claude\claude_desktop_config.json. Сформируйте JSON с реально
выбранными путями:
Cursor, VS Code MCP, Windsurf и другие stdio-клиенты используют тот же
контракт command/args/env; отличается только путь к JSON-файлу.
Связка рассчитана именно на форк rison1337/ida-pro-mcp-fusion. x64dbg MCP не подменяет IDA и не пишет в случайную базу:
ExportRuntimeEvidence сохраняет версионированный JSON с SHA-256 цели,
архитектурой, module RVA, выполненными блоками, API-вызовами, labels,
comments и функциями.ResolveModuleRva и coordinator переводят runtime-адреса в координаты
статического образа.tools/ida_evidence_coordinator.py сверяет SHA-256 и архитектуру открытой
Fusion-базы и строит детерминированные действия set_name,
set_comments, define_func и комментарии coverage/API.Это явный, проверяемый и повторяемый artifact/protocol handoff, а не скрытая связь по нестабильным VA. Подробности: coordinator и README Fusion.
CI проверяет Python-контракт и native-плагины обеих архитектур. Release workflow также проверяет stdio-сервер и managed probes из собранного архива. Live-проверки debugger выполняются локально и сохраняют JSON-отчёты; см. участие в разработке. Неизвестные бинарники анализируйте в одноразовой VM.
GPL-3.0. Проект основан на x64dbgMCP Sam W (Wasdubya). Атрибуция: NOTICE.