
jtsylve/re-mcp 是从 https://github.com/jtsylve/re-mcp. 导入的 MCP 服务器候选
概览
jtsylve/re-mcp 是从 https://github.com/jtsylve/re-mcp. 导入的 MCP 服务器候选
概述(AI 翻译)
一个多后端逆向工程MCP服务器。通过Model Context Protocol展示IDA Pro和Ghidra的二进制分析能力,使LLM能够直接驱动逆向工程工具。支持通过监督者/工作者架构同时运行多个数据库。
两个后端都是独立服务器,不是插件。它们使用无头API(IDA用idalib,Ghidra用pyghidra)来运行没有图形界面的分析引擎。
后端
| 后端 | 包 | 需求 |
|---|---|---|
| IDA Pro | re-mcp-ida |
持有有效驾照的IDA Pro 9+ |
| 基德拉 | re-mcp-ghidra |
基德拉12+,JDK 21+ |
两个后端共享一个统一的工具界面——核心分析工具使用相同的名称、参数和响应形状——因此LLM的工作流在后端之间是可移植的。每个后端还配备了针对特定平台特性的工具(例如IDA:文件区域映射、可执行文件重建、IDC评估、IDAPython脚本;Ghidra:函数ID分析、数据类型归档)。
要求
- Python 3.12+
- UV包管理器(推荐)或PIP
- macOS、Windows或Linux
- 至少安装在同一台机器上的一个支持后端
安装
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
RE-MCP
A multi-backend reverse-engineering MCP server. Exposes binary analysis capabilities from IDA Pro and Ghidra over the Model Context Protocol, letting LLMs drive reverse-engineering tools directly. Supports multiple simultaneous databases through a supervisor/worker architecture.
Both backends are standalone servers, not plugins. They use headless APIs (idalib for IDA, pyghidra for Ghidra) to run analysis engines without a GUI.
Backends
| Backend | Package | Requirements |
|---|---|---|
| IDA Pro | re-mcp-ida |
IDA Pro 9+ with a valid license |
| Ghidra | re-mcp-ghidra |
Ghidra 12+, JDK 21+ |
Both backends share a common tool interface — core analysis tools use the same names, parameters, and response shapes — so LLM workflows are portable across backends. Each backend also has tools for platform-specific features (e.g. IDA: file region mapping, executable rebuilding, IDC evaluation, IDAPython scripting; Ghidra: Function ID analysis, data type archives).
Requirements
- Python 3.12+
- uv package manager (recommended) or pip
- macOS, Windows, or Linux
- At least one supported backend installed on the same machine
Installation
Install individual backend packages directly, or install re-mcp and select a backend with --backend:
# Individual backend packages (each provides its own CLI)
uv tool install re-mcp-ida
uv tool install re-mcp-ghidra
# Or install the core package and use --backend to select
uv tool install re-mcp --with re-mcp-ida --with re-mcp-ghidra
With pip:
pip install re-mcp-ida # IDA only
pip install re-mcp-ghidra # Ghidra only
pip install re-mcp re-mcp-ida re-mcp-ghidra # Unified CLI with both backends
From source
git clone https://github.com/jtsylve/ida-mcp && cd ida-mcp
uv sync
Or with pip:
git clone https://github.com/jtsylve/ida-mcp && cd ida-mcp
pip install -e packages/re-mcp-core -e packages/re-mcp-ida -e packages/re-mcp-ghidra
Finding IDA Pro
The IDA backend looks for your IDA Pro installation in the following order:
IDADIRenvironment variable — checked first; set this if IDA is in a non-standard location.- IDA’s own config file —
Paths.ida-install-dirin~/.idapro/ida-config.json(macOS/Linux) or%APPDATA%\Hex-Rays\IDA Pro\ida-config.json(Windows). If theIDAUSRenvironment variable is set, it is used as the config directory instead. - Platform-specific default paths:
| Platform | Default search paths |
|---|---|
| macOS | /Applications/IDA Professional *.app/Contents/MacOS |
安装
uvx re-mcp-ida配置
{
"mcpServers": {
"ida": {
"command": "uvx",
"args": ["re-mcp-ida"]
}
}
}