登录 注册
AI 应用与 AI Agent
11,903
Stars
1,307
Forks
80
Watchers
96
Open Issues
Apache-2.0
许可证
Java
语言
2025-03-23
创建时间
2026-10-10
最近更新

项目能做什么

面向逆向分析工具 Ghidra 的 MCP Server 实现。
来源:AI 基于仓库事实生成 · 内容以仓库实际 README 为准

使用说明 查看原始 README 原仓库文档

中文使用说明暂未生成。下面保留原仓库 README 摘录,命令与配置均以原文为准。
原始 README 摘录(英文原文,节选前 3000 字符)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://www.apache.org/licenses/LICENSE-2.0)
[![GitHub release (latest by date)](https://img.shields.io/github/v/release/LaurieWired/GhidraMCP)](https://github.com/LaurieWired/GhidraMCP/releases)
[![GitHub stars](https://img.shields.io/github/stars/LaurieWired/GhidraMCP)](https://github.com/LaurieWired/GhidraMCP/stargazers)
[![GitHub forks](https://img.shields.io/github/forks/LaurieWired/GhidraMCP)](https://github.com/LaurieWired/GhidraMCP/network/members)
[![GitHub contributors](https://img.shields.io/github/contributors/LaurieWired/GhidraMCP)](https://github.com/LaurieWired/GhidraMCP/graphs/contributors)
[![Follow @lauriewired](https://img.shields.io/twitter/follow/lauriewired?style=social)](https://twitter.com/lauriewired)

![ghidra_MCP_logo](https://github.com/user-attachments/assets/4986d702-be3f-4697-acce-aea55cd79ad3)


# 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
ghidra-user-jp/mecha_ghidra 中文介绍暂未生成
GhidraMCP for headless
68 Python
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,903 / Fork 1,307 / Issue 96(数据支持,可自行核实)
许可证Apache-2.0
主要风险上游项目方向可能变化;同赛道竞争者较多(见竞品表);热度与需求不完全等价

安装与使用

快速开始(以仓库 README 为准)
git clone https://github.com/LaurieWired/GhidraMCP.git
cd GhidraMCP
# 请阅读仓库 README 获取确切安装步骤(依赖、配置、启动命令)
阅读原仓库文档
术语说明:Docker=应用容器(把程序和依赖打包运行);API Key=调用外部服务的密钥;Git Clone=把仓库代码下载到本地。常见错误:API Key 未配置 / 端口占用 / 数据库连接失败,多数项目在 README 的 Troubleshooting 章节有说明。