MCP ExplorerExplorer

Mcp Server Npm

@snyk-labson 10 months ago
2 NOASSERTION
FreeCommunity
AI Systems
An MCP server for NPM JavaScript Package Management tools

Overview

What is Mcp Server Npm

mcp-server-npm is an MCP server designed for fetching information about NPM JavaScript packages, facilitating integration with development environments.

Use cases

Use cases include fetching package information for code completion, dependency management, and providing contextual package details during development.

How to use

To use mcp-server-npm, install it via npm with ‘npm install’, then start the server using ‘npm start’. It is intended for use with IDEs that support the Model Context Protocol.

Key features

Key features include the ‘getNpmPackageInfo’ tool for retrieving package information, STDIO transport for IDE integrations, and structured JSON responses containing package details.

Where to use

mcp-server-npm can be used in software development environments, particularly in IDEs that require access to NPM package data for enhanced developer productivity.

Content

MCP Server for NPM Package Info

A Model Context Protocol server that provides a tool to fetch npm package information.

Security Disclaimer: this repository is intentionally vulnerable, intended to be used as an educational tool for MCP Server security.

Features

  • Exposes a getNpmPackageInfo tool using MCP
  • Uses STDIO transport for IDE integrations (like Cursor)
  • Returns structured package information

Installation

npm install

Usage

Start the server:

npm start

This server is designed to be used with IDE integrations like Cursor that support the Model Context Protocol.

Tool: getNpmPackageInfo

Parameters:

  • packageName (string): The name of the npm package to look up

Returns:

  • packageInfo (object): JSON object containing all available information about the package

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers