npm registry MCP server — package intelligence, security audits, and dependency analysis for AI assistants
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add npm-registry -- npx -y @yawlabs/npmjs-mcp~/.codex/config.toml
[mcp_servers.npm-registry]
command = "npx"
args = ["-y", "@yawlabs/npmjs-mcp"]
# codex mcp add npm-registry -- npx -y @yawlabs/npmjs-mcp~/.cursor/mcp.json
{
"mcpServers": {
"npm-registry": {
"command": "npx",
"args": [
"-y",
"@yawlabs/npmjs-mcp"
]
}
}
}.vscode/mcp.json
{
"servers": {
"npm-registry": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@yawlabs/npmjs-mcp"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"npm-registry": {
"command": "npx",
"args": [
"-y",
"@yawlabs/npmjs-mcp"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"npm-registry": {
"command": "npx",
"args": [
"-y",
"@yawlabs/npmjs-mcp"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"npm-registry": {
"command": "npx",
"args": [
"-y",
"@yawlabs/npmjs-mcp"
]
}
}
}