在不讓每位開發者持有原始 API 金鑰的情況下,向整個組織推廣 MCP
何時使用: 你的開發者想用 MCP,但你無法讓 200 個個人存取權杖(PAT)散落在各自的筆電上。
前置條件
- 一台主機(VM 或 k8s)和 SSO 供應商(Okta/Entra/Google) — 標準基礎設施——Archestra 自帶 postgres + redis
步驟
-
部署閘道器Walk me through deploying Archestra via Docker Compose. Bind to https://mcp.example.com and configure Okta OIDC.✓ 已複製→ Compose 檔案已寫入;閘道器在該 URL 回應並導向登入頁
-
新增伺服器Add github, postgres, and slack MCPs to the registry. Store creds in Archestra vault, not env vars.✓ 已複製→ 三個伺服器已列出;每個伺服器的憑證已加密儲存
-
設定使用者Give engineering group access to github (read-only) and postgres (read-only). No slack.✓ 已複製→ 存取策略已套用;開發者的 claude 設定冒煙測試通過
結果: 整個組織使用同一個 MCP URL;你控制每個角色可呼叫哪些工具。
注意事項
- SSO token 過期導致活躍的 Claude 工作階段中斷 — 在 OIDC 中設定 refresh token 模式;Archestra 會自動透明地輪換