Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
Token-efficient Ghidra RE: decompile, xrefs, Swift/ObjC, ELF/Mach-O, async analysis
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
GHIDRA_INSTALL_DIR你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 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/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"pyghidra-lite": {
"command": "uvx",
"args": [
"pyghidra-lite"
],
"env": {
"GHIDRA_INSTALL_DIR": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .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这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 johnzfitch 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 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
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Sourced, citable answers in radiation and particle physics, photonics, electronics and quantum.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
[][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.
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
sudo apt install openjdk-21-jdk
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...]
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
/plugin marketplace add johnzfitch/pyghidra-lite first, then /plugin install pyghidra-lite@pyghidra-lite./reload-plugins (or start a new session) to switch to it./config.[!WARNING]
If you also have a manual
pyghidra-liteentry in.mcp.jsonor~/.claude.json,
remove it — otherwise every tool appears twice.
pip install pyghidra-lite
yay -S python-pyghidra-lite
git clone https://github.com/johnzfitch/pyghidra-lite
cd pyghidra-lite pip install -e .
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" } } } }
Create .mcp.json in your project (or ~/.claude.json for global):
{
"mcpServers": { "pyghidra-lite": { "command": "pyghidra-lite" } } }
For single-session use or debugging, run the server directly:
{
"mcpServers": { "pyghidra-lite": { "command": "pyghidra-lite", "args": ["serve"] } } }
{
"mcpServers": { "pyghidra-lite": { "command": "pyghidra-lite", "args": [ "serve", "--ghidra-dir", "/path/to/ghidra" ] } } }
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" ] } } }
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.
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):
| Tool | Purpose | Key Parameters |
|---|---|---|
load | Import and analyze binary | path, profile?, fresh?, bootstrap?, bootstrap_mode? |
delete | Remove binary and cancel jobs | name |
binaries | List binaries + job status | jobs?, rank_sources? |
info | Binary overview | binary, detail? (summary/full/format/sections/entropy) |
functions | List/search functions, imports, exports | binary, query?, type? (all/swift/objc/imports/exports/types/got/dylibs), limit? |
code | Decompile, disassemble, p-code, bytes | binary, target, what? (decompile/asm/pcode/bytes/string), cfg? |
xrefs | References and call graphs | binary, target, direction?, depth?, diff? |
search | Find strings, bytes, symbols, data types | binary, query, type? (strings/symbols/bytes/all/blob/extract/types), mode?, bg? |
annotate 🔒 | Rename / comment / set prototype | binary, 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.
# Import and analyze
load("/path/to/binary", profile="fast")
load("/path/to/new.bin", profile="deep", bootstrap="old.bin", bootstrap_mode="all")
info("mybinary", detail="full")
functions("mybinary", type="swift")
code("mybinary", "main", cfg=True)
search("mybinary", ["password", "api_key"], bg=True)
xrefs("mybinary", "malloc", depth=2)
code("mybinary", "parse_header", what="pcode")
code("mybinary", "parse_header,param_2", what="pcode")
code("mybinary", "0x4011a0,64", what="bytes") # -> hex, ascii, file_offset, block
search("mybinary", "sockaddr", type="types")
All tools automatically detect:
Use the type and detail parameters to access format/language-specific features.
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.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,
只显示了开头部分;其余内容请在仓库中阅读