Development · MODEL CONTEXT PROTOCOL
mateusribeirocampos npm mcp server
Servidor NPM MCP - Projeto TypeScript
连接能力
mateusribeirocampos npm mcp server 为 AI Agent 提供什么
- **Package Search**: Tool to fetch detailed information about npm packages
- **Popular Packages**: Resource to list the 10 most popular npm packages
- Package name
- Latest version
- Description
- Author information
- Homepage URL
- Repository URL
- Dependencies list
- Package name
- Description
- Current version
- Get package information before installation
- Compare different package versions
- Analyze dependencies
- Find popular alternatives
- Get quick package summaries
- TypeScript
- Model Context Protocol SDK
- Node-fetch
- Zod
安全
MCP 收录不等于安全审核
MCP 服务器可能获得模型上下文、凭据、本地文件或调用外部系统的权限。连接 Agent 前,请检查代码、环境变量、网络行为、软件包来源与维护状态。
README
仓库文档
This is a Model Context Protocol (MCP) server that provides functionality to fetch information about npm packages.
- Package Search: Tool to fetch detailed information about npm packages
- Popular Packages: Resource to list the 10 most popular npm packages
To install NPM MCP Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @mateusribeirocampos/npm-mcp-server --client claudenpm installnpm run buildnpm startFor development:
npm run devThe server exposes two main functionalities:
Fetches detailed information about a specific npm package. The tool returns comprehensive package information including:
- Package name
- Latest version
- Description
- Author information
- Homepage URL
- Repository URL
- Dependencies list
Example usage:
const result = await server.tools.searchNpmPackage({ packageName: "react" });Example response:
{
"name": "react",
"version": "18.2.0",
"description": "React is a JavaScript library for building user interfaces.",
"author": "Meta Open Source",
"homepage": "https://reactjs.org/",
"repository": {
"url": "https://github.com/facebook/react.git"
},
"dependencies": {
"loose-envify": "^1.1.0"
}
}Lists the 10 most popular npm packages, sorted by popularity. Each package in the list includes:
- Package name
- Description
- Current version
Resource URI: npm://popular
Example response:
[
{
"name": "lodash",
"description": "Lodash modular utilities",
"version": "4.17.21"
},
// ... more packages
]This MCP server can be integrated with AI models to:
- Get package information before installation
- Compare different package versions
- Analyze dependencies
- Find popular alternatives
- Get quick package summaries
- TypeScript
- Model Context Protocol SDK
- Node-fetch
- Zod
社区
收藏、评分与讨论
正在载入社区数据…