GhidraMCP

Level ALocal

MCP Server for Ghidra

Overview

GhidraMCP is a Model Context Protocol server for Ghidra, pairing a Ghidra plugin with an MCP client so LLMs can autonomously reverse engineer applications. It exposes core Ghidra functionality as tools for MCP clients: decompiling and analyzing binaries, automatically renaming methods and data, and listing methods, classes, imports, and exports. Any MCP client should work, and PyGhidra support allows importing and analyzing binaries headlessly without the Ghidra GUI.

⭐ 12kDevelopment ToolsJavaRepo ↗Updated 2026-10-10

Installation

MCP client config (paste into mcp.json)

{
  "mcpServers": {
    "lauriewired-ghidramcp": {
      "command": "uvx",
      "args": [
        "--from",
        "git+https://github.com/LaurieWired/GhidraMCP",
        "ghidra-mcp",
        "--ghidra-server",
        "http://127.0.0.1:8080/"
      ]
    }
  }
}

Agent install prompt

Copy and paste into Cursor / Claude / other agents to install this MCP for you

Please read this MCP repository and install it into my current environment:
https://github.com/LaurieWired/GhidraMCP

Known working client config (can write into mcp.json):
{
  "mcpServers": {
    "lauriewired-ghidramcp": {
      "command": "uvx",
      "args": [
        "--from",
        "git+https://github.com/LaurieWired/GhidraMCP",
        "ghidra-mcp",
        "--ghidra-server",
        "http://127.0.0.1:8080/"
      ]
    }
  }
}

Please: 1) check README for deps and env vars; 2) write config for my client; 3) if secrets are missing, tell me what to fill — do not invent values.

Related servers