Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
MCP 通道目前處於研究預覽階段。申請存取權限以進行試用。
通道架構提供了強大的預設設定(僅限對外連線、端對端加密以及 IP 驗證),但您的 tunnel stack(通道堆疊)的整體安全性也取決於您如何設定與操作它。本頁涵蓋建議的強化措施、入侵應變,以及如何停用通道。
upstream.allowed_ips。 使用能涵蓋您 MCP 伺服器的最小 CIDR 範圍。這是 proxy(代理伺服器)主要的 SSRF 防禦機制。如果您認為您的通道權杖、TLS 金鑰或 proxy 主機已遭入侵:
停止通道堆疊
helm uninstall mcp-tunnel -n mcp-tunnel分離上游 MCP 伺服器
將上游 MCP 伺服器從任何使用它們的 Managed Agent 工作階段中移除,並停止在 Messages API 請求的 mcp_servers 區塊中傳遞其 URL。
封存通道
聯絡 Anthropic
向 Anthropic 支援團隊回報疑似入侵事件。
輪替下游憑證
重新佈建一個全新的通道,並輪替受影響的 MCP 伺服器所核發的任何 OAuth 權杖。
在恢復服務前檢閱日誌
在讓新通道上線之前,檢查疑似入侵期間的 proxy、cloudflared 與 MCP 伺服器日誌。
請依照以下步驟停用通道並移除所有已儲存的憑證。
停止通道堆疊
helm uninstall mcp-tunnel -n mcp-tunnel封存通道
在 Console 中,從 MCP tunnels 清單封存通道。
移除已儲存的憑證
若使用程式化存取,setup 元件會建立一個以 release 命名的單一 Secret。若未使用程式化存取,則您自行建立了 mcp-tunnel-token 與 mcp-tunnel-cert。請刪除適用的項目:
kubectl -n mcp-tunnel delete secret \
mcp-tunnel mcp-tunnel-token mcp-tunnel-cert \
--ignore-not-foundWas this page helpful?