================== /// MCP /// /// GHI /// ================== [server:online] [protocol:ready]
GhidraMCP
by LaurieWired
Model-Context-Protocol (MCP) server and Ghidra plugin that lets LLM clients de-compile and analyse binaries through Ghidra autonomously.
5.5k
404
Open Source01
Decompile and analyze binaries in Ghidra
Decompile a binary and perform automated analysis within Ghidra
02
Automatically rename methods and data
Perform automated renaming of functions and data symbols to more meaningful names
03
List methods, classes, imports, and exports
Retrieve lists of functions, classes, imported symbols, and exported symbols from the analyzed program
Installation
1. Prerequisites:
• Java 17 or later installed and available on your PATH.
• Git for cloning the repository.
2. Clone the repository:
git clone https://github.com/LaurieWired/GhidraMCP.git
cd GhidraMCP
3. Build the project (uses the Gradle wrapper shipped in the repo):
./gradlew build # macOS/Linux
gradlew.bat build # Windows
The command produces a runnable JAR (or plugin ZIP) in `build/libs/`.
4. Deploy to Ghidra (if released as an extension):
• Copy the generated ZIP file into your Ghidra user directory under `Extensions/`.
• Launch Ghidra and enable the extension via "File ➜ Install Extensions" if prompted.
5. Start the MCP server (typical pattern):
java -jar build/libs/ghidra-mcp-server.jar --port 8080
Adjust the port or additional flags as required by your environment.
6. Verify:
• Point a browser or client to `http://localhost:8080/health` (or equivalent endpoint) to confirm the server is running.
NOTE: Consult the repository’s README or wiki (if available) for version-specific flags, authentication options, or Docker images.
Documentation
License: Apache License 2.0
Updated 7/30/2025