Skip to content

MCP host, client and server: what is the difference?

Glossary entry. Checked on 19 November 2026 against MCP spec 2026-07-28.

MCP host, client and server, in plain words

In MCP, the host is the AI application you use (such as Claude Desktop or VS Code), a client is the part of the host that keeps one connection to one server, and a server is the program that offers tools, resources and prompts. A host with three servers runs three clients.

An example

VS Code is the host. When you connect it to a Sentry server and a filesystem server, it creates two MCP clients, one for each. The Sentry server runs on Sentry's platform and is reached over the internet; the filesystem server runs on your computer.

Why the split matters

Each client has its own connection, permissions and sign-in, so one server never sees another server's data through the protocol. See how MCP works and Streamable HTTP and stdio.

Share this definition

Sources

Official documentation, checked on 19 November 2026. Products change: if a step differs, the source has the current version.