Ghidra MCP Bridge
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Ghidra MCP Bridgeoverview of the current binary"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Ghidra MCP Bridge
English | 简体中文
Version: this branch targets Ghidra 12.0+ (PyGhidra). Ghidra 11.x users →
ghidra-11-ghidrathonbranch or thev1.0-ghidrathontag.
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 / cursorThen 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 / cocogmcp 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/sseGUI mode (no Docker)
Run the script directly inside Ghidra:
Launch with PyGhidra:
<ghidra_install>/support/pyghidraRunInstall Bridge deps into the PyGhidra venv (not system Python):
~/Library/ghidra/ghidra_<VERSION>_PUBLIC/venv/bin/python3 -m pip install -r requirements.txtIn 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.
Related MCP server: ghidraMCP
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 projectCLAUDE.md — full API reference, architecture, hot reload, contributing
This server cannot be installed
Maintenance
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
- Alicense-qualityDmaintenanceAn 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.Last updatedApache 2.0
- Alicense-qualityDmaintenanceAn 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.Last updatedApache 2.0
- Alicense-qualityCmaintenanceExposes Ghidra reverse engineering capabilities via MCP, enabling LLMs and agents to analyze binaries, decompile, search, and edit programs headlessly or with GUI integration.Last updated386Apache 2.0
- Alicense-qualityBmaintenanceA multi-backend MCP server that exposes binary analysis capabilities from IDA Pro and Ghidra, allowing LLMs to directly drive reverse-engineering tools via natural language.Last updated136Apache 2.0
Related MCP Connectors
An MCP server that gives your AI access to the source code and docs of all public github repos
Security scanner for MCP servers. Detect vulnerabilities, prompt injection, and tool poisoning.
MCP server exposing the Backtest360 engine API as tools for AI agents.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/Hao17/LiteGhidraMCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server