NPM Sentinel MCP
NPM Sentinel MCP
Ein leistungsstarker Model Context Protocol (MCP)-Server, der die NPM-Paketanalyse durch KI revolutioniert. Er ist für die Integration mit Claude und Anthropic AI konzipiert und bietet Echtzeitinformationen zu Paketsicherheit, Abhängigkeiten und Leistung. Dieser MCP-Server liefert sofortige Einblicke und intelligente Analysen zum Schutz und zur Optimierung Ihres NPM-Ökosystems und macht Paketmanagemententscheidungen für moderne Entwicklungsabläufe schneller und sicherer.
Merkmale
Versionsanalyse und -verfolgung
Abhängigkeitsanalyse und -zuordnung
Scannen von Sicherheitslücken
Paketqualitätsmetriken
Trends und Statistiken herunterladen
Überprüfung der TypeScript-Unterstützung
Paketgrößenanalyse
Wartungsmetriken
Paketvergleiche in Echtzeit
Standardisierte Fehlerbehandlung und MCP-Antwortformate
Effizientes Caching für verbesserte Leistung und API-Ratenlimitverwaltung
Rigorose Schemavalidierung und Typsicherheit mit Zod
Hinweis: Der Server bietet KI-gestützte Analysen durch MCP-Integration.
Related MCP server: NPM Helper MCP
Installation
In VS Code installieren
Fügen Sie dies Ihrer VS Code MCP-Konfigurationsdatei hinzu. Weitere Informationen finden Sie in der VS Code MCP-Dokumentation .
{
"servers": {
"npm-sentinel": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@nekzus/mcp-server@latest"]
}
}
}Docker
Bauen
# Build the Docker image
docker build -t nekzus/npm-sentinel-mcp .Verwendung
Sie können den MCP-Server mit Docker ausführen, wobei das Verzeichnis in /projects eingebunden wird:
{
"mcpServers": {
"npm-sentinel-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-w", "/projects",
"--mount", "type=bind,src=${PWD},dst=/projects",
"nekzus/npm-sentinel-mcp",
"node",
"dist/index.js"
]
}
}
}Für mehrere Verzeichnisse:
{
"mcpServers": {
"npm-sentinel-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-w", "/projects",
"--mount", "type=bind,src=/path/to/workspace,dst=/projects/workspace",
"--mount", "type=bind,src=/path/to/other/dir,dst=/projects/other/dir,ro",
"nekzus/npm-sentinel-mcp",
"node",
"dist/index.js"
]
}
}
}Hinweis: Für einen ordnungsgemäßen Zugriff müssen sich alle bereitgestellten Verzeichnisse unter /projects befinden.
Verwendung mit Claude Desktop
Fügen Sie dies zu Ihrer claude_desktop_config.json hinzu:
{
"mcpServers": {
"npmsentinel": {
"command": "npx",
"args": ["-y", "@nekzus/mcp-server@latest"]
}
}
}Speicherorte der Konfigurationsdateien:
Windows:
%APPDATA%\Claude\claude_desktop_config.jsonmacOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonLinux: (Claude für Desktop unterstützt Linux derzeit nicht offiziell)
NPX
{
"mcpServers": {
"npm-sentinel-mcp": {
"command": "npx",
"args": [
"-y",
"@nekzus/mcp-server@latest"
]
}
}
}API
Der Server stellt seine Tools über das Model Context Protocol bereit. Alle Tools folgen einem standardisierten Antwortformat:
{
"content": [
{
"type": "text",
"text": "string",
"isError": boolean // Optional
}
// ... more content items if necessary
]
}Ressourcen
npm://registry: NPM-Registrierungsschnittstellenpm://security: Schnittstelle zur Sicherheitsanalysenpm://metrics: Schnittstelle für Paketmetriken
Serverressourcen
Der Server stellt außerdem die folgenden Informationsressourcen bereit, auf die über MCP GetResource -Anfragen zugegriffen werden kann:
doc://server/readme:Beschreibung : Ruft den Hauptinhalt der Datei
README.mdfür diesen NPM Sentinel MCP-Server ab.MIME-Typ :
text/markdown
doc://mcp/specification:Beschreibung : Ruft den Inhalt
llms-full.txtab und stellt die umfassende Model Context Protocol-Spezifikation bereit.MIME-Typ :
text/plain
Werkzeuge
npmVersionen
Alle Versionen eines Pakets abrufen
Eingabe:
packages(string[])Rückgabe: Versionsverlauf mit Veröffentlichungsdaten
npmLatest
Aktuelle Versionsinformationen abrufen
Eingabe:
packages(string[])Rückgabe: Details zur neuesten Version und Änderungsprotokoll
npmDeps
Paketabhängigkeiten analysieren
Eingabe:
packages(string[])Rückgabe: Vollständige Abhängigkeitsbaumanalyse
npmTypes
Überprüfen Sie die TypeScript-Unterstützung
Eingabe:
packages(string[])Gibt zurück: TypeScript-Kompatibilitätsstatus
npmGröße
Paketgröße analysieren
Eingabe:
packages(string[])Retouren: Bündelgrößen- und Importkostenanalyse
npmSchwachstellen
Auf Sicherheitslücken prüfen
Eingabe:
packages(string[])Rückgaben: Sicherheitshinweise und Schweregradbewertungen
npmTrends
Download-Trends abrufen
Eingang:
packages(Zeichenfolge[])period("letzte Woche" | "letzter Monat" | "letztes Jahr")
Rückgabe: Download-Statistiken im Zeitverlauf
npmCompare
Vergleichen Sie mehrere Pakete
Eingabe:
packages(string[])Renditen: Detaillierte Vergleichsmetriken
npmMaintainers
Holen Sie sich Paketbetreuer
Eingabe:
packages(string[])Rückgabe: Informationen und Aktivitäten des Betreuers
npmScore
Abrufen der Paketqualitätsbewertung
Eingabe:
packages(string[])Retouren: Umfassende Qualitätsmetriken
npmPackageReadme
Paket README abrufen
Eingabe:
packages(string[])Gibt zurück: Formatierter README-Inhalt
npmSuche
Nach Paketen suchen
Eingang:
query(Zeichenfolge)limit(Zahl, optional)
Rückgabe: Passende Pakete mit Metadaten
npmLizenzkompatibilität
Überprüfen Sie die Lizenzkompatibilität
Eingabe:
packages(string[])Rückgabe: Lizenzanalyse und Kompatibilitätsinformationen
npmRepoStats
Abrufen von Repository-Statistiken
Eingabe:
packages(string[])Gibt zurück: GitHub/Repository-Metriken
npmVeraltet
Auf Veraltung prüfen
Eingabe:
packages(string[])Rückgaben: Veralteter Status und Alternativen
npmChangelogAnalysis
Paketänderungsprotokolle analysieren
Eingabe:
packages(string[])Rückgaben: Änderungsprotokollzusammenfassungen und Auswirkungsanalyse
npmAlternativen
Paketalternativen finden
Eingabe:
packages(string[])Rückgaben: Ähnliche Pakete mit Vergleichen
npmQualität
Bewerten Sie die Paketqualität
Eingabe:
packages(string[])Renditen: Qualitätsmetriken und Bewertungen
npmWartung
Wartungsstatus prüfen
Eingabe:
packages(string[])Rücksendungen: Wartungsaktivitätsmetriken
Bauen
# Build with npm
npm install
npm run buildLizenz
Dieser MCP-Server ist unter der MIT-Lizenz lizenziert. Das bedeutet, dass Sie die Software unter den Bedingungen der MIT-Lizenz frei verwenden, ändern und verbreiten dürfen. Weitere Informationen finden Sie in der LICENSE-Datei im Projekt-Repository.
MIT © nekzus
Available Tools
19 toolsnpmAlternativesBRead-onlyInspect
Find alternative packages with similar functionality
Inputs: packages (required), ignoreCache. Returns: message, results, summary
npmChangelogAnalysisCRead-onlyIdempotentInspect
Analyze changelog and release history of packages
Inputs: packages (required), ignoreCache. Returns: message, results, summary
npmCompareBRead-onlyIdempotentInspect
Compare multiple NPM packages based on various metrics
Inputs: packages (required), ignoreCache. Returns: message, results, queryPackages
npmDeprecatedCRead-onlyIdempotentInspect
Check if packages are deprecated
Inputs: packages (required), ignoreCache. Returns: message, results, summary
npmDepsARead-onlyIdempotentInspect
Analyze dependencies and devDependencies of an NPM package
Inputs: packages (required), ignoreCache. Returns: message, results, summary
npmLatestBRead-onlyIdempotentInspect
Get the latest version and changelog of an NPM package
Inputs: packages (required), ignoreCache. Returns: message, results, summary
npmLicenseCompatibilityBRead-onlyIdempotentInspect
Check license compatibility between multiple packages
Inputs: packages (required), ignoreCache. Returns: compatibility, licenseDetails, packagesAnalyzed
npmMaintainersBRead-onlyIdempotentInspect
Get maintainers information for NPM packages
Inputs: packages (required), ignoreCache. Returns: message, results, summary
npmMaintenanceBRead-onlyIdempotentInspect
Analyze package maintenance metrics
Inputs: packages (required), ignoreCache. Returns: message, results, summary
npmPackageReadmeBRead-onlyIdempotentInspect
Get the README content for NPM packages
Inputs: packages (required), ignoreCache. Returns: message, results, summary
npmQualityCRead-onlyIdempotentInspect
Analyze package quality metrics
Inputs: packages (required), ignoreCache. Returns: message, results, summary
npmRepoStatsBRead-onlyIdempotentInspect
Get repository statistics for NPM packages
Inputs: packages (required), ignoreCache. Returns: message, results, summary
npmScoreARead-onlyIdempotentInspect
Get consolidated package score based on quality, maintenance, and popularity metrics
Inputs: packages (required), ignoreCache. Returns: message, results, summary
npmSearchARead-onlyInspect
Search for NPM packages with optional limit
Inputs: query (required), limit, ignoreCache. Returns: query, message, results, limitUsed, +2 more
npmSizeARead-onlyIdempotentInspect
Get package size information including dependencies and bundle size
Inputs: packages (required), ignoreCache. Returns: message, results, summary
npmTrendsARead-onlyIdempotentInspect
Get download trends and popularity metrics for packages
Inputs: packages (required), period, ignoreCache. Returns: message, results, summary
npmTypesARead-onlyIdempotentInspect
Check TypeScript types availability and version for a package
Inputs: packages (required), ignoreCache. Returns: message, results, summary
npmVersionsARead-onlyIdempotentInspect
Get all available versions of an NPM package
Inputs: packages (required), ignoreCache. Returns: message, results, summary
npmVulnerabilitiesCRead-onlyInspect
Check for known vulnerabilities in packages
Inputs: packages (required), ignoreCache. Returns: message, results, summary
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 19 tools
Each tool targets a distinct aspect of NPM packages (e.g., versions, dependencies, vulnerabilities, trends). There is no overlap; even similar-sounding tools like npmQuality, npmMaintenance, and npmScore have clearly separated purposes.
All tools follow a consistent camelCase pattern starting with 'npm' followed by a descriptive noun or noun phrase (e.g., npmVersions, npmChangelogAnalysis). The naming is predictable and uniform.
With 19 tools, the set is slightly above the typical well-scoped range of 3-15, but each tool serves a specific and valuable function within the domain of NPM package analysis, making the count reasonable.
The tools cover a wide range of NPM package metrics and information (versions, dependencies, vulnerabilities, trends, license, etc.), leaving few gaps (e.g., dependents or reverse dependencies missing). The coverage is comprehensive for the server's purpose.
Maintenance
Related MCP Connectors
Live npm and UNPKG data for AI agents: resolution, audits, import maps, malware/CVE checks.
Dive into the world of npm with our NPM Package Info MCP. Access crucial metadata about any npm
A Model Context Protocol server for Wix AI tools
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Related MCP Servers
- AlicenseDqualityDmaintenanceA Model Context Protocol server that allows AI models to fetch detailed information about npm packages and discover popular packages in the npm ecosystem.11ISC
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that provides tools for NPM package management, including dependency searching, updates, conflict resolution, and version management to help AI assistants safely upgrade project dependencies.46 npm8MIT
- AlicenseBqualityCmaintenanceA Model Context Protocol server that enables language models to interact with npm services securely, providing tools for package management, project initialization, script execution, and security auditing.11MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server for searching, inspecting, and evaluating NPM packages through health scoring and license risk assessments. It provides comprehensive package analysis including maintenance status, popularity trends, and security vulnerability reports to help users make informed dependency decisions.4MIT