Dependency Checker MCP Server
Provides tools to scan npm manifest files (package.json and package-lock.json) for security vulnerabilities in dependencies.
Enables checking of pnpm-lock.yaml files against vulnerability databases to identify potential security risks in project dependencies.
Integrates with Socket.dev to provide security verification for npm dependencies by checking them against their vulnerability database.
Supports the analysis of yarn.lock files to detect security vulnerabilities in the project's dependency tree.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Dependency Checker MCP Server scan my package.json for any security vulnerabilities"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Dependency Checker MCP Server
Ce serveur MCP (Model Context Protocol) fournit des outils pour vérifier la sécurité des dépendances npm en utilisant des bases de données de vulnérabilités reconnues : OSV.dev et Socket.dev.
🚀 Installation & Utilisation
Ce serveur peut être utilisé directement via npx sans installation préalable, ou installé globalement.
Configuration pour les clients MCP
Claude Desktop / Gemini CLI
Ajoutez la configuration suivante à votre fichier de configuration MCP (généralement claude_desktop_config.json ou similaire) :
{
"mcpServers": {
"dependency-checker": {
"command": "npx",
"args": ["-y", "@djodjonx/dependency-checker-mcp@latest"]
}
}
}Note importante : L'ajout de @latest garantit que npx télécharge et exécute toujours la dernière version stable du serveur. Sans cela, npx pourrait utiliser une version en cache ou obsolète.
Si vous travaillez en local sur le projet :
{
"mcpServers": {
"dependency-checker-local": {
"command": "node",
"args": ["/chemin/vers/dependency-checker-mcp/dist/index.mjs"]
}
}
}Related MCP server: CVE Checker for Node Modules
🛠 Outils disponibles
scan_file
Analyse un fichier de manifeste (package.json, lockfiles) pour détecter les vulnérabilités.
Entrée :
file_path(chemin absolu du fichier).Supporte :
package.json,package-lock.json,yarn.lock,pnpm-lock.yaml.
check_vulnerabilities
Vérifie une liste spécifique de dépendances. Utile pour les agents qui extraient des dépendances d'autres sources.
Entrée : Liste d'objets
{ name, version }.
get_vulnerability_details
Récupère les détails techniques complets d'une vulnérabilité via son ID (CVE, GHSA, etc.).
Entrée :
vuln_id.
🤝 Contribuer
Les contributions sont les bienvenues ! Voici comment configurer votre environnement de développement.
Prérequis
Node.js (v20+)
npm
Installation
git clone https://github.com/djodjonx/dependency-checker-mcp.git
cd dependency-checker-mcp
npm installDéveloppement
Build :
npm run build(génère les fichiers dansdist/)Dev (Watch) :
npm run dev(recompile à chaque changement)Tests :
npm test(lance Vitest)Linting :
npm run lint(vérifie le code avec oxlint)
Workflow de Commit
Ce projet utilise Conventional Commits pour générer automatiquement le changelog et gérer les versions.
Au lieu d'utiliser git commit, utilisez la commande suivante pour être guidé :
npm run commitCela lancera un assistant interactif pour formater votre message de commit correctement (feat, fix, docs, etc.).
Release (Mainteneurs)
Consultez le fichier RELEASE.md pour la procédure détaillée de publication.
📄 Licence
Ce projet est sous licence MIT.
Available Tools
3 toolscheck_vulnerabilitiesC
Checks a list of dependencies.
Inputs: dependencies (required).
get_vulnerability_detailsC
Get details for a list of vulnerability IDs.
Inputs: vuln_ids (required).
scan_fileB
Parses a manifest file and checks for vulnerabilities.
Inputs: file_path (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool targets a distinct action: checking dependencies by list, retrieving vulnerability details by ID, and scanning a manifest file. No overlap in purpose.
All tool names follow a clear verb_noun pattern in snake_case (check_vulnerabilities, get_vulnerability_details, scan_file), with descriptive verbs that match the operation.
Three tools cover the core workflow of checking dependencies and retrieving details, which is appropriate for a focused dependency checker without unnecessary bloat.
The set covers the main use cases (checking via list or file, getting details), but might benefit from a tool to list all known vulnerabilities or update databases, though not essential.
Maintenance
Related MCP Connectors
Detect malicious or vulnerable npm packages: registry search, OSV.dev and GitHub advisory lookups
Scan packages and lockfiles (npm, PyPI, Go, Maven, Cargo, NuGet) for vulnerabilities and malware.
Provide AI-powered real-time analysis and intelligence on NPM packages, including security, depend…
Generate SBOMs, scan vulnerabilities, and analyze dependencies from local projects or Git repos.
Related MCP Servers
- AlicenseCqualityDmaintenanceAudits npm package dependencies for security vulnerabilities, providing detailed reports and fix recommendations with MCP integration.138 npm58MIT
- AlicenseBqualityDmaintenanceEnables checking npm packages for known security vulnerabilities using the OSV API before installation. Supports both single package checks and bulk vulnerability scanning for multiple packages at once.2ISC

@guardbee/mcp-dependencyofficial
AlicenseNot gradedqualityFmaintenanceEnables auditing npm, pip, and other package dependencies for known CVEs via the OSV database, with tools to scan manifests, query individual packages, and integrate into CI/CD workflows.785 npmMIT- AlicenseNot gradedqualityAmaintenanceEnables auditing npm, Yarn, and pnpm lockfiles in local project directories or remote Git repositories to surface dependency vulnerabilities. Exposes a tool that supports severity thresholds, registry overrides, optional dev-dependency skipping, and text or JSON reports.12 npmMIT