Neither the MCP server nor its authentication is provided: you write or pick the code, and the image only installs Node.js, PM2 and Caddy. An MCP server exposed without authentication hands your tools to anyone.
Choose the resources of your VPS
MCP runs on all our Linux VPS plans: you only pay for the VPS.
With your consent, we measure which ads bring us customers and how the site is used. Without it, nothing is measured and the site works exactly the same. You can change your mind at any time. Cookie policy.
MCP servers on a VPS: your tools, reachable by AI assistants
Host your MCP servers on a Node.js VPS: HTTP transport, HTTPS through Caddy, PM2 and authentication for Claude, ChatGPT or your code editor.
An MCP server exposes your tools and data to Claude, ChatGPT or a code editor. On a Node.js VPS it answers over HTTPS, behind authentication.
Step-by-step procedure
Order the Node.js + PM2 VPS
Order a VPS Mini with the Node.js + PM2 image, entering your domain and the app port, then connect over SSH as root with your key.
Write the server with the official SDK
Use the official TypeScript SDK (the @modelcontextprotocol packages) and the Streamable HTTP transport. The server must listen on 127.0.0.1, on the port given by the PORT variable.
Add authentication
Reject every request without a valid token. For clients such as Claude or ChatGPT, follow the authorization part of the MCP specification, based on OAuth 2.1, using the SDK's auth helpers.
Deploy the code to /opt/apps
Clone or update your repository in the app folder under /opt/apps, install the dependencies, then restart the PM2 process and read the logs.
Test with MCP Inspector
From your machine, start the official MCP Inspector tool, enter your server's HTTPS URL and your token, and check that the tools show up.
Choose the resources of your VPS
MCP runs on all our Linux VPS plans: you only pay for the VPS.
Recommended base: Node.js + PM2
VPS Mini: €3.99 per month incl. VAT with a 1-year term (or €4.99 per month with no commitment) · 2 vCPU · 8 GB RAM · 40 GB storage
VPS Essentiel: €7.99 per month incl. VAT with a 1-year term (or €9.99 per month with no commitment) · 4 vCPU · 16 GB RAM · 80 GB storage
VPS Performance: €17.59 per month incl. VAT with a 1-year term (or €21.99 per month with no commitment) · 8 vCPU · 48 GB RAM · 150 GB storage
VPS Pro: €27.99 per month incl. VAT with a 1-year term (or €34.99 per month with no commitment) · 12 vCPU · 64 GB RAM · 250 GB storage
Why run MCP on a VPS?
The Model Context Protocol (MCP) is an open protocol that lets an AI application call tools, read resources and use prompt templates provided by a server. A local MCP server runs on the user's machine and talks over stdio; a remote server answers over HTTP (the Streamable HTTP transport) and can serve several clients.
Hosting your MCP servers on a VPS keeps them reachable at all times through an HTTPS URL, from any compatible machine or service. You stay in control of the code, of the secrets that unlock your internal APIs and of the logs. A remote server must be protected: the MCP specification describes authorization based on OAuth 2.1, and an access token is the bare minimum.
A stable HTTPS URL for your clients
The Node.js + PM2 image puts Caddy in front of the app port: your MCP server answers on your domain with a Let's Encrypt certificate.
PM2 restarts the server when needed
PM2 starts your MCP server at boot and restarts it if it crashes. The pm2 logs command shows requests and errors live.
Secrets and internal access on the VPS
Keys for your internal APIs, databases or tools stay in the server's environment variables, never on users' machines.
Dedicated IPv4 and DDoS protection
A fixed IPv4 address you can add to the allow lists of your internal services, plus the included DDoS protection in front of a public endpoint.
Before you start
Good to know: Neither the MCP server nor its authentication is provided: you write or pick the code, and the image only installs Node.js, PM2 and Caddy. An MCP server exposed without authentication hands your tools to anyone.
Node.js + PM2 image (Debian 12), with the newest Node version offered
VPS Mini (2 vCPU, 8 GB RAM): an MCP server uses few resources
A domain or subdomain pointing to the VPS IPv4
Your MCP server code, written with an official SDK, in a Git repository
An authentication method: OAuth 2.1 or an access token
Install MCP on your VPS
The main steps, to follow over SSH. The official documentation is the reference for the details.
Order the Node.js + PM2 VPS: Order a VPS Mini with the Node.js + PM2 image, entering your domain and the app port, then connect over SSH as root with your key.
Write the server with the official SDK: Use the official TypeScript SDK (the @modelcontextprotocol packages) and the Streamable HTTP transport. The server must listen on 127.0.0.1, on the port given by the PORT variable.
Add authentication: Reject every request without a valid token. For clients such as Claude or ChatGPT, follow the authorization part of the MCP specification, based on OAuth 2.1, using the SDK's auth helpers.
Deploy the code to /opt/apps: Clone or update your repository in the app folder under /opt/apps, install the dependencies, then restart the PM2 process and read the logs.
Test with MCP Inspector: From your machine, start the official MCP Inspector tool, enter your server's HTTPS URL and your token, and check that the tools show up.
For which projects?
Internal tools for Claude
Read access to a database
Team-shared MCP server
Connector to an in-house API
The essentials, included in every plan
No hidden extras for the essentials: protection, an IP address, a recovery console and support from real people are included from the first plan.
Anti-DDoS: Network protection is included on every service, with no paid option.
Dedicated IPv4: Each VPS has its own public address and full root access.
Recovery console: Take back control of your VPS with the noVNC console, even without SSH.
Support 7 days a week: By ticket and on Discord, from a team that knows your services.
No commitment: Monthly, cancellable at any time, or yearly to pay less.
Run MCP on your own VPS.
Choose your resources, install, stay in control. No commitment.
Frequently asked questions
How do I host an MCP server on a VPS?
Order a VPS with the Node.js + PM2 image, entering your domain and the app port. Deploy your server, written with the official SDK and the Streamable HTTP transport, to /opt/apps, make it listen on that port and restart it with PM2. Caddy publishes it over HTTPS. Add authentication before you give the URL to your clients.
Which VPS plan for MCP servers?
An MCP server mostly relays requests to APIs or databases: it needs little compute, because the AI model runs on the client side. The VPS Mini (2 vCPU, 8 GB RAM) is enough for several small servers managed by PM2. Pick more resources if your tools do heavy processing themselves.
Do I have to pay to use MCP?
No. The protocol and the official SDKs are open source and free, so you only pay for the VPS. The clients that connect to your server have their own terms: adding remote connectors in Claude or ChatGPT, for example, depends on the plan you have with Anthropic or OpenAI.
How do I protect a remote MCP server?
The MCP specification defines OAuth 2.1 based authorization for HTTP transports, which is what consumer clients expect. For internal use, a secret token checked on every request is the minimum. In every case, serve the server over HTTPS, check that a request without a token is actually rejected and only expose the tools you need.
What is the difference between stdio and HTTP MCP servers?
A stdio server is launched by the client on the same machine and talks through standard input and output: there is nothing to host. A remote server uses the Streamable HTTP transport: it runs continuously on a machine, answers at a URL and can serve several users. That second case is what a VPS is for.