Ghidra MCP
Connects AI tools to Ghidra for binary analysis, code changes, emulation, debugging, and batch reverse-engineering workflows.
Install Ghidra MCP
Pick your client, then add it in one click or paste the config.
http://127.0.0.1:8081/mcp
Remote servers are added in the app, not the config file: Customize → Connectors → Add custom connector, then paste this URL.
Overview
Use cases
- Analyze functions and symbols in a Ghidra project
- Apply names, types, comments, and structures in batches
- Emulate P-code and inspect data-flow relationships
- Transfer function documentation across binary versions
- Connect AI-assisted workflows to shared Ghidra repositories
Key features
- 209 MCP tools for Ghidra analysis and modification
- GUI plugin with Python MCP bridge
- P-code emulation, live debugging, and PCode-graph analysis
- Convention enforcement for names, types, and documentation
- Batch operations with atomic transactions
- Ghidra Server, headless, HTTP, and Docker support
Security & health
What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.
ActiveLast checked Today
Recent health check succeeded.
Adoption & maintenance
Factual signals from GitHub, npm, and our automated checks — not a rating.
GitHub stars5.9kStargazers on the source repository.
Last commitTodayMost recent push to the default branch.
How Ghidra MCP works
Reviews
No reviews yet — be the first to share how it worked for you.
Frequently Asked Questions about Ghidra MCP
ghidra-mcp is an MCP server that connects AI clients to Ghidra through a GUI plugin and Python bridge. Its 209 tools support binary analysis and modification, including functions, symbols, types, comments, structures, scripts, P-code emulation, live debugging, and PCode-graph data-flow analysis.
Install the matching Ghidra extension and Python bridge from a tagged release. Use Ghidra’s Install Extensions dialog, enable GhidraMCPPlugin, install the bridge with uv, and register the bridge executable’s absolute path in the MCP client.
The documented release setup requires Ghidra 12.1.4, Java 21, and uv. The extension must match the exact Ghidra version it was built for, so use a corresponding release rather than mixing versions.
Query `http://127.0.0.1:8089/check_connection` after enabling the plugin. A working connection returns a JSON response containing an `ok` status, the server kind, and the plugin version.
Yes, ghidra-mcp supports headless operation as well as the GUI workflow. It also supports HTTP transports and Docker-oriented deployment for automated analysis workflows.
Related MCP servers
Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.
AllMCPs Directory Badge
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
Badge Style:
Live Dynamic SVG Preview
Markdown (GitHub README)
[](https://allmcps.com/mcp/ghidra-mcp)HTML Embed
<a href="https://allmcps.com/mcp/ghidra-mcp"><img src="https://allmcps.com/api/badge/ghidra-mcp?style=directory" alt="Ghidra MCP on AllMCPs" /></a>