← Back to IDA Auto MCP

Install IDA Auto MCP

Pick your client, copy the command, done.

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:IDADIR

Environment Variables

Set these before running IDA Auto MCP.

VariableDescriptionRequired
IDADIRThe installation directory of IDA ProYes

Available Tools (5)

Once configured, IDA Auto MCP gives your AI agent access to:

open_binaryOpen a binary for analysis (auto-analysis included)
path
close_binaryClose a session
session_id
decompile_functionHex-Rays decompilation to C pseudocode
address
list_functionsList/filter functions with pagination
pagefilter
patch_bytesPatch bytes at an address (binary patching)
addressbytes

Try 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