Sandboxes
Let sandboxes call your organization's MCP servers through the MCP Gateway without seeing the upstream credentials.
The MCP Gateway lets sandboxes interact with Model Context Protocol servers exposed at your enterprise — without giving the sandbox direct access to the underlying credentials.
A sandbox created with chalk_identity=True authenticates to the MCP Gateway with its
workload identity, with no other credential. A
sandbox created without it must send a Chalk access token in the Authorization header and the
environment ID in the X-Chalk-Env-Id header.
The gateway validates the identity, then proxies the request to the upstream MCP server using credentials managed by your organization. The sandbox never sees the real credential.
┌─────────────┐ WIF token ┌─────────────┐ real credential ┌─────────────┐
│ Sandbox │ ──────────────────────▸ │ MCP Gateway │ ──────────────────────▸ │ MCP Server │
└─────────────┘ └─────────────┘ └─────────────┘
This is particularly useful for agent workloads. A code-generation agent may need to call tool-use APIs, search indexes, or retrieval services. With the gateway: