Private customers Business customers

What Is MCP? The Model Context Protocol ExplainedHow AI assistants access servers, files and services

The Model Context Protocol (MCP) is an open standard that lets AI assistants such as Claude or ChatGPT work with other programs and services. An MCP server provides tools - such as "restart server" or "set DNS record" - and the AI calls them when your task needs them. Anthropic released the protocol in November 2024, and the major AI providers now support it. This guide explains how MCP works, what matters for security and what it looks like in everyday hosting.

Open standardTools, resources, promptsOAuthReal-world example

Published on

MCP in one sentence

MCP is a shared language between AI applications and the rest of the software world. Without MCP, every AI provider has to build every integration - with calendars, databases, code repositories or servers - on its own, and every service would need a separate interface for every AI provider. With MCP, a service builds its integration once as an MCP server, and any AI application that speaks the protocol can use it.

Anthropic likes to compare MCP to USB-C: one port for many devices instead of a separate cable for each. For you as a user, that means you add an address in Claude, ChatGPT or your code editor, sign in - and from then on your assistant can look things up and take action in that service.

Rent a VPS from €2.95 / month

Prepaid without a contract, full root access.

How MCP is structured

The protocol distinguishes three roles:

  • Host - the AI application you work with, such as the Claude app, ChatGPT or a code editor like Cursor or VS Code.
  • Client - the connection the host opens to exactly one MCP server. A host can hold many clients at once.
  • Server - the program that exposes a service's capabilities, for example access to your game servers or your domains.

An MCP server can offer three kinds of capabilities. Tools are actions the AI may call, such as "read console" or "write file". Resources are content read as context, such as documents or records. Prompts are prepared workflows that the user selects deliberately. In practice, tools matter most by far.

Every tool describes itself: its name, its purpose in plain language and the inputs it expects. From that, the AI decides which tool your request needs. A server can also add hints on whether a tool only reads (readOnlyHint) or can destroy something (destructiveHint) - many applications ask again before the latter.

Local or remote: the transports

Messages between client and server use JSON-RPC, a simple request-and-response format. They travel one of two ways:

Locally via stdio: the host starts the MCP server as a program on your computer and talks to it through standard input and output. That's typical for tools that access local files and for developers writing their own server.

Remotely via HTTP: the MCP server runs on the internet and is reachable at an address. That's how the connectors of large services work - and the access point to your MainHoster.de customer account. The advantage: you install nothing, and the connection works the same in the web version and in the mobile app.

Sign-in: why the AI doesn't need a password

A remote MCP server needs to know on whose behalf the AI is acting. For that, MCP relies on OAuth, the same method behind "Sign in with Google". When you connect, the service's sign-in page opens, you sign in there and confirm that this AI application may access it. The AI then receives its own key - it never sees your password.

Many servers also let the AI application register itself (Dynamic Client Registration). That's why the bare address is often enough when adding a connector. You later revoke access at the service itself, and the AI's key becomes worthless immediately.

Which AI assistants support MCP

Besides Claude, for which MCP was originally developed, OpenAI, Google and Microsoft now support it in their products as well. The most important ones for users right now:

  • Claude - custom connectors on the web, in the desktop app and then in the mobile app, also on the free plan
  • ChatGPT - custom apps through developer mode, which isn't available on every plan
  • Code editors such as Cursor and VS Code, and command-line tools such as Claude Code

Providers change their menus regularly. If you're looking for the entry point, it's usually called "Connectors", "Apps", "Tools" or "MCP servers".

Real-world example: managing hosting through MCP

The access point to the MainHoster.de customer account shows what MCP looks like day to day. It runs at https://login.mainhoster.de/mcp/kunde and provides tools for every service: status, console, files, commands and backups for game servers, status and restart for the VPS, DNS records and name servers for domains, and the Plesk interface for web hosting.

An example: you write "My Minecraft server won't start". The AI first calls the tool that lists your services, then the console tool, reads the notable lines and explains the error. If you want it to fix a configuration file, it calls the write tool - the server saves the previous version first. If you want to restore a backup instead, the tool only creates a request that you confirm in the customer area.

This example shows the basic principle of good MCP servers: the AI gets exactly as much power as the task needs, and critical decisions stay with the human. All options at a glance are on the AI management page.

Security: what matters with MCP

An MCP server gives an AI real power to act. That raises three questions to ask before connecting:

Who do you trust with the server? Only connect MCP servers from providers you would give your data to anyway. A third-party MCP server sees everything the AI sends it.

What may the AI do without asking? Good servers separate reading, changing and destroying, require confirmation outside the AI for the latter and log every action. If that's missing, be cautious.

What does the AI read along the way? The biggest weak spot is called prompt injection: content the AI reads - a web page, an email, a log file - contains text posing as an instruction. Good servers label such content explicitly as data, and good assistants don't follow it. Mandatory confirmation for critical actions is the second line of defense if the first one fails.

Then there's privacy: whatever the AI retrieves through MCP goes to the provider of the assistant and is processed under that provider's terms.

Running your own MCP servers

Developers can use official SDKs, including for TypeScript and Python, to build a simple MCP server in a few dozen lines. Local servers over stdio run on your own computer. If a server should be available permanently and from several devices, it needs a home on the internet - typically a VPS with a reverse proxy and HTTPS, often as a Docker container.

How to secure a VPS for this and run applications with Docker is covered in the VPS guides. If you'd rather automate without coding, n8n is a workflow platform that also works with AI agents and tools.

Frequently asked questions

MCP stands for Model Context Protocol. It's an open standard that lets AI applications such as Claude or ChatGPT use tools and data from other services. Anthropic released it in November 2024.

An MCP server is a program that exposes a service's capabilities to AI assistants - as tools (actions), resources (content) and prompts (prepared workflows). It runs either locally on your computer or on the internet at a fixed address.

No. Anthropic developed MCP, but it's an open standard. ChatGPT, code editors such as Cursor and VS Code and many other applications support it too.

As secure as the individual server and assistant. Make sure sign-in uses OAuth, critical actions require confirmation, every action is logged and you can revoke access at any time. The most important attack is prompt injection through content the AI reads.

An API is the interface of a single service, each with its own structure. MCP is a uniform layer on top: an MCP server translates a service's API into self-describing tools that any MCP-capable AI understands without custom programming.

Yes. Since December 2026, there's an MCP access point for the customer account at https://login.mainhoster.de/mcp/kunde. Claude, ChatGPT and other assistants use it to manage game servers, VPS, web hosting and domains - at no extra charge.

Run your own MCP servers on a VPS

Want to run your own MCP servers or automations around the clock? A VPS with full root access, Docker support and unmetered traffic stays online 24/7 - prepaid with no contract, located in Frankfurt am Main.

View VPS plans & prices