mcpField
M
MCP Registry

MCP Registry

本地服务
github.com/bbangjooo开发工具582 周前更新

关于 MCP Registry

MCP Registry(README 中称 MCP Installer)是一个用于查找、配置并安装 MCP 服务的 MCP 服务。它面向使用 Cursor 或 Claude 的用户,并通过 Smithery 获取服务注册信息。

主要功能

  1. 01从注册表查找 MCP 服务
  2. 02收集服务连接配置
  3. 03在本机安装 MCP 服务
  4. 04写入 Cursor 或 Claude 配置

适用场景

  1. 01搜索可用的 MCP 服务
  2. 02准备选定服务的连接配置
  3. 03将服务安装到本机并配置客户端

MCP 相关

它向 MCP 客户端提供查找、收集配置和安装 MCP 服务的工具。

配置

本地服务的配置在各客户端中通用,复制后粘贴到客户端的 MCP 配置文件即可。

mcp.json · 通用配置
{
"mcpServers": {
"finder": {
"command": "npx",
"args": [
"-y",
"@bbangjo/mcp-installer"
]
}
}
}
启动命令npx -y @bbangjo/mcp-installer

本地服务需要在你的电脑上安装运行环境(如 Node.js 18+)。各客户端的配置文件位置不同,请参考客户端文档。

安装包
npm@bbangjo/mcp-installer

工具

3

收录的工具列表 · 更新于 3 周前

参数类型必填说明
mcpServerNamestring是要查找的 MCP 服务名称

详细介绍

MCP 安装器

smithery 徽章

简介

MCP 安装器提供以下工具

  • find-mcp:从注册表中查找 Model Context Protocol(MCP)服务
  • collect-config:收集用于连接 MCP 服务的配置
  • install-mcp:在本地机器上安装 MCP 服务

入门指南

先决条件

安装

你可以使用以下命令安装 MCP 安装器:

npm install @bbangjo/mcp-installer
npx @bbangjo/mcp-installer --client <client-type> --key <your-smithery-api-key>

其中:

  • <client-type>:目前支持的客户端为 'cursor' 或 'claude'
  • <your-smithery-api-key>:输入你的 Smithery API 密钥

示例:

npx @bbangjo/mcp-installer --client cursor --key your_smithery_api_key_here

安装成功后,你会看到消息“✅ MCP server installed successfully。”

注意:根据客户端类型,配置文件将创建在以下位置:

  • Cursor:

    • Windows:%APPDATA%\Cursor\mcp.json
    • macOS:~/.cursor/mcp.json
    • Linux:~/.config/Cursor/mcp.json
  • Claude:

    • Windows:%APPDATA%\Claude\claude_desktop_config.json
    • macOS:~/Library/Application Support/Claude/claude_desktop_config.json
    • Linux:~/.config/Claude/claude_desktop_config.json

本地设置

  1. 安装依赖
npm install
  1. 设置环境变量 在项目根目录中创建一个 .env 文件,并添加以下内容:
SMITHERY_API_KEY=your_api_key_here
  1. 运行服务:
npm run build
node build/index.js

成功启动后,服务将显示消息“MCP Finder Server running on stdio”。

评论

支持 Markdown

第一次接触 MCP?

从协议是什么,到在客户端里装上第一个服务,这几条回答覆盖了大多数入门问题。

一个开放协议,规定了 AI 应用如何以统一方式连接外部工具与数据源。客户端负责与模型对话,MCP 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。