
xteardx/diaphora-mcp
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
자동화 된 바이너리 디핑을위한 MCP 서버.
개요
AI Assistant의 IDA-analyzed binaries를 비교하십시오. Diaphora MCP는 저장된 IDA 데이터베이스를 수출하고, Diaphora를 실행하고, AI는 대응 기능 및 통화 그래프를 검사합니다. 기본 인터페이스는 비교에 중점을 둡니다. Diaphora 공급 일치; AI는 실제 코드를 읽고 변화를 설명합니다. - 파이썬 3.10+, IDA idat.exe/idat64와 프로, 그리고 설치된 Diaphora 플러그인. - .i64/.idb 데이타베이스로 분석 및 저장되는 둘 다. - Codex, Claude 부호 또는 Cursor와 같은 국부적으로 MCP 클라이언트. - 가짜 코드를 원하면 호환 Hex-Rays decompiler. IDA 및 Diaphora는 별도로 설치됩니다. Diff-schema validation 현재 표적 Diaphora; 다른 schemas는 겸용성 갱신을 필요로 할지도 모릅니다. diff에 사용되는 파이썬 해석기는 Diaphora의 독립 종속 종속 종속성이 설치되어 있어야 합니다. 고객의 MCP 구성에 이 항목을 추가합니다. 저장소, IDA 및 Diaphora 경로를 설치 경로로 교체하십시오.
개요(AI 번역)
Русская версия, 영국
디포라 MCP
AI Assistant의 IDA-analyzed binaries를 비교하십시오. Diaphora MCP는 저장된 IDA 데이터베이스를 수출하고, Diaphora를 실행하고, AI는 대응 기능 및 통화 그래프를 검사합니다.
기본 인터페이스는 **10 도구 ** 비교에 초점을 맞추고 있습니다. Diaphora 공급 일치; AI는 실제 코드를 읽고 변화를 설명합니다.
빠른 시작 · 예제 · 도구 · 문제 해결
요구 사항
- Python 3.10+, IDA Pro with
idat.exe/idat64및 설치된 Diaphora 플러그인. - 모두 분석 및
.i64/.idb] 데이타베이스로 저장. - Codex, Claude Code 또는 Cursor와 같은 로컬 MCP 클라이언트.
- 가짜 코드를 원하면 호환 Hex-Rays decompiler.
IDA 및 Diaphora는 별도로 설치됩니다. Diff-schema validation는 현재 Diaphora ** 3.4.1**를 대상으로 합니다. 다른 스키마는 호환성 업데이트가 필요할 수 있습니다. diff에 사용되는 파이썬 해석기는 Diaphora의 독립 종속 종속 종속성이 설치되어 있어야 합니다.
빠른 시작
##1. 출력 디렉토리 설치 및 생성
##2. MCP 서버 연결
고객의 MCP 구성에 이 항목을 추가합니다. 저장소, IDA 및 Diaphora 경로를 설치 경로로 교체하십시오.
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
Diaphora MCP
Compare two IDA-analyzed binaries from your AI assistant. Diaphora MCP exports the saved IDA databases, runs Diaphora, and lets the AI inspect corresponding functions and their call graphs.
The default interface has 10 tools focused on comparison. Diaphora supplies matches; the AI reads the actual code and explains the changes.
Quick start · Examples · Tools · Troubleshooting
old.i64 + new.i64 → headless export → SQLite exports + diff results
↓
summary → matched code → call graph
Requirements
- Python 3.10+, IDA Pro with
idat.exe/idat64, and an installed Diaphora plugin. - Both binaries analyzed and saved as
.i64/.idbdatabases. - A local MCP client, such as Codex, Claude Code or Cursor.
- A compatible Hex-Rays decompiler only if you want pseudocode.
IDA and Diaphora are installed separately. Diff-schema validation currently targets Diaphora 3.4.1; other schemas may need compatibility updates. The Python interpreter used for the diff must have Diaphora’s standalone dependencies installed.
Quick start
1. Install and create an output directory
git clone https://github.com/xTeardx/diaphora-mcp.git
cd diaphora-mcp
python -m venv .venv
.\.venv\Scripts\python.exe -m pip install -e .
New-Item -ItemType Directory -Force C:\diaphora-outputs | Out-Null
2. Connect the MCP server
Add this entry to your client’s MCP configuration. Replace the repository, IDA and Diaphora paths with your installation paths. Use the Python executable from the environment where you installed this project.
{
"mcpServers": {
"diaphora": {
"command": "C:/src/diaphora-mcp/.venv/Scripts/python.exe",
"args": ["C:/src/diaphora-mcp/diaphora_mcp_server.py"],
"env": {
"IDAT_PATH": "C:/Program Files/IDA Professional 9.3/idat.exe",
"DIAPHORA_DIR": "C:/Program Files/IDA Professional 9.3/plugins/diaphora",
"DIAPHORA_OUTPUT_ROOT": "C:/diaphora-outputs"
}
}
}
}
The client launches the server over stdio; there is no separate web service to start. Restart the MCP server after changing its code or environment. A successful connection exposes the 10 tools listed below.
3. Ask your assistant to compare the files
Use Diaphora to compare C:/analysis/old.i64 (old) against
C:/analysis/new.i64 (new). Save output under C:/diaphora-outputs/run-001.
Export headlessly with assembly detail, keep the exports, show a summary,
then inspect partial matches and explain the code changes in the interesting
functions. Use the result mapping when comparing functions and call graphs.
Choose a fresh run directory each time. Existing generated targets are never overwritten.
Examples
설치
This server does not publish a one-line install command.
Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →설정
{
"mcpServers": {
"diaphora": {
"command": "C:/src/diaphora-mcp/.venv/Scripts/python.exe",
"args": ["C:/src/diaphora-mcp/diaphora_mcp_server.py"],
"env": {
"IDAT_PATH": "C:/Program Files/IDA Professional 9.3/idat.exe",
"DIAPHORA_DIR": "C:/Program Files/IDA Professional 9.3/plugins/diaphora",
"DIAPHORA_OUTPUT_ROOT": "C:/diaphora-outputs"
}
}
}
}