mcp -npm-goof
An MCP server for NPM JavaScript Package Management tools
claude mcp add --transport stdio snyk-labs-mcp-server-npm-goof node server.js \ --env PORT="Port to run the MCP server on (default 3000). Can be overridden, e.g., PORT=3500"
How to use
This MCP server exposes a single tool named getNpmPackageInfo. It runs as an HTTP MCP service and responds with structured information about a requested npm package. To use it, define the MCP server in your agent configuration so your MCP client can reach the HTTP endpoint where the server is listening (default port 3000, or a port you specify via PORT). The server is designed to work with IDE integrations and AI agents that understand MCP over HTTP, enabling you to fetch package metadata by name using the getNpmPackageInfo tool. Call the tool by providing the packageName parameter, and you will receive a packageInfo object with available details about the requested npm package.
How to install
Prerequisites:
- Node.js (LTS version) and npm installed
- Clone or download the repository for the MCP server (npm-goof).
- Install dependencies: npm install
- Start the server: npm start By default the server will listen on port 3000. To run on a different port, set the PORT environment variable, e.g.: PORT=3500 npm start
- Verify it's running by hitting the MCP endpoint (e.g., http://localhost:3000/mcp) or the configured port and using an MCP client to request getNpmPackageInfo for a package name.
Additional notes
Notes and tips:
- This server is labeled as educational and intentionally vulnerable to help with MCP security practice. Do not expose it to untrusted networks without proper hardening.
- The getNpmPackageInfo tool returns a packageInfo object containing information about the requested npm package when available. Ensure your MCP client supplies a valid packageName string.
- If you run into CORS or network issues, verify that the port configured by PORT is accessible from the client and that the MCP transport is HTTP as expected by your agent.
- You can customize the port using the PORT environment variable when starting the server, e.g., PORT=3500 npm start.
- In your MCP client configuration, reference the server name you defined (here npm-and-node-tools) to route requests to this MCP server.
Related MCP Servers
zen
Selfhosted notes app. Single golang binary, notes stored as markdown within SQLite, full-text search, very low resource usage
MCP -Deepseek_R1
A Model Context Protocol (MCP) server implementation connecting Claude Desktop with DeepSeek's language models (R1/V3)
mcp-fhir
A Model Context Protocol implementation for FHIR
mcp
Inkdrop Model Context Protocol Server
mcp-appium-gestures
This is a Model Context Protocol (MCP) server providing resources and tools for Appium mobile gestures using Actions API..
dubco -npm
The (Unofficial) dubco-mcp-server enables AI assistants to manage Dub.co short links via the Model Context Protocol. It provides three MCP tools: create_link for generating new short URLs, update_link for modifying existing links, and delete_link for removing short links.