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 分