Snap Built an Internal MCP Gateway to Manage Agent Identity, Permissions and Scaling

rseroter · x · 2026-12-02

Why route agent traffic through MCPs and gateways instead of raw APIs? Snap engineers found the answer: better control over identity, permissions, and scaling, so they built an internal MCP gateway.

The architecture diagram shows AI clients (Claude Code, Cursor, Codex) and remote agents connecting through an MCP Gateway, which fans out to two paths: a 1P path using AAT tokens to reach internal services, and a 3P path where an Auth Translation Service calls third-party APIs as the user. Auth sidecar and Authorization services sit alongside the gateway.

Takeaway: an MCP gateway is the key centralized layer for managing agent identity and authorization — not optional extra abstraction.

Original post →

More from coding & agent

coding & agent channel →