1
Add it to Claude Code
claude mcp add -e "IDADIR=${IDADIR}" ida-auto-mcp -- python -m ida_auto_mcp --ida-dir "C:/Program Files/IDA Pro"Required:
IDADIREnvironment Variables
Set these before running IDA Auto MCP.
VariableDescriptionRequired
IDADIRThe installation directory of IDA ProYesAvailable Tools (5)
Once configured, IDA Auto MCP gives your AI agent access to:
open_binaryOpen a binary for analysis (auto-analysis included)pathclose_binaryClose a sessionsession_iddecompile_functionHex-Rays decompilation to C pseudocodeaddresslist_functionsList/filter functions with paginationpagefilterpatch_bytesPatch bytes at an address (binary patching)addressbytesTry It Out
After setup, try these prompts with your AI agent:
→Open the binary at C:/samples/malware.exe and list all imported functions.
→Decompile the main function in the currently open binary and explain what it does.
→Find all cross-references to the function at address 0x401000.
→Search for the string 'password' in the binary and show me the surrounding code.
→Patch the byte at 0x401234 with 0x90 and save the database.
Prerequisites & system requirements
- An MCP-compatible client (Claude Code, Cursor, Windsurf, Claude Desktop, or Codex)
- Python 3.8+ with pip installed
IDADIR— The installation directory of IDA Pro
Conare · memory for coding agents
Keep this setup from going cold
Save the docs, env vars, and workflow around IDA Auto MCP in Conare so Claude Code, Codex, and Cursor remember it next time.
Remember this setup$npx conare@latest