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.

コメント

「開発者ツール」の他のコンテンツ