Skip to main content
Glama

특허 GitHub 릴리스(날짜별 최신) GitHub 별점 GitHub 포크 GitHub 기여자 @lauriewired를 팔로우하세요

기드라_MCP_로고

기드라MCP

ghidraMCP는 LLM이 애플리케이션을 자율적으로 역엔지니어링할 수 있도록 하는 모델 컨텍스트 프로토콜(MCP) 서버입니다. Ghidra의 핵심 기능부터 MCP 클라이언트까지 다양한 도구를 제공합니다.

https://github.com/user-attachments/assets/36080514-f227-44bd-af84-78e29ee1d7f9

특징

MCP 서버 + Ghidra 플러그인

  • Ghidra에서 바이너리 디컴파일 및 분석

  • 메서드 및 데이터 이름을 자동으로 변경합니다.

  • 메서드, 클래스, 가져오기 및 내보내기 목록

설치

필수 조건

Related MCP server: GhidraMCP

기드라

먼저, 이 저장소에서 최신 릴리스를 다운로드하세요. 여기에는 Ghidra 플러그인과 Python MCP 클라이언트가 포함되어 있습니다. 그런 다음 플러그인을 Ghidra로 직접 가져올 수 있습니다.

  1. 기드라를 달리세요

  2. File -> Install Extensions 선택하세요

  3. + 버튼을 클릭하세요

  4. 다운로드한 릴리스에서 GhidraMCP-1-2.zip (또는 선택한 버전)을 선택하세요.

  5. 기드라를 다시 시작하세요

  6. File -> Configure -> Developer 에서 GhidraMCPPlugin이 활성화되어 있는지 확인하세요.

  7. 선택 사항 : Edit -> Tool Options -> GhidraMCP HTTP Server 사용하여 Ghidra에서 포트를 구성합니다.

비디오 설치 가이드:

https://github.com/user-attachments/assets/75f0c176-6da1-48dc-ad96-c182eb4648c3

MCP 클라이언트

이론적으로 모든 MCP 클라이언트는 ghidraMCP와 함께 작동해야 합니다. 아래에 세 가지 예가 나와 있습니다.

예 1: Claude Desktop

Claude Desktop을 Ghidra MCP 클라이언트로 설정하려면 Claude -> Settings -> Developer -> Edit Config -> claude_desktop_config.json 으로 이동하여 다음을 추가합니다.

지엑스피1

또는 이 파일을 직접 편집하세요.

/Users/YOUR_USER/Library/Application Support/Claude/claude_desktop_config.json

서버 IP와 포트는 구성 가능하며 대상 Ghidra 인스턴스를 가리키도록 설정해야 합니다. 설정하지 않으면 두 IP와 포트 모두 기본적으로 localhost:8080으로 설정됩니다.

예 2: 클라인

Cline 과 함께 GhidraMCP를 사용하려면 MCP 서버도 수동으로 실행해야 합니다. 먼저 다음 명령을 실행하세요.

python bridge_mcp_ghidra.py --transport sse --mcp-host 127.0.0.1 --mcp-port 8081 --ghidra-server http://127.0.0.1:8080/

유일하게 필요한 인수는 전송입니다. 다른 모든 인수를 지정하지 않으면 위의 인수가 기본값으로 사용됩니다. MCP 서버가 실행되면 Cline을 열고 상단에서 MCP Servers 선택하세요.

클라인 셀렉트

그런 다음 Remote Servers 선택하고 다음을 추가하고 URL이 MCP 호스트 및 포트와 일치하는지 확인합니다.

  1. 서버 이름: GhidraMCP

  2. 서버 URL: http://127.0.0.1:8081/sse

예시 3: 5ire

백엔드에서 여러 모델을 지원하는 또 다른 MCP 클라이언트는 5ire 입니다. GhidraMCP를 설정하려면 5ire를 열고 Tools -> New 로 이동하여 다음 구성을 설정하세요.

  1. 도구 키: ghidra

  2. 이름: GhidraMCP

  3. 명령어: python /ABSOLUTE_PATH_TO/bridge_mcp_ghidra.py

소스에서 빌드

  1. 다음 파일을 Ghidra 디렉토리에서 이 프로젝트의 lib/ 디렉토리로 복사하세요.

  • Ghidra/Features/Base/lib/Base.jar

  • Ghidra/Features/Decompiler/lib/Decompiler.jar

  • Ghidra/Framework/Docking/lib/Docking.jar

  • Ghidra/Framework/Generic/lib/Generic.jar

  • Ghidra/Framework/Project/lib/Project.jar

  • Ghidra/Framework/SoftwareModeling/lib/SoftwareModeling.jar

  • Ghidra/Framework/Utility/lib/Utility.jar

  • Ghidra/Framework/Gui/lib/Gui.jar

  1. 다음을 실행하여 Maven으로 빌드합니다.

mvn clean package assembly:single

생성된 zip 파일에는 빌드된 Ghidra 플러그인과 해당 리소스가 포함되어 있습니다. 이 파일들은 Ghidra가 새 확장 프로그램을 인식하는 데 필요합니다.

  • lib/GhidraMCP.jar

  • 확장 프로그램.속성

  • 모듈.매니페스트

A
license - permissive license
Not graded
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity
Issues opened vs closed

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    An MCP server that enables LLMs to autonomously reverse engineer applications through Cutter, allowing them to decompile binaries, analyze code, and rename methods programmatically.
    30
    Apache 2.0
  • A
    license
    Not graded
    quality
    D
    maintenance
    An MCP server that allows LLMs to autonomously reverse engineer applications by exposing Ghidra's functionality, including decompiling binaries, analyzing code, and renaming methods and data.
    Apache 2.0
  • A
    license
    Not graded
    quality
    D
    maintenance
    An Model Context Protocol server that enables LLMs to autonomously reverse engineer applications by exposing Ghidra's decompilation and analysis tools. It allows AI agents to list code structures, rename methods, and analyze binaries directly through MCP-compatible clients.
    Apache 2.0
  • A
    license
    Not graded
    quality
    F
    maintenance
    MCP server that allows LLMs to autonomously reverse engineer applications using Ghidra, exposing tools like decompilation, renaming, and listing methods.
    26
    Apache 2.0

View all related MCP servers

Related MCP Connectors

  • An MCP server that gives your AI access to the source code and docs of all public github repos

  • Driflyte MCP server which lets AI assistants query topic-specific knowledge from web and GitHub.

  • Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/LaurieWired/GhidraMCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server