Updated April 2026

Install GhidraMCP

Pick your client, copy the command, done.

Local setup required. This server has to be cloned and prepared on your machine before you register it in Claude Code.
1

Set the server up locally

Run this once to clone and prepare the server before adding it to Claude Code.

Run in terminal
git clone https://github.com/albertlab0/GhidraMCP
cd GhidraMCP

Then follow the repository README for any remaining dependency or build steps before continuing.

2

Register it in Claude Code

After the local setup is done, run this command to point Claude Code at the built server.

Run in terminal
claude mcp add ghidra-mcp-31fa -- python "<FULL_PATH_TO_GHIDRAMCP>/dist/index.js" --ghidra-server http://127.0.0.1:8080/

Replace <FULL_PATH_TO_GHIDRAMCP>/dist/index.js with the actual folder you prepared in step 1.

Available Tools (3)

Once configured, GhidraMCP gives your AI agent access to:

decompile_binaryDecompile and analyze binaries within the Ghidra environment.
binary_path
rename_symbolsAutomatically rename methods and data structures.
old_namenew_name
list_structuresList methods, classes, imports, and exports from the binary.
structure_type

Try It Out

After setup, try these prompts with your AI agent:

List all the imported functions in the currently loaded binary.
Decompile the main function and explain what it does.
Rename the function at address 0x401000 to 'initialize_network_socket'.
Find all classes defined in the binary and list their methods.
Prerequisites & system requirements
  • An MCP-compatible client (Claude Code, Cursor, Windsurf, Claude Desktop, or Codex)
  • Python 3.8+ with pip installed
Alternative installation methods

Claude Desktop

Add to claude_desktop_config.json

Cline

python bridge_mcp_ghidra.py --transport sse --mcp-host 127.0.0.1 --mcp-port 8081 --ghidra-server http://127.0.0.1:8080/

Keep this setup from going cold

Save the docs, env vars, and workflow around GhidraMCP in Conare so Claude Code, Codex, and Cursor remember it next time.

Need the legacy visual installer? Open Conare IDE.
Remember this setup