MCP.so
登录

Ghidra MCP Zig Plugin

@streamerd

基本信息

分类

开发工具

许可证

MIT

传输方式

stdio

作者

streamerd

关于 Ghidra MCP Zig Plugin

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

#ghidra#plugin#zig#program-analysis

Ghidra MCP Zig Plugin 配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

Ghidra MCP Zig Plugin 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

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

常见问题

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.

评论

开发工具 分类下的更多 MCP 服务器