Connects Ghidra to MCP clients for binary inspection, decompilation, reverse-engineering analysis, and program annotation.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent — or use 1-click editor setup below.
One-click editor setup isn’t available for this listing yet — we don’t have a confirmed install command, and we’d rather show nothing than point your editor at the wrong package or host. Follow the project’s own setup instructions, linked above.
Inspect callable tools, capabilities, and parameters exposed to AI agents by GhidraMCP.
list_functionsList all functions with entry points, sizes, return types
list_classesList all classes / namespaces
list_importsList imported symbols and external dependencies
list_exportsList exported symbols
list_namespacesList all namespaces
list_data_itemsList defined data (globals, constants, arrays, structs)
13bm/GhidraMCP MCP server brings Ghidra’s program analysis features into MCP-compatible AI clients. After a binary is open in Ghidra and the extension is enabled, an assistant can inspect the program and request structured information about functions, classes, namespaces, imports, exports, strings, data items, memory regions, variables, and executable metadata.
The server also exposes operations that change the Ghidra project. These include renaming functions, data labels, variables, and structures; adding or removing bookmarks; changing prototypes and local variable types; setting comments; applying data types; editing memory permissions; patching bytes; and managing structures, enums, namespaces, and calling conventions. These mutation tools can alter the active analysis, so they should be used with the expected Ghidra project state in mind.
The integration has two parts: a Java plugin running inside Ghidra and a Go bridge process used by the MCP client. The plugin starts a TCP listener inside Ghidra and can launch the bridge automatically. The bridge communicates with the AI client over MCP and stdio, then forwards requests to the plugin over a local TCP socket using length-prefixed JSON-RPC messages.
13bm/GhidraMCP MCP server can route requests to different Ghidra windows with the optional target_port parameter. It also supports reconnecting after a dropped connection or Ghidra restart. Large result sets can be retrieved incrementally with offset and limit, while long-running decompilation jobs can be started asynchronously and checked later using a task ID.
Download the release ZIP, install it through Ghidra’s extension installer, and restart Ghidra. Open a project and program, then enable MCPServerPlugin under Ghidra’s configuration menu. The plugin starts its TCP service on localhost:8765 by default and launches the bridge.
Claude Desktop configuration can be written from the Ghidra MCP settings menu. Other MCP clients can use the generated bridge command and pass the local host and port as arguments. Configuration is controlled through GhidraMCP.properties, including the port, localhost-only binding, API-key authentication, automatic startup, and whether the bridge is enabled. If authentication is configured, the client receives GHIDRA_API_KEY in its environment configuration.
The documented prerequisites are Ghidra 12.0.3 or newer, Java 21 or newer, and an MCP-compatible AI client. Release bridge binaries are provided for Linux x86_64, Windows x86_64, macOS x86_64, and macOS ARM64.
13bm/GhidraMCP MCP server groups its tools across several analysis areas:
The material describes a local Ghidra-based setup rather than a hosted analysis service. A program must be open in Ghidra for the plugin to operate, and the MCP client must be configured to reach the bridge. The default TCP endpoint is local, but the project provides settings for binding and authentication.
Results and edits depend on the active Ghidra instance and program. Multiple instances are supported through port routing, with instance discovery scanning ports 8765 through 8774. Large or slow decompilations may need the asynchronous tools instead of a blocking request.
Factual signals from GitHub, npm, and our automated checks — not a rating.
No reviews yet — be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/13bm-ghidramcp)<a href="https://allmcps.com/mcp/13bm-ghidramcp"><img src="https://allmcps.com/api/badge/13bm-ghidramcp?style=directory" alt="GhidraMCP on AllMCPs" /></a>