NPM Sentinel MCP
NPMセンチネルMCP
AIを活用し、NPMパッケージ分析に革命を起こす強力なモデルコンテキストプロトコル(MCP)サーバーです。ClaudeおよびAnthropic AIとの統合が可能で、パッケージのセキュリティ、依存関係、パフォーマンスに関するリアルタイムのインテリジェンスを提供します。このMCPサーバーは、瞬時のインサイトとスマートな分析を提供することで、npmエコシステムを保護・最適化し、最新の開発ワークフローにおけるパッケージ管理の意思決定をより迅速かつ安全にします。
特徴
バージョン分析と追跡
依存関係の分析とマッピング
セキュリティ脆弱性スキャン
パッケージ品質メトリクス
ダウンロードの傾向と統計
TypeScriptサポート検証
パッケージサイズ分析
メンテナンスメトリクス
リアルタイムパッケージ比較
標準化されたエラー処理とMCP応答形式
パフォーマンスの向上と API レート制限管理のための効率的なキャッシュ
Zodを使用した厳密なスキーマ検証と型安全性
注: サーバーは、MCP 統合を通じて AI 支援分析を提供します。
Related MCP server: NPM Helper MCP
インストール
VS Codeにインストール
VS Code MCP 設定ファイルに以下を追加してください。詳しくはVS Code MCP ドキュメントをご覧ください。
{
"servers": {
"npm-sentinel": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@nekzus/mcp-server@latest"]
}
}
}ドッカー
建てる
# Build the Docker image
docker build -t nekzus/npm-sentinel-mcp .使用法
/projectsにディレクトリをマウントして Docker を使用して MCP サーバーを実行できます。
{
"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"
]
}
}
}複数のディレクトリの場合:
{
"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"
]
}
}
}注意: 適切なアクセスのために、マウントされたすべてのディレクトリは/projectsの下にある必要があります。
Claude Desktopでの使用
これをclaude_desktop_config.jsonに追加します:
{
"mcpServers": {
"npmsentinel": {
"command": "npx",
"args": ["-y", "@nekzus/mcp-server@latest"]
}
}
}構成ファイルの場所:
Windows:
%APPDATA%\Claude\claude_desktop_config.jsonmacOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonLinux: (Claude for Desktop は現時点では Linux を公式にサポートしていません)
NPX
{
"mcpServers": {
"npm-sentinel-mcp": {
"command": "npx",
"args": [
"-y",
"@nekzus/mcp-server@latest"
]
}
}
}API
サーバーはモデルコンテキストプロトコルを介してツールを公開します。すべてのツールは標準化されたレスポンス形式に準拠しています。
{
"content": [
{
"type": "text",
"text": "string",
"isError": boolean // Optional
}
// ... more content items if necessary
]
}リソース
npm://registry: NPM レジストリ インターフェースnpm://security: セキュリティ分析インターフェースnpm://metrics: パッケージメトリクスインターフェース
サーバーリソース
サーバーは、MCP GetResource要求を介してアクセスできる次の情報リソースも提供します。
doc://server/readme:説明: この NPM Sentinel MCP サーバーのメインの
README.mdファイルの内容を取得します。MIMEタイプ:
text/markdown
doc://mcp/specification:説明: 包括的なモデル コンテキスト プロトコル仕様を提供する
llms-full.txtコンテンツを取得します。MIMEタイプ:
text/plain
ツール
npmバージョン
パッケージのすべてのバージョンを取得する
入力:
packages(文字列[])戻り値: リリース日を含むバージョン履歴
npm最新
最新バージョン情報を取得する
入力:
packages(文字列[])戻り値: 最新バージョンの詳細と変更ログ
npmDeps
パッケージの依存関係を分析する
入力:
packages(文字列[])戻り値: 完全な依存関係ツリー分析
npmTypes
TypeScriptのサポートを確認する
入力:
packages(文字列[])戻り値: TypeScript 互換性ステータス
npmサイズ
パッケージサイズを分析する
入力:
packages(文字列[])戻り値: バンドルサイズとインポートコストの分析
npmの脆弱性
セキュリティの脆弱性をスキャンする
入力:
packages(文字列[])戻り値: セキュリティ勧告と深刻度評価
npmトレンド
ダウンロードトレンドを取得する
入力:
packages(文字列[])period(「先週」 | 「先月」 | 「昨年」)
戻り値: ダウンロード統計の推移
npm比較
複数のパッケージを比較する
入力:
packages(文字列[])戻り値: 詳細な比較指標
npmメンテナー
パッケージメンテナーを取得する
入力:
packages(文字列[])戻り値: メンテナーの情報と活動
npmスコア
パッケージ品質スコアを取得する
入力:
packages(文字列[])返品: 包括的な品質指標
npmパッケージReadme
パッケージのREADMEを取得する
入力:
packages(文字列[])戻り値: フォーマットされたREADMEコンテンツ
npm検索
パッケージを検索
入力:
query(文字列)limit(数値、オプション)
戻り値: メタデータと一致するパッケージ
npmライセンス互換性
ライセンスの互換性を確認する
入力:
packages(文字列[])戻り値: ライセンス分析と互換性情報
npmリポジトリ統計
リポジトリの統計情報を取得する
入力:
packages(文字列[])戻り値: GitHub/リポジトリのメトリクス
npm非推奨
廃止予定の確認
入力:
packages(文字列[])返品: 非推奨ステータスと代替品
npm変更ログ分析
パッケージの変更ログを分析する
入力:
packages(文字列[])戻り値: 変更ログの概要と影響分析
npmの代替
パッケージの代替品を探す
入力:
packages(文字列[])返品: 比較した類似パッケージ
npm品質
パッケージの品質を評価する
入力:
packages(文字列[])返品: 品質指標とスコア
npmメンテナンス
メンテナンス状況を確認する
入力:
packages(文字列[])返品: メンテナンス活動指標
建てる
# Build with npm
npm install
npm run buildライセンス
このMCPサーバーはMITライセンスに基づいてライセンスされています。つまり、MITライセンスの条件に従って、ソフトウェアを自由に使用、改変、配布することができます。詳細については、プロジェクトリポジトリのLICENSEファイルをご覧ください。
MIT ©ネクズス
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