Skip to content
Back to search

iida-mcp

Faster, with excellent architecture, stronger performance, and kernel access support — an ida-mcp tool

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/saileaxh--iida-mcp/badge.svg)](/listings/saileaxh--iida-mcp)

HTML

<a href="/listings/saileaxh--iida-mcp"><img src="/api/listings/saileaxh--iida-mcp/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

Install instructions from the README

As written by the repo's author. findsafeskills has not verified these steps.

把 `iida.py` 和 `iida_core/` 复制到 IDA 的 `plugins/` 目录:

plugins/
  iida.py
  iida_core/
    __init__.py
    cache.py
    kdriver.py
    protocol.py
    registry.py
    router.py
    server.py
    thread_safe.py
    tools.py
    worker.py

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 110 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

  1. # iida-mcp
  2. [中文](README.md) | [English](README_EN.md)
  3. ![iida-mcp capability matrix](arts/iida-mcp-capability-matrix.svg)
  4. `iida-mcp` 是一个 IDA Pro 插件,通过本地 HTTP MCP 服务暴露当前 IDB 的静态分析能力。
  5. 该 MCP 主要面向 x86/x86-64 架构可执行文件及对应 IDA 能力设计;如果有其他需求,请提出 issue。
  6. - 77 个 MCP 工具
  7. - 主要兼容 IDA 8+,包括 IDA 9.x
  8. - 支持多 IDA 实例自动路由
  9. - 可选 Windows 内核驱动能力
  10. - 快捷键:`Alt+Shift+I`
  11. ## 功能
  12. - 文件信息、原始字节、PE/ELF 解析
  13. - 函数、反汇编、控制流图、交叉引用、调用树
  14. - Hex-Rays 反编译、函数参数、局部变量
  15. - 结构体、枚举、本地类型、类型化读取
  16. - 名称、字符串、字节模式、立即数搜索
  17. - 重命名、注释、类型、补丁、书签、批量操作
  18. - 可选内核内存读取、内核模块枚举、IDA 地址到运行时地址映射
  19. ## 安装
  20. 把 `iida.py` 和 `iida_core/` 复制到 IDA 的 `plugins/` 目录:
  21. ```text
  22. plugins/
  23. iida.py
  24. iida_core/
  25. __init__.py
  26. cache.py
  27. kdriver.py
  28. protocol.py
  29. registry.py
  30. router.py
  31. server.py
  32. thread_safe.py
  33. tools.py
  34. worker.py
  35. ```
  36. ## 使用
  37. 1. 在 IDA 中打开目标文件。
  38. 2. 点击 `Edit > Plugins > iida-mcp`,或按 `Alt+Shift+I` 启动。
  39. 3. 第一个启动的 IDA 实例监听 `0.0.0.0:13897`,可通过本机回环地址或主机网卡 IP 访问;后续 IDA 实例自动作为 Worker 接入。
  40. 4. 再次点击菜单项或再次按 `Alt+Shift+I`,关闭当前 IDA 实例中的 iida-mcp 服务/连接。
  41. 5. 单 IDB 时工具参数 `f` 可省略;多 IDB 时先调用 `list_files`,再用返回的 file id 指定 `f`。
  42. ## MCP 客户端配置
  43. 服务端点:
  44. ```text
  45. http://127.0.0.1:13897/mcp
  46. ```
  47. 如果从其他机器连接,请把 `127.0.0.1` 换成运行 IDA 的主机 IP,例如:
  48. ```text
  49. http://192.168.153.1:13897/mcp
  50. ```
  51. 对支持 HTTP/Streamable HTTP MCP server 的客户端,配置一个远程 MCP server,并把 URL 指向上面的地址即可。
  52. 通用示例:
  53. ```json
  54. {
  55. "mcpServers": {
  56. "iida": {
  57. "url": "http://127.0.0.1:13897/mcp"
  58. }
  59. }
  60. }
  61. ```
  62. 不同终端或客户端的字段名可能略有差异;核心是使用 HTTP MCP 连接到 `http://127.0.0.1:13897/mcp`。
  63. ## 依赖
  64. 插件主体只依赖 IDA 自带的 IDAPython 和 Python 标准库。
  65. - 反编译相关工具需要 Hex-Rays Decompiler。
  66. - `disasm_bytes` 需要在 IDA 的 Python 环境中安装 `capstone`。未安装时会返回 `capstone not installed (pip install capstone)`。
  67. - 内核相关工具需要加载 `iida-mcp-ioctl` 驱动。
  68. ## 内核驱动
  69. `driver/` 目录包含 `iida-mcp-ioctl` Windows 内核驱动源码,提供:
  70. - 读取内核内存
  71. - 获取内核模块列表
  72. - 按名称查询模块基址
  73. 编译需要 Visual Studio Build Tools 和 WDK。`driver/build.bat` 会优先使用 `MSVC`、`WDK`、`SDK_VER` 环境变量;未设置时会尝试从标准安装路径自动探测。
  74. 预编译的 `iida-mcp-ioctl.sys` 位于 `driver/`。加载驱动需要自行处理签名和系统策略。未加载驱动时,内核工具会返回明确错误。
  75. ## 端口
  76. | 端口 | 用途 |
  77. |------|------|
  78. | `13897` | MCP HTTP 服务,监听所有网卡 |
  79. | `13898` | 内部 Worker 通信,仅本机 |

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.