Find your next open-source project

Search by name, purpose, or keyword — or paste a GitHub repository URL

mrexodia/ida-pro-mcp

Developer Tools

MCP servers that expose IDA Pro's decompiler, disassembler, types and debugger to LLM clients for assisted reverse engineering.

This project ships 1 agent skillsSkill list and install →
13,591
1,672
Python
MIT
1 year old

What it does

IDA Pro MCP is an MCP server that lets an LLM client read and modify an IDA Pro database: decompile functions, disassemble, follow cross-references, read bytes and structs, rename symbols, declare types, patch instructions, and drive the debugger. It targets reverse engineers who already work in IDA Pro and want to automate routine annotation and exploration through an AI assistant.

The project now points users to the official Hex-Rays IDA MCP Server and recommends it over this one. The README still documents the full plugin and idalib workflows, so the material remains usable for existing setups.

Two backends exist: an IDA GUI plugin communicating over MCP, and idalib-mcp, a headless supervisor that keeps each open database in its own worker process. The headless mode supports concurrent sessions addressed by explicit database IDs, worker adoption across supervisors, and idle self-exit.

Quick start

Prerequisites: Python 3.11+, IDA Pro 8.3+ (9 recommended; IDA Free is not supported), uv installed, and an MCP client such as Claude Code, Codex, Cursor, or VS Code; the README lists many supported clients. idalib must be activated globally first:

# Linux example
uv run "/path/to/idapro-9.3/idalib/python/py-activate-idalib.py"

Windows and macOS use the corresponding py-activate-idalib.py path inside the IDA installation, as shown in the installation section.

For Claude Code, install the plugin from the marketplace:

claude plugin marketplace add mrexodia/claude-marketplace
claude plugin uninstall ida-pro-mcp@mrexodia
claude plugin install ida-pro-mcp@mrexodia

Restart IDA and the MCP client completely after installation. For the GUI route, the README still offers a pip install from the main archive followed by ida-pro-mcp --install, but notes that the MCP plugin will eventually be deprecated in favor of idalib-mcp (GUI installation).

For headless use, start a server with an optional binary:

uv run idalib-mcp --host 127.0.0.1 --port 8745 path/to/executable

Then open sessions and call tools by session ID:

idb_open("/path/to/binary_a.exe", preferred_session_id="binary_a")
decompile("main", database="binary_a")

The database argument must be the session ID returned by idb_open or shown by idb_list, not a filename or path.

Prompting and accuracy

The README stresses that LLMs hallucinate and need explicit instructions. It provides minimal and more systematic sample prompts that tell the model to inspect decompilation, rename variables and functions, correct types, add comments, and use the int_convert tool instead of doing base conversion itself. It also recommends resolving library code with Lumina or FLIRT and unpacking string encryption, import hashing, control-flow flattening, and anti-decompilation tricks before relying on the model. LLMs perform poorly on obfuscated code.

Other interfaces

Beyond the GUI plugin, the server exposes MCP resources under ida:// for metadata, segments, entrypoints, types, structs, and cross-references. An SSE transport can be started with uv run ida-pro-mcp --transport http://127.0.0.1:8744/sse. Debugger tools are hidden by default and enabled with the ?ext=dbg query parameter. An advanced py_eval tool executes arbitrary Python inside IDA, which should be treated as full code execution in that context.

Constraints

  • IDA Pro is commercial software and IDA Free is explicitly unsupported.
  • idalib activation and uv are required for the documented installation paths.
  • Headless workers are capped by --max-workers (default 4); each worker runs as a detached process and self-exits after an idle TTL (default 1 hour).
  • Paginated searches cap results at 10000 to avoid token overflow.
  • py_eval and debugger memory-write tools can modify the database or the debugged process, so review what the client is asked to run.
  • Licensed under MIT.

HotRepo's take

No HotRepo ranking, snapshot, star-curve, or Hacker News discussion data is available for this repository, so there is no on-site popularity record to interpret. The practical signal is in the README itself: it recommends the official Hex-Rays server instead, and describes the GUI MCP plugin as eventually deprecated in favor of headless idalib-mcp. For new setups, evaluate the official alternative first; existing users can still follow the documented plugin and headless workflows.

Written by AI from the project's public information and HotRepo's records, updated . The project's own docs are the source of truth.

Hacker News

You might also like

  1. HexRaysSA/ida-mcpOfficial MCP server that lets AI agents drive IDA Pro/idalib for reverse engineering and binary analysis.Python1,687
  2. bethington/ghidra-mcpBridges Ghidra to AI agents so reverse-engineering of binaries can be driven by natural-language tool calls.Java5,888
  3. cyberkaida/reverse-engineering-assistantGhidra extension exposing reverse-engineering tools to LLM clients through an MCP server, for interactive or headless binary analysis.Java934
  4. github/github-mcp-serverConnects AI coding agents to GitHub repositories, issues, PRs and Actions through the Model Context Protocol.Go33,925
  5. duty1g/x64dbg-mcp-serverNative x64dbg plugin that exposes the debugger over MCP so AI assistants can drive breakpoints, stepping and memory inspection.Zig2,881