Ida Headless MCP (github.com)

🤖 AI Summary
Ida Headless MCP is an open-source, headless IDA Pro server that exposes IDA operations over the Model Context Protocol (MCP), enabling LLM-driven and automated binary analysis from clients like Claude Desktop, Claude Code, or CLI tools. Architecturally a Go server (session registry, worker manager, watchdog) listens on HTTP/SSE (default http://localhost:17300/) while spawning one Python worker per session that runs IDA via idalib. The Go server and Python workers communicate over a Unix socket using Connect RPC; sessions are process-isolated, persisted under the database directory, and cleaned up by a watchdog (default 4h timeout). The project includes 52 MCP tools, an inspector UI, and optional metadata importers (Il2CppDumper for Unity, Blutter for Flutter/Dart). Requirements: IDA Pro 9.0+ (or IDA Essential 9.2+), Go 1.21+, Python 3.10+, and Connect Python client. For AI/ML and reverse-engineering workflows this unlocks scalable, multi-session program understanding and automated decompilation under LLM orchestration, letting models call high-level IDA primitives (open_binary, run_auto_analysis, get_decompiled_func, list tools) and get structured JSON responses. Process isolation improves stability and concurrency; session persistence enables reproducible analyses across restarts. Developers can extend with new MCP RPCs by adding proto definitions, implementing Python wrappers, and registering handlers in Go. The project is MIT-licensed and includes build/test targets, a setup script for idalib, and troubleshooting hints (socket/port, idalib availability).
Loading comments...
loading comments...