MCP Server Hosting in 2026: Why 'Free Tiers' Break in Production (And What Real Isolation Costs)

Contents
We build a cloud whose agents operate it over MCP, so we spend a lot of the week talking to servers we wrote. Every one of those servers is hosted, always-on, and billed by the hour. But before any tool of ours is hosted, it lives on a laptop, behind a tunnel, answering calls from an agent on the same desk. That stage is free, it is where everyone should start, and the first half of this post is about how much you can get done there.
The second half is the question that arrives next, usually the week a teammate points their agent at your tool: what does hosting an MCP server actually cost in production, and what are you paying for? This post answers both halves with real numbers. If you only want the production side, jump to the platform comparison table, or go straight to how to host an MCP server for the deploy walkthrough.
The short version for anyone searching the free question: yes, you can host an MCP server for free. Run it on a machine you already own, use the free tier of a managed platform, or use serverless if your tools keep no state. Each is genuinely free and each breaks in a way you can predict. We have hit all three breaks, from both sides: as the people hosting the tools, and as the platform that inherits them when they grow.
| Path | What it costs | Where it breaks | Who it suits |
|---|---|---|---|
| Your machine behind a tunnel | $0 | The machine sleeps, reboots, loses wifi; the tool is up only while you are | Development and solo experiments |
| The free tier of a managed platform | $0, the platform carries the idle hours | One instance, a memory ceiling, spin-down on the platform’s schedule | A first real tool, before a teammate depends on it |
| Serverless, stateless tools only | $0 per call and response | No state and no held connections; most MCP servers do not qualify | Pure call-and-return tools |
The rest of this post is about where each of those breaks, because that is the part the table cannot tell you, and then about what the paid side looks like across the platforms people actually deploy MCP servers on.
The tunnel stage, and why it ends
Your laptop can be an MCP server tonight. Start the process, put a tunnel in front of it, point your agent at the URL, and you have a hosted server for zero dollars. We still develop this way; nothing beats editing a tool and watching the agent pick up the change seconds later.
It ends the first time the tool is useful to someone who is not you. A tunnel only works while the machine is awake, and the machine is yours: it sleeps when you sleep, it reboots when an update lands, it loses the wifi exactly once, at the worst moment. A remote MCP server is only remote if it stays up. Tunnels are fine for what they are. The problem is that shared usefulness and shared uptime are the same requirement, and a laptop cannot provide either.
Free tiers are real, read the edges
The managed path costs nothing on a free tier, and we want to defend free tiers for a moment, because we run one. A free tier that carries one small always-on service costs the platform almost nothing and makes the platform useful enough that you stay. That is the whole trade, and it is a fair one.
What the edges look like, from our side of the fence: one instance, a memory ceiling, sometimes a request cap. One small MCP server is a lightweight process speaking HTTP, and it fits. What does not fit is the day two agents call at once, or the day your tool needs a database next to it and you start gluing vendors together for state that should live on the same platform.
If your tools keep no state at all, a serverless function is another zero-dollar route, and for a pure request-and-response tool it is a good one. Most MCP servers do not qualify: they hold connections open and remember things between calls, which fights the request-and-forget model. On AWS Lambda the constraint is documented rather than implied: invocations cap at 15 minutes and the service is designed “for short-lived compute tasks that do not retain or rely upon state between invocations” (checked 7 November 2026). We tried the stateless-only shape ourselves and kept running back to a real process.
The math that hides under “free”
An always-on service, however small, is 730 metered hours a month. It answers twice a day and meters around the clock. Free tiers pay that slice for you because it is the cheapest loyalty program ever invented, and honestly, it works.
We wrote before about what an always-on VM actually costs once it is billed by the hour, and the punchline was a customer spending 84% of a real bill on one VM that never slept. Scale-to-zero exists because of stories like that. Free tiers are the same instinct pointing the other direction: the platform carries the idle hours so your first tool costs nothing. Neither model is charity. Both are fine, as long as you know which side of the meter you are standing on.
What production MCP hosting actually costs
When the tool outgrows free, you are choosing between a handful of platforms, and they differ on three axes that matter for MCP servers specifically: what happens to the bill when nobody is calling, what isolation boundary the vendor publishes, and whether a database can sit beside the server on the same key and bill. Numbers below are from each vendor’s own pricing or docs, checked 7 November 2026 unless noted.
| Platform | Billing shape for a small always-on server | Idle behaviour | Published isolation | Database beside it |
|---|---|---|---|---|
| Scalix Run | Per second while awake, $0.036/vCPU-hr + $0.004/GiB-hr | Minimum instances can be zero; parked compute meters nothing | Hardware-isolated microVM, own kernel per deployment | Scalix Nova Postgres 16/17/18, same key, same ledger |
| Render | Flat monthly, from $7 (0.5 CPU / 512 MB), $25 for 1 CPU / 2 GB | Paid types never spin down; only the free type does, after 15 min | None found | Render Postgres, from $19/mo |
| Fly.io | Preset sizes billed by the second while running | Stopped Machines stop compute but keep billing rootfs storage | Machines are KVM microVMs, per Fly’s own writing | Fly Managed Postgres |
| Railway | Per second against plan credits | Sleeps after 10 min without outbound packets; first request may 502 | None found | Postgres template, documented unmanaged (checked 6 Aug 2026) |
| AWS Lambda | Per request plus GB-seconds | Nothing runs between invocations | MicroVM per invocation, AWS’s own published design | RDS, a separate service on a separate meter |
Three honest notes on that table. Fly and Railway rows carry figures we verified against their docs on 6 August 2026 for our app hosting survey; pricing pages move, so re-check at decision time. On isolation, “none found” means exactly that: we found no published statement from Render or Railway about the kernel boundary between tenants, and absence of a claim is not evidence of a weak boundary. And Lambda genuinely runs each invocation in a dedicated microVM, the same isolation family we use; what disqualifies it for most MCP servers is the stateless invocation model, not the isolation.
The reason the “database beside it” column exists: the most useful MCP servers are the ones with state. A tool that remembers your schema, caches a session, or writes audit rows needs a store, and on most of the table that store is a second vendor, a second credential, and a second bill. That gluing is the tax nobody prices in when they compare per-hour rates. It is also the thing we built the platform around, which is disclosed rather than hidden: on Scalix the server, the Postgres beside it, and the object storage behind that are one key and one usage ledger.
The day to stop being free
The trigger is a trust threshold rather than a resource one. You will notice one of these three things: you check that the server is up before you check your email, because a teammate’s agent depends on it now. A workflow treats its downtime as an incident. Or a second process appears because one instance became a queue.
Any one of those means the tool has outgrown the free stage, and the move is smaller than people fear. On Scalix Run the free-tier deploy and the paid deploy are the same command, same URL, one setting changed:
scalix-cloud run deploy --name mcp-server \
--image registry.scalix.world/my-org/mcp-server:v1 \
--port 8080 \
--min-instances 1
You change a plan, not an architecture, and the URL your agents already know does not move. That matters more than the price. Re-pointing every agent that trusts your server is the real cost of outgrowing a host.
There is a second trigger that has no free-stage equivalent, and it is the one in this post’s title. When an MCP server stops being a read-only tool and starts executing decisions an agent made at runtime, the isolation question changes category. A normal web service runs code a human reviewed; an agent-operated server runs whatever the agent decided to call, with whatever arguments it chose. That is the workload class where a per-workload kernel stops being an architecture astronaut’s preference and starts being the defensible default. If your server operates infrastructure, touches untrusted input, or runs generated code, price the isolation explicitly rather than inheriting whatever boundary your host happens to use.
Where we land
Start free, on the machine or the tier, and mean it: the free stage is where your tool earns the right to exist. Then let the trust signals, not the invoice, tell you when to move, and when you move, compare the platforms on idle billing, isolation, and how much state can live on the same key. Start on the free tier, read the full hosting walkthrough when you are ready, and if you want to see client configs for MCP servers we host ourselves, they are public at scalixworld/scalix-cloud-mcp.
FAQ
Can I host an MCP server for free?
Yes. Three paths cost nothing: run it on a machine you already own behind a tunnel, use the free tier of a managed container platform, or put stateless tools on a serverless function. Each has limits: sleep, small caps, and no state respectively. Free hosting is the right way to start, and every production deployment we operate began on a laptop behind a tunnel.
What is the best platform for hosting an MCP server in production?
Pick by three things: whether the platform bills while your server is idle, whether it publishes an isolation boundary, and whether a database can sit beside the server on the same key. Scalix Run meters per second only while awake with a per-deployment dedicated kernel and managed Postgres on the same ledger. Fly.io gives you VM lifecycle control with compute stopping on parked Machines. Render is the flat predictable bill with no spin-down on paid types. Railway is per-second usage on hardware it owns. Lambda fits only stateless call-and-return tools because of its 15 minute cap.
Is free MCP server hosting good enough for production?
For a personal agent or a demo, usually yes. For production it is not: free plans cap memory and instances, spin services down on a schedule you do not control, and give you no isolation statement to show procurement. The day teammates or real workflows depend on the tool, move it to a small paid plan.
How much does it cost to host an MCP server?
A small MCP server needs roughly half a vCPU and 512 MB. On Scalix Run that is about $15 per month if it never sleeps, and near zero if you set the minimum instance count to zero and it wakes per request. On Render the closest paid type is $7 per month and runs 24/7 whether called or not. On AWS Lambda the compute is per-request, but only stateless tools qualify.
Can I host an MCP server on my own computer?
You can, with a tunnel that gives your local server a public URL. It is genuinely free, but it only works while your machine is awake, which is exactly when you are not testing it. Fine for experiments, wrong for anything shared.
Do MCP servers need hardware isolation?
It depends on what the tools do. An MCP server that only reads your own data is a normal web service. One that executes generated code, touches untrusted input, or operates infrastructure on an agent's behalf is running decisions nobody reviewed, and a per-workload kernel boundary is the defensible answer. Scalix Run and Fly.io publish microVM models; we found no published kernel-boundary claim from Render or Railway either way.