Ghidra Assist MCP

v1.0.0Securitystable

An native MCP server extension for Ghidra

ghidraghidra-extensionghidra-pluginllmmcp
Share:
621
Stars
0
Downloads
0
Weekly
0/5

What is Ghidra Assist MCP?

Ghidra Assist MCP is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to native mcp server extension for ghidra

An native MCP server extension for Ghidra

This server falls under the Security category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • An native MCP server extension for Ghidra

Use Cases

Native Ghidra extension for MCP
Binary analysis with LLM
Reverse engineering automation
symgraph

Maintainer

LicenseMIT
Languagejava
Versionv1.0.0
UpdatedMay 21, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx ghidrassistmcp

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Ghidra Assist MCP

GhidrAssistMCP is a native MCP server extension for the Ghidra reverse engineering platform that exposes 38 built-in analysis tools, 6 static resources, and 7 pre-built prompt templates to AI agents via the Model Context Protocol. It enables LLM-powered workflows directly inside Ghidra for tasks like function decompilation, vulnerability identification, cross-reference tracking, structure recovery, network protocol analysis, and automated documentation generation. Security researchers and malware analysts use it to dramatically accelerate binary analysis by delegating repetitive Ghidra tasks to an AI assistant that has live access to the active program's decompiler output and metadata.

Prerequisites

  • Ghidra 11.4+ installed (tested with Ghidra 12.0 Public)
  • Java JDK 21+ (required by Ghidra)
  • An MCP client such as Claude Desktop, Cursor, or a custom MCP client configured to connect to localhost:8080
  • Gradle (only required if building from source)
1

Download the latest release ZIP

Go to the GhidrAssistMCP GitHub releases page and download the latest .zip file. This is the recommended installation method — no build step required.

# Download from:
# https://github.com/symgraph/GhidrAssistMCP/releases
# Select the latest GhidrAssistMCP-*.zip
2

Install the extension in Ghidra

Open Ghidra, navigate to File → Install Extensions → Add Extension, select the downloaded ZIP file, and restart Ghidra when prompted.

3

Enable the GhidrAssistMCP plugin

After restarting, enable the plugin via File → Configure → Configure Plugins and search for 'GhidrAssistMCP'. Check the box and confirm.

4

Build from source (alternative)

If you prefer to build from source, clone the repository and run the Gradle installExtension task. Set GHIDRA_INSTALL_DIR to your Ghidra installation path.

git clone https://github.com/symgraph/GhidrAssistMCP.git
cd GhidrAssistMCP
export GHIDRA_INSTALL_DIR=/path/to/ghidra_12.0_PUBLIC
gradle installExtension
5

Configure host and port in the control panel

Open Window → GhidrAssistMCP in the Ghidra menu. Set the Host (default: localhost) and Port (default: 8080), enable or disable individual tools, and monitor activity via the Log tab.

6

Connect your MCP client to GhidrAssistMCP

Point your MCP client at the SSE or MCP endpoint exposed by the extension. The server is available at http://127.0.0.1:8080/sse or http://127.0.0.1:8080/mcp once Ghidra is open with a program loaded.

Ghidra Assist MCP Examples

Client configuration

Claude Desktop configuration connecting to a running GhidrAssistMCP server instance via SSE transport.

{
  "mcpServers": {
    "ghidra": {
      "url": "http://127.0.0.1:8080/sse"
    }
  }
}

Prompts to try

Example prompts to use once your MCP client is connected to a Ghidra session with a binary loaded.

- "List all functions in the current binary and identify which ones handle network input"
- "Decompile the function at address 0x00401234 and identify potential buffer overflow vulnerabilities"
- "Show me all cross-references to the strcpy function"
- "Recover the structure definition used in the function sub_402A00 based on its decompiled code"
- "Generate documentation for all exported functions in this DLL"
- "Analyze the data flow from user input to the sink function at 0x00403F00"

Troubleshooting Ghidra Assist MCP

GhidrAssistMCP does not appear in Configure Plugins after install

Ensure you fully restarted Ghidra after installing the extension, not just closed the dialog. Also confirm the ZIP was added via File → Install Extensions → Add Extension (not manually extracted).

MCP client cannot connect to http://127.0.0.1:8080

The server only starts when Ghidra's CodeBrowser is open with a program loaded and the plugin is enabled. Check the Log tab in Window → GhidrAssistMCP for startup errors. If port 8080 is occupied, change it in the control panel.

Headless mode fails to start the MCP server

Ensure GHIDRA_INSTALL_DIR is set correctly and that the ghidra_scripts path points to the GhidrAssistMCP scripts directory inside your extensions folder. The GAMCPStartServerScript.java script must be on the scriptPath.

Frequently Asked Questions about Ghidra Assist MCP

What is Ghidra Assist MCP?

Ghidra Assist MCP is a Model Context Protocol (MCP) server that native mcp server extension for ghidra It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Ghidra Assist MCP?

Follow the installation instructions on the Ghidra Assist MCP GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with Ghidra Assist MCP?

Ghidra Assist MCP works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Ghidra Assist MCP free to use?

Yes, Ghidra Assist MCP is open source and available under the MIT license. You can use it freely in both personal and commercial projects.

Ghidra Assist MCP Alternatives — Similar Security Servers

Looking for alternatives to Ghidra Assist MCP? Here are other popular security servers you can use with Claude, Cursor, and VS Code.

Casdoor

13.6k

An open-source Agent-first Identity and Access Management (IAM) /LLM MCP & agent gateway and auth server with web UI supporting OpenClaw, MCP, OAuth, OIDC, SAML, CAS, LDAP, SCIM, WebAuthn, TOTP, MFA, Face ID, Google Workspace, Azure AD

ghidraMCP

9.0k

An Model Context Protocol server that enables LLMs to autonomously reverse engineer applications by exposing Ghidra's decompilation and analysis tools. It allows AI agents to list code structures, rename methods, and analyze binaries directly through

HexStrike AI

8.9k

HexStrike AI MCP Agents is an advanced MCP server that lets AI agents (Claude, GPT, Copilot, etc.) autonomously run 150+ cybersecurity tools for automated pentesting, vulnerability discovery, bug bounty automation, and security research. Seamlessly b

IDA Pro MCP

8.7k

Enables AI-assisted reverse engineering in IDA Pro by providing tools to analyze binaries, decompile functions, manage comments, search patterns, and interact with the IDA database through natural language.

Anthropic Cybersecurity Skills

6.6k

754 structured cybersecurity skills for AI agents · Mapped to 5 frameworks: MITRE ATT&CK, NIST CSF 2.0, MITRE ATLAS, D3FEND & NIST AI RMF · agentskills.io standard · Works with Claude Code, GitHub Copilot, Codex CLI, Cursor, Gemini CLI & 20+ platform

Hooker

5.1k

🔥🔥 hooker is a Frida-based reverse engineering toolkit for Android. It offers a user-friendly CLI, universal scripts, auto hook generation, memory roaming to detect activities/services, one-click SOCKS5 proxy setup, Frida JustTrustMe, and BoringSSL u

Browse More Security MCP Servers

Explore all security servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "ghidrassistmcp": { "command": "npx", "args": ["-y", "ghidrassistmcp"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Ghidra Assist MCP?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides