Purpose: ida-pro-mcp is an MCP server for reverse engineering that exposes IDA Pro database operations to MCP-capable clients (such as Claude, Cursor, VS Code, Codex, etc.), enabling language models to assist with decompilation, disassembly, and malware analysis. The author recommends prioritizing the official Hex-Rays IDA MCP Server.
Main capabilities: provides read-only resources such as IDB metadata, segments, entry points, types, structures, imports/exports, and cross-references; tools include lookup_funcs, int_convert, list_funcs, decompile, disasm, xrefs_to, callees, get_bytes, get_string, stack_frame, read_struct, search_structs, find_regex, find_bytes, find_insns, basic_blocks, set_type, infer_types, export_funcs, callgraph, rename, patch, etc. Debugger tools are hidden by default and must be enabled with ?ext=dbg.
Usage: requires Python 3.11+, IDA Pro 8.3+ (9 recommended, IDA Free is not supported), and an MCP client. You can use idapyswitch to switch Python versions; run ida-pro-mcp --config to get the client JSON configuration. The GUI installation method is no longer recommended; it is advised to switch to idalib-mcp instead. The idalib mode supports SSE and headless servers, and you can either load a binary first or open a file later with idb_open; each database is hosted by an independent worker process, with a default maximum of 4 workers (--max-workers, 0 for unlimited), and it automatically exits after 1 hour of idleness.
Limitations: LLMs are prone to hallucinations, and integer and byte conversions require explicitly prompting the use of int_convert; obfuscated code (string encryption, control flow flattening, code encryption, anti-decompilation techniques) yields poor results, so it is recommended to first resolve library code using Lumina or FLIRT. All tool calls must explicitly pass the database session ID returned by idb_open; file names or paths are not accepted.