Repository navigation
Releases
IDA MCP 2.3.0
What's new
- Added support for IDA Pro 9.1 and 9.2 with one universal Windows x64 plugin DLL, built against the IDA 9.1 SDK.
- Added per-database MCP enable/disable settings in IDA.
- Added quarantine diagnostics and recovery for eligible read access violations.
- Improved stability and analysis behavior on large binaries, including structure reconstruction and sparse memory handling.
Install
Download and extract ida-mcp-2.3.0-win-x64.zip. Install ida_mcp64.dll into the IDA plugins directory and configure your MCP client to launch router.exe. The same plugin DLL is used by IDA 9.1 and 9.2.
The package includes the plugin, router, README, and license notices.
IDA MCP 2.2.0
IDA MCP 2.2.0 is a Windows x64 release for IDA Pro 9.2.
Highlights
- Adds
emulate_function, which executes an x86-64 function in a private RAX user-mode guest using the Windows x64 ABI. - Supports prototype-aware positional or named arguments, integer/floating-point values, guest buffers and explicit external call stubs.
- Enforces instruction, time and guest-memory limits. Guest changes are reported without modifying the IDB; unknown external calls stop with a fault.
- Includes the RAX-backed machine-level data-flow improvements and model-focused output from the 2.2.0 development cycle.
Assets
ida-mcp-v2.2.0-windows-x64.zip: router, plugin, documentation and required license notices.ida_mcp64.dllandrouter.exe: standalone Windows x64 binaries.SHA256SUMS.txt: SHA-256 hashes for the archive and standalone binaries.
Compatibility: IDA Pro 9.2 x64. Function emulation supports x86-64 code and the Windows x64 ABI. Emulation follows a bounded execution path and does not prove all function behavior.
IDA MCP 2.1.0
IDA MCP 2.1.0 is a Windows x64 release for IDA Pro 9.2.
Highlights
- Statically integrates the x86-64 RAX C API into the IDA plugin; installation no longer requires a companion rax.dll or a Rust toolchain.
- Adds opt-in per-instruction semantics to disasm and insn_query, a compact RAX summary to analyze_function, and bounded x86-64 register def-use over the CFG in trace_data_flow.
- Improves non-Python GUI-dialog suppression and data-flow traversal, with explicit limits for incomplete or unsupported machine analysis.
Assets
- ida-mcp-v2.1.0-windows-x64.zip: router, plugin, README, audit/architecture notes, RAX notices, and license texts.
- ida_mcp64.dll and router.exe: standalone Windows x64 binaries.
- SHA256SUMS.txt: SHA-256 hashes for the archive and standalone binaries.
Compatibility: IDA Pro 9.2 x64. RAX's rich analysis is x86-64 only in ida-mcp; RAX upstream remains multi-ISA internally.
IDA MCP 2.0.0
IDA MCP 2.0.0 is a major model-facing API and reliability release for Windows x64 and IDA Pro 9.2.
Highlights
- Reworked MCP schemas and compact response formatting to return the requested data with fewer routine fields.
- Added bounded request parsing, output size limits, analysis traversal limits, and explicit truncation reporting.
- Serialized IDA database work, added busy/cancellation/deadline handling, and suppressed modal UI for non-Python tools.
- Added a 30-minute Python execution limit with cooperative cancellation and bounded output capture.
- Audited all 30 public tools and added regression coverage for malformed inputs, IDA behavior, partial edits, and boundary conditions.
Assets
- ida-mcp-v2.0.0-windows-x64.zip: router, plugin, README, and architecture/audit documentation.
- router.exe and ida_mcp64.dll: standalone Windows x64 binaries.
- SHA256SUMS.txt: SHA-256 checksums for the binary and archive assets.
Compatibility: IDA Pro 9.2 x64. Other IDA versions have not been validated.
v1.2.1
v1.2.1 - Deep Inter-Procedural Data Flow Tracing & Hex-Rays SDK Hardening
Highlights
🔄 Advanced trace_data_flow (Forward & Backward)
- Deep Inter-Procedural Propagation: Seamlessly traces data flow across function boundaries, into call arguments, callee return expressions, and caller argument sites.
- Pointer Alias & Memory Locations: Added abstract memory location evaluation (Memory[base + offset]) and pointer alias tracking.
- Path Condition Awareness: Flow items now capture associated path_condition guards (if-conditions) along propagation branches.
- Backward Use-Def AST Traversal: Implemented reverse-AST expression decomposition, source tracking, and store-to-member assignment detection.
🛠️ Hex-Rays 9.2 SDK Compatibility & Bug Fixes
- Smart Pointer Correction: Replaced invalid .get() invocations on cfuncptr_t (qrefcnt_t<cfunc_t>) with SDK-native conversion operators.
- Const Correctness: Resolved non-const cfunc_t::get_lvars() qualifier issues across composite AST visitors.
- 100% Validated Tool Suite: All 33 MCP tools fully verified and tested against multiple concurrent IDA Pro instances (BloodStrike.exe & panorama.dll).
Binary Artifacts
- ida_mcp64.dll: IDA Pro 9.2 plugin (Windows 10/11 x64, MSVC v145)
- router.exe: Multi-client MCP router daemon (v1.2.1)
v1.2.0
v1.2.0 - Major Tool Catalog Consolidation (33 Tools), Unified Refactoring & Hardened CFG Analysis
Highlights
⚡ Streamlined 33-Tool MCP Architecture
- Catalog Consolidation: Consolidated fragmented and micro-tools from 46 down to 33 rich, unified tools, eliminating redundancy while retaining full reverse engineering capability.
- Unified
refactor: Atomic operations across symbols, function names, global variables, C types/prototypes, instruction/function comments, and Hex-Rays local variables (lvars), with single-transaction IDB batching and automatic function recompilation. - Unified
types: Single endpoint for querying TIL types, inspecting struct/union/enum fields, batch inspections, and declaring new C types directly into the type library. - Unified
strings: Seamlessly unifies single-address string reading, batch address decoding, and binary-wide pattern searching.
🔍 Enriched Control Flow Graph (CFG) & Crash Resilience
- Condition Resolution:
basic_blocksnow provides a dedicatedbranchmetadata block detailing condition mnemonic (jnz,jz,ja, etc.),true_target,false_target, instructions, and cyclomatic complexity. - Resolved INTERR 407: Fixed IDA Pro crash where
decode_prev_insnwas invoked with null instruction pointers inbasic_blocksandxref_query. - Shortest Signature Resilience: Fixed fallback candidate evaluation in
make_signature(shortest: true), ensuring robust pattern generation even on heavily duplicated compiler runtime stubs.
🧹 Clean Architecture & Zero Legacy Overhead
- Fully purged obsolete router handlers, legacy routing tables, and dead API endpoints from both router and IDA plugin.
Binary Artifacts
ida_mcp64.dll: IDA Pro 9.2 plugin (Windows 10/11 x64, MSVC v145)router.exe: Multi-client MCP router daemon (v1.2.0)
v1.1.3
v1.1.3 - Deterministic Multi-Instance Named Pipe Discovery, Persistent Connection Reuse & Smart Routing
Highlights
🔀 Deterministic Multi-Instance Discovery (Two-Phase Named Pipe Enumeration)
- Eliminated NPFS Directory Mutation Desynchronization: Resolved a critical issue where connecting to a named pipe during
FindFirstFileW/FindNextFileWtraversal triggered pipe recreation inside IDA Pro, mutating the Windows kernel Named Pipe File System (NPFS) directory table under the active enumeration handle.- Phase 1: Snapshots all candidate
ida_mcp_*pipes, validates PID liveness, enforces PID deduplication (seen_pids), and immediately closes the search handle (FindClose). - Phase 2: Queries metadata from the snapshotted candidates. Eliminates phantom duplicate suffixes (
_1,_2) and randomly missing databases when multiple IDA Pro databases are open simultaneously.
- Phase 1: Snapshots all candidate
- Stable PID Ordering: Candidates are sorted deterministically by PID before querying.
🔌 Persistent Pipe Reuse & Transient State Hardening
- Active Connection Reuse: When refreshing instance lists, the router communicates directly with the active IDA instance over its existing persistent connection without disconnecting and forcing pipe teardown.
- Transient State Resilience:
PipeClient::Connect()now gracefully handles transient Windows Named Pipe states (ERROR_ACCESS_DENIED,ERROR_BROKEN_PIPE,ERROR_BAD_NETPATH,ERROR_PIPE_NOT_CONNECTED,ERROR_PIPE_BUSY) during pipe transition cycles with 20ms retry backoff instead of failing immediately.
🎯 Smart Active Instance Selection & Fuzzy Context Switching
- Automatic Fallback Selection:
active_fileis automatically initialized to the first available instance upon startup or when previous instances close, ensuringactive_fileis nevernulland avoiding unexpectedno_active_fileerrors. - Smart & Forgiving
switch_file: Added multi-mode resolution for target binaries:- Exact match (
server.dll) - Case-insensitive match (
Server.dll) - Stem without extension (
server->server.dll) - Process ID match (
13412) - IDB filename match (
server.dll.i64)
- Exact match (
- No-Op Reconnect Guard: Switching to the already active file preserves the active pipe connection without disconnect/reconnect churn.
📋 Rich Instance Metadata
get_available_filesEnhancement: In addition to the standardfilesstring array, now returns aninstancesarray containing detailed objects{name, pid, idb_path, backend, is_active}for rich UI and LLM inspection.- IDB Path in Status:
get_statusreports the fullidb_pathwhen idle.
Binary Artifacts
ida_mcp64.dll: IDA Pro 9.2 plugin (Windows 10/11 x64, MSVC v145)router.exe: Multi-client MCP router daemon (v1.1.3)
v1.1.2
v1.1.2 - Unified Invalidation Layer, Mutation Generation Tracking & Build Isolation
Highlights
🔄 Unified Cache Invalidation Manager (CacheManager)
- Centralized Mutation Layer: Introduced
cache::CacheManagerandcache::InvalidateIDBDependentCaches(), replacing ad-hoc invalidations with an event-driven system:InvalidateBytes(): Automatically triggered by binary patching operations (e.g.simplify_predicate). Flushes cached segment snapshots inSegmentSnapshotCache.InvalidateAnalysis(): Automatically triggered by symbol renaming, typing, comments, structure creation, and local variable edits (Rename,SetType,SetComment,RenameLvar,SetLvarType,Recompile,DeclareType). FlushesRttiIndex.InvalidateAll(): Triggered by arbitrary Python script execution (py), guaranteeing all dependent caches are flushed when IDB state is dynamically altered.
- Generation Epoch Counter (
IdbGeneration): Added an atomic generation counter advancing on every IDB mutation, preparing the infrastructure for generational caching in upcoming releases.
🛡️ Diagnostic Hardening & Error Handling
rtti_refreshDiagnostics: Replaced silent exception swallowing with explicit error dispatching (MakeToolErrorJsonwithrtti_refresh_failed), returning precise exception messages when database reading fails.
⚙️ Build System & Standard Library Hardening
- IDA SDK C++20 Header Isolation: Neutralized IDA
pro.hpoisoned macros (#define wait dont_use_wait,waitid,waitpid) insync/sync.handsync/cache_manager.h, preventing preprocessor corruption of standard MSVC STL C++20 headers (std::stop_token,std::atomic::wait). - Schema Deduplication: Removed redundant legacy forwarders and duplicates (
plugin/tools/ida_tools_schema.h,router/mcp/ida_tools_schema.h). Bothpluginandrouternow compile against a single unified header:shared/ida_tools_schema.h.
Binary Artifacts
ida_mcp64.dll: IDA Pro 9.2 plugin (Windows 10/11 x64, MSVC v145)router.exe: Multi-client MCP router daemon (v1.1.2)
v1.1.1
v1.1.1 - RTTI Invalidation, Persistent Sigmaker Cache, MBA Refinements & Performance Fixes
What's Changed
⚡ Persistent Segment Cache & Worker Scanning (make_signature)
- Persistent Segment Cache: Segment memory snapshots are now cached in
SegmentSnapshotCache, dropping repeated signature queries across 280k+ functions down to0.000s. - Worker Thread Scanning: Minimized IDA main-thread lock (
SyncRead) to < 1ms for decoding instruction metadata only; pattern expansion,memchrscanning, and collision tracking run fully on background worker threads. - Accurate Error Reporting: Fixed edge cases where empty patterns (
"") could returnstatus: success. Now returns explicitsignature_not_founderror codes with clear diagnostic messages. - Cache Invalidation on IDB Modifications: Automatically flushes cached segment snapshots whenever code or bytes are patched in IDB (e.g. by
simplify_predicate).
🧩 Dynamic RTTI Cache & Auto-Analysis Guard (rtti_*)
rtti_refreshTool &refreshFlag: Added a dedicated tool and optional flag to explicitly invalidate and rebuild MSVC RTTI indexes without restarting IDA.- Auto-Analysis Guard (
auto_is_ok): RTTI indexing now checksauto_is_ok()before marking the index as initialized, preventing incomplete or truncated class lists when opening large databases.
🧠 MBA Simplification & AST Verification (mba_simplify, simplify_predicate)
- MBA Rules 19, 22, 30 Fix: Added exact
value: -1matching forcot_numnodes across bitwise inversion and subtraction rules. - Width-Aware Arithmetic (
SignExtend): Proper signed arithmetic extension for sub-word operations (cot_sshr,cot_slt,cot_sge). - Refined Confidence Metrics: Clear differentiation between
"exact_constant","rule_verified","exhaustive_8bit"(full 256-iteration evaluation), and"sampled_22"(22 edge-case sampling). - Safe Branch Patching: Guarded
simplify_predicatewithstd::optional<bool>to prevent unintended patching if conditional branch mapping fails (status: skipped, reason: branch_mapping_failed).
🏗️ Hex-Rays AST & Type Decompilation Cache (reconstruct_struct)
- Caller Decompilation Cache: Added local
cfunc_cacheusingstd::shared_ptr<cfuncptr_t>during deep struct inference (scan_depth), eliminating redundant Hex-Rays decompilation passes across caller hierarchies.
Binary Artifacts
ida_mcp64.dll: IDA Pro 9.2 plugin (Windows 10/11 x64, MSVC v145)router.exe: Multi-client MCP router daemon (v1.1.1)
v1.1.0
v1.1.0 - Native IDA 9.2 SDK Subsystems & Ultra-Fast Sigmaker
Highlights
⚡ Ultra-Optimized Signature Maker (make_signature)
-
shortest: truemode: Deep search to find the shortest unique signature slice across function bodies, caller call sites, and global variable XREFs. -
Global Variable Signatures: Automatically resolves code references to
.data/.bssvariables, masks RIP-relative displacement operands, and returnsxref_addressanddisp_offset. -
Vectorized In-Memory Scanner: Replaced IDA's slow database search loops with a contiguous segment snapshot cache and hardware-accelerated
std::memchr(AVX2/AVX-512) running at ~35 GB/s. -
Incremental Collision Tracking (Zero-Scan Extension): Once an initial instruction prefix finds a small collision set (
$\le 64$ ), candidate expansion verifies only those specific memory pointers without rescanning the database. -
Intuitive Error Reporting: Clear
signature_not_founderror codes when no code can be decoded; preserves best candidate signatures withunique: falsewhen boilerplate collisions occur.
🚀 Native IDA 9.2 SDK Subsystem Migrations
-
find_bytes: Native IDA SDKparse_binpat_str+bin_search(removedqisdependency and 100MB buffer allocation). -
list_funcs:$O(\log N)$ cursor jump viaget_func_num(instant lookup across 280k+ functions). -
search_strings:$O(\log N)$ cursor jump viaget_strlist_itembinary search (sub-10ms response on 60k+ strings). -
disasm,callgraph,analyze_function: Chunk- and tail-aware execution viafunc_item_iterator_t. - Engine Synchronization: Unified async/sync execution model in plugin core.
Binary Artifacts
ida_mcp64.dll: IDA Pro 9.2 plugin (Windows 10/11 x64, MSVC v145)router.exe: Multi-client MCP router daemon