Smithery Registry MCP Server

Smithery Registry MCP Server

site icon
2025.04.09 0
TypeScriptMCP 服务器管理API 接口开发效率
Smithery Registry MCP Server 是一个与 Smithery Registry API 交互的 MCP 服务器,允许 AI 代理搜索 MCP 服务器、获取服务器详细信息并创建连接 URL。该服务器实现了 Model Context Protocol (MCP) 服务器的搜索和获取启动配置的功能。
View on GitHub

Overview

基本能力

产品定位

Smithery Registry MCP Server 是一个用于搜索和管理 MCP 服务器的工具,主要服务于 AI 代理和开发人员,提供程序化的方式来搜索和获取 MCP 服务器的启动配置。

核心功能

  • 搜索服务器:使用语义搜索或特定过滤器查找 MCP 服务器
  • 获取服务器详细信息:检索特定服务器的详细信息
  • 创建连接 URL:生成正确格式的 WebSocket URL 并编码配置

适用场景

  • AI 代理需要动态查找和连接 MCP 服务器
  • 开发人员需要程序化方式管理 MCP 服务器配置
  • 需要快速生成 MCP 服务器连接 URL 的场景

工具列表

  • authenticate:设置 Smithery API 密钥认证
  • listServers:搜索并检索 Smithery Registry 中的服务器列表
  • getServer:通过限定名称获取特定服务器的详细信息
  • createConnectionUrl:为服务器创建带有配置的 WebSocket 连接 URL

常见问题解答

无明确常见问题解答部分

使用教程

使用依赖

需要安装 Node.js 和 npm

安装教程

# 克隆仓库
git clone https://github.com/aloshy-ai/smithery-registry-mcp.git
cd smithery-registry-mcp

# 安装依赖
npm install

# 构建项目
npm run build

调试方式

启动服务器

STDIO 模式(默认,用于 LLM 客户端):

npm start

SSE 模式(用于 Web 应用程序):

npm run sse

环境变量

  • PORT:SSE 模式下的监听端口(默认:3000)
  • HOST:SSE 模式下的绑定主机(默认:localhost)
  • ENDPOINT:SSE 连接的端点路径(默认:/sse)
  • USE_SSE:设置为 "true" 以使用 SSE 模式而非 STDIO 模式

使用 Smithery CLI

# 使用 Smithery CLI 安装服务器
npx @smithery/cli install @aloshy-ai/smithery-registry-mcp

# 与各种客户端一起使用
npx @smithery/cli run @aloshy-ai/smithery-registry-mcp --client claude

许可证

该项目遵循 GPL-3.0 开源许可条款,请参阅 GPL-3.0 了解完整条款。