
jtsylve/re-mcp
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
jtsylve/re-mcpは、https://github.com/jtsylve/re-mcp.からインポートされたMCPサーバー候補です。
概要
jtsylve/re-mcpは、https://github.com/jtsylve/re-mcp.からインポートされたMCPサーバー候補です。
概要(AI 翻訳)
マルチバックエンドのリバースエンジニアリングMCPサーバー。IDA ProおよびGhidraのバイナリ解析機能をModel Context Protocol上で公開し、LLMが直接リバースエンジニアリングツールを駆動できるようにします。スーパーバイザー/ワーカーアーキテクチャを通じて複数の同時データベースをサポートします。
両方のバックエンドはプラグインではなく、独立したサーバーです。Guiを使わずに解析エンジンを実行するためにヘッドレス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
- 同じマシンに少なくとも1つのサポートバックエンドがインストールされている
設置
このページは 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"]
}
}
}