AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
MCP verified MIT Self-run

Npm Sentinel Mcp

mcp-nekzus-npm-sentinel-mcp · by Nekzus

A powerful Model Context Protocol (MCP) server that revolutionizes NPM package analysis through AI.

— No reviews yet
0 installs
41 views
0.0% view→install

Install

$ agentstack add mcp-nekzus-npm-sentinel-mcp

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v1.10.2 How review works →

  • ✓ Prompt-injection patterns
  • ✓ Secret / credential exfiltration
  • ✓ Dangerous shell & filesystem operations
  • ✓ Untrusted network calls
  • ✓ Known-malicious package signatures

What it can access

  • ✓ Network access No
  • ✓ Filesystem access No
  • ✓ Shell / process execution No
  • ✓ Environment & secrets No
  • ✓ Dynamic code execution No

From automated source analysis of v1.10.2. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/mcp-nekzus-npm-sentinel-mcp)

Reliability & compatibility

✓ Security review passed
0 installs to date
— no reviews yet
○ 7mo ago

Declared compatibility

Claude CodeClaude DesktopCursorWindsurf

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Npm Sentinel Mcp? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

NPM Sentinel MCP

[](https://smithery.ai/server/@Nekzus/npm-sentinel-mcp) [](https://github.com/Nekzus/npm-sentinel-mcp/actions/workflows/publish.yml) [](https://www.npmjs.com/package/@nekzus/mcp-server) [](https://www.npmjs.com/package/@nekzus/mcp-server) [](https://www.npmjs.com/package/@nekzus/mcp-server) [](https://hub.docker.com/r/mcp/npm-sentinel) [](https://deepwiki.com/Nekzus/npm-sentinel-mcp) [](https://paypal.me/maseortega)

A powerful Model Context Protocol (MCP) server that revolutionizes NPM package analysis through AI. Built to integrate with Claude and Anthropic AI, it provides real-time intelligence on package security, dependencies, and performance. This MCP server delivers instant insights and smart analysis to safeguard and optimize your npm ecosystem, making package management decisions faster and safer for modern development workflows.

Features

  • Version analysis and tracking
  • Dependency analysis and mapping
  • Advanced Security Scanning: Recursive dependency checks, ecosystem awareness (e.g., React), and accurate version resolution.
  • Strict Input Validation: Protection against Path Traversal, SSRF, and Command Injection via rigorous input sanitization.
  • Package quality metrics
  • Download trends and statistics
  • TypeScript support verification
  • Package size analysis
  • Maintenance metrics
  • Real-time package comparisons
  • Standardized error handling and MCP response formats
  • Efficient caching for improved performance and API rate limit management
  • Rigorous schema validation and type safety using Zod

Note: The server provides AI-assisted analysis through MCP integration.

Caching and Invalidation

To ensure data accuracy while maintaining performance, the server implements robust caching strategies:

  • Automatic Invalidation: The cache is automatically invalidated whenever pnpm-lock.yaml, package-lock.json, or yarn.lock changes in your workspace. This ensures you always get fresh data after installing or updating dependencies.
  • Force Refresh: All tools accept an optional ignoreCache: true parameter to bypass the cache and force a fresh lookup from the registry.

Example Usage (JSON-RPC)

When calling a tool, simply include ignoreCache: true in the arguments:

{
  "name": "npmVersions",
  "arguments": {
    "packages": ["react"],
    "ignoreCache": true
  }
}

Installation

Migration to HTTP Streamable

This MCP server now supports both STDIO and HTTP streamable transport. Your existing STDIO configuration will continue to work without changes.

New capabilities:

  • HTTP streamable transport via Smithery.ai
  • Enhanced scalability and performance
  • Interactive testing playground

Development commands:

# Development server with playground
npm run dev

# Build for HTTP
npm run build:http

# Start HTTP server
npm run start:http

Install in VS Code

[](https://insiders.vscode.dev/redirect?url=vscode%3Amcp%2Finstall%3F%257B%2522name%2522%253A%2522npm-sentinel%2522%252C%2522config%2522%253A%257B%2522command%2522%253A%2522npx%2522%252C%2522args%2522%253A%255B%2522-y%2522%252C%2522%2540nekzus%252Fmcp-server%2540latest%2522%255D%257D%257D) [](https://insiders.vscode.dev/redirect?url=vscode-insiders%3Amcp%2Finstall%3F%257B%2522name%2522%253A%2522npm-sentinel%2522%252C%2522config%2522%253A%257B%2522command%2522%253A%2522npx%2522%252C%2522args%2522%253A%255B%2522-y%2522%252C%2522%2540nekzus%252Fmcp-server%2540latest%2522%255D%257D%257D)

Add this to your VS Code MCP config file. See VS Code MCP docs for more info.

{
  "servers": {
    "npm-sentinel": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@nekzus/mcp-server@latest"]
    }
  }
}

Smithery.ai Deployment (HTTP Streamable)

This MCP server now supports HTTP streamable transport through Smithery.ai for enhanced scalability and performance. You can deploy it directly on Smithery.ai: Benefits of HTTP deployment:

  • Scalable: Handles multiple concurrent connections
  • Streamable: Real-time streaming responses
  • Managed: Automatic deployment and monitoring
  • Backward Compatible: Still supports STDIO for local development
  • Interactive Testing: Built-in playground for testing tools

Configuration for Smithery.ai:

{
  "mcpServers": {
    "npm-sentinel": {
      "type": "http",
      "url": "https://smithery.ai/server/@Nekzus/npm-sentinel-mcp"
    }
  }
}

Configuration

The server supports the following configuration options:

| Environment Variable | CLI Argument | Default | Description | | -------------------- | ------------ | ------- | ----------- | | NPM_REGISTRY_URL | config.NPM_REGISTRY_URL | https://registry.npmjs.org | URL of the NPM registry to use for all requests |

HTTP Deployment (Smithery/Docker)

When deploying via Smithery or Docker, you can configure these options in your configuration file:

{
  "mcpServers": {
    "npm-sentinel": {
      "type": "http",
      "url": "https://smithery.ai/server/@Nekzus/npm-sentinel-mcp",
      "config": {
        "NPM_REGISTRY_URL": "https://registry.npmjs.org"
      }
    }
  }
}

Docker

Build
# Build the Docker image
docker build -t nekzus/npm-sentinel-mcp .
Usage

You can run the MCP server using Docker with directory mounting to /projects:

{
  "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"
      ]
    }
  }
}

For multiple directories:

{
  "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"
      ]
    }
  }
}

Note: All mounted directories must be under /projects for proper access.

Usage with Claude Desktop

Add this to your claude_desktop_config.json:

{
  "mcpServers": {
    "npmsentinel": {
      "command": "npx",
      "args": ["-y", "@nekzus/mcp-server@latest"]
    }
  }
}

Configuration file locations:

  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Linux: (Claude for Desktop does not officially support Linux at this time)

NPX

{
  "mcpServers": {
    "npm-sentinel-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@nekzus/mcp-server@latest"
      ]
    }
  }
}

API

The server exposes its tools via the Model Context Protocol. All tools adhere to a standardized response format:

{
  "content": [
    {
      "type": "text",
      "text": "string",
      "isError": boolean // Optional
    }
    // ... more content items if necessary
  ]
}

Resources

  • npm://registry: NPM Registry interface
  • npm://security: Security analysis interface
  • npm://metrics: Package metrics interface

Server Resources

The server also provides the following informational resources accessible via MCP GetResource requests:

  • doc://server/readme:
  • Description: Retrieves the main README.md file content for this NPM Sentinel MCP server.
  • MIME Type: text/markdown
  • doc://mcp/specification:
  • Description: Retrieves the llms-full.txt content, providing the comprehensive Model Context Protocol specification.
  • MIME Type: text/plain

Tools

npmVersions
  • Get all versions of a package
  • Input: packages (string[])
  • Returns: Version history with release dates
npmLatest
  • Get latest version information
  • Input: packages (string[])
  • Returns: Latest version details and changelog
npmDeps
  • Analyze package dependencies
  • Input: packages (string[])
  • Returns: Complete dependency tree analysis including direct dependencies and full transitive graph (count and explicit flatten list) mapping through deps.dev.
npmTypes
  • Check TypeScript support
  • Input: packages (string[])
  • Returns: TypeScript compatibility status
npmSize
  • Analyze package size
  • Input: packages (string[])
  • Returns: Bundle size and import cost analysis
npmVulnerabilities
  • Scan for security vulnerabilities
  • Features:
  • Instant Transitive Scanning: Powered by Google's deps.dev API to resolve massive dependency trees (e.g. Next.js, Astro) in a single request, bypassing deep recursion limitations.
  • Ecosystem Awareness: Automatically scans related packages efficiently.
  • Rich Reports: Includes CVE IDs and full summaries from OSV.dev.
  • Input: packages (string[])
  • Returns: Detailed security advisories, CVEs, and severity ratings
npmTrends
  • Get download trends
  • Input:
  • packages (string[])
  • period ("last-week" | "last-month" | "last-year")
  • Returns: Download statistics over time
npmCompare
  • Compare multiple packages
  • Input: packages (string[])
  • Returns: Detailed comparison metrics
npmMaintainers
  • Get package maintainers
  • Input: packages (string[])
  • Returns: Maintainer information and activity
npmScore
  • Get package quality score
  • Input: packages (string[])
  • Returns: Comprehensive quality metrics
npmPackageReadme
  • Get package README
  • Input: packages (string[])
  • Returns: Formatted README content
npmSearch
  • Search for packages
  • Input:
  • query (string)
  • limit (number, optional)
  • Returns: Matching packages with metadata
npmLicenseCompatibility
  • Check license compatibility
  • Input: packages (string[])
  • Returns: License analysis and compatibility info
npmRepoStats
  • Get repository statistics
  • Input: packages (string[])
  • Returns: GitHub/repository metrics
npmDeprecated
  • Check for deprecation
  • Input: packages (string[])
  • Returns: Deprecation status and alternatives
npmChangelogAnalysis
  • Analyze package changelogs
  • Input: packages (string[])
  • Returns: Changelog summaries and impact analysis
npmAlternatives
  • Find package alternatives
  • Input: packages (string[])
  • Returns: Similar packages with comparisons
npmQuality
  • Assess package quality
  • Input: packages (string[])
  • Returns: Quality metrics and scores
npmMaintenance
  • Check maintenance status
  • Input: packages (string[])
  • Returns: Maintenance activity metrics

Build

# Install dependencies
npm install

# Build for STDIO (traditional)
npm run build:stdio

# Build for HTTP (Smithery)
npm run build:http

# Development server
npm run dev

License

This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.


MIT © nekzus

Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v1.10.2 Imported from the upstream source.