What Is an MCP Server? How to Run One on Your VPS
If you have used Claude, ChatGPT or any AI coding assistant in the last few months, you have probably bumped into three letters that keep showing up everywhere: MCP. It stands for Model Context Protocol, and the server that speaks it — an MCP server — is quickly becoming the piece of plumbing that connects AI assistants to the real world. Searches for “what is mcp server in ai” jumped 140% in a single week at the start of November 2026, and the news has not slowed down since: Adobe announced a local MCP server for Creative Cloud at its MAX event on 10 November, Google quietly gave its Ads MCP server the power to change accounts on 2 November, and a German hoster disclosed on 7 November that attackers had exploited a flaw in its MCP server and reached 56 customer projects. So what is an MCP server, how does it actually work, and — the question that matters on this blog — how do you run one on your own VPS instead of trusting somebody else’s? In this guide we will answer all three in plain English, then walk through the full setup: a small VPS, a real MCP server running behind HTTPS, and a connection from Claude — plus the security rules the Mittwald breach just made very expensive to ignore. Contents What Is an MCP Server? How an MCP Server Works What Can an MCP Server Actually Do? Local vs Remote MCP Servers Why Run an MCP Server on a VPS? What You Need Before You Start Step 1: Prepare Your VPS Step 2: Install and Run Your First MCP Server Step 3: Expose It Safely Over HTTPS Step 4: Connect Claude and Your Other AI Clients MCP Security: The Lesson From the Mittwald Breach MCP in November 2026: What Is New Right Now Common Problems and Fixes Frequently Asked Questions The Bottom Line What Is an MCP Server? An MCP server is a small program that exposes tools, data and prompts to an AI assistant through a standard protocol — the Model Context Protocol, an open standard Anthropic published in November 2024. Think of it the way you would think of a USB port. Before USB, every device needed its own cable and its own driver; after USB, one standard connector worked for keyboards, printers, cameras and drives. MCP does the same thing for AI: instead of every AI app building a custom integration for every database, file system, calendar or API, they all speak one protocol, and any MCP server can plug into any MCP client. The server itself does not contain any AI. It takes a request from an AI assistant — “list the files in this folder”, “run this database query” — executes it against whatever it is connected to, and returns the result. The intelligence stays in the model; the server just gives the model hands. A useful way to picture it is the three-part setup the protocol defines. The host is the AI application you actually use — Claude Desktop, an IDE like Cursor, or ChatGPT. Inside the host sits an MCP client, which manages one connection per server. And the MCP server is the program on the other end, exposing its capabilities over that connection. One host can talk to many servers at once, which is how a single Claude session can read your files, query your database and check your calendar in the same conversation. How an MCP Server Works Under the hood, an MCP server is refreshingly boring, which is a compliment. The client and server exchange JSON-RPC 2.0 messages — the same lightweight remote-procedure-call format half the internet already uses. The client sends a request naming a tool and its arguments; the server runs it and sends back a result. There is a handshake first (the client asks the server what it can do, the server lists its capabilities), and then the conversation is just requests and responses. There are two ways the two sides connect, and which one you pick matters a lot for a VPS setup: Transport How it works Best for stdio The client starts the server as a local process and talks to it over standard input/output Your own laptop, local files, personal tools Streamable HTTP The server runs as a web service and the client connects over HTTPS A VPS, a team, anything remote The older Server-Sent Events transport still shows up in old tutorials, but the current specification has replaced it with Streamable HTTP, so use that for anything new. The practical consequence is simple: a server on your laptop uses stdio, a server on your VPS uses HTTP, and the AI client does not care which one it is. Once connected, a server offers three kinds of capability, called primitives. Tools are actions the model can call — run a query, write a file, send a message. Tools are the part you will use most, and also the part that needs the most care, because a tool can change things. Resources are read-only data the model can pull in — a file, a database row, a log. And prompts are reusable templates the server offers, like a saved instruction the user can invoke. A filesystem server, for example, exposes tools to read and write files, resources for individual files, and usually no prompts at all. An MCP server setup: terminal, code and a server within reach. What Can an MCP Server Actually Do? The honest answer is: almost anything you can express as a function call. The official Model Context Protocol project maintains a registry of reference servers, and the community has built thousands more. A few examples that show the range: Filesystem — read, write, search and move files inside a folder you choose. The classic first MCP server, and the one we will install below. SQLite / Postgres — run read-only queries against a database, inspect its schema, and let the model answer questions from live
What Is an MCP Server? How to Run One on Your VPS Read More »




