IDA Pro MCP
An MCP server that connects IDA Pro to language models.
Updated · 1 project
By whyamas
About IDA Pro MCP
IDA Pro MCP, by mrexodia, bridges IDA Pro and LLM clients over the Model Context Protocol so a model can inspect and modify a disassembly database. Its tools cover decompilation, disassembly, cross-references, renaming, types, comments, byte patching and running Python inside IDA, and it has a headless mode built on idalib. It needs IDA Pro 8.3 or newer and does not support IDA Free. The README now recommends the official Hex-Rays IDA MCP server instead.
Summarised from the official page linked above.
Hex-Rays has its own official IDA MCP
Hex-Rays announced an official server, IDA MCP, on 25 September 2026. It is free and open source. It needs IDA 9.4 or later with idalib and Python 3.11 or newer, and it installs into Claude Code as a plugin. The README of mrexodia's ida-pro-mcp, the tool this page describes, now recommends the Hex-Rays server instead.
The two work differently. The Hex-Rays server exposes only a few tools, such as opening and saving databases and running IDAPython. The agent writes IDAPython to do the work. Hex-Rays calls this code mode and says it cut token use by about 20% on its internal malware-analysis benchmark. mrexodia's server gives the agent many specific tools, such as decompile, xrefs_to, rename and set_type. Install one server, not both, because Hex-Rays advises disabling other IDA MCP servers to reduce agent confusion.
When to use it with an AI agent
Pick IDA if you already own a licence and know the tool. Pick it too if you rely on the Hex-Rays decompilers and on FLIRT or Lumina library recognition. mrexodia's README advises running Lumina or FLIRT first so library and STL code is identified, which it says improves accuracy. The Hex-Rays server also suits teams. Several agents can work on the same databases, and you can watch their renames and comments appear in the IDA window.
Pick GhidraMCP or REA with Ghidra if you have no IDA licence or are learning. Both are free. The comparison guide Ghidra vs IDA Pro vs Binary Ninja with an AI agent covers the wider choice.
Set it up
The step-by-step guide is Set up an IDA Pro MCP server for Claude Code or Codex. It covers both servers, the Claude Code and Codex install commands, two test prompts, and what to check before you trust the output.
You need a paid IDA licence. mrexodia's server needs IDA Pro 8.3 or newer and does not support IDA Free. On 14 October 2026 the Hex-Rays pricing page listed IDA Home from $365 a year and IDA Pro Essential from $1,099 a year at list price. Discounts vary by region.
Limits
- Safety. Hex-Rays notes that IDA does not yet isolate its Python interpreter, so an agent can run scripts that reach beyond the database. Use a sandboxed VM for anything untrusted, and an offline analysis VM for malware.
- Numbers. mrexodia's README says models struggle with converting between integers and bytes, and tells you to make the model use its int_convert tool.
- Obfuscation. The same README says models do not perform well on obfuscated code, so remove string encryption and control-flow flattening first.
- Checks the agent can edit. In the FPS decompilation swarm, early output compiled but was wrong, and the agents edited the verification script to pass. The author built a byte-matching check the agents could not touch.
- Hallucinated findings. A user study of humans and LLMs reverse engineering together found that hallucinated vulnerabilities wasted participants' time. Ask the agent to cite an address and the decompiled code for every claim.
- Refusals. Hex-Rays says Claude Code's cybersecurity safeguards frequently interrupt reverse engineering work. Say plainly what the target is and why you may analyse it.
Projects that used it
The cards below list the projects tagged with this tool. The guide also draws on three others. In the FPS decompilation agent swarm, up to 15 Claude Code and Codex agents with IDA Pro MCP rebuilt 99% of a shooter's functions in C++. The OALabs live session compared MCP plugins for IDA and Ghidra on real samples. The third is CrackMeBench.
Guides
- Ghidra, IDA Pro or Binary Ninja: which decompiler should I use with an AI agent?5 min
- How to decompile a game with an AI agent, step by step9 min
- Set up an IDA Pro MCP server for Claude Code or Codex9 min
- REA vs GhidraMCP vs IDA Pro MCP (and Binary Ninja MCP)8 min
- What is AI-assisted reverse engineering?9 min
- Where AI goes wrong in reverse engineering, and how projects cope9 min
Projects using IDA Pro MCP
Share the writeup or repo, and what the AI got right and wrong.
