GhostFree

v0.2.0
io.github.shane-js/ghostfree Checked 1 day ago Published 8 months ago

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

Values you need

VariableWhat it is
GHOSTFREE_DIRoptional Override the directory where GhostFree stores its data files (accepted-risks.yml, config.yml). Defaults to .ghostfree/ in the scanned repository root.
GHOSTFREE_MIN_SEVERITYoptional Minimum CVE severity level to surface. One of: CRITICAL, HIGH, MEDIUM (default), LOW. Default: MEDIUM
NVD_API_KEYoptional secret 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.

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add ghostfree -- npx -y ghostfree@0.2.0 --repo-path '<repo-path>'
Add to claude_desktop_config.json
{
  "mcpServers": {
    "ghostfree": {
      "args": [
        "-y",
        "ghostfree@0.2.0",
        "--repo-path",
        "<repo-path>"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "ghostfree": {
      "args": [
        "-y",
        "ghostfree@0.2.0",
        "--repo-path",
        "<repo-path>"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "ghostfree": {
      "args": [
        "-y",
        "ghostfree@0.2.0",
        "--repo-path",
        "<repo-path>"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.ghostfree]
command = "npx"
args = ["-y", "ghostfree@0.2.0", "--repo-path", "<repo-path>"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: discover_dependencies, check_cves, enrich_cve, list_accepted_risks, accept_risk, remove_accepted_risk.
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json