Sla direct naar inhoud
Use cases

Claude Managed Agents: self-hosted sandboxes + MCP tunnels

By Mike van BeaumondAI Engineer · company brain & automationpublished on

8 min read
Claude Managed Agents: self-hosted sandboxes + MCP tunnels
Quick take
> Anthropic announced two updates for Claude Managed Agents on May 19, 2026. Self-hosted sandboxes (public beta) run tool execution within your infrastructure via Cloudflare, Daytona, Modal, or Vercel. MCP tunnels (research preview) give agents access to internal services without public endpoints. Together, they solve the two biggest enterprise roadblocks: data locality and network access.

What are Claude Managed Agents, and what's new today?

Claude Managed Agents is Anthropic's production platform for AI agents at scale. It handles orchestration, context management, fault recovery, and the lifecycle, so you can focus on what the agent does, not on how to keep it running.

Until today, both the agent loop and tool execution ran on Anthropic's infrastructure. This worked for many use cases but not for organizations with strict data residency or security requirements. As of today, Anthropic splits these two layers.

The agent loop remains with Anthropic. Tool execution moves to your own sandbox, and the services the agent queries remain within your private network via MCP tunnels.

Why is this so important for enterprise teams?

The two most common objections to the production deployment of AI agents were always the same: "Our data cannot leave the perimeter" and "our internal services are not publicly accessible." Both are now resolved.

Self-hosted sandboxes address the first objection: tool execution takes place within your infrastructure; sensitive files do not leave your perimeter. MCP tunnels address the second: agents access internal databases, APIs, and knowledge bases without exposing anything publicly.

This means AI agents can now be deployed in scenarios where previously they could not. Think of financial services, healthcare, legal dossiers, and regulated sectors with EU sovereignty requirements.

How exactly do self-hosted sandboxes work?

A sandbox is the environment where an agent executes its tools: writing code, reading files, calling APIs, installing packages. With self-hosted sandboxes, you move that execution to an environment you control.

What stays where?

The agent loop, model inference, context window, orchestration, and fault recovery continue to run on Anthropic. Everything related to tool execution runs in your sandbox: code, file access, API calls, package installations, and resource usage. You determine the resource sizing, the runtime image, network access, and security policies.

What do you gain from this?

Sensitive files and repositories do not leave your infrastructure. Existing network policies, audit logging, and security tooling apply automatically. You decide how much CPU, memory, and capacity a heavy task gets, for example, long builds or image generation. No exceptions to compliance policies are needed.

Which sandbox providers are supported?

You can bring any sandbox client or start with one of the four official providers. Each provider has a different profile.

Cloudflare: microVMs and lightweight isolates at scale

Cloudflare runs sandboxes via microVMs and lightweight isolates. Outbound network traffic is completely under your control: zero-trust secrets injection, customizable proxies to audit or reroute egress, and connection to internal services via the Cloudflare network.

Amplitude is building Design Agent (an internal tool for on-brand mockups and design reviews) on Managed Agents and Cloudflare for tight observability.

Daytona: composable computers, long-running and stateful

Daytona sandboxes are full computers with persistent state. The same primitive runs a short burst or an agent that works for hours. The sandbox remains accessible via SSH or an authenticated preview URL and can be paused and restored with full state.

Clay's GTM agent Sculptor autonomously builds, tests, and monitors workflows on Managed Agents and Daytona, with control over the filesystem, external file stores, and on-the-fly package installation.

Modal sandboxes share the same foundation as Modal's functions, storage, and networking primitives. The custom container runtime provides sub-second startup on any image, scales to hundreds of thousands of concurrent sandboxes, and offers CPU and GPU on demand. Ideal for teams that need heavy compute alongside the agent loop.

Vercel: VM security, VPC peering, millisecond startup

Vercel sandboxes combine VM security, VPC peering, and bring-your-own-cloud with millisecond startup. The Vercel Sandbox firewall injects credentials at the network boundary, so they never enter the sandbox. Rogo, an AI platform for institutional finance, builds its analyst agent on Managed Agents and Vercel Sandbox to securely process proprietary data.

"Claude Managed Agents allows us to combine the power of a local agent with the reliability, versioning, and background execution of a cloud agent. By running it on Daytona, we gain control over the filesystem, can mount external file stores, and install packages on the fly."
> Ryan Chang, AI Engineering at Clay

What are MCP tunnels, and what problem do they solve?

The second announcement today: MCP tunnels. Agents in Claude Managed Agents can now reach MCP servers in your private network without exposing those servers publicly.

An organization's most valuable data is rarely behind a public URL. Internal databases, private APIs, knowledge bases, ticketing systems, and monitoring tools run internally, and that should remain so. Until now, agents could only access these services by exposing them publicly, which is unacceptable for most enterprise environments.

MCP tunnels solve this with a lightweight gateway that you deploy in your own network. This gateway makes a single outbound connection to Anthropic's infrastructure. No inbound firewall rules, no public endpoints, end-to-end encrypted traffic.

How does it work in practice?

You deploy a lightweight gateway in your private network, next to the MCP servers the agent needs to access. The gateway only makes an outbound connection to the Claude Platform. Agents then call the private MCP servers via the tunnel, encrypted, without the services being publicly accessible. Management is done via the Claude Console by workspace admins.

What can agents now access via MCP tunnels?

  • Internal databases and data warehouses
  • Private APIs and microservices
  • Knowledge bases and documentation systems
  • Ticketing systems and project management tools on private servers
  • Internal monitoring and observability
  • Older systems that cannot be publicly exposed

MCP tunnels work in both Managed Agents and the Messages API. So you don't need to use the full Managed Agents stack to benefit from it.

Which use cases become possible with this?

Some examples that are now within reach:

Financial services

An analyst agent processes proprietary data in a Vercel Sandbox, queries internal databases via an MCP tunnel, and never sends data outside the perimeter. Rogo is building exactly this.

Healthcare

A research agent processes patient data locally in a self-hosted sandbox and consults internal knowledge bases via an MCP tunnel. No data to third parties, yet the full convenience of a Claude agent.

Software development

A build agent clones a full repository in a Daytona sandbox, runs tests, installs packages, and then deploys via a private package registry accessible via an MCP tunnel.

A document analysis agent processes confidential contracts in a self-hosted environment and accesses internal case management systems via an MCP tunnel.

Enterprise sales

A GTM agent like Clay's Sculptor builds and tests workflows in a Daytona sandbox with live access to internal CRM and sales data.

Which sandbox do you choose for which situation?

Cloudflare if you want zero-trust network policies and granular egress control. Strong for compliance-heavy environments where every network request must be audited.

Daytona if you need long-running, stateful agents that work for hours on complex tasks. Suitable for development agents that clone repositories, run tests, and perform builds.

Modal if you need heavy compute: GPU, sub-second startup, massive parallelization. Suitable for AI workloads alongside the agent loop.

Vercel if you want seamless integration with existing Vercel infrastructure, need VPC peering, and demand credential isolation at the network boundary as a strict requirement.

Your own infrastructure if you want full control and do not accept dependence on an external sandbox provider.

What does this mean for your AI roadmap?

Until now, many enterprise AI initiatives stopped at the pilot phase. Reason: as soon as it had to go into production, it clashed with security and compliance. That roadblock has been removed today.

If your organization wants to deploy agents on sensitive data, in regulated environments, or with access to internal systems, this is the time to think through the architecture. Choosing the right sandbox, deploying the gateway for MCP tunnels, and selecting the first use case will determine whether you'll be a leader or a follower in this domain.

At vanbeaumond.nl, we guide organizations from architecture choice to production deployment. If you want to discuss your situation, schedule a call. Or let your team first work with Claude on the basis of a company brain.

Custom MCP server

Get your own MCP server built?

Salesforce, your own ERP, internal database or legacy app: I build the MCP server that lets Claude talk to your tools safely. Credentials stay with you, delivery includes documentation.

  • Credentials local, no third-party pass-through
  • Delivered with documentation
  • Part of a company brain project
Option 1, read first

How a custom connector works

Read how a custom connector fits your company brain and the AI tool your team uses.

Read how it works
Option 2, talk directly

Book an intro call with Mike

Prefer a quick call to check if your setup fits? Book a slot in my calendar, no obligations, no sales pitch.

Sound familiar? Let's talk.

In 30 minutes we look together at which team your brain starts with. No obligation.

Frequently asked questions

The agent loop, model inference, context window, orchestration, and fault recovery continue to run on Anthropic. Everything related to tool execution runs in your sandbox: code, file access, API calls, package installations, and resource usage. You determine the resource sizing, the runtime image, n

Sensitive files and repositories do not leave your infrastructure. Existing network policies, audit logging, and security tooling apply automatically. You decide how much CPU, memory, and capacity a heavy task gets, for example, long builds or image generation. No exceptions to compliance policies a

You deploy a lightweight gateway in your private network, next to the MCP servers the agent needs to access. The gateway only makes an outbound connection to the Claude Platform. Agents then call the private MCP servers via the tunnel, encrypted, without the services being publicly accessible. Manag

- Internal databases and data warehouses

No. Self-hosted sandboxes are an option, not a replacement. If you want to continue using the standard sandbox, nothing changes. You choose which configuration to use per use case.

No, they operate on different layers. Bedrock moves model inference to AWS. Self-hosted sandboxes move tool execution to your infrastructure. The agent loop remains with Anthropic in both cases. For the strictest compliance requirements, you can combine both.

Self-hosted sandboxes are available to Claude Platform customers with API access. Check platform.claude.com/docs/en/managed-agents/self-hosted-sandboxes for current plan requirements.

The compute costs are billed directly by the sandbox provider, not by Anthropic. Claude Managed Agents charges you standard API credits for the agent loop. Consult the pricing page of the respective provider.

Yes. MCP tunnels work in both Managed Agents and the Messages API. You don't need to run the full Managed Agents stack to benefit from it.

The traffic is end-to-end encrypted. The gateway you deploy only makes outbound connections, so no inbound firewall rules are needed, and your services remain non-publicly accessible.