English | 简体中文
Say goodbye to the complex, verbose, and laggy interaction mode of IDA MCP.
AI Reverse Engineering, Zero Extra Configuration.
Simple · Fast · Intelligent · Low Cost
Text, Source Code, and Shell are LLM's native languages.
AI is evolving rapidly with no fixed patterns—tools should stay simple. Export IDA decompilation results as source files, drop them into any AI IDE (Cursor / Claude Code / ...), and naturally benefit from indexing, parallelism, chunking (for huge decompiled functions), and other optimizations.
Copy INP.py to the IDA plugins directory:
%APPDATA%\Hex-Rays\IDA Pro\plugins\~/.idapro/plugins/After restarting IDA:
Ctrl-Shift-E for quick exportEdit -> Plugins -> Export for AI| File/Directory | Content | Description |
|---|---|---|
decompile/ |
Decompiled C code | Each successfully decompiled function as a .c file, with function name, address, callers, callees |
disassembly/ |
Disassembly fallback code | Falls back to disassembly when decompilation fails, one .asm file per function with the same metadata |
disassembly_fallback.txt |
Disassembly fallback list | Records fallback functions, fallback reasons, and output file paths |
decompile_failed.txt |
Hard failure list | Records functions where both decompilation and disassembly fallback failed |
decompile_skipped.txt |
Skipped functions list | Records skipped library functions and invalid functions |
strings.txt |
String table | Includes address, length, type (ASCII/UTF-16/UTF-32), content |
imports.txt |
Import table | Format: address:function_name |
exports.txt |
Export table | Format: address:function_name |
memory/ |
Memory hexdump | 1MB chunks, hexdump format with address, hex bytes, ASCII |
Each function is exported as a separate .c file when decompilation succeeds. If decompilation fails, the function is exported to disassembly/ as a .asm file instead. Both outputs keep the same metadata header:
/*
* func-name: sub_401000
* func-address: 0x401000
* export-type: decompile
* callers: 0x402000, 0x403000
* callees: 0x404000, 0x405000
*/
// Decompiled code...
Smart Handling:
start_address--end_address.txtDisplays detailed statistics after export:
You can add more context in the IDB directory to give AI a complete picture:
| Directory | Content |
|---|---|
apk/ |
APK decompilation directory (APKLab one-click export) |
docs/ |
Reverse engineering reports, notes |
codes/ |
exp, Frida scripts, decryptor, etc. |
State-of-the-art AI models can leverage all this information and scripts to provide you with the most powerful reverse engineering assistance.
$ claude mcp add IDA-NO-MCP \
-- python -m otcore.mcp_server <graph>