
无头IDA Pro MCP服务器
概览
ida-mcp-rs 无头 IDA Pro MCP 服务器,用于 AI 驱动的逆向工程。 有关 DLL 发现选项,请参见下方 Windows 平台设置部分。 —— 从 GitHub Releases 获取你平台的档案。 ida-mcp 版本与 IDA Pro 版本对应(IDA 9.4.x 版本,IDA 9.3.x 版本,IDA 9.2 版本)。启动时检测到版本不匹配并出现明显错误信息。Scoop 和 NUR 发布最新版本。对于较旧的 IDA 版本,可以使用对应的 GitHub Release 版本,或在 Apple Silicon 上使用版本化的 Homebrew 桶。 /应用中的标准IDA安装可自动运行: 如果你看到库未加载:@rpath/libida.dylib,请将DYLD_LIBRARY_PATH设置为你的IDA路径: 支持的路径(自动检测):- /应用/IDA 专业 9.4.app/Contents/MacOS - /应用/IDA 主页 9.4.app/Contents/MacOS - /应用/IDA 基础 9.4.app/Contents/MacOS IDA 安装程序默认为 ~/ida-pro-9.4——启动器脚本会自动检测:
概述(AI 翻译)
–> IDA-MCP-RS 用于AI逆向工程的无头IDA Pro MCP服务器。
为什么是ida-mcp
- 为苹果目标打造。 通用Mach-O切片选择,dSYM/DWARF 装载,dyld_shared_cache模块和DYLIB装载都是单一工具 调用带有显式参数的调用,而非代理必须编写的脚本。在 测量的Claude代码运行,选择并分析 的x86_64片 Universal Binary只用了一通电话,大约五秒钟。
- 快速且精简。 一台原生 Rust 服务器通过 idalib 驱动 IDA;一个包含 28 个工具的服务器
--profile=lean在真实任务中比整套装便宜25% 同样的正确性,需要时全套也在。 - 可以安全运行。 精确目标编辑,
save_idb检查点, 分析完成后立即冲入磁盘,所有程序都优雅地关闭 客户端发送信号,数据库状态被丢弃而非信任 在IDA崩溃之后。 - 工具用尽时可脚本化。
run_script返回尾段 表达式为 JSON 并保持调用之间的状态,因此一个脚本可以找到, 过滤,只返回重要的内容。
先修条件
- IDA Pro 9.4 并持有有效许可
- IDA Pro 9。
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
ida-mcp-rs Headless IDA Pro MCP server for AI-powered reverse engineering.
Why ida-mcp
- Built for Apple targets. Universal Mach-O slice selection, dSYM/DWARF loading, and dyld_shared_cache module and dylib loading are single tool calls with explicit parameters, not scripts the agent has to write. In a measured Claude Code run, selecting and analyzing the x86_64 slice of a universal binary took one call and about five seconds.
- Fast and lean. A native Rust server driving IDA through idalib; a 28-tool
--profile=leanmeasured 25% cheaper than the full set on real tasks with the same correctness, and the full set is there when you need it. - Safe to leave running. Exact-target edits,
save_idbcheckpoints, analysis flushed to disk as soon as it finishes, graceful shutdown on every signal a client sends, and database state discarded rather than trusted after an IDA crash. - Scriptable when the tools run out.
run_scriptreturns a trailing expression as JSON and keeps state between calls, so one script can find, filter, and return only what matters.
Prerequisites
- IDA Pro 9.4 with a valid license
- IDA Pro 9.5 beta for the beta release
Getting started
Install
macOS / Linux (via Homebrew)
brew install blacktop/tap/ida-mcp # Latest (IDA 9.4)
macOS (Apple Silicon), older IDA releases (via versioned Homebrew casks)
brew install blacktop/tap/[email protected] # IDA 9.3/9.3sp1
brew install blacktop/tap/[email protected] # IDA 9.2
Windows (via Scoop)
scoop bucket add blacktop https://github.com/blacktop/scoop-bucket
scoop install blacktop/ida-mcp
Windows note: see Windows below for DLL discovery options.
macOS / Linux (via Nix)
nix shell github:blacktop/nur#ida-mcp \
--extra-experimental-features 'nix-command flakes'
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →配置
{
"mcpServers": {
"ida": { "command": "ida-mcp" }
}
}