ida-headless-mcp
by zboralski·★ 115·综合分 47
无头 IDA Pro 二进制分析服务器,提供 52 个 MCP 工具进行逆向工程,支持多会话并发
概述
此 MCP 服务器将 IDA Pro 与模型上下文协议连接,允许 AI 助手执行二进制分析任务。它使用 Go 服务器管理会话注册表和工作进程,而 Python 工作进程通过 idalib 处理实际的 IDA 操作。该架构支持进程隔离、自动会话超时,并提供分析各种二进制类型(包括 Unity 游戏和 Flutter 应用)的工具。服务器支持流式 HTTP 和 SSE 传输,可与 Claude Desktop 和 Claude Code 等客户端集成
试试问 AI
装完之后,这里有 4 个你可以让 AI 做的事:
什么时候选它
当您需要在 AI 模型中进行交互式逆向工程时,特别是需要使用 IDA Pro 并发分析多个二进制文件时,请选择此服务器。
什么时候不要选它
如果您没有 IDA Pro 许可证或需要在不使用商业工具的情况下分析二进制文件,请避免使用此服务器 - 它需要 IDA Pro 9.0+ 作为先决条件。
此 server 暴露的工具
从 README 抽取出 12 个工具open_binaryOpens a binary file in IDA Pro for analysis
run_auto_analysisRuns automatic analysis on the loaded binary
get_entry_pointRetrieves the entry point address of the binary
get_decompiled_funcGets the decompiled code of a function at a specific address
get_functionsLists all functions in the binary
close_binaryCloses the currently open binary
import_flutterImports Flutter/Dart metadata from unflutter JSON
import_il2cppImports Il2Cpp metadata from Unity games
list_sessionsLists all active IDA analysis sessions
get_stringsRetrieves all strings found in the binary
get_segmentsLists all segments/sections in the binary
get_commentsRetrieves all code comments in the binary
可对比工具
安装
安装
- 克隆仓库:
``bash git clone <repo-url> cd ida-headless-mcp ``
- 运行设置:
``bash make setup `` 这将自动设置 idalib,安装 Python 依赖项,并构建 Go 服务器。
- 启动服务器:
``bash ./bin/ida-mcp-server `` 服务器默认在端口 17300 上运行。
Claude Desktop 配置
添加到 ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"ida-headless": {
"url": "http://127.0.0.1:17300/",
"type": "http"
}
}
}手动设置
用于故障排除或自定义设置:
./scripts/setup_idalib.sh # 设置 idalib
make install-python # 安装 Python 依赖项
make build # 构建 Go 服务器Hacker News 讨论
开发者社区最近的相关讨论。
- 帖子 by kugutsumen · 2025-11-14
ida-headless-mcp 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。