GhidraMCP
11,906
Stars
1,310
Forks
80
Watchers
95
Open Issues
Apache-2.0
许可证
Java
语言
2025-03-23
创建时间
2026-10-10
最近更新
项目能做什么
面向逆向分析工具 Ghidra 的 MCP Server 实现。
来源:AI 基于仓库事实生成
· 内容以仓库实际 README 为准
使用说明 查看原始 README 原仓库文档
中文使用说明暂未生成。下面保留原仓库 README 摘录,命令与配置均以原文为准。
原始 README 摘录(英文原文,节选前 3000 字符)
[](https://www.apache.org/licenses/LICENSE-2.0)
[](https://github.com/LaurieWired/GhidraMCP/releases)
[](https://github.com/LaurieWired/GhidraMCP/stargazers)
[](https://github.com/LaurieWired/GhidraMCP/network/members)
[](https://github.com/LaurieWired/GhidraMCP/graphs/contributors)
[](https://twitter.com/lauriewired)

# ghidraMCP
ghidraMCP is an Model Context Protocol server for allowing LLMs to autonomously reverse engineer applications. It exposes numerous tools from core Ghidra functionality to MCP clients.
https://github.com/user-attachments/assets/36080514-f227-44bd-af84-78e29ee1d7f9
# Features
MCP Server + Ghidra Plugin
- Decompile and analyze binaries in Ghidra
- Automatically rename methods and data
- List methods, classes, imports, and exports
# Installation
## Prerequisites
- Install [Ghidra](https://ghidra-sre.org) 12.1.4
- Install [uv](https://docs.astral.sh/uv/) (or Python 3.10+ with `pip install git+https://github.com/LaurieWired/GhidraMCP`, then use `ghidra-mcp` as the command below)
## Ghidra
First, download the latest [release](https://github.com/LaurieWired/GhidraMCP/releases) from this repository. This contains the Ghidra plugin and Python MCP client. Then, you can directly import the plugin into Ghidra.
1. Run Ghidra
2. Select `File` -> `Install Extensions`
3. Click the `+` button
4. Select the `ghidra_12.1.4_PUBLIC_<date>_GhidraMCP.zip` from the downloaded release
5. Restart Ghidra
6. Make sure the GhidraMCPPlugin is enabled in `File` -> `Configure` -> `Developer`
7. *Optional*: Configure the port in Ghidra with `Edit` -> `Tool Options` -> `GhidraMCP HTTP Server`
Video Installation Guide:
https://github.com/user-attachments/assets/75f0c176-6da1-48dc-ad96-c182eb4648c3
## MCP Clients
Theoretically, any MCP client should work with ghidraMCP. Most clients accept a JSON config like the following:
```json
{
"mcpServers": {
"ghidra": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/LaurieWired/GhidraMCP",
"ghidra-mcp",
"--ghidra-server",
"http://127.0.0.1:8080/"
]
}
}
}
```
The server IP and port are configurable and should be set to point to the target Ghidra instance. If not set, both will default to localhost:8080.
For clients that connect to a URL instead of launching a command, first run the MCP server yourself:
```
uvx --from git+https://github
阅读完整原文
项目深度分析 AI 生成
企业私有化部署的自动化二进制审计与恶意软件分析平台
| 产品构想 | 基于 Headless GhidraMCP 构建开箱即用的私有化 Agent 平台,支持对接本地大模型(如 DeepSeek/Qwen),提供样本批量上传、自动化反编译分析、危险行为提取与规范化检测报告导出。 |
| 核心功能 | Ghidra Headless 任务队列调度、本地开源 LLM 逆向专用 Prompt/Agent 编排、恶意行为链推断、PDF/JSON 格式审计报告生成、局域网私有化部署支持。 |
| 目标用户 | 政企安全团队、金融机构威胁情报中心、军工及关基单位安全实验室。 |
| 难度/周期 | 中等偏高 · 2 - 3 个月 · 成本:本地 GPU 算力测试设备(约 1.5 - 3 万元)、开发调试与容器打包维护。 |
| 收费模式 | 企业买断授权费(按节点/实例收费)或私有化部署实施与年度维保订阅服务费。 |
| 竞争风险 | 企业客户采购周期较长;本地小模型在复杂二进制反编译代码理解上的准确率可能不及前沿云端模型(如 Claude 3.7 Sonnet)。 |
| 依据 | 数据支持的判断 |
专业级逆向工程 AI Copilot 客户端/增强插件
| 产品构想 | 在开源 GhidraMCP 基础协议之上,开发面向个人研究员的深度交互套件,提供一键语义还原函数名、变量类型自动推断、代码逻辑图解及漏洞模式快速标注等高级工作流工具。 |
| 核心功能 | 交互式 Ghidra GUI 侧边栏/浮窗助手、多函数跨上下文联动推断、结构体自动重构、常见 CVE/反调试机制智能检测、多 LLM 供应商快速切换。 |
| 目标用户 | 独立安全研究员、红队渗透测试人员、二进制安全咨询顾问、CTF 高阶选手。 |
| 难度/周期 | 中等 · 1 - 2 个月 · 成本:开发机器 + 商业 LLM API 测试费用(每月数百元)。 |
| 收费模式 | 个人 Pro 许可订阅制(每月 $15 - $30)或终身买断许可证(含 1 年更新)。 |
| 竞争风险 | 开源社区容易快速复刻类似前端插件;用户群体偏极客,对纯客户端付费意愿分化明显。 |
| 依据 | 尚需验证的假设 |
自动化固件与闭源依赖供应链安全合规云检测 API
| 产品构想 | 提供云端二进制安全检测微服务,允许开发者或安全厂商上传固件镜像或编译产物,后台利用无头 Ghidra + MCP 代理自动扫描硬编码凭据、危险 API 调用及已知漏洞特征。 |
| 核心功能 | 固件/动态库自动解包、API 批量调用接口、关键敏感函数与调用链反编译提取、合规性风险评分与修复建议生成。 |
| 目标用户 | IoT 智能硬件厂商、AppSec 团队、汽车软件安全合规团队。 |
| 难度/周期 | 高 · 3 - 4 个月 · 成本:高内存/高 CPU 云服务器集群成本(处理大型二进制文件消耗算力)、API 接口研发与网络带宽费用。 |
| 收费模式 | API 配额按调用量计费(Pay-as-you-go)或企业 SaaS 席位/资产包月套餐。 |
| 竞争风险 | 存在用户对上传闭源二进制文件的知识产权泄漏担忧;大规模二进制反编译耗费内存与 CPU 资源较高,单位请求成本难以压降。 |
| 依据 | AI推测 |
AI 基于仓库公开数据分析生成,含推测成分,不构成收益承诺。
报告会保存到 个人中心
竞品与相似项目 GitHub Search 真实检索
| 项目 | 中文简介 | Stars | 语言 |
|---|---|---|---|
| guanyue91141/GhidraMCP-AI-rename | 中文介绍暂未生成 基于Ghidra逆向Mcp的快速脚本,批量自动重命名函数、批量导出函数txt文件。分析完可以调用樱桃或者cursor更有 |
490 | Python |
| 13bm/GhidraMCP | 中文介绍暂未生成 Active Socket based MCP Server for Ghidra |
150 | Java |
| themixednuts/GhidraMCP | 中文介绍暂未生成 | 93 | Java |
| DaCodeChick/GhidraMCP | 中文介绍暂未生成 Independent fork of LaurieWired's GhidraMCP for continued de |
27 | Java |
| konekotech/ghidramcp-vscode | 中文介绍暂未生成 | 8 | TypeScript |
以上为通过 GitHub 官方 Search API 检索的相似项目,功能差异与优劣势需进一步人工确认,配置 AI 后可生成对比分析。
项目优势与风险
| 技术成熟度 | 创建于 2025-03-23,近 30 天仍在推送,发布过 6 个 Release |
| 社区活跃 | Star 11,906 / Fork 1,310 / Issue 95(数据支持,可自行核实) |
| 许可证 | Apache-2.0 |
| 主要风险 | 上游项目方向可能变化;同赛道竞争者较多(见竞品表);热度与需求不完全等价 |
安装与使用
此项目未提供 Docker 镜像,安装步骤以原仓库 README 为准(涉及依赖安装与环境配置,对新手门槛较高)。