Ghidra Headless MCP Server

A headless Ghidra server that speaks MCP (Model Context Protocol), giving AI agents full access to deep reverse-engineering workflows: program lifecycle, disassembly, decompilation, patching, types…

Local serverstdio

What is the Ghidra Headless MCP Server?

Ghidra Headless is an MCP project maintained in the mrphrazer/ghidra-headless-mcp repository. The maintainer describes its purpose as “A headless Ghidra server that speaks MCP (Model Context Protocol), giving AI agents full access to deep reverse-engineering workflows: program lifecycle, disassembly, decompilation, patching, types…”. Read the project documentation for the complete scope.

Local setup

The project provides a local client configuration using python3. Follow the repository’s build and installation steps before copying it, and replace example paths with the paths on your own computer.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

How to install the Ghidra Headless MCP Server

{
  "mcpServers": {
    "ghidra_headless_mcp": {
      "command": "python3",
      "args": [
        "ghidra_headless_mcp.py",
        "--ghidra-install-dir",
        "/ABSOLUTE/PATH/TO/ghidra"
      ],
      "cwd": "/path/to/ghidra-headless-mcp"
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.