
NPM
STDIO执行npm和npx命令的MCP服务器
执行npm和npx命令的MCP服务器
Server to call npm and npx command from LLM
This is a TypeScript-based MCP server that implements a simple npm system.
npm
and npx
commandsInstall dependencies:
npm install
Build the server:
npm run build
For development with auto-rebuild:
npm run watch
To use with Claude Desktop, add the server config:
On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%/Claude/claude_desktop_config.json
{ "mcpServers": { "project-npm": { "command": "/path/to/project-npm/build/index.js" } } }