Ghidra MCP Server
Reverse engineering tasks and P-code analysis directly through AI model workflows.
Data last scanned yesterday · Reviewed yesterday
Overview
The Ghidra MCP Server facilitates the integration of Ghidra reverse engineering functionalities into AI-driven development environments. By acting as a bridge, it allows users to utilize AI models for assistance with complex binary analysis, P-code emulation, and live debugging sessions. Built for developers and researchers, this implementation supports seamless interaction between the Ghidra software suite and MCP-compatible clients. It aims to streamline reverse engineering pipelines by surfacing analysis data directly within the AI context.
Our verdict
This server carries a high risk level with a security score of 50/100. The rating is primarily due to the fact that it is a community-maintained project rather than an official Ghidra release, and critical aspects such as OAuth support and read-only mode verification have not yet been editorially reviewed. Given these unknowns, it should only be used in isolated, non-sensitive testing environments.
- Supports P-code emulation and live debugger integration
- Zero direct dependencies reduce supply-chain surface area
- Active development with commits occurring daily
- Supported by a large community of 45 contributors
- Lacks official maintenance by the Ghidra vendor
- Security and authentication mechanisms are not yet reviewed
- No official project homepage established
Tools
| Tool | Description | Risk |
|---|---|---|
| search_tools | Keyword-search the entire catalog of tools. | low |
| list_tool_groups | List all tool categories and their load state. | low |
| load_tool_group | Load a category of tools at runtime. | low |
| unload_tool_group | Drop a category of tools at runtime. | low |
| check_tools | Confirm specific tools are callable right now. | low |
| open_program | Opens a program file by path or name. | low |
| close_program | Closes a program file by path or name. | medium |
| rename_function_by_address | Renames a function at a specified address. | medium |
| rename_data | Renames data at a specified location. | medium |
| rename_global_variable | Renames a global variable. | medium |
Compatibility
| Client | Local | Docker | Remote | Read-only |
|---|---|---|---|---|
| ChatGPT | ||||
| Claude Desktop | ||||
| Cursor | ||||
| VS Code | ||||
| Windsurf |
Frequently asked questions
›What software prerequisites are required to run the Ghidra MCP server?
You need Java 21 and Ghidra version 12.1.2 installed, alongside a Python environment compatible with versions 3.10 through 3.13.
›Does the server support headless operation?
Yes, the server can be run in both headless mode and with the standard Ghidra GUI, and it is ready for deployment in Docker containers.
›Can I use this server with a shared Ghidra server environment?
Yes, it supports full Ghidra server integration, including repository management, version control, and multi-user checkin/checkout workflows.
›How are naming conventions and code standards handled?
The server enforces conventions directly at the tool layer using three tiers: auto-fix for silent corrections, warning messages for deviations, and outright rejection of non-compliant changes.
›What functionalities does the server provide beyond simple read access?
It provides 269 tools enabling full write access for tasks such as renaming functions, typing, commenting, structure creation, script execution, P-code emulation, and live debugging.
Alternatives
Changelog
- NewGhidraMCP 5.14.2
2026-06-27
- NewGhidraMCP 5.14.1
2026-06-18
- NewGhidraMCP 5.14.0
2026-06-18
- NewGhidraMCP 5.13.1
2026-06-08
- NewGhidraMCP 5.13.0
2026-06-08
- NewGhidraMCP 5.12.0
2026-05-23
- NewGhidraMCP 5.11.4
2026-05-22
- NewGhidraMCP 5.11.3
2026-05-22
- NewGhidraMCP 5.11.2
2026-05-22
- NewGhidraMCP 5.11.1
2026-05-22
Badge
Maintain this server? Add the live badge to your README.