npm for VS Code
io.github.mikusnuz/npm
MCP server for npm package management — publish, version, search, audit, and more
client:VS Code
transport:stdio
runtime:npm
Install npm in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "npm-token",
"description": "NPM_TOKEN",
"password": true
}
],
"servers": {
"npm": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@mikusnuz/npm-mcp"
],
"env": {
"NPM_TOKEN": "${input:npm-token}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs