Dev.to AI πŸ€– Ai πŸ‘ 0 πŸ“– 15 min read

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

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,

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.

Platform Official MCP server How the agent signs in Ways to limit what the agent can do
Control Plane Hosted (mcp.cpln.io) OAuth with per-org consent Readonly profile fixed for the life of the connection; only the orgs you selected; approval before destructive tools
AWS Hosted AWS MCP Server, generally available May 2026 OAuth 2.1 or SigV4 IAM condition keys for agent calls; read-only mode with SigV4
Google Cloud Hosted per-product endpoints (Cloud Run, GKE and others) OAuth, Application Default Credentials or agent identity MCP Tool User role; Model Armor scanning
Microsoft Azure Azure MCP Server 2.0, local or self-hosted Entra ID with Azure RBAC --read-only flag; confirmation before sensitive reads
Vercel Hosted (mcp.vercel.com) OAuth Your Vercel permissions apply; Vercel advises human confirmation
Cloudflare Hosted (mcp.cloudflare.com) OAuth or API token Permissions chosen at OAuth time
Railway Hosted (mcp.railway.com) and in the CLI OAuth or CLI login (user identity required) Pick workspaces and projects at OAuth time; clients prompt before destructive tools
Render Hosted (mcp.render.com) OAuth or API key One workspace; no deletions through MCP
Fly.io Hosted (mcp.fly.io) OAuth Pick orgs, apps and products; confirm destructive or billable actions
Netlify Hosted (mcp.netlify.com) OAuth or personal access token Token expiry; SSO team access opt-in
Supabase Hosted (mcp.supabase.com) OAuth or project-scoped token read_only, project_ref, feature groups
Neon Hosted (mcp.neon.tech) OAuth or API key readonly, projectId; development and testing only
Replit Hosted (mcp.replit.com) OAuth Agent cannot modify the production database
Pulumi Hosted (mcp.ai.pulumi.com) Pulumi access token Neo approval modes; Pulumi Policies
Terraform Local, self-hosted, or hosted remote (beta) HCP Terraform token Registry 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.

Platform Per-PR environment What happens to data
Control Plane Review workload per pull request from GitHub Actions; a merge updates dev; staging and production orgs are promoted through a manual workflow Each environment is its own org with its own secrets and resources, so review workloads stay apart from production
Vercel Automatic preview deployment per branch or PR Copy-on-write Neon branch per Git branch through the Neon integration
Netlify Deploy Preview per PR Netlify Database branch with a copy of production data
Railway PR environment, deleted on merge or close; bot PRs included Not stated in the docs
Render Preview environment per PR (Pro workspaces and higher) Datastores copied without data; seed with a deploy hook
Cloudflare Worker Preview per branch New Durable Object namespace per Preview; KV, D1 and R2 isolated when bound to separate resources
Supabase Preview branch per PR Starts empty unless seeded
Neon Branch per preview through integrations, CLI, API or GitHub Actions Copy-on-write clone of data
Encore Preview environment per PR (Pro) Copy of a chosen environment’s database, typically staging, through Neon branching
Fly.io Review app per PR built with GitHub Actions Single 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.

Platform Product Isolation as the vendor states it Persistence
Control Plane Dev sandbox and worker sandbox One Firecracker microVM per sandbox; each worker session is its own container with its own workspace, network namespace and token Persistent home volume; idle sandboxes resume in place
AWS Bedrock AgentCore Runtime and Code Interpreter Dedicated microVM per session Code Interpreter sessions up to 8 hours
Microsoft Azure Container Apps dynamic sessions Hyper-V isolation; outbound network blocked by default Destroyed after a cooldown
Vercel Vercel Sandbox Firecracker microVM with its own filesystem and network Snapshots and persistent sandboxes
Cloudflare Sandbox SDK Each container is β€œa microVM with its own kernel and network” Not compared
Fly.io Machines and Sprites Firecracker microVMs Sprites persist with checkpoint and restore
E2B E2B Sandbox Firecracker microVM Pause saves filesystem and memory
Daytona Daytona Sandbox Container class, or VM class with its own kernel Persistent by default
Railway Railway Sandboxes Isolated Linux VMs Named checkpoints of the sandbox disk
Replit Workspace runtime microVMs Checkpoints for rollback
Coder Workspaces with Agent Firewall VMs, 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.

Platform Human approval Credentials Audit
Control Plane Approval before destructive tools; never moves or deletes existing resources without an explicit yes Deny by default, so nothing is permitted until a policy says so; workloads get short-lived AWS, GCP and Azure credentials at runtime Tamper-proof audit trail covering the console, CLI, Terraform, Pulumi and MCP agents, queryable by the agent
AWS IAM policies on agent-initiated calls; read-only mode with SigV4 IAM; condition keys identify agent calls CloudTrail
Google Cloud IAM allow and deny policies on MCP tool calls OAuth, ADC or agent identity Cloud Audit Logs
Microsoft Azure Confirmation before sensitive reads Entra ID and RBAC Azure Monitor for sessions
Vercel Vercel advises human confirmation Same access as the user account Audit logs on Enterprise
Railway Clients prompt before destructive tools User identity; account, workspace or project tokens for the API 48 hours to 18 months by plan
Supabase Keep manual approval on Read-only Postgres user option Platform audit logs on Team and Enterprise
Neon Review every LLM-requested action Read-only mode option Console and API audit logs for HIPAA projects, on request
Pulumi Review, Balanced or Auto modes Pulumi Cloud roles Not compared
Terraform Tools that need explicit approval off until ENABLE_TF_OPERATIONS is set HCP Terraform token Not compared
Replit Plan approval on request; paid actions confirmed Agent cannot modify production database Enterprise 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 situation What it needs Platforms that document it
Agents write most of the services that run in production, on one cloud, several clouds or your own servers Day 2 operations after merge, MCP access with approvals, sandboxes, audit Control Plane
Frontend and full-stack web apps with a database per preview Preview per PR with branched data Vercel with Neon, Netlify Database, Supabase branching
A small backend shipped from the CLI or MCP Hosted MCP, PR environments Control Plane, Railway, Render, Fly.io
Teams standardized on one hyperscaler Provider MCP server with IAM controls and cloud audit logs AWS MCP Server, Google Cloud MCP servers, Azure MCP Server
Infrastructure as code reviewed in pull requests Typed IaC, policy checks, approval modes Pulumi, Terraform, Encore
Running untrusted agent code at scale Isolated sandboxes with fast start and persistence Control Plane Sandboxes, E2B, Daytona, Vercel Sandbox, AgentCore
Prompt-to-app building by non-developers Builder with hosting and rollback Replit

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.

Originally published on the Control Plane blog.

πŸ“° Read the original article on Dev.to AI

Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes β€” full credit and traffic to the original publisher.