X64dbg

io.github.bromoket由 GitHub 帳號 bromoket 發布v2.3.0更新於 Oct 24, 2026

MCP server for x64dbg debugger - 23 mega-tools for AI-powered reverse engineering and debugging

已驗證STDIO僅桌面開發者工具安全與監控

概覽

AI 產生的概覽

把 AI 助理接到 x64dbg 除錯器上,可在本機設定中斷點、讀取記憶體、反組譯、追蹤並傾印二進位檔。

可以做什麼
  • 控制除錯器:執行、單步、暫停、原始命令、腳本與運算式求值
  • 檢查 CPU 與記憶體:暫存器、記憶體讀寫/配置/保護、記憶體對應、呼叫堆疊與 SEH 鏈
  • 分析程式碼:反組譯、組譯、交互參照、基本區塊、控制流程圖與迴圈
  • 管理中斷點與追蹤:軟體/硬體/記憶體/條件/記錄中斷點、批次設定、追蹤記錄與追蹤狀態
  • 處理符號與搜尋:標籤、註解、書籤、AOB 特徵碼與字串掃描、匯入表、匯出表與修補清單
  • 處理行程、修補與傾印:執行緒與 TEB、控制代碼、TCP、PEB、反除錯隱藏、位元組修補、PE 傾印與 IAT 修正
適用情境
適合逆向工程、惡意程式或反外掛分析等情境,想用自然語言讓助理操作正在執行的 x64dbg 工作階段,而不必手寫腳本。適用於在 Windows 桌面上除錯 32 位元與 64 位元目標程式。
執行需求
需在 Windows 本機執行:先在 x64dbg 內安裝 MCP 外掛(dp64/dp32),並讓 x64dbg 保持執行且已開啟目標程式。npm 套件 x64dbg-mcp-server 透過 npx 啟動,需要 Node.js。外掛 REST API 位址由 X64DBG_MCP_HOST 與 X64DBG_MCP_PORT 指定(預設 127.0.0.1:27042)。
安裝前請注意
助理可以寫入記憶體、修改位元組、傾印模組,並隱藏除錯器以繞過反除錯檢查,這些都會改變目標行程及其檔案。選用的外掛權杖透過 X64DBG_MCP_TOKEN 傳入;若未設定,本機其他行程可能存取該本機 API。僅應用於你有權分析的軟體。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 X64dbg,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

x64dbg MCP Server

[npm version] [MCP Registry] [License: MIT]

Drive x64dbg with your AI. Talk to Claude, Cursor, Windsurf, Cline, or any MCP client in plain English and it sets breakpoints, reads memory, disassembles, traces, dumps PEs, and bypasses anti-debug — live, inside the debugger.

23 mega-tools over 153 REST endpoints, fully typed with Zod. A C++ plugin runs inside x64dbg; a tiny TypeScript server bridges it to your client over stdio. Everything stays on 127.0.0.1 — nothing leaves your machine.

Latest — v2.3.0

  • Hardened & crash-proof. A malformed HTTP request can no longer crash x64dbg; the plugin server drains connections cleanly on stop and ships an optional auth token (CORS is locked down).
  • Real data from more tools. imports/exports, symbols search/list, patches list, and strings now return actual parsed results instead of pointing you at a GUI view.
  • Live trace status. New /api/trace/status (+ tracing status) reports whether a trace is running, and the exception/trace tools now honor every parameter they accept.
  • Plus the v2.2.x fixes: x32dbg loads on current snapshots, and requests no longer time out on long operations.

Download the v2.3.0 plugins →


What it looks like

"Set a breakpoint on CreateFileW and run the program""Disassemble the current function and explain what it does""Search for 48 8B ?? 48 85 C0 in the main module and disassemble the hits""Hide the debugger and bypass the anti-debug checks""Trace into the VM dispatcher and log every instruction to a file""Dump the main module to disk and fix the import table"

Real use: tracing VMProtect'd code, finding anti-cheat scanner threads, decoding XOR'd class names, mapping detection logic — all by asking, no manual scripting.

Install

1 · Plugin (inside x64dbg)

Download x64dbg_mcp.dp64 / .dp32 from the latest release and drop them in:

x64dbg/x64/plugins/x64dbg_mcp.dp64    ← 64-bit targetsx64dbg/x32/plugins/x64dbg_mcp.dp32    ← 32-bit targets

…or build + install it yourself (auto-detects your x64dbg — no path editing):

powershell
.\build.ps1 -Install

Start x64dbg; the log shows [MCP] x64dbg MCP Server started on 127.0.0.1:27042.

2 · Server (your AI client)

No install — just point your client at npx. Claude Code:

json
{  "mcpServers": {    "x64dbg": {      "type": "stdio",      "command": "cmd",      "args": ["/c", "npx", "-y", "x64dbg-mcp-server"]    }  }}

Claude Desktop / Cursor / Windsurf / Cline use the same block without the cmd /c wrapper: { "command": "npx", "args": ["-y", "x64dbg-mcp-server"] }. Full per-client paths are in the reference.

3 · Go

Open a target in x64dbg and start talking to your assistant.

Tools at a glance

23 action-based tools spanning the whole debugger:

  • Control — run/step/pause, raw commands, scripts, expression eval
  • CPU & memory — registers (incl. AVX-512), read/write/alloc/protect, memory map
  • Stack — call stack, SEH chain, return addresses
  • Code analysis — disassemble, assemble, xrefs, basic blocks, CFG, loops
  • Breakpoints & tracing — software/hardware/memory/conditional/logging, batch, trace logs
  • Symbols & search — labels, comments, bookmarks, AOB pattern + string scan
  • Process & system — threads/TEB, handles, TCP, PEB, anti-debug hide
  • Patching & dumping — byte patches, PE dump, IAT fix, patch export

Every tool, action, and endpoint is documented in docs/REFERENCE.md.

Links

Security

The plugin binds to 127.0.0.1 only; the server talks pure stdio. All traffic stays on localhost — no remote access, no telemetry, no data leaves your machine. For defense against other local processes, set a token in the plugin's Settings and pass it via X64DBG_MCP_TOKEN — every request must then carry it.

Author

bromo — GitHub. Built with Claude Code. MIT.

來源:README.md,提交 d8e6cac

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v2.3.0最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分