Ghidra Bridge
БесплатноНе проверенA PyGhidra-based MCP server that exposes Ghidra's reverse engineering capabilities to AI agents, enabling binary analysis via tools like overview, search, view,
Описание
A PyGhidra-based MCP server that exposes Ghidra's reverse engineering capabilities to AI agents, enabling binary analysis via tools like overview, search, view, list, edit, script execution, and version control.
README
English | 简体中文
Version: this branch targets Ghidra 12.0+ (PyGhidra). Ghidra 11.x users → ghidra-11-ghidrathon branch or the v1.0-ghidrathon tag.
A PyGhidra-based MCP (Model Context Protocol) Bridge that runs inside Ghidra 12.0+, exposing Ghidra's reverse engineering capabilities to AI agents.
Highlights
- 7 MCP tools — single entry, pattern-dispatched to 50+ APIs. No tool sprawl.
- Version control + AI/human collaboration — multiple AI agents and humans work on the same binary via Ghidra Server, with full version history.
- Multi-binary cross-analysis — spin up multiple clients against different binaries in one project. Ideal for VMP unpacking, DLL-EXE interaction tracing, and multi-module firmware.
- AI-friendly — install the skill and let Claude Code / Codex start the server, import binaries, configure MCP, and begin analysis.
Quick Start
Let AI do it ⭐ (recommended)
# Install the gmcp CLI
git clone https://github.com/Hao17/LiteGhidraMCP.git && cd LiteGhidraMCP
pip install -e .
# Install the skill into your analysis project (`-d` = your project dir, where AI will run)
cd /path/to/your/project
gmcp install -d . skill claude-code # or: codex / cursor
Then tell your AI: "Help me analyze ~/Downloads/firmware.bin" — the skill teaches it the rest.
Docker
pip install -e . # installs the `gmcp` CLI
gmcp server up # first run prompts admin registration
gmcp server repo create test # admin-owned: clients can't create repos
gmcp client start 1 --repo test --binary-file ~/firmware.bin
gmcp install mcp claude-code # or: claude-desktop / coco
gmcp client start prints the endpoints to use — copy them into your MCP client config:
✓ Client 1 started
User: u-a1b2c3d4e5f6 (ephemeral)
Repo: test
Binary: firmware.bin
HTTP: http://localhost:8803
MCP SSE: http://localhost:8804/sse
GUI mode (no Docker)
Run the script directly inside Ghidra:
- Launch with PyGhidra:
<ghidra_install>/support/pyghidraRun - Install Bridge deps into the PyGhidra venv (not system Python):
~/Library/ghidra/ghidra_<VERSION>_PUBLIC/venv/bin/python3 -m pip install -r requirements.txt - In Ghidra → Script Manager → add this repo to script directories → run
ghidra_mcp_server.py
If you see MCP proxy failed to start + ModuleNotFoundError: No module named 'mcp', step 2 hit the wrong Python.
MCP Tools
| Tool | Description |
|---|---|
| ghidra_overview | Binary survey — metadata, memory layout, key functions, imports/exports, strings |
| ghidra_search | Search functions, symbols, strings, cross-references, bytes, instructions |
| ghidra_view | Decompilation / disassembly / memory viewing |
| ghidra_list | Symbol list browsing (functions, classes, imports, exports, ...) |
| ghidra_edit | Rename, set datatypes, add comments (batch supported) |
| ghidra_exec | Execute custom Python/Java scripts with full Ghidra API access |
| ghidra_version | Version log / rollback / revert (Server mode only) |
For the underlying HTTP API (50+ routes), see CLAUDE.md.
Documentation
- docker/QUICKSTART.md — Docker deployment, multi-client, user/ACL management, troubleshooting
- skills/SKILL.md — the workflow doc that
gmcp install skillwrites into your project - CLAUDE.md — full API reference, architecture, hot reload, contributing
Установка Ghidra Bridge
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/Hao17/LiteGhidraMCPFAQ
Ghidra Bridge MCP бесплатный?
Да, Ghidra Bridge MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Ghidra Bridge?
Нет, Ghidra Bridge работает без API-ключей и переменных окружения.
Ghidra Bridge — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Ghidra Bridge в Claude Desktop, Claude Code или Cursor?
Открой Ghidra Bridge на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzCompare Ghidra Bridge with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
