REA + Ghidra Toolkit

io.github.ethanhunt1981由 GitHub 帳號 ethanhunt1981 發布v1.0.0更新於 Oct 29, 2026

Evidence-oriented REA + Ghidra static-analysis workflows, read-only PE32 and Delphi VMT tools.

已驗證Streamable HTTP可網頁執行知識與記憶開發者工具

概覽

AI 產生的概覽

由 GitMCP 託管的遠端伺服器,讓助理抓取、檢索並引用 REA + Ghidra Toolkit 的文件與程式碼,用於獲授權的 PE32 靜態分析。

可以做什麼
  • 抓取該儲存庫的完整文件檔案,用於回答工具包的一般性問題
  • 在已抓取的文件中進行語意檢索,回答特定問題
  • 透過 GitHub 搜尋 API 檢索儲存庫程式碼並回傳相符的檔案
  • 抓取先前文件中提到的任意絕對 URL 內容,並遵守 robots.txt 規則
適用情境
當助理需要在不複製儲存庫的情況下回答 REA + Ghidra Toolkit 的工作流程、PE32/Delphi VMT 指引或 Ghidra 匯出輔助程式相關問題時適用。它只是文件與程式碼查詢工具,本身並不執行二進位分析。
執行需求
需要存取 gitmcp.io 上的遠端 streamable HTTP 端點;未宣告任何套件、API 金鑰、環境變數或標頭。需要能存取該端點及其抓取的 URL。
安裝前請注意
通用 URL 抓取工具會讀取任意絕對 URL 的內容,抓取到的頁面屬於第三方資料。該儲存庫涉及二進位靜態分析並強調需具備合法授權;伺服器本身只讀取文件與程式碼。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 REA + Ghidra Toolkit,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.ethanhunt1981%2Frea-ghidra-toolkit/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "rea-ghidra-toolkit": {
      "type": "http",
      "url": "https://gitmcp.io/ethanhunt1981/rea-ghidra-toolkit/mcp"
    }
  }
}

README

REA + Ghidra Toolkit

[REA + Ghidra Toolkit — evidence-first analysis banner]

[GitMCP docs] [Glama MCP connector] [License] [Python] [Ghidra] [REA]


A small, dependency-light toolkit for authorized static analysis of native binaries with REA and Ghidra. It is intentionally built as a reusable knowledge base for agents, not as a dumping ground for a specific target.

Think in two layers

  • This repository contains only generic methods, tools, and synthetic tests.
  • Every target-specific artifact, decompilation, or private result stays in the private analysis project.

When this applies

The toolkit is aimed at native, unmanaged PE32 binaries on Windows:

Not a fit for managed runtimes (.NET / Java), PE32+ 64-bit images (the quick parser is deliberately PE32-only), executing code as a debugging workflow, or any target without solid legal authorization.

Why this exists

You want to avoid rebuilding the same reverse-engineering workflow from scratch every time. This toolkit answers:

  • How do I start a PE / Delphi analysis in a traceable way?
  • How do I combine REA, Ghidra, and small local tools without treating inferences as facts?
  • How do I export and document results so a later session can continue?
  • Which mistakes should be avoided early instead of discovered late?

Repository layout

text
.├── docs/│   ├── workflow.md│   ├── rea-ghidra.md│   ├── delphi-pe32.md│   ├── evidence.md│   ├── troubleshooting.md│   └── gitmcp.md├── tools/│   ├── pe32.py│   ├── pe_inventory.py│   └── delphi_vmt.py├── ghidra/│   └── scripts/ExportDecompilation.java├── templates/│   ├── analysis-log.md│   └── handover.md├── tests/├── assets/├── AGENTS.md├── LICENSE└── llms.txt

What you get

AreaWhat is insideGood next read
🧭 docs/Evidence-oriented, reproducible workflows and validation rulesworkflow.md
🩺 tools/Read-only PE32 inventory and VMT helperstools/pe_inventory.py
🧰 ghidra/Headless export helperExportDecompilation.java
🫙 templates/Private analysis and handover templatestemplates/analysis-log.md
🧪 tests/Synthetic, dependency-light teststests/test_pe32.py

Quickstart

powershell
# From the repository rootpython -m tools.pe_inventory "C:\analysis\program.exe"python -m tools.pe_inventory "C:\analysis\program.exe" --imports --json
# Check a known VMT candidatepython -m tools.delphi_vmt "C:\analysis\program.exe" --vmt 0x00412340
# Heuristic search; always validate candidates in a disassemblerpython -m tools.delphi_vmt "C:\analysis\program.exe" --scan

Run the synthetic test suite:

powershell
python -m unittest discover -v

GitMCP

This repository is designed to be used with https://gitmcp.io/ethanhunt1981/rea-ghidra-toolkit.

It is also listed in the official MCP Registry as io.github.ethanhunt1981/rea-ghidra-toolkit (streamable HTTP via GitMCP; metadata in server.json).

OpenCode / typical agent setup:

jsonc
{  "$schema": "https://opencode.ai/config.json",  "mcp": {    "servers": {      "rea-ghidra-toolkit": {        "type": "remote",        "url": "https://gitmcp.io/ethanhunt1981/rea-ghidra-toolkit"      }    }  }}

OpenCode CLI command:

sh
opencode mcp add rea-ghidra-toolkit --global --url https://gitmcp.io/ethanhunt1981/rea-ghidra-toolkitopencode mcp list

[GitMCP]

Core rule

Observation, inference, and unknown are three different things. A plausible name, string, or VMT candidate is not yet a behavioral proof. The templates are here to keep that distinction visible across sessions.

License

This repository is licensed under the MIT License. The license covers the included methodology and tooling only. It does not cover original binaries, target-specific specifications, third-party protected material, or private analysis results.

來源:README.md,提交 125877d

工具

4

fetch_rea_ghidra_docs

Fetch entire documentation file from GitHub repository: ethanhunt1981/rea-ghidra-toolkit. Useful for general questions. Always call this tool first if asked about ethanhunt1981/rea-ghidra-toolkit.

無需輸入參數。

search_rea_ghidra_docs

Semantically search within the fetched documentation from GitHub repository: ethanhunt1981/rea-ghidra-toolkit. Useful for specific queries.

輸入參數query必填

search_rea_ghidra_code

Search for code within the GitHub repository: "ethanhunt1981/rea-ghidra-toolkit" using the GitHub Search API (exact match). Returns matching files for you to query further if relevant.

輸入參數pagequery必填

fetch_generic_url_content

Generic tool to fetch content from any absolute URL, respecting robots.txt rules. Use this to retrieve referenced urls (absolute urls) that were mentioned in previously fetched documentation.

輸入參數url必填

版本歷史

1
  1. v1.0.0最新Oct 29, 2026

評分

已滿足適用檢查項的 100%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分