Skip to main content

Guide ยท MCP hosting

Where to Host an MCP Server

We earn commissions when you shop through the links below.

Most MCP servers start as a local process your AI client launches over stdio, and that is often all you need. Host one remotely when a team shares it, when it needs secrets or data that should stay off laptops, or when a web client has to reach it over HTTP. Remote servers speak the Streamable HTTP transport, so you need something that keeps a web process running and gives it HTTPS.

Quick pick

  • Just you, on your own machineLocal stdio
  • A team-shared server, deployed from a Git repoDigitalOcean App Platform, Railway or Render
  • Full control, long-running work, local files or a database beside itA small virtual machine (DigitalOcean Droplet or Hetzner)
  • Lightweight tools at the edge, with little stateCloudflare Workers
  • Machines close to users in several regionsFly.io

The options, and when to use each

Local stdio

freeno hosting

Use it for: A server only you use: your AI client starts it as a child process and talks to it over stdin and stdout.

Tradeoff: Runs only while your client does, on your machine; teammates each run their own copy and keep their own secrets.

Railway

app platformgit deployfree plan

Use it for: Quick deploys from a repo with a database added in a few clicks.

Tradeoff: Usage-based billing; watch always-on services that sit idle.

Render

app platformgit deploy$0 hobby plan

Use it for: Web services from a repo with managed Postgres alongside.

Tradeoff: Check how your plan treats idle services: a server that sleeps makes the first MCP call after a quiet spell slow.

Cloudflare Workers

serverlessedgefree tier

Use it for: Small, mostly stateless tools; Cloudflare documents a template for remote MCP servers with OAuth.

Tradeoff: A Workers runtime, not full Node.js or a container: native binaries and long jobs don't fit.

Fly.io

containersmulti-region

Use it for: Running the same container close to users in several regions.

Tradeoff: More moving parts (machines, volumes, regions) to understand.

Hetzner Cloud

virtual machinelow cost

Use it for: A low-cost cloud server when you're happy to run it yourself.

Tradeoff: Bare infrastructure: no app platform or managed deploys from Git.

Skills that use these tools

More guides: best skills by topic ยท where to host AI apps