MCP.so
登录

MCP Server for NPM Package Info

@snyk-labs

关于 MCP Server for NPM Package Info

An MCP server for NPM JavaScript Package Management tools

基本信息

分类

其他

许可证

NOASSERTION

运行时

node

传输方式

stdio

发布者

snyk-labs

配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is MCP Server for NPM Package Info?

A Model Context Protocol server that provides a tool to fetch npm package information. It is intended as an educational tool for MCP Server security and uses HTTP transport for remote connections.

How to use MCP Server for NPM Package Info?

Install dependencies with npm install and start the server with npm start. The server listens on port 3000 by default, but you can set the PORT environment variable (e.g., PORT=3500 npm start). Configure the server in your Agent MCP configuration as an HTTP endpoint.

Key features of MCP Server for NPM Package Info

  • Exposes a getNpmPackageInfo tool via MCP
  • Uses HTTP (Streamable HTTP) transport for remote connections
  • Returns structured package information
  • Supports session management for stateful connections
  • Intentionally vulnerable for educational security training

Use cases of MCP Server for NPM Package Info

  • Looking up npm package details from an AI agent or IDE
  • Teaching MCP server security concepts in a controlled environment
  • Integrating package info retrieval into MCP‑compatible workflows

FAQ from MCP Server for NPM Package Info

What is the purpose of this server?

It fetches npm package information using the getNpmPackageInfo tool and is intentionally vulnerable to serve as an educational tool for MCP Server security.

How do I change the port the server runs on?

Set the PORT environment variable before starting, e.g., PORT=3500 npm start. The default port is 3000.

What data does the server return?

The server returns a JSON object containing all available information about the requested npm package, as returned by the npm registry.

What transport does the server use?

It uses HTTP (Streamable HTTP) transport for remote connections and supports session management for stateful connections.

Does the server require authentication?

The README does not mention any authentication mechanism. Note that the server is intentionally vulnerable for educational purposes.

评论

其他 分类下的更多 MCP 服务器