Documentation
Quick Start
npx @claytivi/driftguard-mcp initAuto-detects Claude Code, Cursor, or Windsurf and writes the MCP config. Pass --api-key=YOUR_KEY to configure a Pro/Team/Enterprise key. Pass --no-telemetry to skip anonymous install tracking.
Tools Reference
scan_dependenciesFull vulnerability scan with priority bucketing: Act Now, Plan to Fix, Noise.
check_cveLook up a specific CVE and check if your project is affected.
dependency_risk_scoreOverall dependency health score (1-10) with breakdown.
safe_upgrade_pathSafest upgrade path — version, breaking changes, install command.
dependency_treeTrace how a package enters your tree through transitive deps.
generate_reportMarkdown compliance report for SOC2/audit documentation.
license_scanScan all dependencies for license compliance issues.
supply_chain_scanDetect typosquatting, suspicious scripts, and maintainer takeovers.
generate_sbomGenerate a CycloneDX Software Bill of Materials.
batch_fixGenerate fix commands for multiple vulnerabilities at once.
Environment Variables
| Variable | Required | Description |
|---|---|---|
NVD_API_KEY | No | NVD API key (5 → 50 req/30s) |
GITHUB_TOKEN | No | GitHub PAT for Advisory database |
DRIFTGUARD_API_KEY | No | Unlocks Pro/Team/Enterprise features |