# Repository Briefing: blacktop/ida-mcp-rs
> Source: https://repoforai.com/repo/blacktop/ida-mcp-rs (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/blacktop/ida-mcp-rs
- **Category**: Coding, Skills & MCP (AI 编程 / Skills / MCP)
- **Primary Language**: Rust
- **License**: MIT
- **Engineering Health**: A+ (88/100 · Maintenance 35/35 · Adoption 13/25 · Releases 20/20 · License 20/20)
- **Latest Release**: v9.5.2 (2026-12-03) — https://github.com/blacktop/ida-mcp-rs/releases
- **Review Snapshot**: 2026-12-03
- **Deployment / Stack Signals**: MCP, CLI
- **Momentum**: 918 ★ total (+1 24h / +7 7d) · 66 forks
- **Topics**: `headless`, `idalib`, `idapro`, `mcp`, `mcp-server`, `rust`, `rust-lang`
- **When to Use**: Best for: 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. Skip if: You need a license-free disassembler, a graphical analyst workspace, or a fixed batch job that does not benefit from an MCP client.

## Overview
```text
### Architecture & 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.
```

## Key Capabilities
```text
- Architecture: Rust 2024 server with a Rust 1.89 minimum, a revision-pinned idalib dependency, and rmcp 3.6 for MCP integration.
- Apple formats: Explicit universal Mach-O slice selection, dSYM/DWARF loading, and native dyld_shared_cache loading through dscu on IDA 9.4+.
- Raw input handling: Typed processor, bitness, base-address, and entry-point hints; database reuse requires a matching recorded input SHA-256.
- Database integrity: Exact-address or case-sensitive symbol edits, locator-based Hex-Rays local edits, and explicit save_idb checkpoints.
- Tool footprint: The 28-tool lean profile cost 25% less than the full profile at the same task success rate in the October 2026 Claude Code benchmark.
- Operations: Local stdio or Streamable HTTP, bounded graceful shutdown, and replacement of crashed or unresponsive IDA workers.
```

## Quick Start / Clone
```bash
brew install blacktop/tap/ida-mcp        # Latest (IDA 9.5)
```
