
artmann/package-registry-mcp 是从 https://github.com/artmann/package-registry-mcp. 导入的 MCP 服务器候选
概览
artmann/package-registry-mcp 是从 https://github.com/artmann/package-registry-mcp. 导入的 MCP 服务器候选
概述(AI 翻译)
一个支持AI助手和代理的模型上下文协议(MCP)服务器 (Claude、光标、副驾驶等)用于搜索包裹注册和检索 最新套餐信息。
开始
光标
或者,在光标中,你可以在设置中配置MCP服务器:
- 打开光标设置(
Cmd/Ctrl + ,) - 搜索“MCP”或访问MCP>扩展
- 添加一个新服务器,支持:
- 姓名:
package-registry - 命令:
npx - Args:
["package-registry-mcp"]
克劳德·科德
对于 Claude Code,请在终端中执行以下命令:
配置完成后,您将可以使用包搜索和信息工具。
克劳德桌面
通过添加以下内容将此服务器添加到您的Claude桌面
claude_desktop_config.json:
配置文件通常位于:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
添加配置后,重启Claude Desktop。
特色
- 搜索NPM软件包
- 获取详细的NPM包信息
- 搜索 crates.io(Rust 包注册表)
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
Package Registry MCP Server
A Model Context Protocol (MCP) server that enables AI assistants and agents (Claude, Cursor, Copilot, etc.) to search package registries and retrieve up-to-date package information.
Getting Started
Cursor
Alternatively, in Cursor, you can configure MCP servers in your settings:
- Open Cursor Settings (
Cmd/Ctrl + ,) - Search for “MCP” or go to Extensions > MCP
- Add a new server with:
- Name:
package-registry - Command:
npx - Args:
["package-registry-mcp"]
- Name:
Claude Code
For Claude Code, run the following command in your terminal:
claude mcp add -s user package-registry npx package-registry-mcp
After configuration, you’ll have access to package search and information tools.
Claude Desktop
Add this server to your Claude Desktop by adding the following to your
claude_desktop_config.json:
{
"mcpServers": {
"package-registry": {
"command": "npx",
"args": ["package-registry-mcp"]
}
}
}
The config file is typically located at:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
After adding the configuration, restart Claude Desktop.
Features
- Search NPM packages
- Get detailed NPM package information
- Search crates.io (Rust package registry)
- Get detailed crate information
- Search NuGet packages (.NET package registry)
- Get detailed NuGet package information
- Get detailed PyPI package information (Python package registry)
- Get detailed Go module information (Go package registry)
- Search GitHub Security Advisories for vulnerabilities
- Real-time data directly from package registries
Available Tools
安装
npx package-registry-mcp配置
{
"mcpServers": {
"package-registry": {
"command": "npx",
"args": ["package-registry-mcp"]
}
}
}