Packages
GhidraMCP 7.1.0: 220 MCP Tools, Ghidra 12.2 Support, and Headless Bridge Hardening
bethington/ghidra-mcp v7.1.0 released on December 3, 2026 with 220 MCP tools, 216 GUI endpoints, and 201 headless endpoints targeting Ghidra 12.2 and Java 25 LTS. This breakdown covers the two-piece Python bridge and Java extension architecture, GHIDRA_MCP_AUTH_TOKEN relay hardening, and how it compares to ReVa and LaurieWired's GhidraMCP.
8 min read
GhidraMCP 7.1.0: 220 MCP Tools, Ghidra 12.2 Support, and Headless Bridge Hardening
Executive Summary
- Featured Package & Ecosystem:
bethington/ghidra-mcp(ghidra_mcp_bridgePython wheel +GhidraMCPJava extension, Apache-2.0 License). - Latest Release & Verification Date:
v7.1.0shipped on December 3, 2026 via GitHub Releases (GhidraMCP-7.1.0.zipandghidra_mcp_bridge-7.1.0-py3-none-any.whl) (GitHub Releases). - AI & MCP Relevance:
GhidraMCPexposes 220 MCP tools, 216 GUI endpoints, and 201 headless endpoints overstdio,streamable-http, andSSEtransports, enabling AI coding agents (Claude Code, Cursor, Codex) to decompile functions, rename symbols, run P-code emulation, and inspect live debugger sessions inside Ghidra 12.2 (GitHub Releases, GitHub README). - Runtime & Compatibility Floor: Requires Ghidra 12.2, Java 25 LTS, and Python 3.10+ with
uv(orpip). Because Ghidra extensions only load in the exact Ghidra version they are compiled against,v7.1.0resolves theSleighLanguageDescriptionmismatch that broke7.0.0builds on Ghidra 12.2 (GitHub README, ghidra-decompile-skill). - Primary Upgrade Takeaway: Teams automating reverse engineering or CI firmware triage should pair
GhidraMCP-7.1.0.zipwith theghidra_mcp_bridge-7.1.0wheel, bind to127.0.0.1by default (or setGHIDRA_MCP_AUTH_TOKENfor non-loopback hosts), and configure absolute binary paths in GUI-launched MCP clients to avoidspawn ENOENT.
Adoption Telemetry & Version Changelog
AI-assisted binary analysis has rapidly standardized around the Model Context Protocol (MCP), allowing agents to query a running disassembler or decompiler rather than parsing raw assembly dumps in chat. Within this ecosystem, bethington/ghidra-mcp has emerged as one of the most comprehensive open-source bridges for NSA's Ghidra framework, supporting interactive GUI workflows, unattended headless batch analysis, convention enforcement, batch operations, Ghidra Server integration, and Dockerized deployments.
| Telemetry Metric | Verified Value | Source & Verification Date |
|---|---|---|
| Latest Release | v7.1.0 (Dec 3, 2026) |
GitHub Releases |
| MCP Tools / Endpoints | 220 MCP tools / 216 GUI / 201 headless |
GitHub Releases |
| GitHub Stars / Forks | 4.1k–6.4k stars / 407 forks |
AgentList, awesome-ai-reverse-engineering |
| License | Apache-2.0 | AgentList |
| Target Ghidra & JVM | Ghidra 12.2 / Java 25 LTS |
GitHub Releases |
| Python Bridge Runtime | Python 3.10+ (uv recommended) |
GitHub README |
| Security Grade (Community) | Rated SAFE in curated RE index |
awesome-ai-reverse-engineering |
Note on star counts: Tracked directories report 4.1k stars in a multilingual engineering index and 6.4k stars (407 forks) in AgentList's project snapshot; both reflect strong adoption across reverse-engineering MCP tooling.
Key Milestones in the 7.x Release Line
v7.0.0Foundation (209–219 Tools, P-Code & Live Debugger): Introduced lazy tool loading to prevent 200+ tool schemas from exhausting LLM context windows, added P-code emulation and PCode-graph data-flow analysis, and exposed Ghidra's live debugger overstdio,streamable-http, andSSE(GitHub README, AgentList).- Ghidra
12.2Compatibility Fix (v7.1.0, December 3, 2026): Earlier7.0.0archives built against Ghidra12.1.4failed on Ghidra12.2withghidra/program/model/lang/SleighLanguageDescriptionerrors during decompilation (ghidra-decompile-skill).v7.1.0officially targets Ghidra 12.2 and Java 25 LTS, expanding the surface to 220 MCP tools, 216 GUI endpoints, and 201 headless endpoints (GitHub Releases). - Two-Piece Distribution Without Cloning: Every release ships two prebuilt artifacts—
GhidraMCP-7.1.0.zip(the Java extension) andghidra_mcp_bridge-7.1.0-py3-none-any.whl(the Python MCP server)—removing the need to install Apache Maven 3.9+ or Gradle locally unless building from source (GitHub README, GitHub Releases). - Source Build & Homebrew Path Detection: For developers building from source,
python -m tools.setup preflight --ghidra-pathinstalls Ghidra JARs into~/.m2/repository, builds the extension ZIP, and deploys it directly into the user's GhidraExtensions/folder. On macOS Homebrew installs where the path (/opt/homebrew/opt/ghidra/libexec) lacks a version string,tools.setupreadsGhidra/application.propertiesautomatically (GitHub README).
Security, Breaking Changes & Internals
Two-Tier Bridge Architecture & Lazy Tool Loading
bethington/ghidra-mcp separates Ghidra's JVM internals from the AI host protocol using a split architecture (a native single-process MCP server without a bridge is tracked in issue #114 and has not shipped yet) (GitHub README):
- Tier 1 — Ghidra Extension (
GhidraMCP-7.1.0.zip): Runs inside Ghidra's GUI or headless server and exposes an internal HTTP API on127.0.0.1:8089(verified via/check_connection). - Tier 2 — Python MCP Bridge (
bridge-mcp-ghidra): Installed viauv tool install, it translates MCP calls (stdio,streamable-http, orSSE) from Claude Code, Cursor, or Codex into HTTP requests to Ghidra. - Lazy Tool Loading & Batch Workflows: Sending 220 JSON tool schemas on every turn would consume tens of thousands of tokens.
ghidra-mcpuses lazy tool loading to register tool definitions on demand as the agent navigates a binary, while supporting batch renaming, struct reconstruction, convention enforcement, P-code emulation, and live debugger sessions (GitHub README, AgentList).
Security Hardening & Operational Gotchas
Connecting an LLM agent to a reverse-engineering workbench introduces concrete security and reliability considerations:
- Non-Loopback Relay Protection (
GHIDRA_MCP_AUTH_TOKEN): By default, the extension and bridge communicate over loopback (127.0.0.1:8089). If you bind--mcp-hostto a non-loopback interface without authentication, the bridge logs a warning. WhenGHIDRA_MCP_AUTH_TOKENis configured and the bridge binds a non-loopback host, clients must present the exact same token so the bridge cannot be abused as an unauthenticated relay into your Ghidra workspace (GitHub README). - Exact Ghidra Version Pinning: Ghidra extensions are tightly coupled to internal Java APIs. Upgrading Ghidra beyond
12.2without matchingGhidraMCPbuilds can triggerSleighLanguageDescriptionfailures (GitHub README, ghidra-decompile-skill). - GUI Client
PATHResolution (spawn ENOENT): Desktop MCP hosts launched from Finder, Dock, or systemd (such as Cursor or Claude Desktop on macOS) inherit a minimallaunchdPATHthat excludes~/.local/binand/opt/homebrew/bin. Configuring"command": "bridge-mcp-ghidra"or"command": "uv"without an absolute path fails withspawn ENOENT(#441) (GitHub README). - Targeted Decompilation vs. Full Auto-Analysis: On large stripped binaries (such as 114 MB AArch64 images), running full Ghidra auto-analysis can take hours, whereas importing once with
-noanalysisand decompiling targeted addresses takes seconds (ghidra-decompile-skill). Always let Ghidra finish the required analysis scope before having an agent rename functions in bulk. - Data Privacy & Sample Isolation: Never point a cloud-hosted LLM at proprietary or classified binaries if policy prohibits external code transmission; run reverse-engineering agents inside an isolated VM on authorized samples only, and review every AI-generated function rename or struct annotation against Ghidra cross-references (XHack Ghidra MCP Guide).
Installation & Hardened MCP Client Configuration (v7.1.0)
Install the v7.1.0 Python bridge wheel via uv, verify the local Ghidra 12.2 extension health check on port 8089, and resolve the absolute binary path for your MCP client configuration:
uv tool install https://github.com/bethington/ghidra-mcp/releases/download/v7.1.0/ghidra_mcp_bridge-7.1.0-py3-none-any.whl
curl http://127.0.0.1:8089/check_connection
which bridge-mcp-ghidra
A healthy extension responds with {"status": "ok", "server_kind": "gui", "version": "7.1.0"} (GitHub README). Once verified, register the absolute binary path and auth token in your MCP client (~/.cursor/mcp.json or Claude Desktop config):
{
"mcpServers": {
"ghidra-mcp": {
"command": "/home/analyst/.local/bin/bridge-mcp-ghidra",
"env": {
"GHIDRA_MCP_AUTH_TOKEN": "replace-with-local-random-token"
}
}
}
}
If running from a local repository clone with uv on macOS, point "command" to /opt/homebrew/bin/uv with ["run", "--directory", "/path/to/ghidra-mcp", "bridge-mcp-ghidra"] in args so launchd resolves the binary cleanly (GitHub README). For headless CI/CD pipelines or Docker deployments, bridge-mcp-ghidra can also run with --transport streamable-http --mcp-host 127.0.0.1 --mcp-port 8081 alongside Ghidra's 201 headless endpoints (GitHub Releases, AgentList).
Ecosystem Comparison & Upgrade Checklist
Reverse-Engineering MCP Servers Compared
| Project & Version | Target Platform & Floor | Tooling Scope & Modes | License & Adoption | Key Trade-Off |
|---|---|---|---|---|
bethington/ghidra-mcp (v7.1.0) |
Ghidra 12.2, Java 25 LTS, Python 3.10+ |
220 MCP tools (216 GUI / 201 headless), P-code emu, live debugger, lazy loading |
Apache-2.0 / 4.1k–6.4k stars (AgentList) |
Requires two-piece extension + Python bridge (#114 native server pending) |
LaurieWired/GhidraMCP (2.0) |
Ghidra 12.0+ (12.1.4 noted in README), Java 21+ |
Plugin + Python bridge; decompile, rename, imports/exports | Apache-2.0 / ~11.7k stars (XHack) |
Smaller tool surface; check Ghidra 12.2 extension compatibility |
ReVa (v7.3.1) |
Ghidra (matching Java for release) | Tool-driven design + headless automation | Open Source / ~900 stars (XHack) |
Fewer built-in endpoints; lightweight extension footprint |
duty1g/x64dbg-mcp-server |
x64dbg (Windows debugger) | Live Windows binary debugging over MCP | Open Source / 2.9k stars (awesome-ai-reverse-engineering) |
Dynamic x86/x64 debugging only; no static decompiler |
Safe Upgrade & Deployment Checklist
- Match Ghidra
12.2and Java25 LTSExactly: ConfirmGhidrais upgraded to12.2and running on Java25 LTSbefore loadingGhidraMCP-7.1.0.zipviaFile > Install Extensionsand enablingGhidraMCPunderFile > Configure > Configure All Plugins(GitHub Releases, GitHub README). - Upgrade the Python Bridge Wheel in Lockstep: Run
uv tool install --forcewithghidra_mcp_bridge-7.1.0-py3-none-any.whlso bridge endpoints match the7.1.0extension schema (GitHub Releases). - Verify
/check_connectionBefore Launching Agents: Confirmhttp://127.0.0.1:8089/check_connectionreturns"version": "7.1.0"before connecting Claude Code or Cursor (GitHub README). - Lock Down Non-Loopback Hosts: Keep
--mcp-hoston127.0.0.1for local analysis; if exposing over a container network or remote host, setGHIDRA_MCP_AUTH_TOKEN(GitHub README). - Pin Absolute Binary Paths in IDE Configs: Use
which bridge-mcp-ghidra(orwhere.exeon Windows) inmcp.jsonto prevent GUIspawn ENOENTfailures (GitHub README). - Audit Agent Renames & Annotations: Treat LLM-generated function names, struct layouts, and summaries as hypotheses until verified against Ghidra cross-references inside an isolated analysis VM (XHack Ghidra MCP Guide).
FAQ
1. Does GhidraMCP 7.1.0 require building from source with Maven or Gradle?
No. Every bethington/ghidra-mcp release ships prebuilt GhidraMCP-7.1.0.zip and ghidra_mcp_bridge-7.1.0-py3-none-any.whl artifacts on GitHub Releases, so you only need Ghidra 12.2, Java 25 LTS, and uv (or pip).
2. Why did GhidraMCP 7.0.0 fail on Ghidra 12.2?
GhidraMCP-7.0.0.zip was compiled against Ghidra 12.1.4, causing SleighLanguageDescription errors when loaded into Ghidra 12.2. GhidraMCP 7.1.0 targets Ghidra 12.2 and Java 25 LTS directly.
3. How does GhidraMCP avoid blowing up LLM context windows with 220 tools?
The bridge implements lazy tool loading, exposing tool schemas on demand rather than injecting all 220 tool definitions into the model's initial system prompt.
4. Can GhidraMCP 7.1.0 run without the Ghidra GUI?
Yes. Release 7.1.0 includes 201 headless endpoints alongside its 216 GUI endpoints, and supports stdio, streamable-http, and SSE transports as well as Docker and Ghidra Server deployments.
5. Is a native MCP server without the Python bridge available in 7.1.0?
Not yet. A native single-process MCP server that removes the Python bridge is tracked in GitHub issue #114 and has not shipped as of v7.1.0.
Sources
- GhidraMCP
v7.1.0GitHub Release — Releases · bethington/ghidra-mcp (https://github.com/bethington/ghidra-mcp/releases), published December 3, 2026. - Official Repository Documentation — bethington/ghidra-mcp README (
https://github.com/bethington/ghidra-mcp), accessed December 3, 2026. - AgentList Project Telemetry — Ghidra MCP on AgentList (
https://www.agentlist.top/en/projects/bethington-ghidra-mcp/), accessed December 3, 2026. - Curated Reverse-Engineering Index — zhuyansen/awesome-ai-reverse-engineering (
https://github.com/zhuyansen/awesome-ai-reverse-engineering), published November 30, 2026. - Ghidra 12.2 Compatibility Notes — ioma8/ghidra-decompile-skill (
https://github.com/ioma8/ghidra-decompile-skill), accessed December 3, 2026. - Practical Setup & Comparison Guide — Ghidra MCP: Practical Setup Guide for Claude Code (2026) (
https://xhack.io/blog/ghidra-mcp-claude-code), published November 2, 2026.