npm-search MCP 服务器
一个支持通过调用 npm search 命令搜索 npm 包的 Model Context Protocol 服务器。
快速入门
安装
通过 Smithery 自动安装: npx -y @smithery/cli install npm-search-mcp-server --client claude 或使用 npm 全局安装: npm install -g npm-search-mcp-server 运行命令: npm-search-mcp-server
配置
在应用设置中添加以下配置:
Claude.app
"mcpServers": {
"npm-search": {
"command": "npx",
"args": ["-y", "npm-search-mcp-server"]
}
}
Zed
"context_servers": {
"npm-search-mcp-server": {
"command": "npx",
"args": ["-y", "npm-search-mcp-server"]
}
},
示例
搜索 npm 包: { "name": "search_npm_packages", "arguments": { "query": "express" } } 更多详情参考 README。