GhidraMCP logo

GhidraMCP

by LaurieWired

Connects MCP clients to Ghidra for binary decompilation, analysis, code discovery, and renaming.

Install GhidraMCP

Pick your client, then add it in one click or paste the config.

SSE (Remote)
Server URL
http://127.0.0.1:8081/sse

Remote servers are added in the app, not the config file: Customize → Connectors → Add custom connector, then paste this URL.

Overview

LaurieWired/GhidraMCP MCP server connects an MCP client to a Ghidra plugin and exposes selected Ghidra functionality for reverse engineering. It supports binary decompilation and analysis, renaming methods and data, and listing methods, classes, imports, and exports. The Python bridge communicates with a Ghidra instance over a configurable HTTP server, using stdio or SSE transport for MCP clients. Use it when an AI-assisted workflow needs to inspect and update an application opened in Ghidra.

Use cases

  • Decompile binaries opened in Ghidra
  • Inspect methods, classes, imports, and exports
  • Rename methods and data during analysis
  • Connect an AI assistant to a local Ghidra session

Key features

  • Ghidra plugin with MCP bridge
  • Binary decompilation and analysis
  • Method and data renaming
  • Method and class listing
  • Import and export listing
  • stdio and SSE transport options

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked Today

Recent health check succeeded.

28/28 checks healthy over the last 76d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars11kStargazers on the source repository.
Last commit16d agoMost recent push to the default branch.
Directory activity14 viewsConfig copies, upvotes, and views on AllMCPs.

How GhidraMCP works

What LaurieWired/GhidraMCP MCP server does

LaurieWired/GhidraMCP MCP server adds an MCP interface to Ghidra through two project components: a Ghidra extension and a Python bridge. The extension runs inside Ghidra, while the bridge exposes the MCP server that clients connect to. This arrangement lets an MCP-compatible assistant request reverse-engineering operations against the active Ghidra instance.

Supported work includes decompiling and analyzing binaries, renaming methods and data, and retrieving lists of methods, classes, imports, and exports. The repository describes the server as suitable for autonomous application reverse engineering, but the actual analysis remains tied to the Ghidra project and instance where the plugin is running.

How it works

Install the supplied extension into Ghidra and enable GhidraMCPPlugin. The plugin provides an HTTP endpoint, which defaults to http://127.0.0.1:8080/ and can be changed in Ghidra's tool options. The Python bridge targets that endpoint and presents the available operations through MCP.

For Claude Desktop and similar local clients, the bridge can run as a stdio process. The MCP client configuration must point to the bridge script and, when needed, specify the Ghidra server address.

Setup and configuration

The prerequisites are Ghidra, Python 3, and the MCP Python SDK. Releases contain the Ghidra plugin and Python MCP client. Import the release ZIP through Ghidra's File → Install Extensions workflow, restart Ghidra, and confirm that GhidraMCPPlugin is enabled under File → Configure → Developer.

The bridge accepts options for the Ghidra server, MCP transport, MCP host, and MCP port. If the Ghidra address and port are omitted, the documented default is localhost on port 8080. An SSE configuration can use localhost port 8081 for the MCP endpoint while Ghidra continues to use port 8080.

Building from source requires copying the listed Ghidra JAR files into the repository's lib/ directory and running the documented Maven packaging command. The resulting ZIP contains the extension files required by Ghidra.

Tools and capabilities

LaurieWired/GhidraMCP MCP server exposes operations for:

  • Decompiling binaries in Ghidra
  • Analyzing loaded binary content
  • Renaming methods
  • Renaming data
  • Listing methods and classes
  • Listing imported and exported symbols

These capabilities are useful for navigating unfamiliar binaries, reviewing symbol relationships, and applying meaningful names during an assisted reverse-engineering session.

Limitations and notes

LaurieWired/GhidraMCP MCP server is not a standalone binary-analysis engine. It requires a running Ghidra installation with the project extension installed, plus Python to run the bridge. The client must be configured with a path to the bridge script when using stdio mode, or with the correct SSE URL when using SSE mode.

The repository says that any MCP client should theoretically work, while providing concrete setup examples for Claude Desktop, Cline, and 5ire. This listing does not establish compatibility with every MCP client. No API key or hosted service is described; communication is configured around local host and port values in the documented examples.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about GhidraMCP

Install Ghidra and Python 3, download a project release, import its ZIP through Ghidra's Install Extensions dialog, restart Ghidra, and enable GhidraMCPPlugin. Configure an MCP client to run the included Python bridge.

Yes. The README provides Claude Desktop configuration that runs the Python bridge and points it to the Ghidra HTTP server.

Yes. The documented setup runs the bridge with SSE transport and adds its `/sse` URL as a remote MCP server in Cline.

It can decompile and analyze binaries, rename methods and data, and list methods, classes, imports, and exports through MCP.

It requires Ghidra, Python 3, the MCP Python SDK, the GhidraMCP extension, and a configured MCP client.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewGhidraMCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/lauriewired-ghidramcp?style=directory)](https://allmcps.com/mcp/lauriewired-ghidramcp)
HTML Embed
<a href="https://allmcps.com/mcp/lauriewired-ghidramcp"><img src="https://allmcps.com/api/badge/lauriewired-ghidramcp?style=directory" alt="GhidraMCP on AllMCPs" /></a>