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 分