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

GhostFree

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

安装

概览

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

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

PopNx MCP 的三大支柱

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

它能帮你做什么

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

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

安装

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

安装之前

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

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

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

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

{
  "mcpServers": {
    "ghostfree": {
      "command": "npx",
      "args": [
        "-y",
        "ghostfree",
        "--repo-path",
        "your-value"
      ],
      "env": {
        "GHOSTFREE_DIR": "your-value",
        "GHOSTFREE_MIN_SEVERITY": "your-value",
        "NVD_API_KEY": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add ghostfree --env GHOSTFREE_DIR=your-value --env GHOSTFREE_MIN_SEVERITY=your-value --env NVD_API_KEY=your-value -- npx -y ghostfree --repo-path your-value

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

这个服务器需要在启动命令中填入值,请复制设置后自行填写。

或者自己复制设置

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

{
  "mcpServers": {
    "ghostfree": {
      "command": "npx",
      "args": [
        "-y",
        "ghostfree",
        "--repo-path",
        "your-value"
      ],
      "env": {
        "GHOSTFREE_DIR": "your-value",
        "GHOSTFREE_MIN_SEVERITY": "your-value",
        "NVD_API_KEY": "your-value"
      }
    }
  }
}

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

这个服务器需要在启动命令中填入值,请复制设置后自行填写。

或者自己复制设置

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

{
  "servers": {
    "ghostfree": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "ghostfree",
        "--repo-path",
        "your-value"
      ],
      "env": {
        "GHOSTFREE_DIR": "your-value",
        "GHOSTFREE_MIN_SEVERITY": "your-value",
        "NVD_API_KEY": "your-value"
      }
    }
  }
}

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

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

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

需要你填写的值

  • 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 为准。

它能做什么

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

基础检查i

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

  • ✓ 通过

    作者与仓库一致

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

  • … 尚未检查

    仍在维护

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

  • … 尚未检查

    有许可证

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

  • – 不适用

    端点有响应

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

  • – 不适用

    使用 OAuth 登录

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

  • … 尚未检查

    工具描述中没有隐藏指令

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

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

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

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

常见问题

GhostFree 安全吗?

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

它需要哪些密钥或代码?

你需要填写:NVD_API_KEY

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

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

它还在维护吗?

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

哪些应用可以使用它?

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

有什么可以替代它?

同一分类中有:Spec Driven Development, Remote Desktop Commander, dotnet-mcp

替代选择

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

如何看卡片:★ 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昨天更新
安装

dotnet-mcp

作者:Skymly

MCP server for .NET symbols, XAML, source generators, and restricted workspace edit

在你的电脑上运行今天更新
安装

作者的 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,

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

问 PopNx