/ 目錄 / 演練場 / MCP Registry
● 官方 modelcontextprotocol ⚡ 即開即用

MCP Registry

作者 modelcontextprotocol · modelcontextprotocol/registry

MCP 伺服器的官方目錄和查詢服務——從單一權威來源探索、發布和驗證正式 MCP。

MCP Registry 是 Anthropic 官方認可的 MCP 伺服器清單,類似於協議的 npm/PyPI。它提供 REST API、Go 伺服器和工具,用於發布你自己的 MCP。作為客戶端按能力、語言或發布者探索 MCP 的上游真相來源。

為什麼要用

核心特性

即時演示

實際使用效果

mcp-registry.replay ▶ 就緒
0/0

安裝

選擇你的客戶端

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "mcp-registry": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/registry-mcp"
      ],
      "_inferred": true
    }
  }
}

開啟 Claude Desktop → Settings → Developer → Edit Config。儲存後重啟應用。

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "mcp-registry": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/registry-mcp"
      ],
      "_inferred": true
    }
  }
}

Cursor 使用與 Claude Desktop 相同的 mcpServers 格式。專案級設定優先於全域。

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "mcp-registry": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/registry-mcp"
      ],
      "_inferred": true
    }
  }
}

點擊 Cline 側欄中的 MCP Servers 圖示,然後選 "Edit Configuration"。

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "mcp-registry": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/registry-mcp"
      ],
      "_inferred": true
    }
  }
}

格式與 Claude Desktop 相同。重啟 Windsurf 生效。

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "mcp-registry",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/registry-mcp"
      ]
    }
  ]
}

Continue 使用伺服器物件陣列,而非映射。

~/.config/zed/settings.json
{
  "context_servers": {
    "mcp-registry": {
      "command": {
        "path": "npx",
        "args": [
          "-y",
          "@modelcontextprotocol/registry-mcp"
        ]
      }
    }
  }
}

加入 context_servers。Zed 儲存後熱重載。

claude mcp add mcp-registry -- npx -y @modelcontextprotocol/registry-mcp

一行命令搞定。用 claude mcp list 驗證,claude mcp remove 移除。

使用場景

實戰用法: MCP Registry

讓 Claude 搜尋官方注冊表以找到適合任務的 MCP

👤 知道自己要做什麼但不確定哪個 MCP 能做到的任何人 ⏱ ~10 min beginner

何時使用: 你需要 Postgres MCP / Notion MCP 等,想要標準的選擇。

步驟
  1. 搜尋
    Use registry MCP. Find the top 3 results for keyword 'postgres' and tell me their stars + last update.✓ 已複製
    → 三個候選項及其元資料
  2. 檢查清單
    For each, show config + tool list so I can pick.✓ 已複製
    → 渲染的清單
  3. 安裝選定的 MCP
    Install the top result into Claude Desktop.✓ 已複製
    → 設定區塊已寫入 claude_desktop_config.json

結果: 從權威來源選擇 MCP,而非隨機搜尋結果。

注意事項
  • 較新的 MCP 可能尚未注冊 — 交叉對照 FreeMCPLab 和 GitHub 直接搜尋,以取得社群驅動的選擇

將你的 MCP 發布到官方注冊表,讓其他人可以找到

👤 擁有穩定、有用伺服器的 MCP 作者 ⏱ ~30 min intermediate

何時使用: 你的 MCP 有 3 個以上的用戶,你想提高可發現性。

前置條件
  • 帶有清單的 GitHub 程式庫 — 在程式庫根目錄按照注冊表 schema 格式放置 server.json
步驟
  1. 驗證清單
    Use registry MCP to validate my server.json against the official schema. Tell me what's missing.✓ 已複製
    → Schema 驗證報告
  2. 提交
    Submit via the registry CLI. Auth using my GitHub identity.✓ 已複製
    → 提交已接受;回傳 URL
  3. 驗證可發現性
    Search for my MCP by name; confirm it appears.✓ 已複製
    → 在搜尋中可見

結果: 你的 MCP 列在官方注冊表中。

為你的公司架設內部 MCP 注冊表

👤 擁有內部 MCP 的平台團隊 ⏱ ~60 min advanced

何時使用: 你有不想放在公共注冊表上的專有 MCP。

前置條件
  • Go 執行期或 Docker — go install 或 docker pull
步驟
  1. 執行伺服器
    Start the registry server on internal.mcp.corp. Configure auth.✓ 已複製
    → 伺服器啟動;可讀取 schema 端點
  2. 鏡像或整理
    Mirror selected public entries; add private ones from internal teams.✓ 已複製
    → 混合目錄
  3. 讓 Claude 指向它
    Configure Claude Desktop to use the internal registry URL for discovery.✓ 已複製
    → 探索現在使用內部來源

結果: 內部 MCP 透過你自己的注冊表管理和探索。

組合

與其他 MCP 搭配,撬動十倍槓桿

SDK + 注冊表——建構後發布

交叉參照注冊表和精選的 awesome 清單

工具

此 MCP 暴露的能力

工具輸入參數何時呼叫成本
search_servers query, runtime?, limit? 探索 0
get_server id 詳細頁面 0
validate_manifest manifest_json 提交前檢查 0
submit_server manifest, github_token 發布你的 MCP 0

成本與限制

運行它的成本

API 配額
公共讀取無需驗證;提交需要 GitHub 驗證
每次呼叫 Token 數
小型——清單為 JSON
費用
免費
提示
在客戶端快取清單結果;它們不常變更

安全

權限、密鑰、影響範圍

最小權限: github:read (for submission)
憑證儲存: GitHub token 存於環境變數,僅用於提交
資料出站: registry.modelcontextprotocol.io
切勿授予: github:write to private orgs

故障排查

常見錯誤與修復

Schema 驗證失敗

將你的 server.json 與 /schemas 中的標準 schema 比較;常見問題是缺少欄位

提交被拒絕

確認 GitHub 身份與清單發布者相符;驗證程式庫是公開的

提交後伺服器不可見

索引可能需要幾分鐘;5 分鐘後重新整理搜尋

替代方案

MCP Registry 對比其他方案

替代方案何時用它替代權衡
Smithery / PulseMCP你想要精緻的商業目錄第三方索引;這個是上游
FreeMCPLab (this site)需要精選指南和實踐示範,而非原始目錄不同形式——操作場所 vs 索引

更多

資源

📖 閱讀 GitHub 上的官方 README

🐙 查看未解決的 issue

🔍 瀏覽全部 400+ MCP 伺服器和 Skills