Token导航 LogoToken导航TokenDH.com
Ida Pro MCP Plus logo
运维云端stdio官方级别未说明来源级核验

Ida Pro MCP Plus

MCP Server

用于直接通过AI助手分析二进制文件的增强型IDA Pro MCP服务器,支持多实例并行分析、无头模式、智能缓存和34种静态分析工具。

工具数

34

提示词数

0

GitHub Stars

24

资源数

0
静态分析PythonClaude逆向工程Claude DesktopClaudeCursorWindsurfClineVS Code

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

作者 / 组织

GameSecurityFrontierLib

提供方

GameSecurityFrontierLib

最后核验

2026/5/17 20:20

快速接入

先看主来源和安装命令,再打开仓库或文档;下面只保留这个条目的关键接入事实。

命令预览

pip install git+https://github.com/GameSecurityFrontierLib/ida-pro-mcp-plus.git

详细介绍

中文文档 | English

🔧 ida-pro-mcp-plus

Enhanced IDA Pro MCP Server - Let AI assistants analyze binaries directly

![License: MIT](https://opensource.org/licenses/MIT) ![Python 3.8+](https://www.python.org/downloads/)

Author: oxygen (304914289@qq.com) Version: 1.0.0 Repository: https://github.com/GameSecurityFrontierLib/ida-pro-mcp-plus


✨ Key Features

  • 🚀 Multi-Instance Support - Analyze multiple binaries simultaneously without conflicts
  • 🎯 No GUI Required - Fully automated batch-mode analysis via IDA headless (idat.exe)
  • 🔄 Smart Caching - Automatic .i64 database management for faster subsequent analyses
  • 💾 Efficient IPC - Shared memory communication for large data transfers
  • 📦 34 Powerful Tools - Complete static analysis, modification, and type system capabilities
  • 🧩 Modular Architecture - 7 independent script modules for easy maintenance
  • 100% Tested - Comprehensive test suite with full coverage
  • 🎨 One-Click Install - pip install and you're ready to go!

🆚 Why ida-pro-mcp-plus?

vs. Original ida-pro-mcp

Featureida-pro-mcpida-pro-mcp-plus
Multi-Instance❌ Single instance onlyParallel analysis
IDA GUI⚠️ Requires idalib + GUIHeadless batch mode
Caching❌ No cachingSmart .i64 cache
ArchitectureMonolithicModular (7 modules)
Installationpip installpip install
Memory OpsBasicFull read/write/patch
Code ModificationASM patch, rename, comment
Stack AnalysisFrame vars + types
Type SystemDeclare, apply, search types

Key Advantages

  1. 🔥 True Parallel Processing: Analyze multiple binaries at once without resource conflicts
  2. ⚡ Lightning Fast: No GUI overhead, pure batch-mode execution + smart caching (10x faster on cached files)
  3. 🎯 Production Ready: Smart caching + timeout handling + error recovery
  4. 🛠️ More Powerful: 34 tools covering all reverse engineering needs
  5. 📦 Easy Install: pip installida-mcp-plus --install → Done!

📥 Installation

Method 1: Direct Install from GitHub (Recommended)

# Install directly from master branch
pip install git+https://github.com/GameSecurityFrontierLib/ida-pro-mcp-plus.git

# One-line setup: Configure all MCP clients automatically
ida-mcp-plus --install

Alternative install methods:

# From ZIP archive
pip install https://github.com/GameSecurityFrontierLib/ida-pro-mcp-plus/archive/refs/heads/master.zip

# Or specify branch explicitly
pip install git+https://github.com/GameSecurityFrontierLib/ida-pro-mcp-plus.git@master

The --install wizard will:

  • ✅ Prompt for your IDA Pro paths (ida.exe and idat.exe)
  • ✅ Auto-detect all installed MCP clients (Cursor, Claude Desktop, VS Code, etc.)
  • ✅ Configure each client with proper environment variables
  • ✅ Restart instructions for each client

Method 2: Install from Source (For Development)

git clone https://github.com/GameSecurityFrontierLib/ida-pro-mcp-plus.git
cd ida-pro-mcp-plus
pip install -e .
ida-mcp-plus --install

🚀 Quick Start

Step 1: Install the Package

pip install git+https://github.com/GameSecurityFrontierLib/ida-pro-mcp-plus.git

What this does:

  • Installs ida-pro-mcp-plus package to your Python environment
  • Creates global command ida-mcp-plus available anywhere
  • Installs all dependencies (mcp>=0.9.0)

Step 2: Configure MCP Clients

ida-mcp-plus --install

Interactive wizard prompts:

🚀 ida-pro-mcp-plus Installer
==================================================

Configure once, use with all AI clients!

Enter path to ida.exe (or ida64):  F:/tools/analyze/ida9.0/ida.exe
Enter path to idat.exe (or idat64): F:/tools/analyze/ida9.0/idat.exe

Auto-configures these MCP clients:

  • Cursor (%APPDATA%\Cursor\User\globalStorage\...)
  • Claude Desktop (%APPDATA%\Claude\claude_desktop_config.json)
  • Cline (VS Code extension)
  • Roo Code (VS Code extension)
  • Windsurf
  • Codebuddy Code
  • Continue, LM Studio, and more...

Step 3: Restart & Verify

  1. Restart your MCP client (close and reopen)
  2. Test in AI chat:
   User: "List all available ida-pro-mcp-plus tools"
   AI: [Shows 34 tools including list_functions, decompile_function, etc.]
  1. Success! 🎉 You can now analyze binaries through AI chat

Step 4: First Analysis

User: "Analyze the binary at C:/samples/malware.exe, 
       show me the main function decompiled code"

AI: [Automatically uses decompile_function tool to show pseudocode]

🛠️ Available Tools (34)

📊 Basic Analysis (10 tools)

  1. list_functions - List all functions (paginated/filtered)
  2. get_function_info - Get detailed function metadata
  3. disassemble_function - Disassemble function
  4. decompile_function - Decompile to pseudocode (F5)
  5. list_strings - Extract all strings
  6. list_imports - List imported functions
  7. xrefs_to - Find cross-references
  8. get_callees - Get function call relationships
  9. read_bytes - Read raw bytes
  10. ping - Test connection

🔬 Advanced Analysis (7 tools)

  1. basic_blocks - Basic block CFG analysis
  2. find_bytes - Byte pattern search (wildcards supported)
  3. find - Immediate value search
  4. export_funcs - List exported functions
  5. callgraph - Complete call graph (bidirectional)
  6. find_regex - Regex string search
  7. lookup_funcs - Batch function lookup

💾 Memory Operations (7 tools)

  1. list_globals - List global variables
  2. int_convert - Number base conversion
  3. get_int - Read typed integers (i8/u16/i32le/u64be etc.)
  4. get_string - Read strings
  5. get_global_value - Read global variable values
  6. patch - Modify memory bytes
  7. put_int - Write typed integers

✏️ Code Modification (3 tools)

  1. set_comments - Set comments
  2. patch_asm - Assembly instruction patching
  3. rename - Unified rename (func/global/local/stack vars)

📚 Stack Frame Tools (3 tools)

  1. stack_frame - Get stack frame variables
  2. declare_stack - Declare stack variable types
  3. delete_stack - Delete stack variables

🏗️ Type System (4 tools)

  1. declare_type - Declare C types to Local Types
  2. read_struct - Read struct instances
  3. search_structs - Search struct definitions
  4. set_type - Apply types to addresses

💡 Usage Examples

Example 1: Decompile Function

User: Decompile function at 0x140001000
AI: [Uses decompile_function tool]
    Returns complete C pseudocode

Example 2: Find Strings

User: Find all strings containing "password"
AI: [Uses find_regex tool]
    Returns all matching strings with addresses

Example 3: Patch Code

User: Change instruction at 0x140001234 to nop
AI: [Uses patch_asm tool]
    Successfully patches instruction

Example 4: Parallel Analysis

User: Analyze main.exe and helper.dll simultaneously
AI: [Uses multiple tools in parallel]
    Analyzes both binaries without conflicts

🔧 Configuration

Required Environment Variables

VariableDescriptionExample
IDA64_PATHIDA Pro executableC:/Program Files/IDA Pro 9.0/ida.exe
IDAT64_PATHIDA headless versionC:/Program Files/IDA Pro 9.0/idat.exe

Optional Environment Variables

VariableDefaultDescription
I64_CACHE_DIR.i64_cacheDatabase cache directory
IDA_TIMEOUT120Timeout in seconds
IDA_SHM_SIZE20971520Shared memory size (20MB)

Manual Configuration

If auto-install doesn't work, get the config template:

ida-mcp-plus --config

Then paste into your MCP client's configuration file.


🧪 Testing

Run complete test suite:

python test_mcp_direct.py

Expected output:

Total: 34 | Passed: 34 | Failed: 0

📂 Project Structure

ida-pro-mcp-plus/
├── src/ida_pro_mcp_plus/
│   ├── server.py              # Main MCP server (34 tools)
│   ├── ida_scripts.py         # Original 9 tools
│   ├── ida_scripts_analysis.py # Advanced analysis (7 tools)
│   ├── ida_scripts_core.py    # Core utilities (2 tools)
│   ├── ida_scripts_memory.py  # Memory operations (5 tools)
│   ├── ida_scripts_modify.py  # Modification tools (3 tools)
│   ├── ida_scripts_stack.py   # Stack frame tools (3 tools)
│   └── ida_scripts_types.py   # Type system (4 tools)
│
├── test_mcp_direct.py         # Test suite (34 tests)
├── pyproject.toml             # Package configuration
├── README.md                  # This file
├── README_CN.md               # Chinese version
├── CHANGELOG.md               # Version history
├── CONTRIBUTING.md            # Contribution guide
└── LICENSE                    # MIT License

🤝 Contributing

Contributions welcome! See CONTRIBUTING.md


📝 Changelog

See CHANGELOG.md for detailed version history.


🙏 Acknowledgments

Based on ida-pro-mcp by mrexodia. Thanks for the original implementation!


📄 License

MIT License - Free to use, modify, and distribute


📞 Contact

  • Author: oxygen
  • Email: 304914289@qq.com
  • Issues: https://github.com/GameSecurityFrontierLib/ida-pro-mcp-plus/issues

⭐ Star History

If this project helps you, please give it a Star! ⭐


中文文档 | English

目录标签

目录标签

静态分析PythonClaude逆向工程二进制分析本地部署IDAPro插件无头模式

支持客户端

Claude DesktopClaudeCursorWindsurfClineVS Code

接入字段

传输方式(transport,传输协议)

stdio

鉴权方式(authType,认证方式)

none

工具数量(toolCount,工具数)

34

资源数量(resourceCount,资源数)

0

提示词数量(promptCount,提示词数)

0

权限和风险

stdionone部署方式未说明

接入前请确认传输方式、认证方式和部署位置,并根据实际工具能力限制访问范围。

安装前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

来源信息

继续浏览同类 MCP