Anthropic's MCP tunnels and self-hosted sandboxes: keeping agents inside your perimeter Anthropic has released two new infrastructure features for Claude agents: MCP tunnels and self-hosted sandboxes, both designed to enhance security for enterprise deployments. MCP tunnels allow Claude to connect to private network servers via outbound-only connections with three layers of encryption, eliminating the need to open firewall ports, while self-hosted sandboxes let organizations run agent tool execution on their own infrastructure. These features, currently in beta and requiring access requests, target regulated industries like finance and healthcare that require data residency, network isolation, and audit controls. Anthropic has quietly shipped two new infrastructure features for Claude agents: MCP tunnels and self-hosted sandboxes. Neither is about making Claude smarter. Both are about making it safe to deploy inside a real enterprise security perimeter. They solve different problems. You might need one, the other, or both. MCP tunnels let Claude connect to MCP servers running in your private network — without opening inbound firewall ports or exposing services to the public internet. The mechanism is an outbound-only connection via Cloudflare as the transport layer that carries three independent layers of encryption: mutual TLS between Anthropic and the tunnel edge, inner TLS between Anthropic's backend and your proxy, and OAuth authentication on each individual MCP server. Crucially, Cloudflare can see connection metadata — timing, byte volume, your subdomain — but cannot read MCP request or response payloads because the proxy terminates inner TLS using a certificate only you hold. Each private MCP server you expose gets a hostname under your tunnel domain e.g. docs.