JR

jtsylve/re-mcp

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

177 stars 27 forks 품질 81 트렌드 25Apache-2.0

jtsylve/re-mcp는 https://github.com/jtsylve/re-mcp.에서 임포트된 MCP 서버 후보입니다.

개요

jtsylve/re-mcp는 https://github.com/jtsylve/re-mcp.에서 임포트된 MCP 서버 후보입니다.

개요(AI 번역)

다중 백엔드 역설계 MCP 서버. IDA Pro와 Ghhidra의 이진 분석 기능을 모델 컨텍스트 프로토콜을 통해 노출하여 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 분석, 데이터 타입 아카이브)을 위한 도구도 갖추고 있습니다.

요구 사항

  • 파이썬 3.12+
  • UV 패키지 관리자(권장) 또는 PIP
  • macOS, 윈도우, 리눅스
  • 동일한 기계에 최소 하나의 지원되는 백엔드가 설치됨

설치

이 페이지는 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:

  1. IDADIR environment variable — checked first; set this if IDA is in a non-standard location.
  2. IDA’s own config file — Paths.ida-install-dir in ~/.idapro/ida-config.json (macOS/Linux) or %APPDATA%\Hex-Rays\IDA Pro\ida-config.json (Windows). If the IDAUSR environment variable is set, it is used as the config directory instead.
  3. Platform-specific default paths:
Platform Default search paths
macOS /Applications/IDA Professional *.app/Contents/MacOS
GitHub에서 전체 README 보기

설치

uvx re-mcp-ida
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "ida": { "command": "uvx", "args": ["re-mcp-ida"] } } }