Back to MCP directory
publicPublicdnsLocal runtime

mcp-registry-server

一个用于检索MCP服务器的语义搜索服务

article

README

🚀 MCP 注册表服务器

MCP 注册表服务器提供 MCP 检索功能,借助语义搜索可高效检索 MCP 服务器,同时提供了实用工具来执行检索操作,方便快捷。

🚀 快速开始

你可以通过 Smithery 自动安装 MCP 注册表服务器用于 Claude 桌面版,也可以手动构建服务器并与 Claude 桌面版配合使用。

✨ 主要特性

  • MCP 检索器:使用语义搜索检索 MCP 服务器。

📦 安装指南

通过 Smithery 安装

要自动安装 MCP 注册表服务器以用于 Claude 桌面版,请使用 Smithery

npx -y @smithery/cli install @KBB99/mcp-registry-server --client claude

与 Claude 桌面版一起使用

首先构建服务器:

git clone https://github.com/KBB99/mcp-registry-server.git
cd mcp-registry-server
npm install
npm run build

你可以通过运行以下命令确认服务器是否正常工作:

node ./dist/index.js

在你的 claude_desktop_config.json 中添加如下内容:

{
  "mcpServers": {
    "mcp-registry-server": {
      "command": "node",
      "args": [
        "./path/to/build/mcp-registry-server/dist/index.js"
      ]
    }
  }
}

💻 使用示例

基础用法

使用 retrieve_mcps 工具对 MCP 注册表执行检索操作:

# 假设以下是调用 retrieve_mcps 的伪代码示例
# 实际调用可能需要根据具体的库和环境进行调整
from some_library import retrieve_mcps

query = "your_search_query"
result = retrieve_mcps(query)
print(result)

高级用法

在实际应用中,你可以根据不同的业务需求调整 query 参数,以获取更精准的检索结果。

📚 详细文档

工具

  • retrieve_mcps
    • 对 MCP 注册表执行检索操作。
    • 输入:
      • query (字符串):检索查询。

📄 许可证

此 MCP 服务器根据 MIT 许可证发布。这意味着你可以自由使用、修改和分发软件,但需遵守 MIT 许可证的条款和条件。有关详细信息,请参阅项目存储库中的 LICENSE 文件。

⚠️ 重要提示

本 README 假设你的服务器包名为 mcp-server-retriever。如果您的设置不同,请相应调整包名和安装说明。另外,请确保您的服务器脚本已正确构建,并且所有依赖项在 package.json 中管理得当。

help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client