MCP servers · Streamable HTTP · Fixed IP

MCP Server Hosting Where to run a remote MCP server, compared honestly

A remote MCP server can run on a serverless platform, a managed app platform or your own VPS. A small stateless server with light traffic is fine on a free serverless tier. A VPS fits when the server must stay running, keep files or a database, or reach systems that only accept a fixed IP. The comparison and the setup steps come first. VPS plans start at $14.99₹1,389.27 a month.

Where to host an MCP server: the four options

MCP, the Model Context Protocol, lets an AI app call tools that you provide. The program that provides those tools is the MCP server. It can run in four kinds of places, and the right one depends on who has to reach it and what it has to keep running.

Described in general terms. Every platform publishes its own limits and prices, so check them before you choose.
Where it runsWho can reach itHow you payGood atWatch out for
Your own computer, over stdioOnly AI apps on that same computerNothing extraPersonal tools and trying things out. No network and no login to set up.It stops when the computer is off. Teammates, phones and cloud agents cannot use it.
Serverless or edge platformAnyone you allow, over the internetPer request. Cheap to free for light use.Small stateless servers with light or uneven traffic. No operating system to look after.Limits on long-running work and on local state such as files kept between requests.
Managed app platformAnyone you allow, over the internetUsually a monthly price per serviceRunning your server as a normal web service without managing the operating system.You work inside the platform's own rules, and you have less control than on a server of your own.
Your own VPSAnyone you allow, over the internetOne flat monthly priceLong-lived processes, local files and databases, and a fixed IP that other systems can allowlist.You maintain it. Updates, the firewall, HTTPS and restarts are your job.
When a VPS is more than you need

If your MCP server is small, keeps nothing between requests and gets light traffic, a free serverless tier is fine and you do not need us. Cloudflare and Microsoft both publish guides for hosting MCP servers on their serverless platforms. Choose a VPS when one of the limits in the table gets in your way.

What a remote MCP server needs

The middle column comes from the MCP specification, version 2026-07-28, as of November 2026. The right column is our own advice for a server on the public internet. The two are kept apart on purpose.

TopicWhat the specification saysWhat we recommend on a VPS
TransportThere are two standard transports: stdio and Streamable HTTP. With Streamable HTTP, each message is an HTTP POST to a single MCP endpoint. The reply is JSON or a stream that lasts for that one request.Use Streamable HTTP for a remote server. Older guides may show a separate GET stream endpoint and protocol-level sessions. Version 2026-07-28 removed both.
Origin headerServers must validate the Origin header.Confirm that the server you deploy does this before you put it online. Do not switch the check off to make a test pass.
Listening addressA server that runs locally should bind only to localhost.Do the same on a VPS. Listen on 127.0.0.1 and let a reverse proxy be the only part that faces the internet.
AuthenticationServers should implement proper authentication. Authorization itself is optional.Treat it as required. An open endpoint lets anyone who finds the address call your tools.
OAuthWhen authorization is used over HTTP, it is OAuth 2.1 with PKCE, and the server must publish OAuth Protected Resource Metadata (RFC 9728). All authorization server endpoints must be served over HTTPS. Redirect URIs must be localhost or HTTPS.Plan for a domain name and a certificate from the start if you use OAuth.
HTTPS, domain, reverse proxyNot stated. The specification does not require HTTPS on the MCP endpoint itself, a domain name or a reverse proxy.Our practical recommendation, not a rule of the specification: use all three. Put Caddy or nginx with HTTPS in front, on a domain you control.
Streamed replies behind a proxyBehind nginx-style proxies, send the header X-Accel-Buffering: no.Check this if replies arrive all at once instead of as a stream.

Deploy an MCP server on a VPS in 7 steps

These steps are standard Linux and work for an MCP server in any language. The start command of your own server comes from its documentation, so treat the service file in step 4 as an example to adapt.

  1. 1

    Order a VPS with Ubuntu 24.04

    Pick a plan further down this page and choose Ubuntu 24.04 on the order form. Once the payment is through, the server is created on its own and you get an email with its IP address and root password.

  2. 2

    Create a normal user to run the server

    Log in as root and add a user that will own and run the MCP server. It does not need administrator rights. A program that faces the internet should not run as root. Replace YOUR_SERVER_IP with the address from the email.

    ssh root@YOUR_SERVER_IP
    adduser mcp
  3. 3

    Put your MCP server on the VPS, listening on 127.0.0.1

    Copy or clone your code into that user's home folder and install what it needs, following its own documentation. Then set it to listen on 127.0.0.1 and a port you choose, for example 8080, and not on every address of the machine.

    sudo apt update && sudo apt install -y git
    su - mcp
    git clone https://github.com/you/your-mcp-server.git
    exit
  4. 4

    Write a systemd service file (example)

    systemd is the part of Linux that starts programs at boot and restarts them when they crash. Create /etc/systemd/system/mcp-server.service with a text editor such as sudo nano. This is an example: replace the ExecStart line with the real start command of your server, written as a full path.

    [Unit]
    Description=MCP server (example)
    After=network-online.target
    Wants=network-online.target
    
    [Service]
    User=mcp
    WorkingDirectory=/home/mcp/your-mcp-server
    ExecStart=/home/mcp/your-mcp-server/start.sh
    Restart=on-failure
    
    [Install]
    WantedBy=multi-user.target
  5. 5

    Start the service and check where it listens

    Load the new file, start the service now and at every boot, then look at its status.

    sudo systemctl daemon-reload
    sudo systemctl enable --now mcp-server
    systemctl status mcp-server
    ss -ltn

    The last command lists the listening ports. The port of your MCP server should show 127.0.0.1 in front of it, not 0.0.0.0, * or [::].

  6. 6

    Put a reverse proxy with HTTPS in front

    Create a DNS A record for a name such as mcp.yourdomain.com that points at the server IP. Install Caddy or nginx from its official instructions, and set it up to serve that name over HTTPS and pass requests on to 127.0.0.1 and the port from step 3. The reverse proxy is our recommendation. The specification does not ask for one.

  7. 7

    Open only SSH and the web ports

    Allow SSH first so you do not lock yourself out, then ports 80 and 443 for the reverse proxy. Answer y when the enable command asks. If you moved SSH to another port, allow that port instead of 22.

    sudo apt install -y ufw
    sudo ufw allow 22/tcp
    sudo ufw allow 80/tcp
    sudo ufw allow 443/tcp
    sudo ufw enable
    sudo ufw status

    Everything else stays closed, including the port your MCP server listens on. Your MCP clients now connect to the HTTPS address of the endpoint.

VPS plans for MCP servers

Most MCP servers are small programs. The 2 GB plan gives one or two of them room next to a reverse proxy and a small database. 1 GB works for a single light server. Take 4 GB when the MCP server sits next to a coding agent. Billed monthly, with no long contract.

Compute Region

Choose the deployment location
Currently out of stock

MCP server hosting plans · Miami

Miami, Florida · AMD EPYC KVM VPS with full root access and a choice of 15 Linux builds
Plan vCPU Memory Storage Bandwidth Setup Price
4GB Plan 4 vCPU 4 GB 80 GB SSD 5 TB Instant $14.99/mo₹1,389.27/mo Buy Now
6GB Plan 4 vCPU 6 GB 100 GB SSD 5 TB Instant $19.99/mo₹1,852.67/mo Buy Now
8GB Plan 6 vCPU 8 GB 100 GB SSD 5 TB Instant $29.99/mo₹2,779.47/mo Buy Now
16GB Plan 8 vCPU 16 GB 100 GB SSD 5 TB Instant $59.99/mo₹5,559.87/mo Buy Now
Choose Ubuntu 24.04 on the order form. The setup steps on this page are written for it. If the location you pick has no 2 GB plan, take the smallest one listed.
The MCP specification states no memory requirement. These sizes are our suggestion, as of November 2026.
What you runPlan to pickWhy
One light MCP server, such as a wrapper around a single API1 GBEnough for one small process and a reverse proxy.
One or two MCP servers with a small database or a folder of files2 GBRoom for the servers, the proxy and the database without them squeezing each other.
An MCP server next to a coding agent such as Claude Code4 GBClaude Code alone lists 4 GB of RAM as its requirement.
Several MCP servers, an agent and a workflow tool on one machine8 GB or moreEvery always-on program keeps its own share of memory.

What a VPS gives an MCP server

The reasons people move an MCP server from a per-request platform to a server of their own.

One flat monthly price

The plan costs the same whether your tools are called ten times a day or ten thousand. We do not charge per request, so a busy agent does not change the bill.

Processes that stay running

Your server is an ordinary long-lived program. It can run a tool call that takes minutes and keep things in memory between requests.

Local files and databases

SSD storage sits on the same machine. Keep a database, a search index or a folder of documents right next to the MCP server that reads them.

A fixed IP you can allowlist

Each VPS has its own IPv4 address. Add it to the allowlist of your database, your company API or a partner system, and your tools can reach them from one known address.

Full root, any language

Python, Node.js, Go, a compiled binary or a Docker container: if it runs on Linux, it runs here. You install exactly the versions your server needs.

Grow or rebuild when you like

Move to a bigger plan later and keep your data, with one reboot. If a setup goes wrong, reinstall the operating system from the client area and start clean.

What MCP server hosting means

The Model Context Protocol, MCP for short, is an open standard that lets an AI app use tools and data from outside itself. The AI app is called the MCP client. The program that offers the tools is the MCP server. Hosting an MCP server simply means deciding which machine that program runs on and how clients reach it.

A server that only you use can stay on your own computer. A server that a team, a phone or a cloud agent has to use must be remote, with a web address, and that is the kind this page is about.

Free serverless hosting or a VPS: who needs which

Start with the cheapest thing that works. A small MCP server that answers quickly and stores nothing between requests is a good match for a serverless platform, often on its free tier. If that describes your server, use it. You do not need a VPS, and you do not need us.

A VPS becomes the better choice when the platform model starts to cost you work. Common signs: a tool call has to run for a long time, the server needs a local file or database, the system behind your tools only accepts connections from a known IP address, or the per-request bill has become hard to predict. On a VPS all of that is ordinary, and several small servers can share one plan.

What we do and do not set up for you

We deliver a clean server with the operating system you picked, a root password and a fixed IPv4 address. Nothing is preinstalled and there is no one-click MCP installer. You deploy your own server with the steps above, so you run exactly the code and versions you chose. This is not a managed MCP platform: there is no built-in login layer and no automatic scaling. If you get stuck on the server side, such as SSH access, a reboot or a reinstall, support answers by ticket, WhatsApp and Telegram seven days a week.

Limits you should know about

A VPS is one machine in one place. It does not spread itself over many regions the way an edge platform does. Our plans have no GPU, so an MCP tool cannot run a large AI model on the server. It can call a model over the internet instead. And you are the administrator: system updates, the firewall and the certificate are yours to look after.

Putting an agent next to your MCP servers

You can keep an agent and the MCP servers it uses on one VPS, so the tools are a local hop away and one flat price covers both. See Claude Code VPS for running a coding agent around the clock, AI agent VPS for other always-on agents, and n8n VPS if your tools should trigger workflows.

You choose the server location on this page: Miami, Florida, Frankfurt, Germany or Amsterdam, The Netherlands. Pick the one closest to the systems your tools talk to, such as your database or the API you wrap.

The Model Context Protocol is an open standard. VPSLake is an independent hosting provider and is not affiliated with its maintainers.

Pay the way you already pay

  • USDT, BTC & 20+ coinsvia Cryptomus
  • UPI / PhonePe / PaytmINR via Razorpay
  • Visa / Mastercardvia Paddle
  • Net banking & walletsIndia

Frequently Asked Questions

Yes. The Model Context Protocol is an open standard, so anyone can run an MCP server. On your own computer it talks to the AI app over stdio. To make it reachable from other machines you run it as a remote server over Streamable HTTP, on a serverless platform, a managed app platform or your own VPS.
It depends on where it runs. On your own computer it costs nothing extra. Serverless platforms charge per request and are often free for light use. A VPS costs one flat monthly price within the bandwidth allowance of the plan, and the plan table on this page shows the current prices. The 1 GB plan is enough for a single light server.
In four kinds of places: on the user's own computer over stdio, on serverless or edge platforms, on managed app platforms, and on virtual servers that the owner controls. Servers for personal use are usually local. Servers shared with a team, a phone or a cloud agent have to be remote.
Often, yes. A small MCP server that keeps nothing between requests and gets light traffic fits a free serverless tier, and a server only you use can stay on your own computer. VPSLake has no free plan. A VPS starts to make sense when you need long-running work, local files or a database, or a fixed IP.
Most MCP servers are small. We suggest the 2 GB plan for one or two servers with a reverse proxy and a small database. 1 GB works for a single light server. Take 4 GB when the MCP server shares the machine with a coding agent, because Claude Code alone lists 4 GB of RAM as its requirement.
No. You get a clean Ubuntu or Debian server with full root access, and nothing is preinstalled. You deploy your own MCP server with the steps on this page. That way you run exactly the code and version you chose. Support helps with the server side: SSH access, reboots and reinstalls.
The MCP specification does not require a domain name, a reverse proxy or HTTPS on the MCP endpoint itself. It does require HTTPS on all authorization server endpoints when you use OAuth. Our practical advice is to use a domain and HTTPS for anything that is reachable from the internet.
Authorization is optional in the specification, which also says servers should implement proper authentication. When authorization is used over HTTP, it is OAuth 2.1 with PKCE. Treat it as required for a public endpoint: without it, anyone who finds the address can call your tools.
A local server runs on the same computer as the AI app and uses the stdio transport, so nothing else can reach it. A remote server uses the Streamable HTTP transport, where each message is an HTTP POST to a single endpoint. It can be used from other computers, phones and cloud agents.
Yes. Switch the price to INR with the currency button in the menu and pay by UPI, PhonePe or net banking. Crypto and cards work too. Our servers are in the USA and Europe.

Give your MCP server a fixed address

Order a VPS, run your server as a service and put HTTPS in front of it. One flat monthly price, cancel when you like.

Related solutions