Ghidra MCP Zig Plugin MCP Server

A Ghidra plugin that provides a bridge between Ghidra and a Zig-based MCP server for enhanced program analysis capabilities.

Local serverstdioGo

What is the Ghidra MCP Zig Plugin MCP server?

Ghidra MCP Zig Plugin MCP server exists for a simple reason — assistants are far more useful when they can act on Ghidra MCP Zig Plugin directly instead of describing what you should do. A Ghidra plugin that provides a bridge between Ghidra and a Zig-based MCP server for enhanced program analysis capabilities.

What you get

  • JNI-based communication between Ghidra and Zig
  • Function decompilation and renaming
  • Data symbol management
  • Import/Export listing
  • MCP server integration
  • Comprehensive test suite

Setting it up

Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client.

What the assistant can call

Once Ghidra MCP Zig Plugin is connected, these are the calls the assistant has available:

  • decompile — Decompile a function
  • rename_function — Rename a function
  • rename_data — Rename a data object
  • list_functions — List all functions
  • list_data — List all data objects
  • list_imports — List all imports
  • list_exports — List all exports
  • Debugging — The Debugging tool exposed by this server

Configuration and credentials

You will need one environment variable: GHIDRA_PATH. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

  • Zig (version 0.13.0 or later) - Ghidra (version 11.3.1 or later) - Java Development Kit (JDK) 17 or later - Go (version 1.22.4 or later) - Gradle (version 8.13 or later) - Make

Before you rely on it

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the ghidra mcp zig plugin mcp server does with a few real requests.

Choosing this one

This sits in the knowledge and memory group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Ghidra MCP Zig Plugin's toolset — decompile, rename_function, rename_data and 5 more — is a fair guide to whether it matches your workflow. It is maintained by streamerd; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Ghidra MCP Zig Plugin's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Available tools

ToolWhat it does
decompileDecompile a function
rename_functionRename a function
rename_dataRename a data object
list_functionsList all functions
list_dataList all data objects
list_importsList all imports
list_exportsList all exports
DebuggingThe Debugging tool exposed by this server.

Configuration

  • Zig (version 0.13.0 or later) - Ghidra (version 11.3.1 or later) - Java Development Kit (JDK) 17 or later - Go (version 1.22.4 or later) - Gradle (version 8.13 or later) - Make
VariableDescriptionRequired
GHIDRA_PATHFilesystem location the server is allowed to use.Optional

Example prompts to try

  • Use Ghidra MCP Zig Plugin to decompile.
  • Use Ghidra MCP Zig Plugin to rename function.
  • Use Ghidra MCP Zig Plugin to rename data.

Frequently asked questions

Zig 0.13.0+, Ghidra 11.3.1+, JDK 17+, Go 1.22.4+, Gradle 8.13+, and Make.