Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Claude loads one when your task matches it, or you run it by name.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
让大语言模型(Claude、Cursor、Cline、ZCode、Codex 等)真正掌控 IDA Pro。
免除逆向幻觉,AI 直接远程调用 Hex-Rays 反编译、查看与修改汇编、重构结构体与类型、追踪交叉引用、读写内存、并直接驱动动态调试器!
本仓库基于上游官方 mrexodia/ida-pro-mcp 开发主线,针对逆向工程生产环境的痛点进行了深度重构与加固,完整吸收并合并了社区 14 项高价值核心 PR,解决了原版在大二进制卡顿、结构体篡改错位、JSON-RPC 偶发崩溃及端口冲突等一系列顽疾:
13437:原版默认端口 13337 极易与后台常驻无头服务或其他工具冲突;当端口冲突时,原版会自动漂移到 13338,导致外部 AI 客户端(配置了固定 URL)瞬间断联。本项目彻底将默认端口固化为 13437,实现 GUI 与后台的稳定物理隔离。?ext=dbg 扩展,默认暴露全套 88 个工具(包含 22 个完整的动态调试器 dbg_* 工具)。list_funcs、func_query、entity_query 在分页(如 count=50)时,底层会先全量遍历整个程序的数万个函数生成大列表再切片。面对几十 MB 的大型游戏/DLL 会直接导致 IDA 假死 20~30 秒甚至 OOM。import_type_header(paths) 工具:支持将现成的本地 C 头文件(.h)直接批量导入当前 IDB 的 Local Types(本地类型库),无需再逐个拼接字符串调用 declare_type,一键载入整份 SDK。struct_member_upsert 工具:逆向 C++ 虚表或复杂数据结构时,支持按指定的字节偏移(Offset)精准填补空隙(gapNN)或替换成员,绝对不会挤偏后续字段的内存对齐和偏移。ignore_micro 并增 set_ignore_micro 工具:修复 Hex-Rays 在反编译某些手写汇编或花指令混淆时,误将关键指令视为空操作 NOP 导致反编译代码失真的问题。-32600 Invalid Request。stop() 阻塞等待 30 秒超时的问题。organize_functions 工具,支持按文件夹树结构整理归档函数列表。idapyswitch 工具将 IDA 关联到该 Python 版本。# Windows 示例(将路径替换为实际 IDA 安装目录)
uv run "<IDA_INSTALL_DIR>\idalib\python\py-activate-idalib.py"
# Linux / macOS 示例
uv run "/path/to/idapro/idalib/python/py-activate-idalib.py"
pip install git+https://github.com/zhengwuji/my-ida-mcp.git
git clone https://github.com/zhengwuji/my-ida-mcp.git
cd my-ida-mcp
pip install -e .
在终端中执行以下命令,将插件部署到 IDA 插件目录:
ida-pro-mcp --install
GUI 交互模式(最常用、最推荐):
13437)。[MCP] Autostarting server...
Config: http://127.0.0.1:13437/config.html
[MCP] Registered instance: target.exe (pid=..., port=13437)
Ctrl+Alt+M 可随时手动启停或重载 MCP 服务。Edit → Plugins → MCP Configuration 可按 IDB 独立调整配置。无头 idalib 模式(命令行批量分析):
idalib-mcp在支持 MCP 的客户端配置文件中,添加如下服务定义(支持全套 88 工具):
{
"mcpServers": {
"ida-pro-mcp": {
"type": "http",
"url": "http://127.0.0.1:13437/mcp?ext=dbg"
}
}
}
各客户端配置文件常见位置:
%APPDATA%\Claude\claude_desktop_config.json~/.claude.json 顶层 mcpServers~/.zcode/cli/config.json为确保大语言模型在调用 IDA-MCP 时拥有 100% 的成功率,建议在 System Prompt 中加入以下规范:
database 参数】
database 参数,否则会导致参数异常。list_funcs、list_globals、func_query、entity_query 等查询工具的参数必须是 queries 列表对象:
{"offset": 0, "count": 50}{"queries": [{"offset": 0, "count": 50}]}imports 工具两个参数均必填:{"offset": 0, "count": 0}(count=0 代表全量获取)。survey_binary 或 list_funcs 获取目标程序中真实存在的符号或十六进制地址(如 0x140001000),再发起 decompile。server_health 探活 ➔ survey_binary 宏观架构 ➔ find_regex/imports 关键线索 ➔ decompile 伪代码 ➔ xrefs_to 调用链 ➔ rename/set_comments 回写 IDB ➔ dbg_* 动态调试。Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Generated from the plugin's indexed repository (zhengwuji/my-ida-mcp) — no native marketplace selected
npx claudepluginhub p/zhengwuji-ida-pro-mcpPlugins from other owners that cover similar ground