1G

13bm/ghidramcp

Developer tools

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

151 stars 22 forks 품질 74 트렌드 8Apache-2.0

13bm/ghidramcp는 https://github.com/13bm/ghidramcp.에서 가져온 MCP 서버 후보입니다.

개요

13bm/ghidramcp는 https://github.com/13bm/ghidramcp.에서 가져온 MCP 서버 후보입니다.

개요(AI 번역)

모델 컨텍스트 프로토콜(MCP)을 통해 AI 어시스턴트에게 70개의 역설계 도구를 제공하는 기드라 확장 프로그램입니다. Ghidra에서 바이너리를 열고 플러그인을 활성화한 후, 클로드(또는 다른 MCP 클라이언트)가 함수 디컴파일, 심볼을 이름 변경, 코드 주석, 취약점 탐색 등을 할 수 있습니다.

건축

Ghidra 플러그인(Java)은 Ghidra 내에서 TCP 서버를 시작하고 Go bridge 바이너리를 자동으로 실행합니다. 브리지는 MCP를 STDIO를 통해 AI 클라이언트에 전달하고, 4바이트 길이 접두사의 JSON-RPC 프레이밍을 가진 로컬 TCP 소켓을 통해 Java 플러그인에 호출을 전달합니다. 선택적 API 키 인증이 TCP 채널을 보호합니다.

특징

  • 쿼리, 변이, 분석, 악성코드 분류, IoT/임베디드 보안, 구조 관리, 비동기 디컴파일 및 다중 인스턴스 지원 등 70개의 MCP 도구**
  • 쉬운 설정 – 플러그인이 브리지를 자동으로 시작함; MCP > 설정 > Claude Config에 쓰기를 사용해 MCP 클라이언트를 설정하세요
  • 크로스 플랫폼 – 리눅스 x86_64, 윈도우 x86_64, macOS x86_64, macOS ARM64용 미리 구축된 브리지 바이너리
  • 구성 가능 – 포트, localhost-only 바인딩, API 키 인증, 자동 시작, [[T0]을 통한 브리지 활성화/비활성화

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

README

원문 README의 일부입니다. 원문 보기.

GhidraMCP

A Ghidra extension that exposes 70 reverse-engineering tools to AI assistants through the Model Context Protocol (MCP). Open a binary in Ghidra, enable the plugin, and let Claude (or any MCP client) decompile functions, rename symbols, annotate code, search for vulnerabilities, and more.

Architecture

 AI Client (Claude Desktop / CLI)
        |  stdio + MCP JSON-RPC
        v
   Go MCP Bridge  (mcp_bridge)
        |  TCP, length-prefixed JSON-RPC
        v
   Ghidra Plugin  (MCPServerPlugin)
        |
        v
   Ghidra Program API

The Ghidra plugin (Java) starts a TCP server inside Ghidra and auto-launches the Go bridge binary. The bridge speaks MCP over stdio to the AI client and forwards calls to the Java plugin over a local TCP socket with 4-byte length-prefixed JSON-RPC framing. Optional API-key authentication protects the TCP channel.

Features

  • 70 MCP tools spanning query, mutation, analysis, malware triage, IoT/embedded security, structure management, async decompilation, and multi-instance support
  • Easy setup – plugin auto-starts the bridge; use MCP > Settings > Write to Claude Config to configure your MCP client
  • Cross-platform – prebuilt bridge binaries for Linux x86_64, Windows x86_64, macOS x86_64 and macOS ARM64
  • Configurable – port, localhost-only binding, API-key auth, auto-start, bridge enable/disable via GhidraMCP.properties
  • Multi-instance – work with multiple Ghidra windows simultaneously using target_port to route tool calls
  • Async decompilation – decompile large functions without blocking; poll for results later
  • Connection retry – the bridge reconnects automatically if Ghidra restarts or the connection drops
  • Pagination – large result sets (functions, strings, imports, …) support offset/limit for safe incremental retrieval
  • CI/CD – automated builds, Go + Java tests, Ghidra integration tests, and auto-release when a new Ghidra version drops

Quick Start

Prerequisites

Install

  1. Download the latest release ZIP from Releases
  2. In Ghidra: File > Install Extensions > “+” > select the ZIP
  3. Restart Ghidra

Enable

  1. Open a project and a program (binary)
  2. File > Configure > GhidraMCP – check MCPServerPlugin
  3. The plugin auto-starts the TCP server (default localhost:8765) and launches the bridge
GitHub에서 전체 README 보기

설치

This server does not publish a one-line install command.

Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "ghidra": { "command": "/path/to/mcp_bridge", "args": ["--host", "localhost", "--port", "8765"] } } }