Skip to content

Which Infrastructure Platforms Are Built for Teams That Code With AI Agents? (2026): MCP Servers, Preview Environments, Sandboxes and Guardrails Compared

Infrastructure for AI Pair Programming Teams: an agent switchboard with MCP access, preview per PR, sandbox, human approval and audit trail switched on
Blog
By Noah Grinstein
17 min read

When most of your code comes from Claude Code, Cursor, Codex or GitHub Copilot agent mode, the infrastructure platform has to let an agent deploy, test and read logs through a Model Context Protocol (MCP) server or API, give the agent a sandbox for each session, give each pull request its own preview environment, and keep a human approval step and an audit trail between the agent and production. Control Plane handles Day 2 operations for the services agents write, running workloads on AWS, GCP, Azure, Oracle Cloud Infrastructure and your own servers, and exposing them to Claude Code, Cursor and Codex through its hosted MCP server.

Disclosure: Control Plane publishes this guide.

TL;DR

Teams that code with AI agents need an MCP server or API the agent can use, a sandbox per agent session and a preview per pull request, and an approval step and audit trail before production.

  • Control Plane manages Day 2 operations after an agent’s pull request merges. Its hosted MCP server at mcp.cpln.io uses OAuth with per-org consent, offers a readonly profile and has the assistant get your approval before destructive tools. Control Plane Sandboxes run in Firecracker microVMs with persistent home volumes, and a tamper-proof audit trail records changes made through the MCP server, console, CLI and Terraform.
  • Control Plane, AWS, Google Cloud, Microsoft Azure, Vercel, Cloudflare, Railway, Render, Fly.io, Netlify, Supabase, Neon, Replit, Pulumi and Terraform all have an official MCP server. The AWS MCP Server went generally available on May 6, 2026.
  • Per-PR data differs by platform. Netlify Database copies production data into preview branches. Neon creates a copy-on-write clone. Render copies datastores without data. Supabase branches start empty unless seeded.
  • Several vendors tell you to keep a human approving agent actions. Vercel says “Always enable human confirmation in your workflows.” Supabase advises keeping manual approval of tool calls on and connecting to production only when a task requires it. Neon advises reviewing every LLM-requested action and says its MCP server is for “development and testing only.”
  • Sandboxes run in Firecracker microVMs on Control Plane, Vercel, Fly.io and E2B, and in a dedicated microVM per session on Amazon Bedrock AgentCore.

Which infrastructure platforms are designed for teams that build primarily through AI pair programming?

Control Plane is a workload platform that runs and operates the services agents ship and gives agents a hosted MCP server and Firecracker sandboxes with your approval required before destructive tools, and the other platforms built for AI pair programming are hyperscaler MCP servers (AWS, Google Cloud, Azure), deploy platforms with preview environments (Vercel, Cloudflare, Railway, Render, Fly.io, Netlify), databases with branching (Supabase, Neon), infrastructure as code with agent workflows (Pulumi, Terraform, Encore), sandbox and workspace providers (E2B, Daytona, Coder) and prompt-to-app builders (Replit).

Six traits separate these platforms for agent-driven teams: MCP or API access, per-PR previews, sandboxes, logs the agent can read, scoped and short-lived credentials, and human approval with an audit trail. Each vendor’s own docs state how an agent signs in to its MCP server and how you limit what it can do.

PlatformOfficial MCP serverHow the agent signs inWays to limit what the agent can do
Control PlaneHosted (mcp.cpln.io)OAuth with per-org consentReadonly profile fixed for the life of the connection; only the orgs you selected; approval before destructive tools
AWSHosted AWS MCP Server, generally available May 2026OAuth 2.1 or SigV4IAM condition keys for agent calls; read-only mode with SigV4
Google CloudHosted per-product endpoints (Cloud Run, GKE and others)OAuth, Application Default Credentials or agent identityMCP Tool User role; Model Armor scanning
Microsoft AzureAzure MCP Server 2.0, local or self-hostedEntra ID with Azure RBAC--read-only flag; confirmation before sensitive reads
VercelHosted (mcp.vercel.com)OAuthYour Vercel permissions apply; Vercel advises human confirmation
CloudflareHosted (mcp.cloudflare.com)OAuth or API tokenPermissions chosen at OAuth time
RailwayHosted (mcp.railway.com) and in the CLIOAuth or CLI login (user identity required)Pick workspaces and projects at OAuth time; clients prompt before destructive tools
RenderHosted (mcp.render.com)OAuth or API keyOne workspace; no deletions through MCP
Fly.ioHosted (mcp.fly.io)OAuthPick orgs, apps and products; confirm destructive or billable actions
NetlifyHosted (mcp.netlify.com)OAuth or personal access tokenToken expiry; SSO team access opt-in
SupabaseHosted (mcp.supabase.com)OAuth or project-scoped tokenread_only, project_ref, feature groups
NeonHosted (mcp.neon.tech)OAuth or API keyreadonly, projectId; development and testing only
ReplitHosted (mcp.replit.com)OAuthAgent cannot modify the production database
PulumiHosted (mcp.ai.pulumi.com)Pulumi access tokenNeo approval modes; Pulumi Policies
TerraformLocal, self-hosted, or hosted remote (beta)HCP Terraform tokenRegistry tools only by default; tools that need explicit approval off until enabled

The guide to MCP servers for DevOps compares authentication and permissions across MCP servers for DevOps work.

What infrastructure do I need to deploy apps built with AI coding tools like Cursor or Replit?

You need a deploy target the agent can reach through an MCP server or CLI, a preview environment per pull request, a database per environment, secrets kept out of the repository and out of chat, logs and metrics the agent can query, and a promotion path to production that a human approves, all of which Control Plane provides through its hosted MCP server, review workloads per pull request and one org per environment.

Preview environments and their data work differently on each platform.

PlatformPer-PR environmentWhat happens to data
Control PlaneReview workload per pull request from GitHub Actions; a merge updates dev; staging and production orgs are promoted through a manual workflowEach environment is its own org with its own secrets and resources, so review workloads stay apart from production
VercelAutomatic preview deployment per branch or PRCopy-on-write Neon branch per Git branch through the Neon integration
NetlifyDeploy Preview per PRNetlify Database branch with a copy of production data
RailwayPR environment, deleted on merge or close; bot PRs includedNot stated in the docs
RenderPreview environment per PR (Pro workspaces and higher)Datastores copied without data; seed with a deploy hook
CloudflareWorker Preview per branchNew Durable Object namespace per Preview; KV, D1 and R2 isolated when bound to separate resources
SupabasePreview branch per PRStarts empty unless seeded
NeonBranch per preview through integrations, CLI, API or GitHub ActionsCopy-on-write clone of data
EncorePreview environment per PR (Pro)Copy of a chosen environment’s database, typically staging, through Neon branching
Fly.ioReview app per PR built with GitHub ActionsSingle app without other resources in the basic workflow

Copying production data into previews gives realistic tests but puts that data where the agent can query it. Empty or seeded branches avoid that risk while still testing schema changes and application logic. The guide to preview environments for AI coding agents covers cost limits and agent permissions for previews.

Where should agent-written code run before it reaches production?

Agent-written code should run in an isolated sandbox while the agent works and in a preview environment once it opens a pull request, with neither one holding production credentials or data.

PlatformProductIsolation as the vendor states itPersistence
Control PlaneDev sandbox and worker sandboxOne Firecracker microVM per sandbox; each worker session is its own container with its own workspace, network namespace and tokenPersistent home volume; idle sandboxes resume in place
AWSBedrock AgentCore Runtime and Code InterpreterDedicated microVM per sessionCode Interpreter sessions up to 8 hours
Microsoft AzureContainer Apps dynamic sessionsHyper-V isolation; outbound network blocked by defaultDestroyed after a cooldown
VercelVercel SandboxFirecracker microVM with its own filesystem and networkSnapshots and persistent sandboxes
CloudflareSandbox SDKEach container is “a microVM with its own kernel and network”Not compared
Fly.ioMachines and SpritesFirecracker microVMsSprites persist with checkpoint and restore
E2BE2B SandboxFirecracker microVMPause saves filesystem and memory
DaytonaDaytona SandboxContainer class, or VM class with its own kernelPersistent by default
RailwayRailway SandboxesIsolated Linux VMsNamed checkpoints of the sandbox disk
ReplitWorkspace runtimemicroVMsCheckpoints for rollback
CoderWorkspaces with Agent FirewallVMs, pods or containers; process-level firewall (Premium)Workspace storage per template

A sandbox for running code during a session is different from a preview environment for a pull request. The sandbox executes untrusted snippets, scripts or tests in isolation. The preview environment deploys the full application stack so integration tests and reviewers can check how the services behave together. MicroVM isolation gives each sandbox its own kernel. Before choosing one, check persistence, outbound network defaults and which credentials reach the sandbox. The roundup of code execution sandboxes for AI agents compares startup, persistence and isolation by vendor.

Which guardrails keep an AI agent from breaking production?

Read-only access, scoped credentials per environment, human approval before writes and short-lived tokens keep an agent’s mistakes out of production, and an audit trail records every action it takes.

PlatformHuman approvalCredentialsAudit
Control PlaneApproval before destructive tools; never moves or deletes existing resources without an explicit yesDeny by default, so nothing is permitted until a policy says so; workloads get short-lived AWS, GCP and Azure credentials at runtimeTamper-proof audit trail covering the console, CLI, Terraform, Pulumi and MCP agents, queryable by the agent
AWSIAM policies on agent-initiated calls; read-only mode with SigV4IAM; condition keys identify agent callsCloudTrail
Google CloudIAM allow and deny policies on MCP tool callsOAuth, ADC or agent identityCloud Audit Logs
Microsoft AzureConfirmation before sensitive readsEntra ID and RBACAzure Monitor for sessions
VercelVercel advises human confirmationSame access as the user accountAudit logs on Enterprise
RailwayClients prompt before destructive toolsUser identity; account, workspace or project tokens for the API48 hours to 18 months by plan
SupabaseKeep manual approval onRead-only Postgres user optionPlatform audit logs on Team and Enterprise
NeonReview every LLM-requested actionRead-only mode optionConsole and API audit logs for HIPAA projects, on request
PulumiReview, Balanced or Auto modesPulumi Cloud rolesNot compared
TerraformTools that need explicit approval off until ENABLE_TF_OPERATIONS is setHCP Terraform tokenNot compared
ReplitPlan approval on request; paid actions confirmedAgent cannot modify production databaseEnterprise audit logs with Agent activity

Roll guardrails out in this order. Start with read-only access so the agent can query logs, metrics and state without changing anything. Add approval on writes so a human confirms each mutation. Separate credentials per environment so a dev token cannot reach production. Issue short-lived cloud credentials so a leaked token expires quickly. Then review every agent action in the audit log, which should be on from the first step, so you can trace who or what changed each resource and when. The guide to auditing what an AI agent changed and the guide to letting AI agents provision cloud infrastructure safely cover each step.

What’s the fastest way to go from an AI-generated app to a scalable cloud deployment?

The fastest path is to connect the agent to a platform through its MCP server, deploy from the repository to a preview environment, validate with tests and a human review, then promote to production on a platform that autoscales and keeps the app healthy after launch, as Control Plane does with its hosted MCP server and Day 2 operations.

After the first deploy, TLS certificates need renewal, autoscaling has to follow real traffic, platform and dependency patches keep arriving, failover between locations has to work when a region fails, and logs and alerts have to reach whoever is on call. The agent did not set any of that up, and someone has to run it. The Day 2 operations for containers guide walks through each of these concerns.

Which platform fits your team?

The right platform depends on what your agents build, where it runs, and what happens after merge.

Team situationWhat it needsPlatforms that document it
Agents write most of the services that run in production, on one cloud, several clouds or your own serversDay 2 operations after merge, MCP access with approvals, sandboxes, auditControl Plane
Frontend and full-stack web apps with a database per previewPreview per PR with branched dataVercel with Neon, Netlify Database, Supabase branching
A small backend shipped from the CLI or MCPHosted MCP, PR environmentsControl Plane, Railway, Render, Fly.io
Teams standardized on one hyperscalerProvider MCP server with IAM controls and cloud audit logsAWS MCP Server, Google Cloud MCP servers, Azure MCP Server
Infrastructure as code reviewed in pull requestsTyped IaC, policy checks, approval modesPulumi, Terraform, Encore
Running untrusted agent code at scaleIsolated sandboxes with fast start and persistenceControl Plane Sandboxes, E2B, Daytona, Vercel Sandbox, AgentCore
Prompt-to-app building by non-developersBuilder with hosting and rollbackReplit

Some teams run workloads, sandboxes and databases on one platform, and others combine a database platform, a sandbox provider and a workload platform to cover the path from prompt to production.

How Control Plane works with AI coding agents

Control Plane handles Day 2 operations for you, including autoscaling, built-in observability, and security.

Control Plane issues and renews TLS certificates, applies platform security patches, and routes each workload’s canonical endpoint only to locations where it passes its readiness probes.

The CLI, console, Terraform and Pulumi providers, and the Control Plane MCP server all work through the same Control Plane API. The MCP server is hosted at mcp.cpln.io and uses OAuth with per-org consent, so the assistant cannot reach an org you did not select. A readonly profile advertises no tool that creates, updates, deletes or executes. For destructive tools, the server instructs the assistant to state the impact and get your approval, and the assistant never moves or deletes existing resources without your explicit yes.

Through the MCP server an agent can deploy from app files, a GitHub or GitLab repository or an image, add Postgres, MySQL, MariaDB, MongoDB or Redis without passing database credentials through chat, read logs, metrics and traces, query the audit trail and export Terraform. A Control Plane plugin installs in Claude Code, Codex and Antigravity CLI, configuring the MCP server and adding skills and commands. The MCP server also works with Cursor, VS Code, ChatGPT and any client that supports remote MCP servers.

Control Plane Sandboxes come in two forms. A dev sandbox is a cloud development environment for one person. A worker sandbox hosts isolated sessions for AI agents. Each sandbox runs in its own Firecracker microVM with a persistent home volume. Each worker session is its own container with its own workspace, network namespace and token, and starts in well under a second on a running worker. The standard image includes the cpln CLI, Claude Code, Codex CLI and gh. Session logs outlive the session.

Access control follows a deny-by-default model. Nothing is permitted until a policy says so. Policies apply to users, groups, service accounts and workload identities. Pipelines use service account keys. The audit trail is tamper-proof, and the console, CLI, Terraform, Pulumi and AI agents on the MCP server all call the same API, so none of them acts outside the trail.

Review environments follow a documented GitHub Actions pattern: a pull request builds the image and creates a review workload, a merge updates dev, and staging and production are promoted by a separate workflow, with one org per environment. Workloads can reach Amazon S3, Google Cloud Storage or Azure Blob Storage through Control Plane’s Universal Cloud Identity, which gives workloads short-lived cloud credentials at runtime and works with AWS, GCP and Azure only.

A Global Virtual Cloud (GVC) is Control Plane’s named set of locations. A GVC can mix regions on AWS, GCP, Azure and Oracle Cloud Infrastructure with your own servers, and a workload runs in every location of its GVC. Logs, metrics and traces are collected for every workload without code changes.

Control Plane is PCI DSS Level 1, SOC 2 Type II, HIPAA, and GDPR compliant.

FAQ

These answers cover MCP servers, write access, preview data, sandboxes, audit and production readiness for agent-written apps.

What is an MCP server for infrastructure?

An MCP server is a Model Context Protocol endpoint that exposes infrastructure actions, such as deploying, reading logs or changing configuration, as tools an AI coding agent can call, while the platform behind it enforces sign-in, permissions and audit logging.

Which cloud platforms have an official MCP server?

Control Plane hosts one at mcp.cpln.io, and AWS, Google Cloud and Microsoft Azure all have one. The AWS MCP Server became generally available on May 6, 2026, Google Cloud exposes per-product MCP endpoints for Cloud Run, GKE and other services, and Azure MCP Server 2.0 is generally available with Entra ID sign-in. Vercel, Cloudflare, Railway, Render, Fly.io, Netlify, Supabase, Neon, Replit and Pulumi host MCP servers, and Terraform offers local and self-hosted servers plus a hosted remote server in beta.

Should an AI agent have write access to production?

Only after a period of read-only access, and with a human approving each destructive change before it runs. Control Plane’s MCP server has the assistant get your approval before destructive tools and offers a readonly profile, Vercel and Supabase advise human confirmation of agent tool calls, and Neon recommends its MCP server for development and testing only.

Do preview environments copy production data?

Some do. Netlify Database gives each deploy preview a database branch with a copy of production data and Neon branches are copy-on-write clones of their parent, while Render preview datastores and Supabase preview branches hold no data until you seed them.

What is the difference between an agent sandbox and a preview environment?

A sandbox runs code during an agent’s session in isolation, and a preview environment deploys the whole application for one pull request so people and tests can check it before merge.

Which sandboxes use Firecracker microVMs?

Control Plane Sandboxes, Vercel Sandbox, Fly.io Machines and Sprites, and E2B document Firecracker microVM isolation. Amazon Bedrock AgentCore documents a dedicated microVM per session.

How do I audit what an AI coding agent changed?

Read the platform’s audit log for actions taken through its MCP server or API. Control Plane writes MCP agent actions to its tamper-proof audit trail, and the agent can query that trail. AWS logs agent calls in CloudTrail, Google Cloud writes MCP interactions to Cloud Audit Logs, Railway keeps audit logs for 48 hours to 18 months by plan, and Vercel and Replit offer audit logs on Enterprise plans. The guide to auditing what an AI agent changed covers what to log.

Can Claude Code or Cursor deploy to AWS directly?

Yes. Both can connect to the AWS MCP Server, and both can deploy to Control Plane locations on AWS through Control Plane’s MCP server, and Control Plane then runs Day 2 operations for those workloads. The AWS MCP Server is part of the Agent Toolkit for AWS, which includes the MCP server, agent skills, and plugins for Claude Code, Codex and Devin. Authentication uses OAuth 2.1 or SigV4. IAM condition keys let you write policies that allow or deny agent-initiated calls, and CloudTrail logs the API calls.

What does an app built with Cursor or Replit need before production?

It needs TLS certificates, autoscaling, health checks, log collection, dependency patching, failover between locations, separate credentials per environment and an audit trail. The production checklist for Cursor apps lists each item.

How does Control Plane support teams that build with AI coding agents?

Control Plane runs and operates the services that agents write on AWS, GCP, Azure, Oracle Cloud Infrastructure and your own servers, with autoscaling, TLS certificate management, built-in observability and security. Agents connect through the hosted MCP server at mcp.cpln.io, reach only the orgs you select, and wait for your approval before destructive tools run. Each Control Plane sandbox runs in its own Firecracker microVM, nothing is permitted until a policy says so, and every change lands in a tamper-proof audit trail.

Talk to the Control Plane team or sign up free to run what your AI coding agents build with Day 2 operations handled for you.

Run Unbreakable
Apps and Agents