DepGuard
Checks npm packages for vulnerabilities (via OSV) and deprecation status, providing real-time dependency safety feedback for AI agents.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
DepGuard MCP Server
DepGuard is a production MCP server for real-time dependency risk checks while coding.
It checks package updates against:
OSV vulnerabilities (CVE/GHSA)
npm package deprecations
local cache for fast repeated lookups
Status
Docker image:
ghcr.io/foudhilriahi/depguard:latestMulti-arch publish:
linux/amd64,linux/arm64GitHub Pages live proof:
https://foudhilriahi.github.io/DepGuard/
Related MCP server: AI Security Crew
1) Fastest way to use DepGuard (Docker + MCP)
Add this to your MCP client config:
{
"mcpServers": {
"depguard": {
"command": "docker",
"args": [
"run",
"--rm",
"-i",
"-e",
"CACHE_TTL_SECONDS=86400",
"-e",
"DEPGUARD_CACHE_PATH=/data/cache.sqlite",
"-v",
"depguard-cache:/data",
"ghcr.io/foudhilriahi/depguard:latest"
]
}
}
}Restart your AI IDE/CLI after saving config.
Available MCP tools
check_packagecheck_packages_bulkscan_package_jsonget_cached_result
2) Real online proof (no mocks)
Live proof page
GitHub Pages app in docs/ performs real browser calls to:
https://api.osv.dev/v1/querybatchhttps://registry.npmjs.org/<package>
CI proof artifact
docs/proof/latest.json is generated by running actual DepGuard core logic in CI:
workflow:
.github/workflows/proof-artifact.ymlscript:
scripts/generate-proof.mjs
This is not simulation data.
3) How to test Docker image online (without local Docker)
Use GitHub Actions manual workflow:
Workflow:
.github/workflows/docker-smoke.ymlTrigger: Actions → Docker Smoke Test (GHCR) → Run workflow
It validates:
image can be pulled from GHCR
manifest inspection works
container runtime works (
node --version)MCP entrypoint file exists (
/app/dist/index.js)
So you can prove your container works even without Docker installed locally.
4) GitHub Pages setup
Use workflow-based Pages deploy for consistency:
GitHub repo → Settings → Pages
Source: GitHub Actions
Keep
.github/workflows/pages.ymlenabled
5) Local dev (optional)
npm install
npm run test
npm run build
npm run dev6) Environment variables
CACHE_TTL_SECONDS(default86400)DEPGUARD_CACHE_PATH(default.depguard-cache.sqlite)DEPGUARD_HTTP_TIMEOUT_MS(default7000)DEPGUARD_HTTP_RETRIES(default2)DEPGUARD_HTTP_RETRY_DELAY_MS(default250)
7) CI/CD workflows in this repo
ci.yml→ tests + buildpages.yml→ deploysdocs/to GitHub Pagesproof-artifact.yml→ refreshes real proof JSONpublish-docker.yml→ publishes multi-arch GHCR imagedocker-smoke.yml→ manual online container verification
This server cannot be deployed
Maintenance
Related MCP Connectors
Protects AI coding agents from installing malicious open source packages. Every npm and PyPI package is checked against SafeDep’s real-time threat intelligence before installation.
The MCP server that vets MCP servers: identity, risk grade and per-tool risk before you install.
deps.dev MCP — Google's package metadata + dependency graph API.
Patchwire is a free, read-only MCP server for security advisories on modern JS, AI and web3 stacks. It reads maintainers' own advisories and vendor security posts every hour, often days before they reach the GitHub Advisory Database, and returns vulnerable ranges, fixed versions per release line and the conditions that make each flaw exploitable. Send package names, never versions. No account, no key.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceMCP server that scans project dependencies for security vulnerabilities (CVEs) and provides fix instructions directly in VS Code via Copilot.3-
- AlicenseNot gradedqualityAmaintenanceA lightweight MCP server for security reviews that injects security requirements before code generation, scans dependencies for CVEs, and verifies generated code without disrupting workflow.73MIT
- FlicenseAqualityDmaintenanceAn MCP server that performs comprehensive health checks on project dependencies for JavaScript and Python projects, detecting outdated packages and fetching changelogs.1-
- AlicenseAqualityDmaintenanceAn MCP server that provides cross-validated npm dependency fitness verdicts, including deprecation, malicious detection, and safe migration target inference.252 npmMIT