Snap 在官方工程博客里讲了他们怎么让 AI 代理替员工调用内部工具:所有请求先经过一个统一入口 MCP Gateway(MCP 是一种让 AI 调用外部工具的通用接口)。难点是身份会在调用链里丢失,下游服务只看到一个服务账号,不知道背后是谁在让 AI 干活。他们的做法是让每次调用同时带上人和代理两重身份,第三方凭证交给安全团队统一保管。规模上他们自称已接入 60 多个 MCP、1100 多个工具,一周约 160 万次调用。
核查
Snap官方工程博客详述其MCP Gateway如何用双重身份、AAT、集中凭证与RBAC让AI agent代人调用内部工具,属有价值的一手实践分享,但规模与安全成效均为自报且无独立验证。
- 文章把核心问题定位为身份在调用链中丢失:接收服务看到的是MCP服务账号,而不是发起请求的工程师。
- 方案要求agent代人操作受限工具时同时通过人和agent两重身份授权,并用AAT携带原始请求者与agent身份。
- 治理措施包括agent默认只读、逐工具授权、PR审批、工具分类、集中凭证到ATS以及集中审计。
- 文章给出60+ MCP、1100+工具和约160万周调用量等自报数据,但未提供独立审计、攻击测试或误判/延迟等量化效果。
关键说法
MCP Gateway fronts more than 60 MCPs and over 1,100 tools, with more coming online every week.支持 100%
In the week ending October 11, 2026, people and Casper made about 1.6 million tool calls through it.支持 100%
When an agent acts for a person, the call has to pass as both the person and the agent.支持 100%
Only a few trusted services, such as Casper, can get a token that names someone else as the requester, and each one checks who the requester is first.支持 100%
For restricted tools, if the person using the agent is not on that team, the call is denied even if the agent has permission.支持 100%
Third-party credentials live in ATS, owned by Security, instead of in the gateway itself or in the MCP servers.支持 100%
Since the first agent grant in August 2026, we've granted over 60 agents tools beyond their default permissions.支持 100%
A tool nobody has classified can't be granted.支持 100%