Dependency Checker MCP Server
Enables security scanning for npm dependencies by checking manifest and lockfiles against the OSV.dev and Socket.dev vulnerability databases. It provides tools to detect vulnerabilities in specific packages and retrieve detailed technical reports for identified security issues.
README
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"]
}
}
}
🛠 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 install
Dé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 commit
Cela 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.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.