boxmoe_header_banner_img

Hello! 欢迎来到阿虪的开发世界~

加载中

文章导读

IDA MCP:Hex-Rays 官方出品,让 AI 助手直接操作 IDA Pro 帮你逆向


avatar
阿虪 14 10 月, 2026 289

中文简介

IDA MCP 是 Hex-Rays 官方推出的 MCP Server(MIT 开源,1100+ Star),作用是把 IDA Pro 和 AI 编程助手连起来:装好之后,你直接跟 Claude Code / Codex CLI / Copilot CLI 说一句”帮我用 IDA 逆向一下这个 sample.elf”,AI 就能通过 MCP 协议去操作 IDA——反编译、看函数、查交叉引用,不用你手动一个个点,AI 自己调 IDA 来干。

  • 官方出品:Hex-Rays 亲儿子,底层基于 IDA Nexus,支持多客户端共享操作同一个 IDA 数据库;
  • 安装简单:要求 IDA 9.4+、Python 3.11+、装好 uv,一条命令 uvx ida-hcli mcp install 搞定(含 IDA GUI 插件);
  • 支持的 Agent:Claude Code、Codex CLI、GitHub Copilot CLI、Pi、oh-my-pi,以及任何支持标准 MCP JSON 配置的 agent;
  • 两种运行模式:stdio(给 agent 直连)与 Streamable HTTP,还自带 dashboard 看会话日志、导出日志排错;
  • 建议:官方提醒同时只开一个 IDA MCP server,避免多个 server 让 agent confused。

对学逆向的人来说,这意味着可以把”查这个函数谁调用了””这段反编译代码什么意思”这类体力活直接丢给 AI,效率提升很明显。项目 2026 年 8 月创建,已有 27 个 release,迭代很快。

English Summary

IDA MCP is the official Hex-Rays MCP server (MIT licensed, 1100+ stars) that connects IDA Pro to AI coding assistants. Once installed, you can simply tell Claude Code / Codex CLI / Copilot CLI “reverse this sample.elf for me in IDA”, and the agent will drive IDA over the MCP protocol — decompiling, inspecting functions and following cross-references without you clicking through everything manually.

  • Official: built by Hex-Rays on top of IDA Nexus, allowing multiple clients to share and operate on the same IDA database;
  • Easy install: requires IDA 9.4+, Python 3.11+ and uv — one command, uvx ida-hcli mcp install, sets up the GUI plugin too;
  • Supported agents: Claude Code, Codex CLI, GitHub Copilot CLI, Pi, oh-my-pi, plus any agent accepting a standard MCP JSON config;
  • Two modes: stdio (direct agent connection) and Streamable HTTP, with a built-in dashboard for session logs and troubleshooting;
  • Tip: the docs recommend disabling other IDA MCP servers to avoid confusing the agent.

For anyone learning reverse engineering, this offloads the grunt work — “who calls this function”, “what does this decompiled code do” — straight to the AI. Created August 2026 with 27 releases already, it’s moving fast.

链接 / Links



评论(0)

查看评论列表

暂无评论


发表评论

表情 颜文字

插入代码