MCP注册表服务

一个用于与MCP注册表API交互的服务器工具,支持列出、搜索和获取MCP服务器信息。

  • by daedalus
  • Python
  • 本地部署
  • 更新于
在 GitHub 查看 daedalus/mcp-registry

使用说明

mcp注册表

用于与MCP注册表API交互的MCP服务器

安装

pip install mcp-registry

用法

作为MCP服务器

在MCP客户端中配置:

{
  "mcpServers": {
    "mcp-registry": {
      "command": "mcp-registry"
    }
  }
}

使用npx

{
  "mcpServers": {
    "mcp-registry": {
      "command": "npx",
      "args": ["-y", "mcp-registry"]
    }
  }
}

可用工具

list_mcp_servers

从MCP注册表中列出带分页的MCP服务器。

list_mcp_servers(limit=50, cursor=None, registry_url="https://registry.modelcontextprotocol.io")

search_mcp_servers

按名称或关键字搜索MCP服务器。

search_mcp_servers(query="search term", limit=50, registry_url="https://registry.modelcontextprotocol.io")

get_mcp_server

获取特定MCP服务器的详细信息。

get_mcp_server(name="server-name", registry_url="https://registry.modelcontextprotocol.io")

get_server_versions

获取特定MCP服务器的可用版本。

get_server_versions(name="server-name", registry_url="https://registry.modelcontextprotocol.io")

发展

git clone https://github.com/daedalus/mcp-registry.git
cd mcp-registry
pip install -e ".[test]"

# run tests
pytest

# format
ruff format src/ tests/

# lint
ruff check src/ tests/

# type check
mypy src/

mcp名称:io.github.daedalus/mcp-regulatory