blacktop/ida-mcp-rs
A headless Rust MCP server for scripted IDA Pro binary analysis
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
ida-mcp is a headless Rust front end to a locally installed IDA Pro runtime, not a separate disassembler. The package uses Rust edition 2024 with a minimum compiler version of 1.89, pins its idalib dependency to a Git revision, and uses Tokio, rmcp 3.6, and Axum 0.8. A client can launch ida-mcp as a local stdio process; serve-http exposes an MCP Streamable HTTP endpoint.
Tools operate on an open IDA database. Analysis can run in the background and return a task ID for polling, so the initial open does not imply that functions and cross-references are ready. Completed analysis is flushed to disk, while save_idb is an explicit checkpoint for edits. Bounded graceful shutdown and replacement of failed or unresponsive IDA workers address lifecycle failures without making the MCP client manage those processes.
Key Capabilities & Differentiators
The Apple loading path is the main differentiator. The server can select and extract a universal Mach-O slice before handing it to IDA, load dSYM/DWARF symbols, and open individual dyld_shared_cache modules. IDA 9.4+ uses the native dscu service; older versions can fall back to an idat background flow when a database must be generated. Headerless inputs accept typed loader hints, and database reuse is gated by the recorded input SHA-256.
The tool surface covers function discovery, disassembly, Hex-Rays pseudocode, cross-references, strings, and database annotations. Edits require a single exact address or case-sensitive symbol name; opaque locators help prevent a stale local-variable name from selecting the wrong variable. IDAPython state persists across calls within the open database, and structured script results have a 1 MiB limit. In the October 2026 Claude Code benchmark, the 28-tool lean profile cost 25% less than the full set at the same task success rate. That is evidence for starting with fewer tools, not a general performance guarantee.
Trade-offs & Limitations
Compared with desktop IDA, this server trades interactive navigation for a structured interface an MCP client can call repeatedly. Compared with building a direct idalib integration, it saves work on tool schemas, loader handling, and worker lifecycle management, but adds a protocol layer and an exposed tool surface. If an analyst owns every step or the batch job is fixed, those layers may add little value.
The MIT license applies to the server, not the required IDA runtime or decompiler. Local execution puts IDA processing on your host, but tool outputs still reach the MCP client, so offline operation depends on the client as well. Start with a narrow toolset and read-only mode; treat stateful IDAPython as code execution, not an isolation boundary. Exact-target edits reduce accidental changes, but do not remove the need for review and separate workspaces when handling untrusted inputs.
Hardware & Deployment Guide
Match ida-mcp to the installed IDA release line and host architecture. The v9.5.x line, including v9.5.2, targets IDA Pro 9.5; the stable server needs the released runtime rather than the 9.5 beta’s incompatible Hex-Rays API. Complete IDA’s first-launch setup and licensing before deployment. Pseudocode requires the target processor’s Hex-Rays decompiler, and scripting requires working IDAPython.
Install with Homebrew on macOS or Linux, Scoop on Windows, or Nix on macOS or Linux; release archives cover ARM64 and x86_64 for all three platforms. For nonstandard installs, use DYLD_LIBRARY_PATH on macOS, IDADIR with the Linux release launcher or LD_LIBRARY_PATH directly, and DLL colocation or PATH on Windows. Run probe on a local test binary: unlike --version, it initializes IDA, opens the input, and reports the loaded runtime.
Teams that already license IDA Pro and want repeatable, MCP-assisted inspection of authorized binaries, particularly Apple Mach-O files, shared-cache modules, and raw firmware images.
You need a license-free disassembler, a graphical analyst workspace, or a fixed batch job that does not benefit from an MCP client.
Quick Start & Installation
brew install blacktop/tap/ida-mcp # Latest (IDA 9.5)
Comparison vs. Top Coding, Skills & MCP Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| ida-mcp-rs ★ | 918 | +7 | Rust | MIT | A headless Rust MCP server for scripted IDA Pro binary analysis |
| chrome-devtools-mcp | 60.4k | +760 | TypeScript | Apache-2.0 | Chrome DevTools via MCP and CLI for live browser debugging and performance analy |
| context7 | 65.8k | +333 | TypeScript | MIT | A hosted documentation index with MCP and CLI access for coding agents |
| rea | 488.8k | +7.6k | TypeScript | MIT | A local CLI and MCP server for evidence-backed app and binary analysis |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/blacktop/ida-mcp-rs.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about ida-mcp-rs
How does an MCP client connect, and how can I limit the tools it sees?
ida-mcp as the MCP command without a subcommand; Claude Code, Codex CLI, Gemini CLI, and Cursor all have documented configurations. The CLI also exposes serve-http for Streamable HTTP. Use IDA_MCP_TOOLSETS to limit the exposed tools and IDA_MCP_READ_ONLY=true for inspection-only workflows; neither setting substitutes for OS-level isolation.Does the server need a GPU, and what drives host resource usage?
Can we self-host it commercially under the MIT license alone?
When is this preferable to desktop IDA or a direct idalib integration?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy