原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Pyghidra Lite

作者:johnzfitch版本 0.9.1i★ –i在你的电脑上运行
注册名称io.github.johnzfitch/pyghidra-lite

安装

概览

作者提供的说明(英文原文)

Token-efficient Ghidra RE: decompile, xrefs, Swift/ObjC, ELF/Mach-O, async analysis

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 其他

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: GHIDRA_INSTALL_DIR

你需要

  • PyPI已安装 Python 的 uv(用于 uvx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "pyghidra-lite": {
      "command": "uvx",
      "args": [
        "pyghidra-lite"
      ],
      "env": {
        "GHIDRA_INSTALL_DIR": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add pyghidra-lite --env GHIDRA_INSTALL_DIR=your-value -- uvx pyghidra-lite

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "pyghidra-lite": {
      "command": "uvx",
      "args": [
        "pyghidra-lite"
      ],
      "env": {
        "GHIDRA_INSTALL_DIR": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "pyghidra-lite": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "pyghidra-lite"
      ],
      "env": {
        "GHIDRA_INSTALL_DIR": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • GHIDRA_INSTALL_DIR env
    Path to Ghidra installation directory

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 johnzfitch 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“其他”中的其他服务器比较i

  • 星标数多于此分类中其他 18345 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 18345 个服务器的 62% 更新
  • 基础检查结果等于或优于此分类中其他 18345 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Pyghidra Lite 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.9.1)于28天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。

有什么可以替代它?

同一分类中有:Spec Driven Development, Remote Desktop Commander, ScienceShot science reference

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Spec Driven Development

作者:formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

在你的电脑上运行★ 440MIT14个月前更新
安装

Remote Desktop Commander

作者:desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

在云端运行★ 211前天更新
安装

ScienceShot science reference

作者:scienceshot.com

Sourced, citable answers in radiation and particle physics, photonics, electronics and quantum.

在云端运行今天更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

pyghidra-lite

[][pypi] [][pypi] [][pypi] [](LICENSE)

[][ci] [][registry] [][mcp] [](#claude-code-plugin) [][ghidra] [](#quick-start)

Token-efficient MCP server for Ghidra-based reverse engineering. Analyze ELF, Mach-O, and PE binaries with Swift, Objective-C, and Hermes support — decompile, disassemble, trace calls and value flow, recover data types, and map addresses back to file offsets. Runs on Linux, macOS, and Windows; ships as a Claude Code plugin with a bundled reverse-engineering skill.

Bottom line: a lean, security-first Ghidra MCP. It is read-only by default — analysis tools never mutate your binaries or the server's configuration (which is frozen for the life of the process). The one tool that writes, annotate (rename / comment / prototype), is opt-in (--allow-write) and human-confirmed: every change is approved by you through an MCP elicitation prompt before it's committed, and it fails closed if your client can't ask. You get an analyst-agent that can persist its findings — under supervision — without giving up the read-only safety story.

Quick Start

1. Prerequisites

A 64-bit JDK 21+ and Ghidra 11.x or 12.x are required (tested with Ghidra 12.1.2 and JDK 21).

# macOS

brew install openjdk@21 brew install ghidra

Ubuntu/Debian

sudo apt install openjdk-21-jdk

Download Ghidra from https://ghidra-sre.org

Arch Linux

sudo pacman -S jdk21-openjdk yay -S ghidra

Ghidra installed via Homebrew (brew install ghidra) or to /opt/ghidra or ~/ghidra is found automatically. Elsewhere — including any Windows install — point GHIDRA_INSTALL_DIR at the extracted ghidra_ _PUBLIC folder.

2. Install — pick one

Claude Code plugin (recommended for Claude Code) MCP server + reverse-engineering skill in one step; prompts for your Ghidra directory. Needs uv on PATH .

/plugin install pyghidra-lite --marketplace johnzfitch/pyghidra-lite

Any MCP client Install the package, then add it to your client (Claude Code: .mcp.json in your project or ~/.claude.json ; other clients: see MCP Configuration ).

pip install pyghidra-lite
{

"mcpServers": { "pyghidra-lite": { "command": "pyghidra-lite" } } }

3. Check the environment

pyghidra-lite doctor   # Ghidra, JDK, decompiler, project dir, locks; exits 1 on problems

[!TIP]

Plugin users without a shell install can run the same check with uvx pyghidra-lite doctor.

4. Use it

You: Analyze the binary at /path/to/binaries/app

Claude: [calls load, info, code...]

Installation

Claude Code plugin

Installs the MCP server (run with uvx, so uv must be on PATH) together with the pyghidra-lite:reverse-engineering workflow skill, and asks for your Ghidra directory, cache directory, optional path restriction and whether to allow annotate:

/plugin install pyghidra-lite --marketplace johnzfitch/pyghidra-lite
  • On Claude Code before 2.1.275, run /plugin marketplace add johnzfitch/pyghidra-lite first, then /plugin install pyghidra-lite@pyghidra-lite.
  • The plugin pins an exact package version and runs one server per session. After a plugin update, run /reload-plugins (or start a new session) to switch to it.
  • Change the settings later under /config.

[!WARNING]

If you also have a manual pyghidra-lite entry in .mcp.json or ~/.claude.json,

remove it — otherwise every tool appears twice.

PyPI (recommended)
pip install pyghidra-lite
Arch Linux (AUR)
yay -S python-pyghidra-lite
From source
git clone https://github.com/johnzfitch/pyghidra-lite

cd pyghidra-lite pip install -e .

MCP Configuration

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{

"mcpServers": { "pyghidra-lite": { "command": "uvx", "args": ["pyghidra-lite"] } } }

uvx auto-installs pyghidra-lite from PyPI on first run. Ghidra is auto-detected; set GHIDRA_INSTALL_DIR in env if needed:

{

"mcpServers": { "pyghidra-lite": { "command": "uvx", "args": ["pyghidra-lite"], "env": { "GHIDRA_INSTALL_DIR": "/path/to/ghidra" } } } }

Claude Code

Create .mcp.json in your project (or ~/.claude.json for global):

{

"mcpServers": { "pyghidra-lite": { "command": "pyghidra-lite" } } }

Direct mode (skip proxy)

For single-session use or debugging, run the server directly:

{

"mcpServers": { "pyghidra-lite": { "command": "pyghidra-lite", "args": ["serve"] } } }

With explicit Ghidra path
{

"mcpServers": { "pyghidra-lite": { "command": "pyghidra-lite", "args": [ "serve", "--ghidra-dir", "/path/to/ghidra" ] } } }

Restrict to specific paths

By default, pyghidra-lite can load binaries from any path (the MCP client handles permissions). Use --restrict-path to lock down access:

{

"mcpServers": { "pyghidra-lite": { "command": "pyghidra-lite", "args": [ "serve", "--restrict-path", "/home/user/binaries", "--restrict-path", "/opt/targets" ] } } }

Shared HTTP transport (network access)

The HTTP/SSE transports are shared and apply DNS-rebinding protection (Host/Origin validation). Binding to a non-loopback address additionally requires both --restrict-path and a bearer token:

pyghidra-lite serve -t streamable-http --host 0.0.0.0 \

--restrict-path /opt/targets \ --auth-token "$PYGHIDRA_LITE_AUTH_TOKEN" \ --allowed-host re.example.com:8000 # if fronted under another hostname

Clients then send Authorization: Bearer on every request. Terminate TLS at a reverse proxy for remote access.

Tools (9)

pyghidra-lite provides 8 read-only analysis tools plus 1 opt-in write tool, all auto-detecting format (ELF/Mach-O/PE) and language (Swift/ObjC/Hermes):

ToolPurposeKey Parameters
loadImport and analyze binarypath, profile?, fresh?, bootstrap?, bootstrap_mode?
deleteRemove binary and cancel jobsname
binariesList binaries + job statusjobs?, rank_sources?
infoBinary overviewbinary, detail? (summary/full/format/sections/entropy)
functionsList/search functions, imports, exportsbinary, query?, type? (all/swift/objc/imports/exports/types/got/dylibs), limit?
codeDecompile, disassemble, p-code, bytesbinary, target, what? (decompile/asm/pcode/bytes/string), cfg?
xrefsReferences and call graphsbinary, target, direction?, depth?, diff?
searchFind strings, bytes, symbols, data typesbinary, query, type? (strings/symbols/bytes/all/blob/extract/types), mode?, bg?
annotate 🔒Rename / comment / set prototypebinary, target, action, name?/comment?/prototype?

🔒 annotate is the only tool that writes. It is disabled unless the server is started with --allow-write, and every change requires interactive confirmation (MCP elicitation) before it is committed — clients that can't confirm get a preview only. See Writing back.

Examples
# Import and analyze

load("/path/to/binary", profile="fast")

Version-track from a prior build, including synthetic IDs for unnamed code

load("/path/to/new.bin", profile="deep", bootstrap="old.bin", bootstrap_mode="all")

Get overview with full triage

info("mybinary", detail="full")

List Swift functions

functions("mybinary", type="swift")

Decompile with CFG

code("mybinary", "main", cfg=True)

Search strings in background

search("mybinary", ["password", "api_key"], bg=True)

Get cross-references

xrefs("mybinary", "malloc", depth=2)

Value flow: SSA p-code, grouped by basic block; each value is defined once

code("mybinary", "parse_header", what="pcode")

...or just where one argument's value goes (forward slice; ~10x smaller on real code)

code("mybinary", "parse_header,param_2", what="pcode")

Raw bytes plus where they live in the file (for patching)

code("mybinary", "0x4011a0,64", what="bytes") # -> hex, ascii, file_offset, block

Recovered struct layouts / enums / typedefs

search("mybinary", "sockaddr", type="types")

Auto-Detection

All tools automatically detect:

  • Format: ELF, Mach-O, PE
  • Language: Swift, Objective-C, Hermes/React Native
  • Runtime: Bun, Node.js, Electron, PyInstaller

Use the type and detail parameters to access format/language-specific features.

Bootstrap Modes
  • bootstrap_mode="named": transfer only meaningful source names (default).
  • bootstrap_mode="all": also assign stable synthetic labels to source FUN_* functions during transfer, which is useful for large version-to-version bootstrap workflows where uniqueness matters more than semantics.

Writing back

By default pyghidra-lite is read-only — no tool mutates your binaries. To let an agent persist findings (rename a function, attach a comment, fix a prototype), start the server with --allow-write:

pyghidra-lite serve --allow-write          # or PYGHIDRA_LITE_ALLOW_WRITE=1

Then the annotate tool becomes usable:

annotate("mybinary", target="FUN_00401000", action="rename", name="parse_header")

annotate("mybinary", target="parse_header", action="comment", comment="validates the v2 header") annotate("mybinary", target="parse_header", action="prototype", prototype="int parse_header(char *buf, int len)")

Every call is human-confirmed: the server sends an MCP elicitation prompt showing the exact old -> new change, and only commits if you accept. If the server was started without --allow-write, the tool refuses; if your MCP client doesn't support elicitation,

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx