blacktop/ida-mcp-rs
Headless IDA Pro MCP Server
What it solves
This project provides a bridge between AI agents and IDA Pro, allowing agents to perform reverse engineering tasks—such as analyzing binaries, decompiling code, and renaming variables—without needing to manually write or run scripts.
How it works
It acts as a Model Context Protocol (MCP) server that runs IDA Pro in a headless mode. It uses a native Rust server to communicate with IDA’s internal libraries (idalib). When an AI agent sends a command, the server executes the corresponding IDA function, manages the database state, and returns the results as structured data or JSON. It supports advanced features like loading Apple Mach-O universal binaries and Apple's dyld_shared_cache.
Who it’s for
Security researchers and reverse engineers who want to automate their workflow by using AI agents to interact with IDA Pro, particularly those working with Apple platforms or complex binary analysis tasks.
Highlights
- Native Apple Support: Simplifies the analysis of universal Mach-O binaries and dyld_shared_cache modules with dedicated tool calls.
- Fast and Efficient: Built in Rust to drive IDA through idalib, offering a lean profile for faster performance.
- Safe and Resilient: Includes automatic crash recovery, database checkpointing, and graceful shutdowns to ensure analysis work is saved.
- Scriptable: Allows running IDAPython scripts that persist state between calls and return structured JSON results.
- Flexible Integration: Compatible with major AI agent platforms like Claude Code, Cursor, and the Gemini CLI.
Related
- Project
- Project
- Project
- Project
- Project