Deployment

Self-Hosting MCP on Cloud vs Managed MCP Hosting

Trade-offs between running MCP on your own cloud account versus a managed MCP platform — protocol requirements you still own either way, and when DIY is rational.

10 min read Published July 14, 2026 Updated July 14, 2026

You can run MCP on Cloud Run, Functions, AgentCore, Kubernetes, or a VM. The protocol is open (intro). The question is whether you want to own everything the protocol leaves unspecified.

Self-hosting: you own

LayerWork
ComputeContainers/functions/VMs
Transport edgeStreamable HTTP MCP endpoint (transports)
AuthOAuth resource server / keys (authorization)
SecurityConfused deputy, SSRF, sessions, local install risks (security best practices)
ToolsValidation, rate limits, sanitization (tools security)
OpsDeploys, logs, tool metrics, rollback
Identity of on-callYour SRE/platform team

Cloud vendors may document MCP-oriented patterns; they rarely ship a full multi-server MCP product surface.

Managed hosting: you buy

LayerTypical product
Artifact → URLGit/Docker/package deploy
Isolation defaultsContainer/runtime hardening
Auth togglesKeys/OAuth at the edge
UXDashboard, CLI, agent tools
ObservabilityLogs + tool analytics

MCPLambda example: deployment strategies.

Decision table

PriorityLean
Ship this week / small teamManaged
Existing platform team + cloud mandateSelf-host on that cloud
VPC-only / approved-vendor listSelf-host in tenant
Many custom MCP products, little platform staffManaged
Differentiated multi-tenant runtime is the productSelf-host (carefully)

Deep dive comparisons: hyperscalers, Vercel.

Non-negotiables either path

Whether managed or DIY, production remote MCP should:

  1. Prefer Streamable HTTP for new remotes
  2. Authenticate clients
  3. Validate Origin on HTTP transports
  4. Avoid token passthrough
  5. Rate-limit and validate tools
  6. Log enough to debug tools/call failures
  7. Keep secrets out of git

Official sources for each: transports, authorization, security best practices, tools security (linked above).

Cost honesty

Cheap on paperExpensive in practice
Function/GB-second pricingEngineer weeks on auth edge cases
“We already have AWS”Tool analytics DIY
One demo serverN environments × N servers without a control plane

Worked scenario: The “we already have AWS” trap

Leadership assumes MCP is “just another container.” Three months later you have half-finished OAuth, inconsistent logging, and no tool-level metrics—while product teams wait.

You reframe: self-host when a cloud mandate or platform team already owns the landing zone end-to-end. Otherwise buy a managed MCP control plane for artifact→URL, auth toggles, and tool analytics, and spend engineers on tools—not on re-implementing Streamable HTTP edge cases.

Either path still owes the protocol: auth, Origin validation, rate limits, and safe tool design.

Checklist for this topic

  • List protocol non-negotiables (auth, transports, tool security)
  • Inventory platform staff and mandates honestly
  • Estimate TCO including on-call, not only compute
  • Choose managed unless mandate/staff force DIY
  • If DIY, budget for tool-level observability
  • Revisit annually as MCP footprint grows

Topic-specific failure modes

FailureLikely causeFix
Endless platform projectDIY without staffManaged control plane
Compliance blocks SaaS hostTenant requirementSelf-host in VPC
Cheap compute, expensive outagesNo tool metricsInvest in observability
Mixed undocumented deploysNo standard pathPick one primary approach

Managed vs build · Securing remote · Hyperscaler compare

In practice: 90-day DIY budget

If you choose self-host, budget explicitly for:

  • Streamable HTTP edge + TLS + Origin
  • Auth implementation and rotation
  • Tool-level metrics
  • On-call runbooks
  • Load testing

If finance only approved “one small container,” you chose managed without admitting it—and you will pay later in incidents.

Questions to force an honest DIY choice

  1. Who gets paged at 2am when auth breaks?
  2. Who implements Origin validation and OAuth edge cases?
  3. Who builds tool-level dashboards?
  4. What is the deadline for the first production server?

If answers are “we’ll figure it out,” managed hosting is the responsible choice until a mandate forces otherwise.

Takeaways

For Self-Hosting MCP on Cloud vs Managed MCP Hosting, remember three things:

  1. Be specific to this problem — the worked scenario “The “we already have AWS” trap” is the failure mode you should design against, not a generic outage narrative.
  2. Self-host only when policy or data gravity forces it and a platform team owns day-2 ops.
  3. Managed hosting wins when time-to-production and tool-level ops matter more than raw IaaS control.

If you only remember one habit: “we already have AWS” is not a hosting strategy for MCP product velocity. If DIY is mandatory, staff it like a product: roadmap, SLOs for initialize success and tool error rate, and a quarterly security review against the official MCP security best practices document.

Sources

Next steps

Managed platform vs build-your-own · Securing remote

FAQs

Frequently Asked Questions

  • Is self-hosting cheaper?

    Compute list prices can look low. Total cost often includes IAM, pipelines, auth implementation per MCP security/authorization specs, tool-level observability, and on-call. Managed hosting usually wins for small teams until cloud mandates dominate.

  • What does self-hosting still require for remote MCP?

    A correct Streamable HTTP (or legacy-compatible) endpoint, Origin validation, authentication, no token passthrough, tool input validation/rate limits, secrets handling, and operational monitoring — all called out in official MCP transports, tools, and security docs.