原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。使用 Google 登录即可撰写评价。原型 · 每 30 分钟更新
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

GhostFree

作者:shane-js版本 0.2.0i★ 1i在你的电脑上运行
注册名称io.github.shane-js/ghostfree

安装方法

What it does

MCP server that scans your repo's dependencies for security vulnerabilities based on published CVEs.

  • Connects 在你的电脑上运行
  • Account or key Needs NVD_API_KEY
  • Category 网络安全

安装

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

通过 2/3 项检查 · 在你的电脑上运行

第一步:你用哪个 AI?

选择你用的应用,步骤会显示在下方。

可连接 Claude,但需要先准备

需要 GhostFree 的密钥(在开发者网站创建) · 需要先在电脑上安装 Node.js(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用

  1. 安装 Node.js

    只需一次,所有需要 Node.js 的服务器都能用

    打开 Node.js 下载页 ↗

  2. 注册并创建 GhostFree 的密钥

    打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。

    打开 GhostFree 网站 ↗

  3. 打开电脑版 Claude 应用的设置文件

    SettingsDeveloperEdit Config

  4. 粘贴这些设置并保存文件

    正在检查命令 · 通过后才会显示复制按钮

    只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人

  5. 退出 Claude 再重新打开

  6. 试一试

    用 GhostFree 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude 说正在使用 GhostFree,或回答中出现 GhostFree 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

ChatGPT 暂时无法连接 GhostFree

GhostFree 需要安装在你的电脑上,而 ChatGPT 只能连接在网上运行的服务器

你可以改用这些方式

A · 使用能连接 GhostFree 的应用

  • 需要 GhostFree 的密钥(在开发者网站创建) · 需要先在电脑上安装 Node.js(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
  • 需要 GhostFree 的密钥(在开发者网站创建) · 需要先在电脑上安装 Node.js(只需一次)
  • 需要 GhostFree 的密钥(在开发者网站创建) · 需要先在电脑上安装 Node.js(只需一次) · 没有一键按钮,需要粘贴设置并自行填写
  • 需要 GhostFree 的密钥(在开发者网站创建) · 需要先在电脑上安装 Node.js(只需一次) · 没有一键按钮,需要粘贴设置并自行填写

B · 网络安全 类中能连接 ChatGPT 的其他服务器

从同类中使用较多的里挑选,仅限用地址即可连接、无需密钥的

可连接 Claude Code,但需要先准备

需要 GhostFree 的密钥(在开发者网站创建) · 需要先在电脑上安装 Node.js(只需一次)

  1. 安装 Node.js

    只需一次,所有需要 Node.js 的服务器都能用

    打开 Node.js 下载页 ↗

  2. 注册并创建 GhostFree 的密钥

    打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。

    打开 GhostFree 网站 ↗

  3. 打开终端

    Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell

  4. 粘贴这条命令并按 Enter

    正在检查命令 · 通过后才会显示复制按钮

    按 Enter 前,把“your-value”改成你的密钥

    只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人

  5. 在 Claude Code 中输入 /mcp

    应能看到 GhostFree 在列表中并显示已连接

  6. 试一试

    用 GhostFree 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude Code 说正在使用 GhostFree,或回答中出现 GhostFree 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

可连接 Cursor,但需要先准备

需要 GhostFree 的密钥(在开发者网站创建) · 需要先在电脑上安装 Node.js(只需一次) · 没有一键按钮,需要粘贴设置并自行填写

  1. 安装 Node.js

    只需一次,所有需要 Node.js 的服务器都能用

    打开 Node.js 下载页 ↗

  2. 注册并创建 GhostFree 的密钥

    打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。

    打开 GhostFree 网站 ↗

  3. 打开 Cursor 的 MCP 设置文件

    ~/.cursor/mcp.json

    粘贴这些设置,填写空着的值并保存

    正在检查命令 · 通过后才会显示复制按钮

  4. 填写你的密钥

    在 GhostFree 的设置中,GHOSTFREE_DIR, GHOSTFREE_MIN_SEVERITY, NVD_API_KEY 还是空的,填入你的密钥并保存

    只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人

  5. 在 Cursor 中以 Agent 模式打开 AI 聊天

  6. 试一试

    用 GhostFree 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Cursor 说正在使用 GhostFree,或回答中出现 GhostFree 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同

可连接 VS Code,但需要先准备

需要 GhostFree 的密钥(在开发者网站创建) · 需要先在电脑上安装 Node.js(只需一次) · 没有一键按钮,需要粘贴设置并自行填写

  1. 安装 Node.js

    只需一次,所有需要 Node.js 的服务器都能用

    打开 Node.js 下载页 ↗

  2. 注册并创建 GhostFree 的密钥

    打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。

    打开 GhostFree 网站 ↗

  3. 打开 VS Code 的 MCP 设置文件

    MCP: Open User Configuration

    粘贴这些设置,填写空着的值并保存

    正在检查命令 · 通过后才会显示复制按钮

  4. 填写你的密钥

    在 GhostFree 的设置中,GHOSTFREE_DIR, GHOSTFREE_MIN_SEVERITY, NVD_API_KEY 还是空的,填入你的密钥并保存

    只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人

  5. 在 VS Code 中以 Agent 模式打开 AI 聊天

  6. 试一试

    用 GhostFree 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 VS Code 说正在使用 GhostFree,或回答中出现 GhostFree 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同

其他支持 MCP 的应用(如 Windsurf、Zed、Gemini CLI)添加方式各不相同,请在应用列表中查看

查看所有支持 MCP 的应用 →

JSON 设置在下方“开发者专用”中

卡住了?问问正在用 GhostFree 的人💬 讨论 →
开发者专用:终端命令和 JSON 设置

安装在电脑上

Claude Code

正在检查命令 · 通过后才会显示复制按钮

Claude Desktop (claude_desktop_config.json)

正在检查命令 · 通过后才会显示复制按钮

Cursor (~/.cursor/mcp.json)

正在检查命令 · 通过后才会显示复制按钮

VS Code (mcp.json)

正在检查命令 · 通过后才会显示复制按钮

需要你填写的值

  • GHOSTFREE_DIR env
    Override the directory where GhostFree stores its data files (accepted-risks.yml, config.yml). Defaults to .ghostfree/ in the scanned repository root.
  • GHOSTFREE_MIN_SEVERITY env
    Minimum CVE severity level to surface. One of: CRITICAL, HIGH, MEDIUM (default), LOW.
  • NVD_API_KEY 机密 env
    Optional NVD API key for higher rate limits when enriching CVE details. Free to request at https://nvd.nist.gov/developers/request-an-api-key.

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

一览

每周下载量i
43/周
连接方式
在你的电脑上运行
最新版本i
0.2.0
发布到注册中心i
2026年4月7日
代码最后更新i
2026年4月7日
作者
shane-js
软件包
npm: ghostfree
注册状态
活跃

哪些应用可以使用它

依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。

在你的电脑上运行,适用于

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

全部应用及其优缺点 →

它能做什么

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

基础检查i

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

  • ✓ 通过

    作者与仓库一致

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

  • ! 注意

    仍在维护

    代码最后更新于7个月前,已超过 6 个月

  • ✓ 通过

    有许可证

    使用 MIT

  • – 不适用

    端点有响应

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

  • – 不适用

    使用 OAuth 登录

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

  • … 尚未检查

    工具描述中没有隐藏指令

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

讨论

提问、分享技巧或报告无法使用。按“有帮助”数量排序。

还没有帖子,欢迎第一个提问或分享。

此处内容由用户撰写,不代表 PopNx 团队。

使用 Google 登录后发帖

用户评价

还没有评价

用 Google 登录后写评价

与“网络安全”中的其他服务器比较i

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

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

常见问题

GhostFree 安全吗?

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

它需要哪些密钥或代码?

你需要填写:NVD_API_KEY

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

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

它还在维护吗?

GitHub 仓库最后更新于7个月前,最新版本(0.2.0)于7个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:Robin: AI-Powered Dark Web OSINT, HOL Guard, SonarQube MCP Server

同类别的其他选择

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

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

Robin: AI-Powered Dark Web OSINT

Dark web OSINT over Tor: search onion engines, scrape pages, report with your own model.

作者:apurvsinghgautam正在增长★ 797842天前更新

在你的电脑上运行

HOL Guard

Local-first AI agent security evidence and approval workflows through HOL Guard's stdio MCP server.

作者:hashgraph-online广泛使用↓ 7083/周★ 10999天前更新

在你的电脑上运行

SonarQube MCP Server

Analyze code quality and security with SonarQube Server or Cloud directly in AI assistants.

作者:SonarSource正在增长★ 6863天前更新

在你的电脑上运行

作者的 README

打开 README

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

What is GhostFree 🚫👻?

Every software team could use some help ridding their code base of the ghosts haunting their dependencies.

GhostFree is a local MCP server that scans your repository's dependencies for known vulnerabilities based on issued CVEs using OSV.dev, helps you triage and fix findings with NVD and CISA KEV enrichment, and lets you manage accepted risks — all directly from your AI coding assistant.

Quick Start

No installation, signup, or payment required. Add GhostFree to your MCP settings for whatever code tool you use and run /ghostfree.scan.

VS Code Copilot (Extension — easiest)

Search @mcp ghostfree in the Extensions view (Ctrl+Shift+X) and click Install. Then open the Command Palette (Ctrl+Shift+P), run MCP: List Servers, select GhostFree, choose Start Server, and confirm trust when prompted. No JSON config needed.

VS Code Copilot (Manual config)

Create or update .vscode/mcp.json in your project root:

{

"servers": { "ghostfree": { "type": "stdio", "command": "npx", "args": ["-y", "ghostfree", "--repo-path", "${workspaceFolder}"], "env": {} } } }

Claude Code

Create .mcp.json in your project root:

{

"mcpServers": { "ghostfree": { "type": "stdio", "command": "npx", "args": ["-y", "ghostfree", "--repo-path", "."] } } }

Cursor

Create .cursor/mcp.json:

{

"mcpServers": { "ghostfree": { "command": "npx", "args": ["-y", "ghostfree", "--repo-path", "."] } } }

Claude Desktop

Add to your claude_desktop_config.json (location varies by OS):

{

"mcpServers": { "ghostfree": { "command": "npx", "args": ["-y", "ghostfree", "--repo-path", "/path/to/your/repo"] } } }


How to Use

The /ghostfree.scan Prompt

The recommended way to run a scan is via the built-in prompt. In your AI client, type:

/ghostfree.scan

This drives the following flow:

  1. Discover — finds all manifest files (requirements.txt, package.json, go.mod, Cargo.toml, pom.xml, *.csproj, etc.)
  2. Threshold — asks you for a minimum severity level (CRITICAL / HIGH / MEDIUM / LOW) if not already configured
  3. Scan — queries OSV.dev for CVEs across all discovered packages
  4. Triage — presents numbered results, 10 at a time. You pick which ones to investigate.
  5. Enrich — fetches CVSS vectors, CWE classification, and CISA KEV "actively exploited" status for your selections
  6. Remediate — recommends upgrades, code changes, or risk acceptance with a reason and expiry date
Example Session
User: /ghostfree.scan

GhostFree: Discovering dependencies... Found 84 packages across 2 ecosystems (npm, PyPI).

What minimum severity should I surface? (CRITICAL / HIGH / MEDIUM / LOW)

User: HIGH

GhostFree: Scanning against OSV.dev...

[1] CVE-2021-44228 CRITICAL (10.0) — org.apache.logging.log4j:log4j-core@2.14.1 Log4Shell: Remote code execution via JNDI lookup Fix: upgrade to 2.17.1

[2] CVE-2022-25881 HIGH (7.5) — http-cache-semantics@4.1.0 ReDoS in http-cache-semantics Fix: upgrade to 4.1.1

[3] CVE-2021-28918 CRITICAL (9.8) — netmask@1.0.6 IP address parsing bypass (SSRF / allowlist bypass) Fix: upgrade to 1.1.0

Showing 1-3 of 3. Which would you like to investigate? (e.g., 1, 2, or 'all')

User: 3

GhostFree: [Calls enrich_cve CVE-2021-28918]

CVE-2021-28918 — netmask CRITICAL (9.8) CVSS: 9.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N CWE: CWE-704 (Incorrect Type Conversion) CISA KEV: Not listed

What it is: netmask@1.0.6 improperly parses octal-notation IP addresses (e.g. 010.0.0.1), treating them as decimal. This enables SSRF protection bypass and IP allowlist/blocklist bypass — an attacker can craft an address that appears private but routes to a public host.

Exploit status: Not in CISA KEV. Public PoC exists (SICK-2021-011), ~280k affected projects.

Codebase exposure: netmask is not directly imported — it appears in package-lock.json as a transitive dependency of pac-resolver@3.0.0 (a transitive dev dependency). No direct require('netmask') or IP parsing logic found. Reachability is very low.

Recommendation: Upgrade — low effort, patch version (1.0.6 → 1.1.0), no API changes. netmask is a transitive dependency; use npm audit fix or add a package.json overrides entry to force netmask@1.1.0.

→ Reply with a number to investigate another CVE, 'back' to return to the list, 'fix' to apply the recommended fix, 'accept' to record an accepted risk, or 'done' to wrap up.

Example: Accepting a Known Risk
User: Accept CVE-2022-25881 — it's only in our CI test pipeline, not reachable in production. Expiry end of year.

GhostFree: [Calls accept_risk CVE-2022-25881]

Accepted risk recorded: • CVE-2022-25881 — http-cache-semantics (HIGH, CVSS 7.5) Reason: Only used in CI test pipeline, not reachable in production Expires: 2026-12-31 ID: 550e8400-e29b-41d4-a716-446655440000

This acceptance is saved to .ghostfree/accepted.yml. Commit this file to share the decision with your team. The CVE will be suppressed on future scans until expiry.

User: List all accepted risks

GhostFree: [Calls list_accepted_risks]

Accepted Risks (1)

CVE-2022-25881 — ✅ expires in 272 days (2026-12-31) | Severity at acceptance: HIGH (7.5) ID: 550e8400-e29b-41d4-a716-446655440000 Reason: Only used in CI test pipeline, not reachable in production Accepted: 2026-04-03T10:00:00.000Z

Example: Enriching a Specific CVE
User: Tell me everything about CVE-2021-44228

GhostFree: [Calls enrich_cve CVE-2021-44228]

Enrichment: CVE-2021-44228

NVD

CVSS Score: 10.0 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H CWE: CWE-917 (Improper Neutralization of Special Elements in an Expression Language Statement)

References: • https://nvd.nist.gov/vuln/detail/CVE-2021-44228 • https://logging.apache.org/log4j/2.x/security.html

CISA KEV

⚠️ CONFIRMED actively exploited in the wild (added to KEV: 2021-12-10)


Tools Reference

ToolRead-onlyDescription
discover_dependencies✅Scan repo manifests, return all pinned packages by ecosystem
check_cves✅Query OSV.dev for CVEs, filter by severity, apply accepted risks
enrich_cve✅Fetch CVSS, CWE, references from NVD + KEV exploitation status
list_accepted_risks✅List all accepted risks with expiry status and severity snapshot
accept_risk❌Record an accepted risk with reason, expiry date, and severity snapshot
remove_accepted_risk❌Remove an accepted risk by UUID

All read-only tools are safe to auto-approve in your MCP client. Write tools (accept_risk, remove_accepted_risk) will prompt for confirmation.

check_cves Inputs
ParameterRequiredDescription
packagesYesArray of {name, version, ecosystem} — use discover_dependencies output
min_severityNoCRITICAL, HIGH, MEDIUM, or LOW. If not passed in, resolves in order of: GHOSTFREE_MIN_SEVERITY env var, then .ghostfree/config.yml, then prompts to choose
accept_risk Inputs
ParameterRequiredDescription
cve_idYesCVE ID, e.g. CVE-2021-44228
reasonYesBusiness justification
expires_onYesExpiry date in YYYY-MM-DD format
confirm_extended_expiryNoSet true if expiry is more than 1 year away
severityYesSeverity label at time of acceptance (CRITICAL, HIGH, MEDIUM, LOW, UNKNOWN) — snapshot, not live
cvss_scoreNoCVSS score at time of acceptance — snapshot, not live

Configuration

Create .ghostfree/config.yml in your repo root to set a persistent severity threshold that's shared with your team via source control:

min_severity: HIGH

This takes priority over the environment variable. If neither is set, GhostFree will prompt you to choose at scan time.

Environment Variables

VariableDescription
NVD_API_KEYOptional NVD API key for higher rate limits (50 req/30s vs 5 req/30s)
GHOSTFREE_MIN_SEVERITYOptional — skip the severity prompt and always use this threshold (CRITICAL, HIGH, MEDIUM, or LOW)
GHOSTFREE_DIROptional — use a custom directory instead of .ghostfree/ (applies to both accepted.yml and config.yml)

VS Code extension users: create a .env file in your workspace root — the extension reads it automatically and forwards the values to the server. For all other setups (manual MCP JSON config): add these to the "env" block in your client's config file (.vscode/mcp.json, .mcp.json, .cursor/mcp.json, claude_desktop_config.json, etc.), or export them as system environment variables.


Accepted Risk Management

When you accept a risk, GhostFree writes it to .ghostfree/accepted.yml in your repo root. Commit this file to share accepted decisions with your team.

accepted_risks:
  • id: 550e8400-e29b-41d4-a716-446655440000 cve_id: CVE-2022-25881 reason: Only used in CI test pipeline, not reachable in production expires_on: "2027-01-01" accepted_at: "2026-04-02T10:00:00.000Z" severity_at_acceptance: HIGH cvss_score_at_acceptance: 7.5

Rules:

  • expires_on is required — no open-ended acceptances
  • Expiry within 1 year: accepted immediately
  • Expiry beyond 1 year: requires confirm_extended_expiry=true
  • Expired acceptances are never silently dropped — they resurface as warnings on every scan

Supported Ecosystems & Manifests

EcosystemManifest Files
Pythonrequirements.txt, pyproject.toml, Pipfile.lock, setup.cfg
Node.jspackage.json, package-lock.json
Gogo.mod, go.sum
RustCargo.toml, Cargo.lock
Javapom.xml, build.gradle, build.gradle.kts
.NET*.csproj, packages.config
Version range handling

When a manifest specifies a version range rather than an exact version, GhostFree extracts a single version to query vulnerability databases. We use two taxonomies to keep the reasoning clear: VRC (what a specifier *means*) and VRHP (what we *do* about it).

Version Range Concepts (VRC)

A VRC is an ecosystem-agnostic label for what a version specifier expresses. Multiple VRCs can apply to the same entry (e.g. a caret range *with* a prerelease tag is vrc-caret + vrc-prerelease).

VRCConceptEcosystem examples
vrc-exactExact pinned versionnpm 1.4.0, Python ==2.28.0, Cargo 1.0.188, Maven 6.0.11
vrc-lockfile-pinResolved version from lock filepackage-lock.json, Cargo.lock, go.sum, Pipfile.lock
vrc-prereleasePrerelease / pre-stable tag1.0.0-beta, 9.0.0-preview.1, 1.0.0-SNAPSHOT, 32.1.2-jre
vrc-caretCaret (major-compatible) rangenpm ^1.2.3, Cargo ^1.0.100, Poetry ^2.28.0
vrc-tildeTilde (minor/patch-compatible) rangenpm ~4.17.0, Cargo ~1.0.0, Poetry ~2.28.0
vrc-inclusive-minimumInclusive lower bound (>=)npm >=1.2.0, Python >=2.28.0, Cargo >=0.5
vrc-exclusive-minimumExclusive lower bound (>)npm >1.0.0, Python >2.0, Cargo >0.5
vrc-compatible-releaseCompatible releasePython ~=2.28
vrc-compoundMultiple constraints combinednpm >=1.0.0 <2.0.0, Cargo >=0.5, <1.0, Python >=2.28,<3.0
vrc-inclusive-rangeBracket interval with inclusive lowerNuGet [1.0,2.0), Maven [1.0,2.0]

| vrc-exclusive-range | Bracket interval with exclusive lower | NuGet `(4.1.3,

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