Feedback

Ghidra MCP Zig Plugin

@streamerd Claim

Basic information

Runtime
zig
Category
License
MIT
Transports
stdio
Author
streamerd
Submitted by
Community
Quality
40
Stars
7

About Ghidra MCP Zig Plugin Server

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

Ghidra MCP Zig Plugin is a MCP server in the Developer Tools category listed in the AddMCP.net directory, published by streamerd. Supported transport: stdio. Runtime: zig. License: MIT. The repository has 7 GitHub stars. Source code is hosted on github.com. Related topics: ghidra, plugin, program-analysis, zig.

Ghidra MCP Zig Plugin config

No standard config provided

This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.

Repository

Ghidra MCP Zig Plugin tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is Ghidra MCP Zig Plugin?

A Ghidra plugin that provides a bridge between Ghidra and a Zig‑based MCP (Model Context Protocol) server for enhanced program analysis capabilities such as function decompilation, renaming, and symbol management. It is aimed at reverse engineers and analysts who want to extend Ghidra’s functionality via an MCP interface.

How to use Ghidra MCP Zig Plugin?

Build the plugin with make build-plugin, copy the resulting library to your Ghidra plugins directory, and restart Ghidra. Then start the MCP server with make run-server and use plugin features through Ghidra’s interface (e.g., commands like decompile, rename_function, list_functions).

Key features of Ghidra MCP Zig Plugin

  • JNI‑based communication between Ghidra and Zig
  • Function decompilation and renaming
  • Data symbol management
  • Import/Export listing
  • MCP server integration
  • Comprehensive test suite with Make targets
  • Type‑safe JNI bridge implementation
  • Go client library for easy integration

Use cases of Ghidra MCP Zig Plugin

  • Decompile functions at a given address
  • Rename functions or data objects
  • List all functions, data, imports, or exports
  • Automate analysis workflows via MCP commands
  • Integrate Ghidra analysis into external tools using the Go client

Frequently asked questions

1 What are the prerequisites?

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

2 How do I install the plugin?

Build the plugin with make build-plugin, then copy zig-out/lib/libghidra-mcp-zig.dylib to your Ghidra plugins directory and restart Ghidra.

3 What MCP commands are available?

decompile, rename_function, rename_data, list_functions, list_data, list_imports, and list_exports.

4 How does error handling work?

The plugin defines specific error types (e.g., ConnectionError, InvalidAddress, DecompilationFailed, JNIError) and includes proper cleanup and null‑checking in the JNI bridge.

5 What is the JNI bridge implementation?

It is a type‑safe interface between Zig and Java that handles memory management, JNI reference lifecycle, type conversion, and error handling with compile‑time checks.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬