x64dbg MCP
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.
What it does
Launches or attaches with arguments, working directory, environment and child-process policy.
Reads and changes registers, memory, threads, modules and owned breakpoints.
Captures instruction, API, heap, exception and basic-block evidence.
Finds comparison values, runtime strings, indirect calls, OEPs and imports.
Produces memory PE dumps, minidumps, fixed imports and patched exports.
Exchanges runtime facts with IDA using a portable file SHA-256 + module RVA identity instead of unstable runtime addresses.
Tool groups
Workflow | Representative tools | Result |
Launch and bind |
| Reproducible process and session identity |
Live control |
| Controlled execution, memory and breakpoint changes |
Runtime evidence |
| Instruction paths, API/heap calls, exceptions and executed blocks |
Key and unpack recovery |
| Comparisons, strings, OEP and runtime import candidates |
Dump and repair |
| Replayable dumps and independently checked PE artifacts |
IDA evidence handoff |
| 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.
Quick setup
Download the combined Windows bundle from Releases. It contains both native plugins and the Python backend:
plugins\MCPx64dbg.dp64for x64dbgplugins\MCPx64dbg.dp32for x32dbgruntime\srcandruntime\requirements.txtself-contained x64/x86 managed-runtime probes under
runtime\tools\bin\managed_probe
Close 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.
$Archive = Get-ChildItem -File .\x64dbg-mcp-windows-*.zip |
Sort-Object LastWriteTime -Descending |
Select-Object -First 1
if (-not $Archive) { throw 'The x64dbg MCP release ZIP was not found in this folder.' }
$BundleRoot = Read-Host 'Absolute folder where x64dbg MCP should be extracted'
$X64dbgRoot = Read-Host 'Absolute folder containing the x64 and x32 x64dbg folders'
$BundleRoot = [IO.Path]::GetFullPath(
[Environment]::ExpandEnvironmentVariables($BundleRoot.Trim()))
$X64dbgRoot = (Resolve-Path -LiteralPath (
[Environment]::ExpandEnvironmentVariables($X64dbgRoot.Trim()))).Path
if (-not (Test-Path -LiteralPath (Join-Path $X64dbgRoot 'x64\x64dbg.exe'))) {
throw "x64dbg.exe was not found under $X64dbgRoot\x64"
}
if (-not (Test-Path -LiteralPath (Join-Path $X64dbgRoot 'x32\x32dbg.exe'))) {
throw "x32dbg.exe was not found under $X64dbgRoot\x32"
}
Expand-Archive -LiteralPath $Archive.FullName -DestinationPath $BundleRoot -Force
Copy-Item (Join-Path $BundleRoot 'plugins\MCPx64dbg.dp64') `
(Join-Path $X64dbgRoot 'x64\plugins\MCPx64dbg.dp64') -Force
Copy-Item (Join-Path $BundleRoot 'plugins\MCPx64dbg.dp32') `
(Join-Path $X64dbgRoot 'x32\plugins\MCPx64dbg.dp32') -Force
$RuntimeRoot = Join-Path $BundleRoot 'runtime'
Set-Location $RuntimeRoot
py -3.11 -m venv .venv
.\.venv\Scripts\python.exe -m pip install -r requirements.txt
$PythonExe = (Resolve-Path .\.venv\Scripts\python.exe).Path
$Launcher = (Resolve-Path .\src\mcp_stdio_launcher.py).Path
[pscustomobject]@{
PythonExe = $PythonExe
Launcher = $Launcher
X64dbgRoot = $X64dbgRoot
}Codex
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.
[mcp_servers.x64dbg]
command = '<PythonExe>'
args = ['<Launcher>']
startup_timeout_sec = 90
[mcp_servers.x64dbg.env]
X64DBG_ROOT = '<X64dbgRoot>'
X64DBG_MCP_TOOL_PROFILE = 'compact'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:
& $PythonExe (Join-Path $RuntimeRoot 'src\x64dbg.py') GetDebuggerPluginStatusGetScyllaHideStatus.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.
Claude Code
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:
$ClaudeServer = [ordered]@{
command = $PythonExe
args = @($Launcher)
env = [ordered]@{
X64DBG_ROOT = $X64dbgRoot
X64DBG_MCP_TOOL_PROFILE = 'compact'
}
} | ConvertTo-Json -Depth 4 -Compress
claude mcp add-json x64dbg $ClaudeServer --scope user
claude mcp listAlternatively, run claude mcp add and enter the same command, arguments and
environment interactively.
Claude Desktop and other stdio clients
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:
$ClientConfig = [ordered]@{
mcpServers = [ordered]@{
x64dbg = [ordered]@{
command = $PythonExe
args = @($Launcher)
env = [ordered]@{
X64DBG_ROOT = $X64dbgRoot
X64DBG_MCP_TOOL_PROFILE = 'compact'
}
}
}
}
$ClientConfig | ConvertTo-Json -Depth 6Cursor, VS Code MCP, Windsurf and other stdio clients use the same
command/args/env contract; only the location of their JSON file differs.
Build from source
git clone https://github.com/rison1337/x64dbgMCP.git
Set-Location x64dbgMCP
cmake -S . -B build -G "Visual Studio 17 2022" -DX64DBG_DOWNLOAD_SDK=ON
cmake --build build --target all_plugins --config Release
$X64dbgRoot = (Resolve-Path -LiteralPath (Read-Host 'x64dbg installation folder')).Path
Copy-Item build\build64\Release\MCPx64dbg.dp64 `
(Join-Path $X64dbgRoot 'x64\plugins\MCPx64dbg.dp64') -Force
Copy-Item build\build32\Release\MCPx64dbg.dp32 `
(Join-Path $X64dbgRoot 'x32\plugins\MCPx64dbg.dp32') -ForceIDA Pro MCP Fusion handoff
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:
ExportRuntimeEvidencewrites a versioned evidence document containing the target SHA-256, architecture, module RVAs, executed blocks, API calls, comments, labels and functions.ResolveModuleRvaand the coordinator normalize live addresses to the static image identity.tools/ida_evidence_coordinator.pyvalidates that the open Fusion database has the same SHA-256 and architecture, then creates deterministicset_name,set_comments,define_funcand coverage/API comment actions.Fusion applies those actions in its IDA worker and can retain the result in its persistent SQLite cache for later multi-binary analysis.
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.
Documentation
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.
Возможности
Запуск и attach с аргументами, cwd, окружением и политикой дочерних процессов.
Регистры, память, потоки, модули и breakpoint'ы с контролем владельца.
Instruction-, API-, heap-, exception-trace и basic-block evidence.
Поиск сравнений, runtime-строк, косвенных вызовов, OEP и импортов.
PE из памяти, minidump, исправление IAT и экспорт пропатченного файла.
Обмен с IDA через переносимую связку SHA-256 файла + module RVA, а не случайный runtime VA.
Группы инструментов
Этап | Примеры MCP tools | Что получается |
Запуск и привязка |
| Воспроизводимый процесс и точная session identity |
Управление |
| Контролируемый run/step, память и breakpoint'ы |
Runtime evidence |
| Пути инструкций, API/heap, исключения и выполненные блоки |
Поиск ключей и unpack |
| Сравнения, строки, OEP и кандидаты runtime-IAT |
Дамп и восстановление |
| Повторяемые дампы и проверенные PE-артефакты |
Передача в IDA |
| Комментарии, labels, coverage и API-факты по hash/RVA |
Полный каталог, параметры и контракты ответов находятся в
справочнике инструментов. Профиль compact делает
обычные ответы короткими; detail="full" и профиль full возвращают всё
доказательство.
Быстрая настройка
Скачайте из Releases единый Windows-архив. Внутри сразу есть оба native-плагина и Python-backend:
plugins\MCPx64dbg.dp64для x64dbgplugins\MCPx64dbg.dp32для x32dbgruntime\srcиruntime\requirements.txtавтономные x64/x86 managed-runtime probes в
runtime\tools\bin\managed_probe
Закройте x64dbg/x32dbg. Откройте PowerShell в папке со скачанным ZIP и выполните блок ниже. Он сам запросит папку для MCP и путь к уже установленному x64dbg — диск и расположение заранее не предполагаются. Не закрывайте это окно PowerShell до выполнения команд для выбранного MCP-клиента.
$Archive = Get-ChildItem -File .\x64dbg-mcp-windows-*.zip |
Sort-Object LastWriteTime -Descending |
Select-Object -First 1
if (-not $Archive) { throw 'Архив релиза x64dbg MCP не найден в этой папке.' }
$BundleRoot = Read-Host 'Полный путь к папке, куда распаковать x64dbg MCP'
$X64dbgRoot = Read-Host 'Полный путь к папке x64dbg, содержащей каталоги x64 и x32'
$BundleRoot = [IO.Path]::GetFullPath(
[Environment]::ExpandEnvironmentVariables($BundleRoot.Trim()))
$X64dbgRoot = (Resolve-Path -LiteralPath (
[Environment]::ExpandEnvironmentVariables($X64dbgRoot.Trim()))).Path
if (-not (Test-Path -LiteralPath (Join-Path $X64dbgRoot 'x64\x64dbg.exe'))) {
throw "x64dbg.exe не найден в $X64dbgRoot\x64"
}
if (-not (Test-Path -LiteralPath (Join-Path $X64dbgRoot 'x32\x32dbg.exe'))) {
throw "x32dbg.exe не найден в $X64dbgRoot\x32"
}
Expand-Archive -LiteralPath $Archive.FullName -DestinationPath $BundleRoot -Force
Copy-Item (Join-Path $BundleRoot 'plugins\MCPx64dbg.dp64') `
(Join-Path $X64dbgRoot 'x64\plugins\MCPx64dbg.dp64') -Force
Copy-Item (Join-Path $BundleRoot 'plugins\MCPx64dbg.dp32') `
(Join-Path $X64dbgRoot 'x32\plugins\MCPx64dbg.dp32') -Force
$RuntimeRoot = Join-Path $BundleRoot 'runtime'
Set-Location $RuntimeRoot
py -3.11 -m venv .venv
.\.venv\Scripts\python.exe -m pip install -r requirements.txt
$PythonExe = (Resolve-Path .\.venv\Scripts\python.exe).Path
$Launcher = (Resolve-Path .\src\mcp_stdio_launcher.py).Path
[pscustomobject]@{
PythonExe = $PythonExe
Launcher = $Launcher
X64dbgRoot = $X64dbgRoot
}Codex
Добавьте сервер в ~\.codex\config.toml. Замените три значения в угловых
скобках на абсолютные пути, которые напечатал блок настройки. В одинарных
строках TOML обратные слеши Windows не нужно удваивать.
[mcp_servers.x64dbg]
command = '<PythonExe>'
args = ['<Launcher>']
startup_timeout_sec = 90
[mcp_servers.x64dbg.env]
X64DBG_ROOT = '<X64dbgRoot>'
X64DBG_MCP_TOOL_PROFILE = 'compact'Для обычного запуска цели сразу вызовите InitDebuggee с путём к EXE.
Инструмент сам определит x86/x64, запустит подходящий debugger из
X64DBG_ROOT, дождётся bridge и откроет цель. Отдельная проверка через
BridgeHello и ручной поиск пути к x64dbg не нужны.
Необязательная проверка установки: запустите x64dbg или x32dbg и проверьте bridge:
& $PythonExe (Join-Path $RuntimeRoot 'src\x64dbg.py') GetDebuggerPluginStatusПоля 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.
Claude Code
Добавьте тот же stdio-сервер в Claude Code с областью пользователя. Команда использует выбранные выше пути, а не расположение с чужого компьютера:
$ClaudeServer = [ordered]@{
command = $PythonExe
args = @($Launcher)
env = [ordered]@{
X64DBG_ROOT = $X64dbgRoot
X64DBG_MCP_TOOL_PROFILE = 'compact'
}
} | ConvertTo-Json -Depth 4 -Compress
claude mcp add-json x64dbg $ClaudeServer --scope user
claude mcp listЛибо запустите claude mcp add и введите те же command, args и env
интерактивно.
Claude Desktop и другие stdio-клиенты
Используйте JSON-конфигурацию MCP вашего клиента. В Claude Desktop на Windows
это %APPDATA%\Claude\claude_desktop_config.json. Сформируйте JSON с реально
выбранными путями:
$ClientConfig = [ordered]@{
mcpServers = [ordered]@{
x64dbg = [ordered]@{
command = $PythonExe
args = @($Launcher)
env = [ordered]@{
X64DBG_ROOT = $X64dbgRoot
X64DBG_MCP_TOOL_PROFILE = 'compact'
}
}
}
}
$ClientConfig | ConvertTo-Json -Depth 6Cursor, VS Code MCP, Windsurf и другие stdio-клиенты используют тот же
контракт command/args/env; отличается только путь к JSON-файлу.
Сборка из исходников
git clone https://github.com/rison1337/x64dbgMCP.git
Set-Location x64dbgMCP
cmake -S . -B build -G "Visual Studio 17 2022" -DX64DBG_DOWNLOAD_SDK=ON
cmake --build build --target all_plugins --config Release
$X64dbgRoot = (Resolve-Path -LiteralPath (Read-Host 'Папка установки x64dbg')).Path
Copy-Item build\build64\Release\MCPx64dbg.dp64 `
(Join-Path $X64dbgRoot 'x64\plugins\MCPx64dbg.dp64') -Force
Copy-Item build\build32\Release\MCPx64dbg.dp32 `
(Join-Path $X64dbgRoot 'x32\plugins\MCPx64dbg.dp32') -ForceСинхронизация с IDA Pro MCP Fusion
Связка рассчитана именно на форк 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.Fusion применяет действия в своём IDA worker и может сохранить результат в persistent SQLite cache для следующих multi-binary исследований.
Это явный, проверяемый и повторяемый 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.
Available Tools
40 toolsAttachToProcessADestructive
Attach x64dbg/x32dbg to an already-running process.
Args: pid: Exact target PID. Preferred when known. exe_filter: Process name or image-path substring when pid is not provided. arch: Desired debugger architecture. Auto prefers the target process architecture. restart_debugger: When true, restart the debugger before attach. stop_first: When true, stop the current debug session before attaching. timeout_ms: Maximum time to wait for the attach to complete.
Inputs: pid, arch, exe_filter, stop_first, +2 more.
BridgeHelloARead-onlyIdempotent
Return the authoritative debugger bridge and debug-session identity.
Diagnostic only for a debugger that is already running. When a target EXE path is known, call InitDebuggee directly instead of using BridgeHello as a preflight check; InitDebuggee selects and starts x32dbg/x64dbg from the configured X64DBG_ROOT and waits for this bridge automatically.
This is the identity used by every state-changing operation. ok is
false for a legacy bridge because it cannot provide atomic stale-session
protection.
Inputs: refresh.
CaptureManagedRuntimeStateA
Capture CLR/AppDomain/module/thread/stack/JIT state via a passive sidecar.
The target must be paused for a coherent ClrMD read. The sidecar never claims the debug port and performs no target mutation. Optional token resolution is intentionally scoped to methods present on active managed stacks; unavailable pre-JIT methods are reported as not found.
Inputs: module, max_maps, max_frames, timeout_ms, +6 more.
CaptureStopContextStructuredARead-onlyIdempotent
Capture a rich, structured snapshot of the current stop — registers, selected memory/stack slots, the call stack, and disassembly around the instruction pointer — in one payload. Ideal right after a breakpoint hit so the model gets full context in a single round-trip.
Args: registers_json: Optional JSON array of register names to include (empty = the standard set). expressions_json: Optional JSON array of x64dbg expressions to evaluate. ranges_json: Optional JSON array of {label, expr, size, format} memory ranges to read. stack_slots_json: Optional JSON array describing stack slots to decode. disasm_before: Instructions to disassemble before the IP (default 2). disasm_after: Instructions to disassemble after the IP (default 4). callstack_limit: Maximum call-stack frames to include (default 12).
Returns: {"ok": bool, "registers": ..., "memory": ..., "callStack": ..., "disasm": ...} structured context, or an error envelope.
Inputs: ranges_json, disasm_after, disasm_before, registers_json, +3 more.
DebugDeleteBreakpointADestructiveIdempotent
Delete breakpoint at address using Script API
Parameters: addr: Memory address (in hex format, e.g. "0x1000")
Returns: Status message
Inputs: addr (required).
DebugPauseBIdempotent
Pause execution without blocking the MCP HTTP server.
Returns: Status message
Inputs: no named parameters.
DebugRunB
Resume execution without blocking the MCP HTTP server.
This intentionally uses a non-blocking debugger command path so the bridge can continue to service Pause/Status requests while the target is running.
Returns: Status message
Inputs: exception_mode.
DebugStepInB
Step into the next instruction without blocking the MCP HTTP server.
Returns: Command execution result
Inputs: no named parameters.
DebugStepOutA
Step out of the current function without blocking the MCP HTTP server.
Returns: Command execution result
Inputs: no named parameters.
DebugStepOverB
Step over the next instruction without blocking the MCP HTTP server.
Returns: Command execution result
Inputs: no named parameters.
DebugStopBDestructiveIdempotent
Stop debugging using Script API
Returns: Status message
Inputs: no named parameters.
DisasmRangeBRead-onlyIdempotent
Disassemble a raw address range without guessing function bounds.
Pages resume from the opaque nextCursor address.
Inputs: end (required), start (required), cursor, detail, +1 more.
DumpModuleADestructive
Produce a VERIFIED unpacked dump of a module to disk. With find_oep=True (default) this drives the packer-agnostic OEP engine (FindOEP) — which works for the unpack-in-memory-then-jump class (UPX, ASPack, FSG, MPRESS, PECompact, Petite, simple crypters) — then dumps via Scylla and VERIFIES the result before reporting ok: the entry must have moved out of the packer stub to the real OEP, the IAT must resolve cleanly (no garbage descriptors), and the imports must be non-trivial. A dump that merely landed on disk is NOT a success. On failure it returns ok:false with a reason and keeps the raw memory dump for manual recovery. Virtualizing protectors have no generic recoverable OEP contract here and are reported honestly (isLikelyVirtualized), never faked. The optional virtualization research backend is disabled in this build.
find_oep=False dumps the selected loaded module at the current/module entry. It still performs independent PE/IAT verification by default and never treats mere file creation as success.
Args:
module: Module name to dump (e.g. "target.exe"). Empty = the main
debuggee module.
output_path: Destination path for the dumped file. Empty = a default
path derived from the module.
find_oep: When True (default) find + verify the OEP before dumping;
when False dump from the current state (no verification).
timeout_ms: Budget for OEP discovery (default 30000).
fix_imports: Reconstruct imports with Scylla (default true).
verify: Require independent PE/IAT verification (default true).
overwrite: Explicitly authorize replacing dump artifacts.
keep_raw_dump: Preserve Scylla's pre-IAT raw image.
iat_start/iat_size: Optional exact live IAT range; both are required together.
module_strategy: auto, overlay, or scylla. Auto uses a reloadable
source-backed executable overlay for non-main DLLs.
timeline_path: Optional unpack-workflow-v1 JSON path. When OEP
discovery is enabled and omitted, <output>.workflow.json is
written automatically.
Returns: {"ok": bool, "verified": bool, "path": str, "exists": bool, "size": int, "module": str, "findOep": bool, "oep"?: str, "confidence"?: str, "reason"?: str, "isLikelyVirtualized"?: bool, "rawDumpPath"?: str, "result": ..., "hint"?: str}.
Inputs: module, verify, find_oep, iat_size, +10 more.
DumpPeFromMemoryADestructive
Reconstruct a disk-layout PE from a loaded memory-layout image.
For destroyed/headerless images, header_template_path is accepted
only after executable-section identity verification by default.
Writable sections are reset from the bound template by default so CRT
and loader state captured after DllMain cannot poison a later reload.
entry_rva_override is bounded to an executable template section and
can record a recovered manual-loader OEP without trusting stale headers.
source_layout=auto|memory|disk also supports an embedded reflective
raw PE staged inside a larger private allocation.
Inputs: base (required), output_path (required), verify, overwrite, +8 more.
EnsureReadyARead-onlyIdempotent
One-call health check.
Returns {ok, reasons[], hints[]}. Tells whether x64dbg is running, a process is loaded, it is paused, and whether analysis has been run.
Inputs: no named parameters.
EvalBatchCRead-onlyIdempotent
Evaluate a batch of expressions.
Args: expressions_json: JSON array or newline/comma-separated expressions.
Inputs: expressions_json (required).
ExportRuntimeEvidenceCDestructive
Export static annotations plus hash+RVA runtime evidence for IDA.
Inputs: module, overwrite, output_path, api_trace_id, +5 more.
FindOEPA
Find the Original Entry Point (OEP) of a packed executable and, optionally, produce a VERIFIED unpacked dump.
Engine: a packer-agnostic dynamic approach for the unpack-in-memory-then-jump class (UPX, ASPack, FSG, MPRESS, PECompact, Petite, simple crypters):
ESP-anchor fast-forward -- a hardware breakpoint on the stub's saved register slot skips past the decompression loop and is immune to the page writes that defeat memory breakpoints.
Section-hop conditional trace -- single-steps in the engine until execution enters a non-stub executable section (the OEP). Virtualizing protectors have no generic recoverable OEP contract here; they are reported honestly via isLikelyVirtualized rather than faked. The optional virtualization research backend is disabled in this build.
When dump_to_path is set, the dump is written via Scylla and VERIFIED before ok:true (entry moved out of the packer section to the OEP, IAT resolved, imports richer than the packed baseline). The raw memory dump is always kept, so a failed verification still leaves something for manual recovery.
timeline_to_path optionally writes a canonical unpack-workflow-v1
evidence artifact. Returns {ok, status, stages, artifacts, oepAddr,
detectedVia, confidence, moduleBase, moduleSize, packerEntry, verified,
reason, rawDumpPath, isLikelyVirtualized, ...}.
Inputs: timeout_ms, dump_to_path, packer_section, timeline_to_path.
GetApiTraceLogARead-onlyIdempotent
Read API trace log with pagination.
Args: trace_id: Session id from StartApiTrace. offset: Start index (0-based). limit: Max calls to return (default 100, max 5000). func_filter: Optional case-insensitive substring for "module!func".
Inputs: trace_id (required), limit, offset, after_seq, +1 more.
GetCallStackBRead-onlyIdempotent
Get the current call stack of the debugged thread. Returns the full stack trace with addresses, return addresses, and comments.
Returns: Dictionary with: - total: Number of stack frames - entries: List of call stack entries, each with: - addr: Current address in the frame - from: Return address (caller) - to: Called address (callee) - comment: Auto-generated comment (function name, etc.)
Inputs: no named parameters.
GetDebugStateBRead-onlyIdempotent
Get a normalized debugger state snapshot.
Args: include_console: When true, read visible console text if available. include_callstack: When true, include the current call stack while paused. include_registers: When true, include the current register dump while paused. include_breakpoints: When true, include breakpoint lists and hit counts. include_session: When true, include the raw session payload from the bridge. max_console_chars: Maximum visible console characters to read.
Inputs: include_console, include_session, include_callstack, include_registers, +2 more.
GetExportsCRead-onlyIdempotent
Return the export table for a loaded module.
Inputs: limit, module, offset.
GetImportsARead-onlyIdempotent
Return the import table for a loaded module.
If module is empty, uses the current debuggee's main module.
Each entry: {module, function, iatVa, thunkVa}.
Falls back to QuerySymbols('Import*') if the plugin has no dedicated
endpoint. Works on any PE loaded in the debugger.
Inputs: limit, module, offset.
GetModuleListARead-onlyIdempotent
Get list of loaded modules.
Returns: Dictionary with count, modules (list of objects), and summary (human-readable lines).
Inputs: no named parameters.
GetRegisterDumpARead-onlyIdempotent
Get a complete dump of all CPU registers in one call. Returns general purpose registers, segment registers, debug registers, flags, and last error/status information.
Much more efficient than reading registers individually.
Returns: Dictionary with all register values (cax/ccx/cdx/cbx/csp/cbp/csi/cdi, r8-r15 on x64, cip, eflags, segment regs, debug regs, flags object, lastError, lastStatus)
Inputs: no named parameters.
GetSessionBindingBRead-onlyIdempotent
Return the currently bound session identity and whether it matches the live state.
Inputs: no named parameters.
GetThreadListBRead-onlyIdempotent
Get list of all threads in the debugged process with detailed information.
Returns: Dictionary with: - count: Number of threads - currentThread: Index of the currently focused thread - threads: List of thread objects with threadNumber, threadId, threadName, startAddress, localBase, cip, suspendCount, priority, waitReason, lastError, cycles
Inputs: no named parameters.
InitDebuggeeA
Preferred first call when the target executable path is known.
Reliably start a new debuggee with retries and state verification. This tool detects the target architecture, resolves X64DBG_ROOT, starts the matching x32dbg/x64dbg instance, waits for its authenticated bridge, and opens the target. Do not preflight BridgeHello, probe port 8888, or search debugger installation paths manually before calling InitDebuggee.
Args: exe_path: Absolute path to the executable. timeout_ms: Maximum total time to spend retrying. retries: Maximum number of init attempts. stop_first: When true, stop the current debug session before init. use_scyllahide: off (default), auto (same as off), or force (explicit injection). scyllahide_profile: Optional explicit ScyllaHide profile override. arguments: Argument vector excluding argv[0]. Mutually exclusive with command_line. command_line: Explicit Windows command-line tail. working_directory: Current directory for the new process. environment: Per-launch environment overrides. The current bridge reports this unsupported and the call fails explicitly instead of ignoring it. inherit_environment: Whether the target should inherit the debugger environment. stdin: Typed stdin object (inherit/null/file/bytes/pipe). stdout: Typed stdout object (inherit/null/file/pipe). stderr: Typed stderr object (inherit/null/file/pipe). All streams must be explicit together, or all omitted for console inheritance. child_policy: none, attach-first, attach-all, or break-on-create. capture_limit_bytes: Bounded pipe retention/queue capacity in bytes.
Inputs: exe_path (required), stdin, stderr, stdout, +12 more.
InspectManagedAssemblyCRead-onlyIdempotent
Inspect CLR metadata, type/method tokens and optional bounded IL bytes.
Inputs: path, module, max_types, include_il, +1 more.
MemoryWriteBDestructiveIdempotent
Write memory using enhanced Script API
Parameters: addr: Memory address (in hex format, e.g. "0x1000") data: Hexadecimal string representing the data to write
Returns: Structured write/verification result from bridge v2 (legacy bridges may still return a status string).
Inputs: addr (required), data (required).
ReadMemoryARead-onlyIdempotent
Read a memory range in a RE-friendly format.
Args:
addr: Address or expression such as 0x401000, module!func+0x10, or [rbp+0x20].
size: Number of bytes to read.
ty: One of hex, bytes, ascii, utf8, utf16, u8, u16, u32, u64.
max_chars: Text decoding limit for ascii/utf8/utf16 views.
Inputs: addr (required), size (required), ty, max_chars.
RecoverComparisonSecretARead-onlyIdempotent
Recover comparison candidates from exact API-trace operand evidence.
This consumes completed strcmp/strncmp/memcmp/wide-string calls. With a known probe it distinguishes the user-controlled operand and recovers a direct peer or a single-byte-XOR-transformed peer. A returned candidate must still be verified with an independent launch of the target.
Inputs: trace_id (required), probe, overwrite, transform, +3 more.
RunApiTraceA
Run the debuggee and collect API calls into the given trace session.
Blocks until either max_calls calls are recorded, timeout_ms elapses,
or the debuggee exits. Returns compact summary; use GetApiTraceLog for
per-call details.
Inputs: trace_id (required), max_calls, timeout_ms, drain_returns.
SearchStringsARead-onlyIdempotent
Search ASCII/UTF-16 strings referenced by the current debuggee module.
Uses x64dbg's strref view under the hood, then filters client-side.
Returns deterministic pages of matches with module/RVA identity.
detail=full adds scan diagnostics but does not bypass pagination.
Inputs: pattern (required), limit, regex, detail, +4 more.
SetBreakpointWithCaptureC
Set a breakpoint, wait for it to hit, and capture structured context.
Inputs: addr (required), resume, timeout_ms, ranges_json, +6 more.
StartApiTraceA
Set up (but do not yet run) an API call trace session.
Enumerates imports matching filter_json in modules_json and sets
silent+continue-on-hit breakpoints on each target. Use RunApiTrace to
drive the debuggee and collect calls.
Args:
modules_json: JSON array of module names (e.g. ["kernel32.dll","ws2_32.dll"]).
Empty → typical OS modules (kernel32/user32/advapi32/ws2_32/wininet/ntdll).
filter_json: JSON array of substrings to match module!func.
Empty → DEFAULT_API_FILTERS (file I/O, memory, process, net, crypto, etc.)
custom_targets_json: Strict JSON array of explicit loaded-module
targets. Each item selects exactly one symbol, RVA, or address.
kind="import-resolver" records custom/hash resolver returns as
exact PE exports using supplied resolver argument metadata.
arg_count: Number of args to sample per call (default 4, max 8).
label: Optional session label.
max_targets: Max number of BPs to actually set (default 200). If the
filter matches more, returns an error listing counts per module so
the caller can narrow the filter.
subscribe_modules: Periodically discover matching exports in modules
that load after the trace starts.
discover_dynamic_resolvers: Add a bounded owned breakpoint for a
matching function pointer returned by GetProcAddress.
native_return_hooks: Let the native breakpoint callback install and
remove return hooks. Python remains a fail-safe if native
scheduling is unavailable or rejects a hook.
Returns summary: {ok, traceId, targetCount, modules, filters, warnings}.
Inputs: label, arg_count, filter_json, max_targets, +12 more.
StopApiTraceBDestructiveIdempotent
Stop a running API trace and optionally delete its breakpoints.
Inputs: trace_id (required), delete_breakpoints.
ValidateDumpBRead-onlyIdempotent
Validate PE structure/imports and optionally run a bounded smoke process.
The optional isolated run is placed in a kill-on-close Windows Job
Object so descendants cannot outlive the validation. network_policy
remains an explicit policy marker; this process-local harness does not
pretend to be a firewall sandbox.
Inputs: dump_path (required), timeout_ms, run_isolated, arguments_json, +3 more.
WaitForExitCRead-onlyIdempotent
Wait until the debuggee exits.
Inputs: poll_ms, timeout_ms.
WaitForPauseCRead-onlyIdempotent
Wait until the debuggee reaches a paused state or exits.
Inputs: poll_ms, timeout_ms.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 40 tools
Many tools are clearly distinct, but several clusters overlap: FindOEP, DumpModule, DumpPeFromMemory, and ValidateDump all concern dumping/unpacking, while GetDebugState, CaptureStopContextStructured, GetRegisterDump, GetCallStack, BridgeHello, GetSessionBinding, and EnsureReady expose overlapping state/health/session information. Descriptions clarify intended use, so selection is usually possible, but the boundaries are not always crisp.
All tool names use PascalCase with no snake_case or camelCase mixing, and most follow a Verb+Object pattern such as GetModuleList, ReadMemory, and DumpModule. Minor deviations like MemoryWrite, BridgeHello, and EnsureReady are still readable, so consistency is good but not perfect.
40 tools is heavy for this server. While a debugger and reverse-engineering automation domain can justify many capabilities, the surface splits some workflows across multiple overlapping tools and exceeds the 25+ threshold that the rubric treats as too many for the apparent scope.
The surface covers startup/attach, run control, memory, registers, modules/imports/exports, callstack, tracing, managed inspection, and dumping/unpacking. Gaps remain in breakpoint lifecycle, such as no standalone set/list/enable/disable tools, and no detach/restart/kill process control, but most can be worked around via existing state and capture tools.
Maintenance
Related MCP Connectors
Security research canary remote MCP server for owned-account testing.
Experimental MCP server for current empirical verification of explicit public HTTPS endpoint claims.
MCP server for mandates, delegation, policy-gated execution, credential grants, and audit.
Guarded MCP server for agent-readable business truth, provenance, readiness, and discovery.
Related MCP Servers
- FlicenseBqualityDmaintenanceA simple MCP server exposing persistent, scriptable Frida dynamic instrumentation to an AI agent for Windows reversing, malware/security analysis, and dynamic debugging.19-
- AlicenseNot gradedqualityFmaintenanceMCP server for reverse engineering Windows executables and related binary formats, offering static analysis, Ghidra-assisted function recovery, plugin-driven tooling, and optional isolated Windows runtime execution.238MIT
- AlicenseNot gradedqualityCmaintenanceHeadless reverse engineering MCP server integrating IDA Pro for static analysis and x64dbg for dynamic debugging via controlled MCP tools.6GPL 3.0
- AlicenseNot gradedqualityAmaintenanceMCP server that exposes WinDbg/DbgEng to AI agents over stdio for user-mode, kernel-mode, crash-dump, and Time Travel Debugging workflows.21MIT