
lauriewired/ghidramcp
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
기드라용 MCP 서버
개요
ghidraMCP는 LLM이 자율적으로 애플리케이션을 역설계할 수 있도록 하는 모델 컨텍스트 프로토콜 서버입니다. 이 서버는 핵심 기드라 기능의 다양한 도구를 MCP 클라이언트에 공개합니다. https://github.com/user-attachments/assets/36080514-f227-44bd-af84-78e29ee1d7f9 - Ghhidra에서 바이너리 디컴파일 및 분석 - 메서드와 데이터 자동 이름 변경 - 메서드, 클래스, 가져오기, 내보내기 목록 먼저, 이 저장소에서 최신 릴리스를 다운로드하세요. 여기에는 Ghidra 플러그인과 Python MCP 클라이언트가 포함되어 있습니다. 그 후 플러그인을 직접 Ghidra로 가져올 수 있습니다. 1. 기드라 실행 2. 파일 -> 확장 프로그램 설치 3. + 버튼을 클릭하세요 4. 다운로드한 릴리스에서 GhidraMCP-1-2.zip(또는 선택한 버전)를 선택하세요 5. 기드라 6를 재시작하세요. 파일 ->에서 GhidraMCPPlugin이 활성화되어 있는지 확인하세요 -> 개발자 7. 선택사항: Edit -> 도구 옵션 -> GhidraMCP HTTP 서버 https://github.
개요(AI 번역)
ghidraMCP는 LLM이 자율적으로 애플리케이션을 역설계할 수 있도록 하는 모델 컨텍스트 프로토콜 서버입니다. 이 서버는 핵심 기드라 기능의 다양한 도구를 MCP 클라이언트에 공개합니다.
https://github.com/user-attachments/assets/36080514-f227-44bd-af84-78e29ee1d7f9
특징
MCP 서버 + 기드라 플러그인
- 기드라에서 바이너리 디컴파일 및 분석
- 메서드 및 데이터 자동 이름 변경
- 메서드, 클래스, 가져오기, 내보내기 목록
설치
선수 조건
- 기드라 12.1.4 설치
- uv(또는 Python 3.10+에서
pip install git+https://github.com/LaurieWired/GhidraMCP]를 설치한 후 아래 명령어로ghidra-mcp를 사용하세요)
기드라
먼저, 이 저장소에서 최신 릴리스를 다운로드하세요. 여기에는 Ghidra 플러그인과 Python MCP 클라이언트가 포함되어 있습니다. 그 후 플러그인을 직접 Ghidra로 가져올 수 있습니다.
- 런 기드라
File->Install Extensions선택+버튼을 클릭하세요- 다운로드된 릴리스에서
ghidra_12.1.4_PUBLIC_ _GhidraMCP.zip를 선택합니다 - 기드라 재시작
- 기드라MCPPlugin이
File->Configure->Developer에서 활성화되어 있는지 확인하세요. - 선택사항: 기드라에서 포트를
Edit->Tool Options->GhidraMCP HTTP Server
비디오 설치 가이드:
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
ghidraMCP
ghidraMCP is an Model Context Protocol server for allowing LLMs to autonomously reverse engineer applications. It exposes numerous tools from core Ghidra functionality to MCP clients.
https://github.com/user-attachments/assets/36080514-f227-44bd-af84-78e29ee1d7f9
Features
MCP Server + Ghidra Plugin
- Decompile and analyze binaries in Ghidra
- Automatically rename methods and data
- List methods, classes, imports, and exports
Installation
Prerequisites
- Install Ghidra 12.1.4
- Install uv (or Python 3.10+ with
pip install git+https://github.com/LaurieWired/GhidraMCP, then useghidra-mcpas the command below)
Ghidra
First, download the latest release from this repository. This contains the Ghidra plugin and Python MCP client. Then, you can directly import the plugin into Ghidra.
- Run Ghidra
- Select
File->Install Extensions - Click the
+button - Select the
ghidra_12.1.4_PUBLIC__GhidraMCP.zipfrom the downloaded release - Restart Ghidra
- Make sure the GhidraMCPPlugin is enabled in
File->Configure->Developer - Optional: Configure the port in Ghidra with
Edit->Tool Options->GhidraMCP HTTP Server
Video Installation Guide:
https://github.com/user-attachments/assets/75f0c176-6da1-48dc-ad96-c182eb4648c3
MCP Clients
Theoretically, any MCP client should work with ghidraMCP. Most clients accept a JSON config like the following:
{
"mcpServers": {
"ghidra": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/LaurieWired/GhidraMCP",
"ghidra-mcp",
"--ghidra-server",
"http://127.0.0.1:8080/"
]
}
}
}
The server IP and port are configurable and should be set to point to the target Ghidra instance. If not set, both will default to localhost:8080.
For clients that connect to a URL instead of launching a command, first run the MCP server yourself:
설치
uvx --from git+https://github.com/LaurieWired/GhidraMCP ghidra-mcp --ghidra-server http://127.0.0.1:8080/설정
{
"mcpServers": {
"ghidra": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/LaurieWired/GhidraMCP",
"ghidra-mcp",
"--ghidra-server",
"http://127.0.0.1:8080/"
]
}
}
}