Featured

Deploy OpenClaw in 60 seconds — 20% off logoDeploy OpenClaw in 60 seconds — 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free
6,000+ web scrapers for your AI agent, start free logo6,000+ web scrapers for your AI agent, start free

Apify gives your agent live web data: 6,000+ prebuilt scrapers and actors, MCP-ready. Sign up free with $5 in usage credits.

Try Apify free
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data — no proxies, no parsers, no maintenance.

Start building free
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it — secured from day one.

Get it set up for you
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free
Reach 48,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here

Works with

Claude CodeClaude DesktopCursorVS CodeClineCodex CLIOpenClaw+ any MCP client

Install to Claude Code

This server doesn't publish a one-line install command. Follow the setup in the source repository.

Summary

MCP server integrating Ghidra reverse engineering tool with LLMs, enabling automated binary analysis, decompilation, and symbol management via MCP.

README.md

GhidraMCP for Ghidra 12.0.1

![Ghidra Version](https://ghidra-sre.org) ![JDK Version](https://openjdk.org) ![License](https://www.apache.org/licenses/LICENSE-2.0)

An updated fork of LaurieWired's GhidraMCP with full support for Ghidra 12.0.1 and JDK 21.

What's Changed from Original

| Feature | Original | This Fork | |---------|----------|-----------| | Ghidra Version | 11.3.2 | 12.0.1 | | JDK Version | 5 (deprecated) | 21 | | Maven Compiler | Default | 3.11.0 with release 21 | | JUnit | 3.8.1 | 5.10.0 |

Fixes for Known Issues

This fork addresses the following issues from the original repository:

  • Issue #99: "Source option 5 is no longer supported" - Fixed with JDK 21 configuration
  • Issue #96: Extension installation errors - Rebuilt for Ghidra 12
  • Issue #54: Installation issues - Updated JAR dependencies

Features

  • MCP Server - Exposes Ghidra functionality via Model Context Protocol
  • LLM Integration - Connect Claude, GPT, or other LLMs to Ghidra
  • Decompilation - Automated binary analysis and decompilation
  • Symbol Management - Rename methods, variables, and data
  • Analysis Tools - List methods, classes, imports, exports

Quick Start

Prerequisites

Installation

  1. Download the latest release: GhidraMCP-2.0-ghidra12.zip
  1. Install in Ghidra:
   File → Install Extensions → + → Select GhidraMCP-2.0-ghidra12.zip
  1. Restart Ghidra
  1. Enable the Plugin:
   File → Configure → Developer → Enable GhidraMCPPlugin
  1. Install Python Dependencies:
   pip install mcp modelcontextprotocol

Configure Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "ghidra": {
      "command": "python",
      "args": [
        "/path/to/bridge_mcp_ghidra.py",
        "--ghidra-server",
        "http://127.0.0.1:8080/"
      ]
    }
  }
}

Configure Cline (VS Code)

  1. Start the MCP server:
   python bridge_mcp_ghidra.py --transport sse --mcp-host 127.0.0.1 --mcp-port 8081
  1. In Cline, add Remote Server:
  • Name: GhidraMCP
  • URL: http://127.0.0.1:8081/sse

Building from Source

# Clone the repository
git clone https://github.com/YOUR_USERNAME/GhidraMCP-12.git
cd GhidraMCP-12

# Copy JARs from your Ghidra 12 installation
cp /Applications/Ghidra/Ghidra/Framework/Generic/lib/Generic.jar lib/
cp /Applications/Ghidra/Ghidra/Framework/SoftwareModeling/lib/SoftwareModeling.jar lib/
cp /Applications/Ghidra/Ghidra/Framework/Project/lib/Project.jar lib/
cp /Applications/Ghidra/Ghidra/Framework/Docking/lib/Docking.jar lib/
cp /Applications/Ghidra/Ghidra/Features/Decompiler/lib/Decompiler.jar lib/
cp /Applications/Ghidra/Ghidra/Framework/Utility/lib/Utility.jar lib/
cp /Applications/Ghidra/Ghidra/Features/Base/lib/Base.jar lib/
cp /Applications/Ghidra/Ghidra/Framework/Gui/lib/Gui.jar lib/

# Build
mvn clean package

# Output: target/GhidraMCP-2.0-ghidra12.zip

Troubleshooting

"No context found for request" (404 Error)

  1. Make sure Ghidra is running with a program loaded
  2. Verify the plugin is enabled in File → Configure → Developer
  3. Check the port matches between Ghidra and the bridge script

Plugin Not Appearing

  1. Verify you're using Ghidra 12.0.1
  2. Check File → Install Extensions shows GhidraMCP as installed
  3. Restart Ghidra completely after installation

Build Errors

If you see "Source option X is no longer supported":

  • Ensure you're using this fork's pom.xml with JDK 21 configuration
  • Verify JAVA_HOME points to JDK 21

API Endpoints

| Endpoint | Description | |----------|-------------| | /methods | List all methods/functions | | /decompile/{address} | Decompile function at address | | /rename/method | Rename a method | | /rename/variable | Rename a variable | | /classes | List all classes | | /imports | List all imports | | /exports | List all exports | | /symbols | List all symbols |

Credits

License

Apache License 2.0 - See LICENSE for details.

See related servers & alternatives →

Related MCP servers

Browse all →

Related guides

Hand-picked reading to help you choose and use AI & ML servers.