ghidra-mcp

drazisil/ghidra-mcp
★ 0 stars Python Security Updated today
MCP server for Ghidra via PyGhidra + FastMCP. Stdio and streamable-http transports, read-only coexistence with Ghidra GUI.
View on GitHub → 🔍 Audit Wallet Slippage →

Quick Install

Copy the config for your editor. Some servers may need additional setup — check the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "ghidra-mcp": {
      "command": "uvx",
      "args": [
        "ghidra-mcp"
      ]
    }
  }
}

Or install with pip: pip install ghidra-mcp

README Excerpt

MCP server for Ghidra, built on [PyGhidra](https://github.com/NationalSecurityAgency/ghidra/tree/master/Ghidra/Features/PyGhidra) and [FastMCP](https://github.com/jlowin/fastmcp). Opens a Ghidra project once at startup and keeps it open for the lifetime of the process — all tools share the same program handle with no per-call JVM startup cost.

Tools (20)

GHIDRA_INSTALL_DIRGHIDRA_PROGRAM_NAMEGHIDRA_PROJECT_NAMEGHIDRA_PROJECT_PATHGHIDRA_READ_ONLYMCP_HOSTMCP_PORTMCP_TRANSPORTapply_struct_membercreate_structdecompile_functiondump_bytesextend_function_bodyfix_vc6_call_terminatorsget_function_callsget_function_instructionsget_references_toget_structlist_functionslist_structs