idamesh

io.github.JordanRO2由 GitHub 帳號 JordanRO2 發布v1.0.0更新於 Oct 24, 2026

MCP server for IDA Pro: decompiler, disassembler, and analysis tools for MCP clients.

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

概覽

AI 產生的概覽

面向 IDA Pro 的 MCP 伺服器,讓助理透過 Hex-Rays 與 IDA 介面反編譯、反組譯、查詢、分析並標註二進位檔。

可以做什麼
  • 以 Hex-Rays 反編譯、反組譯、檢視交叉參照、呼叫圖、型別、結構與記憶體讀取,並搜尋字串、位元組或文字
  • 對函式、指令、交叉參照、型別與匯入執行結構化篩選查詢
  • 進行概覽與分類、偵測加密與危險 API、套用漏洞啟發式、重建堆疊字串,並做資料流或汙點追蹤
  • 重新命名、加註解、改型別、定義程式碼與資料、編輯堆疊框架、修補位元組或組譯、管理書籤,並匯出或匯入標註
  • 在 supervisor 後開啟、列出、關閉與合併資料庫,讓多個代理在私有副本上平行工作
  • 唯讀資料庫狀態也會以 ida:// 資源形式提供
適用情境
適合逆向工程或稽核二進位檔時,讓助理直接讀取、查詢與標註 IDA Pro 資料庫,包括對同一二進位檔進行多代理平行分析。
執行需求
以 Python 套件(3.9+)形式透過 uvx 或 pip 在本機執行,僅限桌面端。需要已授權的 IDA Pro 安裝,提供 idapro/idalib Python API,並以 IDADIR 環境變數指向安裝目錄(若該 API 已在 PYTHONPATH 中可匯入則免)。supervisor 在回送位址上提供 Streamable HTTP,worker 走 stdio。
安裝前請注意
修改類工具會重新命名、改型別、修補位元組與組譯並編輯堆疊框架,可能改變被分析的資料庫;平行工作階段在私有副本上運作,需以 idb_merge 合併。install 子命令會把外掛部署到 IDA 使用者目錄。必須擁有授權的 IDA Pro。

安裝

在 SourceWeft 中

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

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

其他 MCP 客戶端

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

README

idamesh

A Model Context Protocol (MCP) server for IDA Pro. It exposes IDA's disassembler and the Hex-Rays decompiler to MCP clients (Claude and others) as tools and resources, with a supervisor that fronts multiple databases behind one endpoint so several agents can work in parallel.

What it does

  • Read — decompile (Hex-Rays), disassemble, cross-references, call graphs, type and struct inspection, memory reads, and string / byte / text search.
  • Query — structured filters over functions, instructions, xrefs, types, imports.
  • Analyze — survey / triage, crypto and dangerous-API detection, vulnerability heuristics, stack-string reconstruction, and dataflow / taint tracing.
  • Mutate — rename, comment, retype, define code and data, edit stack frames, patch bytes / assembly, bookmarks, and annotation export / import.
  • Parallelize — open each database over a private copy so multiple agents can work the same binary at once, and merge their edits back into one database.

Read-only IDB state is also projected as ida://… MCP resources.

Requirements

  • Python 3.9+
  • A licensed IDA Pro install providing the idapro / idalib Python API. Point the IDADIR environment variable at your IDA installation directory.

Install

bash
pip install idamesh

Or from a clone, for development:

bash
pip install -e .[dev]     # editable install + pytest, to run the test suite

This provides the idamesh command with three subcommands: worker, supervisor, and install.

Usage

Headless worker — one database on stdio (the client launches it):

bash
idamesh worker /path/to/target.exe

Supervisor — one HTTP endpoint fronting many databases:

bash
idamesh supervisor                       # http://127.0.0.1:8745/mcp

Open and close databases behind it with the idb_open / idb_list / idb_close tools; route any tool to a session with an optional database key (omit it when a single database is open). Opening the same binary twice yields two independent sessions; idb_merge reconciles their edits.

GUI plugin — serve MCP over your live, open IDA database:

bash
idamesh install     # deploy the plugin into IDA's user directory, then restart IDA

Run idamesh supervisor (or set IDAMESH_AUTOLAUNCH_SUPERVISOR=1 to have the plugin start one), then open a binary in IDA — the supervisor adopts the live session and routes to it.

Both the worker (--transport http) and the supervisor speak MCP Streamable HTTP at a single /mcp endpoint, loopback-bound with Origin validation.

Connect from Claude Code

bash
claude mcp add --scope user --transport http idamesh http://127.0.0.1:8745/mcp

Or launch a single stdio worker directly:

bash
claude mcp add --scope user -e IDADIR=/path/to/IDA-Pro \  idamesh -- idamesh worker /path/to/target.exe

Tests

bash
pip install -e .[dev]python -m pytest -q

The live idalib end-to-end tests skip cleanly when IDA is unavailable (no IDADIR), so the suite is green without an IDA install.

License

MIT.

來源:README.md,提交 46958e8

工具

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

版本歷史

1
  1. v1.0.0最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

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

  • 近 30 天內可連通25 分

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

  • 已宣告認證方式10 分

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

  • 已列出工具15 分

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

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