HexRaysSA/ida-mcp
Security & PrivacyOfficial MCP server that lets AI agents drive IDA Pro/idalib for reverse engineering and binary analysis.
What it is
IDA MCP is Hex-Rays' official MCP server that connects AI agent harnesses to IDA. Instead of the agent working blind, it can open binaries in IDA, query what is loaded, and run reverse-engineering work through IDA's own analysis, either headlessly via idalib or in an IDA GUI instance. It is aimed at reverse engineers and security researchers already using IDA 9.4+ who want an agent to assist with binary analysis.
The project is built on IDA Nexus, a library that lets multiple clients share and operate on IDA databases. Hex-Rays describes it as the official IDA MCP server, and documentation lives at docs.hex-rays.com.
Requirements and install
You need Git, uv, IDA 9.4 or higher with idalib, and Python 3.11+. The README recommends disabling other IDA MCP servers so the agent does not get confused.
The quickest path is the automatic installer via hcli:
uvx ida-hcli mcp install
# or, with hcli already installed:
hcli mcp install
It installs the GUI plugin and interactively offers to install plugins for supported agents. The GUI plugin can also be added manually:
uvx ida-hcli plugin install ida-mcp@https://github.com/HexRaysSA/ida-mcp
Without the plugin, IDA MCP still runs headlessly in a worker using the MCP server's Python environment; with it, workers run inside idat with IDA's own Python, so IDA plugins and packages are available, and the agent can request gui=true to open a file in the GUI. Setting IDA_NEXUS_IDALIB_ONLY=1 keeps workers in the server's Python environment regardless.
Connecting an agent
Dedicated plugins exist for Claude Code, Codex CLI, GitHub Copilot CLI, Pi and oh-my-pi, each installed from the matching HexRays marketplace. For any other agent, configure a stdio MCP server in the MCP JSON config:
{
"mcpServers": {
"ida": {
"command": "uvx",
"args": ["--exclude-newer=1s", "ida-mcp", "stdio", "--agent=my-agent"]
}
}
}
uvx resolves the latest stable ida-mcp release from PyPI, so this config doesn't need updating per release. The --agent value is a human-chosen label (e.g. claude-code, cursor) used to distinguish sessions in the dashboard. The server can also run over Streamable HTTP with uvx ida-mcp http --host 127.0.0.1 --port 8737, and sessions can be inspected with uvx ida-mcp dashboard --open or exported with uvx ida-mcp logs.
Putting it to work
Start your agent harness and ask it to reverse a binary, for example Reverse /path/to/sample.elf for me in IDA. To check GUI integration, open something in IDA and ask the harness what is open in the IDA GUI.
Constraints
This is IDA-specific and requires a licensed IDA 9.4+ with idalib; it will not work with other disassemblers. Headless mode without the GUI plugin lacks access to IDA's own Python environment and installed IDA plugins. Projects are licensed MIT, but IDA itself is commercial, separate software.
HotRepo's take
There is no HotRepo ranking or star-history record for this repository yet, so the available signal is descriptive: 1,687 stars and 133 forks. The notable technical fact is that this is an official Hex-Rays implementation built on its own IDA Nexus multi-client library, with separate installers for the GUI plugin and multiple agent harnesses. For teams already standardized on IDA, that means the integration path is maintained by the vendor behind IDA rather than by a third party.
Written by AI from the project's public information and HotRepo's records, updated . The project's own docs are the source of truth.
You might also like
- mrexodia/ida-pro-mcpMCP servers that expose IDA Pro's decompiler, disassembler, types and debugger to LLM clients for assisted reverse engineering.
- radareorg/radare2-mcpMCP server that lets AI agents drive radare2 for reverse engineering and binary analysis.
- cyberkaida/reverse-engineering-assistantGhidra extension exposing reverse-engineering tools to LLM clients through an MCP server, for interactive or headless binary analysis.
- Perfare/Il2CppDumperDump and restore Unity il2cpp metadata into DLLs and reverse-engineering scripts for IDA, Ghidra and Binary Ninja.
- LaurieWired/GhidraMCPLets an LLM drive Ghidra's decompiler and symbol renaming so reverse engineering of unfamiliar binaries can be automated.