Large Language Models

MCP Server Hosting: Free Options, Pricing, Limits and Hosted Setup

Where to host an MCP server without paying, what each platform charges once the free tier runs out, which limits quietly break tool calls, and how to deploy a remote Streamable HTTP server with proper authentication.

MCP Server Hosting: Free Options, Pricing, Limits and Hosted Setup
Cristian Da Conceicao

Your MCP server works perfectly on your laptop. Then a teammate asks to use it, or you want Claude on your phone to call it, and suddenly you need a public URL that stays up. That is the moment MCP server hosting becomes a real decision: where to put it, what it will cost, and which limits will bite you at 2 a.m. This article answers those three questions with practical numbers and a repeatable setup.

A quick caveat before the numbers. Free tiers change often, and the figures below come from vendor comparisons published in 2026. Treat them as a starting point and confirm each one on the provider's own pricing page before you commit.

What MCP Hosting Actually Means

Developer typing at a wooden desk in a bright home office

The Model Context Protocol lets an AI client call tools, read resources and use prompts exposed by a server. Hosting simply means running that server somewhere other than the machine where the client lives, so any authorized client can reach it over the network.

Local stdio versus remote HTTP

A local server speaks over stdio: the client launches your process and talks to it through standard input and output. It costs nothing, needs no network and works only on that one machine. A remote server speaks Streamable HTTP, which means it is a normal web service with a URL, TLS and authentication.

That difference decides everything about hosting. Stdio servers cannot run on most serverless platforms, and Cloud Run, for example, supports Streamable HTTP but not stdio. If you want a hosted setup, you are building an HTTP service.

Why the transport choice matters

The older HTTP plus SSE transport is being phased out across major providers in 2026, so new servers should target Streamable HTTP from day one. It also happens to be friendlier to hosting: a request goes in, a response (optionally streamed) comes out, and stateless designs scale on cheap infrastructure.

💡 Tip: If your tools do not need to remember anything between calls, build the server stateless. It is the single easiest way to qualify for a free serverless tier.

Flat lay of a laptop, notebook sketch and small single board computer on a wooden table

Free Options That Actually Work

Close-up of a woman's hands typing on a laptop in a co-working space

"Free" comes in three flavors: truly free forever with tight caps, free credits that drain, and free with a sleep penalty. Here is how the main platforms fall into those buckets.

Cloudflare Workers

Cloudflare Workers has the most generous free plan for this job. Comparison sites list roughly 100,000 requests per day and about 10 ms of CPU time per invocation, with no bandwidth bill. That CPU figure sounds tiny, but it counts only active compute, not time spent waiting on an upstream API. A tool that fetches data from another service and returns JSON usually fits comfortably.

It suits stateless TypeScript servers best. If you need long computations, heavy libraries or local files, Workers will frustrate you.

Vercel Hobby

Vercel's Hobby plan lists around 1 million edge requests per month, which is plenty for a personal server. Two catches: bandwidth limits are firm, and the Hobby plan is restricted to non-commercial use. If your MCP server supports a paid product, you are on the wrong plan the moment you launch.

Render and Railway

Render offers a free web service, but it spins down after 15 minutes of inactivity, and the next request can wait 30 to 60 seconds for a cold start. For an AI client that times out after a few seconds, that first call often fails.

Railway gives about $5 of free credit per month, and CPU, memory and bandwidth all draw from that same pool. It does not sleep, which makes it good for long-running servers, but a chatty server can burn through the credit before the month ends. Paid usage starts around a $20 monthly minimum on the Pro plan.

FastMCP Cloud, VPS and niche hosts

A few MCP-specific hosts exist, including FastMCP Cloud and mcphosting.io, and they remove deployment friction if you already use the FastMCP framework. The other classic route is a cheap VPS: no free tier, but a fixed monthly price, no cold starts and complete control of the runtime. Fly.io sits between the two, with small always-on machines billed by usage.

Low-angle view of a city skyline at golden hour with a communication mast

Pricing Side by Side

Here is the picture at a glance. Numbers are approximate and drawn from 2026 comparisons, so check the live pages.

PlatformFree allowanceSleeps when idlePaid entry pointBest for
Cloudflare Workers~100K requests/day, ~10 ms CPUNoUsage-based paid planStateless TypeScript servers
Vercel Hobby~1M edge requests/monthNo (serverless)Pro plan per seatPersonal, non-commercial
Render freeSmall web serviceYes, after 15 minPaid instances monthlyDemos and prototypes
Railway~$5 credit/monthNo~$20/month Pro minimumLong-running servers
Cloud RunPay per useScales to zeroUsage-basedContainers with HTTP only
VPSNoneNoFixed monthly feeFull control, stdio bridges

What a small server really costs

Most hobby MCP servers make a few hundred to a few thousand calls a day. At that volume, Cloudflare Workers and Vercel Hobby stay at zero. A Railway server with light traffic often lands within the $5 credit. A VPS is the only option where you always pay, but the bill is predictable and you never debug a sleeping instance.

Here is a rough way to decide:

  • Under 1,000 calls per day, stateless: Workers or Vercel, free.
  • Needs a database or background jobs: Railway or Fly.io, expect a few dollars monthly.
  • Needs a custom binary or stdio wrapper: a VPS, expect a small fixed fee.
  • Team or commercial use: budget for a paid plan on any platform, since free terms often forbid it.

Stack of coins beside a notepad with handwritten numbers on a walnut desk

💡 Tip: Set a spending alert on every platform you use, even on the free plan. A runaway client loop can turn a free server into a surprise bill.

Limits That Break MCP Servers

Pricing is the visible part. The limits below are what actually make a server fail in the middle of a conversation.

Man waiting impatiently beside a laptop in a dim office

Cold starts

Free web services that sleep are the worst offenders. The AI client sends a request, the platform wakes the container, and 30 to 60 seconds later the client has already given up. Serverless edge platforms start in milliseconds, which is why they rank higher for MCP. If you must use a sleeping host, add an external uptime ping every 10 minutes, though that sits on the edge of what free terms allow.

Timeouts and streaming caps

Every platform caps how long a single request may run. Railway allows streaming requests up to about 15 minutes. Blaxel caps server runtime at 15 minutes as well. For most tools that is generous, but a tool that kicks off a long job and waits for it will hit the wall. Return a job ID right away and let the client poll instead.

CPU time and request counts

Edge platforms meter CPU time separately from wall-clock time. A tool that parses a big PDF or runs a regex over megabytes of text can exceed a 10 ms CPU budget even though the request looks quick. Request counts matter too: an AI agent may call tools many times in a single task, so a daily cap of 100,000 disappears faster than it sounds.

Stateful sessions

If your server stores session data in memory, serverless platforms will drop it between requests. Either keep the server stateless or store sessions in a small external database or key-value store. Newer revisions of the spec lean toward stateless operation, which makes this problem smaller over time.

Brass padlock on a weathered steel gate

Hosted Setup Step by Step

This is a generic path that works on any host from the table above. Adjust the commands to your framework.

Pick the transport and framework

Use an official or well-supported MCP SDK, and expose a single HTTP endpoint such as /mcp using Streamable HTTP. Keep tool handlers small and stateless. Put configuration in environment variables, never in source code.

Deploy to your host

  1. Push the project to a Git repository.
  2. Connect the repository to the platform, or deploy through its command line tool.
  3. Set environment variables for upstream tokens and your server's own secret.
  4. Deploy and note the public HTTPS URL.
  5. Test the endpoint with an MCP inspector before pointing a real client at it.

On Workers, deployment is a single command and the URL appears in seconds. On Railway or Render, the platform builds a container from your repository and exposes a domain automatically.

Connect a client

Add the URL as a remote server in your MCP client. Clients such as Claude, and apps built on models like Claude Sonnet 5 or GPT 5.6 Sol, call your tools once the connection is approved. Ask the model to list its available tools first. If the list is empty, the problem is almost always the URL path or an authentication header.

Monitor after launch

Check logs the first day. Look for slow tools, repeated failures and unexpected callers. A single log search tells you whether a free tier is enough or whether you need to move up.

Developer at an evening desk with two monitors showing terminal windows

Security Before You Go Public

A public MCP endpoint is an open door to whatever your tools can do. Treat it like any production API.

Two colleagues reviewing a laptop at a standing desk

Authentication choices

MethodEffortGood for
Static bearer tokenLowPersonal servers, one client
OAuth 2.1HighMulti-user, third-party clients
Gateway or proxy authMediumTeams with existing identity

A bearer token in an environment variable is enough for a personal server. For anything shared, use OAuth so you can revoke one user without rotating a secret for everyone.

Scope tools tightly

Give each tool the narrowest permission it needs. A read-only database tool should connect with a read-only account. Never expose a tool that runs arbitrary shell commands on a public server.

Log and rate limit

Add a basic rate limit per caller and log every tool call with its arguments, minus anything sensitive. If a prompt injection tricks a model into calling a tool it should not, those logs are how you find out.

💡 Tip: Treat all tool output as untrusted text. A web page fetched by your tool can contain instructions aimed at the model, so keep dangerous tools behind confirmation prompts.

Which Host Fits Your Case

Pick by the problem you have, not by the logo.

  • You want zero cost and a stateless tool: Cloudflare Workers.
  • You are building a personal side project on Next.js: Vercel Hobby, as long as it stays non-commercial.
  • You are demoing to a client once: Render free, and warm it up before the call.
  • You need a database, queues or long tasks: Railway or Fly.io.
  • You need full control or a stdio bridge: a VPS.
  • You run containers in a big cloud already: Cloud Run works for HTTP servers, while Azure Functions support was still in preview as of October 2026.

Start small. You can move a stateless MCP server between hosts in an afternoon, because the protocol, not the platform, defines how clients talk to it. Pick the free option, watch the limits for a week, and upgrade only when a real limit hurts.

Try It With Your Own Prompts

Once your server is live, the fun part is putting it to work. Connect it to a capable model and let it call your tools on real tasks. On Picasso IA you can try chat and coding models such as Claude Sonnet 5, GPT 5.6 Sol, Gemini 3.5 Flash and Kimi K2.6 to draft tool descriptions, write handler code and test how different models phrase their calls. A model that writes clear tool schemas makes your server easier for every client to use.

Beyond text, Picasso IA also hosts image, video, speech and music models you can wire into your own tools or use to illustrate your project. Browse the full lineup at picassoia.com/en/all-models, pick a model, and run your first prompt today.

Share this article

Choose your language

FreeCreate AI Images and VideosFree, No Credit CardFree Generations to StartSeedance 2.5 Lite IncludedStart Free Now