AgentIndex icon
AgentIndex
ToolsMCP ServersHOTCategoriesTrendingNewBest ListsCompareGuides
Submit Tool
ToolsMCP ServersHOTCategoriesTrendingNewBest ListsCompareGuides
Home/
Security & Safety/
ghidra-mcp
ghidra-mcp logo

ghidra-mcp

Active·★ 5.8k·Apache-2.0·Updated 2026-10-21

Ghidra MCP Server bridges Ghidra's reverse-engineering capabilities to AI tools through the Model Context Protocol. The README claims 245 MCP tools and says it was built by a reverse engineer who uses it daily on real binaries, with full write access (renaming, typing, commenting, creating structures) and not just read-only tools. The project asks for stars and sponsorship to fund compatibility updates and documentation.

Listed capabilities include decompilation, call graphs and cross-references, data-flow analysis by propagating values forward or backward through PCode, struct, union and enum creation, string and import analysis, memory inspection and cross-binary documentation propagation by function hash. Version 5.4.0 adds dynamic analysis: P-code emulation of single functions through Ghidra's EmulatorHelper and a live debugger over the TraceRmi framework (dbgeng on Windows PE, gdb or lldb elsewhere) with attach, step, breakpoints and register and memory access. It also describes AI-assisted documentation workflows such as a seven-step function documentation process and batch documentation. Building requires Java 21, Maven 3.9+, Ghidra 12.1 or a compatible version and Python 3.10+. The code is Apache-2.0 licensed.

This write-up is based on the project's README and public repository data. We have not hand-tested the tool. Data as of 2026-10-17.

License
Apache-2.0
Latest release
v6.0.0 · 2026-07-25
Last commit
2026-10-16
Contributors
60
Forks
341
Open issues and PRs
32
First published
2025-08-30

Source: GitHub, npm and PyPI public APIs.

#ai#binary-analysis#ghidra#ghidra-extension#java#mcp#mcp-server#mcp-servers
$ Install
$ git clone https://github.com/bethington/ghidra-mcp.git && cd ghidra-mcp && python -m tools.setup ensure-prereqs --ghidra-path "/path/to/ghidra_12.1_PUBLIC" && python -m tools.setup build && python -m tools.setup deploy --ghidra-path "/path/to/ghidra_12.1_PUBLIC"
↗ Visit site★ GitHub
01

Features

01Full Model Context Protocol (MCP) compatibility with 245 comprehensive tools.
02P-code emulation and live debugger integration for dynamic analysis.
03Battle-tested AI workflows for function documentation and batch processing.
04Cross-binary documentation transfer using SHA-256 function hash matching.
05Headless server mode and Docker-ready for CI/CD pipelines and automated analysis.
02

Why choose it

+Large tool surface (245 tools) with write access for renaming, typing, commenting and creating structures, not only reads.
+Data-flow analysis through PCode, and cross-binary documentation propagation by function hash.
+Dynamic analysis: P-code emulation of single functions and a live debugger (dbgeng, gdb or lldb) over TraceRmi.
+Documentation workflows for batch-documenting functions; Apache-2.0 licensed and updated daily.
03

Trade-offs

!The "3x more than any competing implementation" claim is the project's own, and a huge tool count can overwhelm an assistant's tool selection.
!Setup needs Java 21, Maven 3.9+, a specific Ghidra version (12.1 or compatible) and Python 3.10+, and Ghidra 12.1 clients need a matching Ghidra Server.
!Write access lets an assistant change your Ghidra project, so keep backups and only analyse software you are allowed to.
05

Maintenance check

ActiveChecked: 2026-10-20
Last commit
2026-10-14
Commits, last 90 days
100+
Releases, last 90 days
4
Latest release
v7.0.0-rc.3 (2026-10-14)
Open issues
33
Recent issues with at least one comment
6/7
Commits per week, last 12 weeks
Commits per week, last 12 weeks: 126, 38, 1, 1, 5, 12, 48, 13, 6, 68, 14, 0

Oldest week on the left; the latest four weeks are orange. Source: GitHub commit activity.

Status rule: archived on GitHub = Archived; last commit within 90 days = Active; 91 to 365 days = Slowing; older = Stale. All figures come from the GitHub API on the date shown.

Most discussed open issues

  • #575 [Feature]: support for ParallelDecompiler class for decompile_function6 comments · 2026-10-06
  • #500 Installation instructions could be clearer6 comments · 2026-09-09
  • #114 Native MCP Server: Replace Python bridge with Java MCP SDK in headless mode5 comments · 2026-04-10
  • #435 don't install this4 comments · 2026-08-11
  • #549 Hash normalisation drops every immediate >= 0x10000, which collapses STL container instantiations by element size2 comments · 2026-09-28

Issue titles are quoted from GitHub. Open the link to check whether a problem still applies to the version you use.

04

Who it fits

Pick it if
  • You are reverse engineering binaries, malware, or firmware and want to expose Ghidra's 200+ analysis tools (decompilation, xrefs, symbols) directly to LLMs.
  • You need both interactive Ghidra GUI integration and headless server mode in Docker for collaborative team reverse engineering.
Look elsewhere if
  • Your reverse engineering pipeline is fully built around Hex-Rays IDA Pro rather than NSA Ghidra (choose `ida-pro-mcp` instead).
  • You only need basic binary file metadata, strings, or threat intel lookups without decompiling full function trees (VirusTotal MCP is lighter).
06

How it differs

ida-pro-mcp logovs ida-pro-mcp★ 13.1k

ghidra-mcp is built on the free, open-source NSA Ghidra with 200+ tools and headless Docker support; ida-pro-mcp targets commercial IDA Pro / Hex-Rays installations.

Full comparison →
hexstrike-ai logovs hexstrike-ai★ 13.0k

ghidra-mcp is deeply specialized in binary decompilation and static analysis; hexstrike-ai is a broad offensive security suite covering pentesting, web exploits, and cloud assessment.

Full comparison →
07

Compatibility

Python
Python 3.10-3.13
Verified via docs
Java
Java 21 LTS
Verified via docs
Ghidra
Ghidra 12.1+
Verified via docs
Apache Maven
Maven 3.9+
Verified via docs
08

Quick start

1
$ git clone https://github.com/bethington/ghidra-mcp.git
2
$ cd ghidra-mcp
3
$ python -m tools.setup ensure-prereqs --ghidra-path "/path/to/ghidra_12.1_PUBLIC"
4
$ python -m tools.setup build
5
$ python -m tools.setup deploy --ghidra-path "/path/to/ghidra_12.1_PUBLIC"
09

Use cases

↳Integrate Ghidra's powerful analysis with modern AI tools and automation frameworks for enhanced reverse engineering.
↳Automate and accelerate reverse engineering workflows, including comprehensive function documentation, data type investigation, and orphaned code discovery.
↳Perform large-scale, automated binary analysis, leveraging features like cross-binary documentation propagation and headless operation for CI/CD.
10

Alternatives

⚡Top VS:
VSida-pro-mcp★13.1k→VShexstrike-ai★13.0k→VSGhidrAssistMCP★779→VSnyxstrike★156→
ida-pro-mcp logo
ida-pro-mcp★ 13.1k
AI-powered reverse engineering assistant that bridges IDA Pro with language models through MCP.
VSCompare→
hexstrike-ai logo
hexstrike-ai★ 13.0k
HexStrike AI MCP Agents is an advanced MCP server that lets AI agents (Claude, GPT, Copilot, etc.) autonomously run 150+ cybersecurity tools for automated pentesting, vulnerability discovery, bug bounty automation, and security research. Seamlessly bridge LLMs with real-world offensive security capabilities.
VSCompare→
GhidrAssistMCP logo
GhidrAssistMCP★ 779
An MCP extension for Ghidra
VSCompare→
nyxstrike logo
nyxstrike★ 156
AI Powered penetration testing Platform for offensive security research
VSCompare→
ThinkWatch logo
ThinkWatch★ 822
Enterprise AI bastion host for secure AI API and MCP access, with unified proxying, RBAC, audit logs, rate limiting, and cost tracking across OpenAI, Anthropic, Gemini, and self-hosted LLMs.
VSCompare→
discord-mcp logo
discord-mcp★ 556
A MCP server for the Discord integration. Enable your AI assistants to seamlessly interact with Discord. Enhance your Discord experience with powerful automation capabilities.
VSCompare→
mcp-server-synology logo
mcp-server-synology★ 231
💾 Model Context Protocol (MCP) server for Synology NAS - Enables AI assistants (Claude, Cursor, Continue) to manage files, downloads, and system operations through secure API integration. Features Docker deployment, auto-authentication, and comprehensive file system tools.
VSCompare→
google-workspace-mcp logo
google-workspace-mcp★ 192
A Model Context Protocol (MCP) server that provides authenticated access to Google Workspace APIs, offering integrated Authentication, Gmail, Calendar, and Drive functionality
VSCompare→
See all alternatives →

Featured in these lists

  • Open-Source Security Tools for MCP Servers and AI Agents

Comments

Log in to leave a comment

No comments yet. Be the first!

On this page
01Features02Why choose it03Trade-offs05Maintenance check04Who it fits06How it differs07Compatibility08Quick start09Use cases10Alternatives
bethington /
ghidra-mcp
↗

Ghidra MCP server with 245 tools, read-write analysis and a live debugger

5.8k341Apache-2.0
Last commit1d ago
StatusActive
CategorySecurity & Safety
Contributors60
Latest releasev6.0.0
Links
Documentation↗Discussion↗Issues↗Releases↗
Cloud Infrastructure
Ad

Deploy on DigitalOcean

Host your MCP servers, Docker containers, and AI agents with $200 free credit over 60 days.

Claim $200 Free Credit
© 2026 AgentIndex.app|Built by a 10-year iOS Developer.
Best by use caseAboutContactAdvertisePrivacy PolicyTerms of UseQYSGitHubBuy me a coffee ☕

Browse by Category

MCP ServersCode AssistantWorkflow AutomationRAG / Knowledge BaseMulti-AgentBrowser AutomationLLM InfraDev ToolingObservability

Not affiliated with Anthropic, OpenAI or Microsoft.