Server to call npm and npx command from LLM
This is a TypeScript-based MCP server that implements a simple npm system.
- Executes
npmandnpxcommands
Install dependencies:
npm installBuild the server:
npm run buildFor development with auto-rebuild:
npm run watchTo 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"
}
}
}