GhidraMCP AI Rename

Security

基于Ghidra逆向Mcp的快速脚本,批量自动重命名函数、批量导出函数txt文件。分析完可以调用樱桃或者cursor更有逻辑地分析。.

Your AI app calls the GhidraMCP AI Rename MCP server, which does the security work and sends the result back to the chat.

About GhidraMCP AI Rename

GhidraMCP AI Rename is a community MCP server from guanyue91141, filed in our directory under security. 基于Ghidra逆向Mcp的快速脚本,批量自动重命名函数、批量导出函数txt文件。分析完可以调用樱桃或者cursor更有逻辑地分析。.

At a glance

Publisher
guanyue91141 (community)
Runs
See the README for setup
Written in
Python
License
GPL-3.0
GitHub stars
491

How to set up GhidraMCP AI Rename

  1. Follow the install steps in the GhidraMCP AI Rename README; it is written in Python, so have that toolchain ready.
  2. Check the GhidraMCP AI Rename README for keys or settings; the registry lists none that GhidraMCP AI Rename requires.
  3. Add GhidraMCP AI Rename to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the GhidraMCP AI Rename tools to confirm the connection.
  5. Run one read-only task with GhidraMCP AI Rename first, and keep your app asking before each tool call until the results look right.

GhidraMCP AI Rename compared with similar servers

  • Pyghidra by clearbluejar has fewer GitHub stars than GhidraMCP AI Rename (472 against 491); both are community servers, and both run locally.
  • AdStrike by capture0x has more GitHub stars than GhidraMCP AI Rename (506 against 491); both are community servers, and both run locally.
  • ARTEX CC by sresarehumantoo has fewer GitHub stars than GhidraMCP AI Rename (429 against 491); both are community servers, and both run locally.

Before you connect GhidraMCP AI Rename

  • Give GhidraMCP AI Rename its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each GhidraMCP AI Rename tool call until you trust what it does with them.
  • Treat text that GhidraMCP AI Rename fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for GhidraMCP AI Rename on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for GhidraMCP AI Rename

How marketing and sales teams put GhidraMCP AI Rename to work, by company size. Pick the size closest to yours and start GhidraMCP AI Rename on one use case.

Small business

  • A small business can use GhidraMCP AI Rename to check its domains, logins and site for common gaps before they cost a customer's trust.
  • Owners can ask GhidraMCP AI Rename whether a tool or vendor has known issues before connecting it to customer data.
  • GhidraMCP AI Rename runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Marketing ops can use GhidraMCP AI Rename to review what each connected app can access and remove keys nobody uses.
  • Security and web teams can connect GhidraMCP AI Rename to scan campaign sites and forms before launch, not after an incident.
  • Start GhidraMCP AI Rename on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprises can run GhidraMCP AI Rename in the security team's tooling, so marketing's agents and apps are reviewed like any other system.
  • Large orgs can use GhidraMCP AI Rename to keep evidence for audits, showing which agents reached which data and when.
  • GhidraMCP AI Rename is a community server, so have security review the code and pin a version before GhidraMCP AI Rename touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

GhidraMCP AI Rename README

From guanyue91141/GhidraMCP-AI-rename on GitHub, shared under its GPL-3.0 license. Images are left out; the original has them.

README.md

Ghidra逆向

9月20日更新说明

  • 新增了图形界面工具,提供更友好的用户交互体验
  • 支持通过GUI配置API密钥、模型参数和处理选项
  • 实现了任务进度可视化和实时日志显示
  • 添加了配置文件管理功能,可以保存和切换多套配置
  • 优化了批量处理逻辑,提高了重命名的稳定性和效率
UI工具使用说明

UI目录下提供了一个图形界面工具,可以更方便地配置和运行重命名任务。

打包方式

在UI目录下提供了PowerShell脚本 build.ps1用于打包GUI应用程序。该脚本会使用PyInstaller将Python代码打包成Windows可执行文件。

打包步骤:

  1. 确保已安装Python 3.10+和pip
  2. 在UI目录下运行以下命令安装依赖:
    pip install -r requirements.txt
    
  3. 运行打包脚本:
    .\build.ps1
    
  4. 打包完成后,可执行文件将位于 dist/Ghidra-AI-Rename-GUI/目录下
使用方法
  1. 运行打包好的 Ghidra-AI-Rename-GUI.exe文件
  2. 在API配置区域填写以下信息:
    • API密钥:硅基流动平台的API密钥(没有可以点击"去注册")
    • API网址:默认为 https://api.siliconflow.cn/
    • 模型名称:默认为 Qwen/Qwen2.5-72B-Instruct
  3. 在处理参数区域配置:
    • 关键词:要重命名的函数名模式,默认为 FUN_
    • 每批大小:每次处理的函数数量,默认为50
    • 处理延迟:每次处理后的延迟时间(毫秒),默认为1000
  4. 点击"刷新"按钮检查与Ghidra的连接状态
  5. 点击"开始重命名"按钮启动重命名任务
  6. 可随时点击"停止"按钮中断任务

基于GhidraMcp的快速逆向脚本(非GUI版本)

使用qwen7b的高速处理性,批量进行函数重命名。再导出文件便于ai解析。 逆向重写推荐cursor,记得给cursor配置MCP服务。

项目要求:python>3.10

在脚本目录下运行 pip install -r requirements.txt

Ghidra下载:https://github.com/NationalSecurityAgency/ghidra
JDK21+下载:https://www.oracle.com/java/technologies/javase/jdk21-archive-downloads.html
樱桃下载:https://www.cherry-ai.com/download
已知樱桃1.2.8-1.2.9的MCP服务器功能有bug,请下载1.2.10或更新的版本
Ghidra安装MCP插件:

https://github.com/user-attachments/assets/75f0c176-6da1-48dc-ad96-c182eb4648c3

使用说明

208行 SK-XXXXXX改为自己的硅基流动密钥,然后运行ai_先运行仅重命名.py 等待所有的FUN_xxxx函数重命名结束后,再运行ai_再运行文件保存.py 然后配置樱桃或者cursor的MCP进行分析即可。 MCP配置中用到的python路径填已经装了依赖的路径,另一个填bridge_mcp_ghidra.py 的路径。

樱桃配置

command填写python路径,并使用双反斜杠,args填写bridge_mcp_ghidra.py的路径.

VS code 的cline配置

command填写python路径,并使用双反斜杠,args填写bridge_mcp_ghidra.py的路径.

{
  "mcpServers": {
    "GhidraMCP": {
      "name": "GhidraMcp",
      "type": "stdio",
      "description": "",
      "isActive": true,
      "command": "C:\\Users\\Administrator\\AppData\\Local\\Programs\\Python\\Python313\\python.exe",
      "args": [
        "C:\\Users\\Administrator\\Documents\\GhidraMCP-AI-rename\\脚本\\bridge_mcp_ghidra.py"
      ],
      "disabled": false,
      "autoApprove": [
        "list_imports"
      ]
    }
  }
}

Cursor配置:

command填写python路径,并使用双反斜杠,args填写bridge_mcp_ghidra.py的路径.

{
  "mcpServers": {
    "GhidraMcp": {
      "name": "GhidraMcp",
      "type": "stdio",
      "description": "",
      "isActive": true,
      "command": "C:\\Users\\Administrator\\AppData\\Local\\Programs\\Python\\Python313\\python.exe",
      "args": [
        "C:\\Users\\Administrator\\Downloads\\Compressed\\ghidra_11.3.1_PUBLIC_20250219\\bridge_mcp_ghidra.py"
      ]
    }
  }
}

小工具

一键更换国内镜像源.exe

需要远程协助配置请发送邮件到:

666888@guanyue.fun

Questions about GhidraMCP AI Rename

What is the GhidraMCP AI Rename MCP server?

基于Ghidra逆向Mcp的快速脚本,批量自动重命名函数、批量导出函数txt文件。分析完可以调用樱桃或者cursor更有逻辑地分析。. GhidraMCP AI Rename is maintained by guanyue91141 on GitHub at guanyue91141/GhidraMCP-AI-rename, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the GhidraMCP AI Rename MCP server?

GhidraMCP AI Rename doesn't publish a one-line install in the MCP registry, so follow the setup steps in its README on GitHub (guanyue91141/GhidraMCP-AI-rename). Like most servers, GhidraMCP AI Rename ends with a command or URL you paste into your AI app's MCP config.

Does GhidraMCP AI Rename need an API key?

The registry lists no required keys for GhidraMCP AI Rename. Check the GhidraMCP AI Rename README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is GhidraMCP AI Rename an official MCP server?

No. GhidraMCP AI Rename is a community server maintained by guanyue91141. Community servers can be excellent; read the code and the open issues before you give GhidraMCP AI Rename access to company data.

What license is GhidraMCP AI Rename under?

GhidraMCP AI Rename is released under the GPL-3.0 license, according to its GitHub repository. The license covers the code of GhidraMCP AI Rename; the service it connects to has its own terms.