G

Ghidra MCP

This project runs the Ghidra reverse engineering tool in headless mode, extracts binary file analysis data and converts it into JSON format, and provides interactive reverse analysis services for LLMs like Claude through the MCP protocol.
2 points
13

What is the Ghidra MCP Server?

The Ghidra MCP Server allows you to disassemble and decompile binary files through Ghidra and export the analysis results in JSON format. This enables large language models like Claude to easily access this data.

How to use the Ghidra MCP Server?

After installing and configuring the Ghidra MCP Server, you can use the tools it provides to list functions, view pseudocode, obtain structure definitions, etc. You can start using it with just a few simple commands.

Applicable Scenarios

Suitable for researchers, security analysts, and developers who need to quickly understand the logic of binary programs.

Main Features

Pseudocode GenerationExtract function pseudocode from binary files for easy understanding and analysis.
Structure and Enumeration ExtractionIdentify and export data structures and enumeration types in the binary.
Function Prototype DefinitionList the return values and parameter lists of all functions.
Dynamic UpdateSupport real-time loading of new analysis results.

Advantages and Limitations

Advantages
Powerful static analysis capabilities.
Seamless integration with existing AI tools.
Easy to expand and customize.
Good cross - platform compatibility.
Limitations
It may take a long time to process large binary files.
Depends on specific versions of Ghidra and Java environments.
Some advanced features may require additional configuration.

How to Use

Install Ghidra
Download and unzip Ghidra version 11.3.1.
Set up the Java Environment
Ensure that Java 21 (Temurin is recommended) is installed.
Install the MCP Server
Use the MCP CLI tool to install the Ghidra MCP Server.
Run in Development Mode
Start the server in development mode for testing.

Usage Examples

Analyze a Binary FileAnalyze a binary file located at a certain path and list the main functions in it.
Get PseudocodeGet the pseudocode from a specified function.

Frequently Asked Questions

Why do I need to install Java 21?
How to solve the problem of not finding the uv command?

Related Resources

Ghidra Official Website
Visit the official documentation to learn more about Ghidra.
MCP Protocol Official Website
Learn more details about the Model Context Protocol.
GitHub Repository
View the project source code and contribution guidelines.
Installation
Copy the following command to your Client for configuration
{
  "mcpServers": {
    "ghidra": {
      "command": "/Users/yourname/.cargo/bin/uv",
      "args": [
        "--directory",
        "/Users/yourname/Documents/ghidra_mcp",
        "run",
        "main.py"
      ]
    }
  }
}
Note: Your key is sensitive information, do not share it with anyone.
Featured MCP Services
N
Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
141
4.5 points
G
Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
86
4.3 points
M
Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
1.7K
5 points
D
Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
830
4.3 points
F
Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
6.7K
4.5 points
U
Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
567
5 points
M
Minimax MCP Server
The MiniMax Model Context Protocol (MCP) is an official server that supports interaction with powerful text-to-speech, video/image generation APIs, and is suitable for various client tools such as Claude Desktop and Cursor.
Python
754
4.8 points
C
Context7
Context7 MCP is a service that provides real-time, version-specific documentation and code examples for AI programming assistants. It is directly integrated into prompts through the Model Context Protocol to solve the problem of LLMs using outdated information.
TypeScript
5.2K
4.7 points
AIbase
Zhiqi Future, Your AI Solution Think Tank
© 2025AIbase