AI Engineer Europe 2026 · 演講 · 2026-04-27 · 18 分
企業 MCP 的解方是 gateway
Gateways are All You Need · Karan Sampath,Anthropic
Karan Sampath 談企業導入 MCP 卡在可觀測、存取控制與安全,主張在 server 與 client 之間放一層 gateway,讓各團隊專心寫自己的 MCP。
概要
- 企業用 MCP 的三個痛點Karan 說企業連 observability、存取控制這類基本功都很難做到,安全面又像三頭蛇,而 registry 對企業來說並不完整。
- 瓶頸卡在三方之間用 coding agent 寫出 MCP 的人部署不出去,資安團隊負荷過重又看不清楚,高層則在問為什麼 agent 沒有達到預期。
- 先建立 root of trustKaran 的主張是讓各團隊自己做 MCP,但資安團隊要選定一個平台來背書,這也是整場最想讓聽眾帶走的一張投影片。
- gateway 是中間那一層它夾在數量可達上百個的 MCP server 與任何 MCP client 之間,處理認證、授權、可觀測、安全連線與部署,新 server 只要寫業務邏輯。
- 順帶得到五個好處容易接新的 surface、連線更安全、迭代更快、primitives 標準化、credentials 可抽換。
- 最終方向是 harness 與資料分離agent 不該跟資料和 MCP 的結構綁死,gateway 讓「哪些 agent 放內部、哪些放外部」變成不影響架構的決定。
原話
▶ 06:00“The really important thing for security teams and enterprises that want to allow this to be decentralized is they need to establish a root of trust.”
想讓開發分散的企業與資安團隊,最重要的是建立 root of trust
▶ 06:32“Every good MCP you have helps all of the agents in your company.”
你有的每一個好 MCP,都會幫到公司裡所有的 agent
▶ 13:51“A gateway is a way of you being like, these are my standard procedures, these are the primitives I want to see, these are the tools I expect, and these are the things I don't want to see.”
gateway 就是把你的標準流程、想看到的 primitives、預期的工具,以及不想看到的東西寫進去的方式
▶ 16:50“The first and the most important takeaway is to invest in common infra.”
第一個也是最重要的結論,是投資共用的基礎設施
延伸
- Karan 舉法務團隊為例:有了 gateway,他們的 MCP server 只要處理合約進來之後怎麼標紅線、怎麼往上呈報,不必管誰能存取、多常存取、能不能擴展。
- Karan 說 credentials 可抽換的好處在於,同一個 server 可以支援全公司、團隊層級或 service account 等不同的認證方式。
章節
點時碼直接跳到原片的那一段。
- 開場與主題Karan Sampath 說明這場談 Anthropic 怎麼看企業裡的 MCP,副標是為什麼 gateway 就夠了。
- MCP 現況MCP 是開放標準,官方 registry 的 server 數量以千計,過去一年成長很快。
- 可觀測與存取控制企業想知道誰在用哪些工具、哪些部分壞了,也要能依群組限定誰可以改,這些目前都不透明。
- 安全問題要驗證 server 是否安全、防資料外洩,還要讓不受信任的遠端 client 能存取私有資料,過去靠 API 解決的問題現在沒有好辦法。
- registry 不夠用Karan 很認同 registry,但認為對企業並不完整;認證、存取控制、可觀測、credential 管理都還沒補上。
- 部署的瓶頸開發者有 Claude Code 能寫 MCP 卻部署不出去,資安團隊負荷過重,高層則在問 agent 為何沒用。
- 為什麼是 gateway當多數團隊都能用 coding agent 做 MCP server,資安團隊需要一個 root of trust,也就是選定一個平台背書。
- gateway 的定義與元件gateway 是 server 與 client 之間的中間層,包含 auth、角色存取控制、proxy 路由、tunnel、sub-registry 與 CLI 等工具。
- 它能提供什麼可接自己的 IDP、為使用者與 agent 設計委派身分、一個存取控制面板,並看哪些工具是 load-bearing。
- 五個附帶好處易接新 surface、連線更安全、迭代更快、primitives 標準化、credentials 可抽換。
- 與 agent 架構的關係Karan 主張把 agent harness 與資料所在之處分開,並以 Claude Managed Agents 與 Claude Agent SDK 為例。
- 三點總結投資共用基礎設施、用安全連線建立 root of trust、朝 harness 與資料層分離的方向走。
名詞
- MCP
- Karan 說這是由 Anthropic 建立的開放標準,這場談的是企業怎麼導入它
- MCP gateway
- 夾在 MCP server 與 MCP client 之間的中間層,是 client 唯一看到的可信端點
- root of trust
- 資安團隊選定一個平台來背書,作為分散開發的信任基礎
- registry
- MCP server 的官方登錄處,Karan 認為對企業並不完整
- sub-registry
- gateway 內的元件,登錄企業內部自己的 MCP server
- IDP
- 身分提供者,Karan 說 gateway 可以接上企業自己的 IDP
- Claude Managed Agents
- Karan 提到的近期發表產品,說 MCP gateway 可以接上它
- Claude Agent SDK
- Karan 提到可以在企業內部搭配 gateway 使用








