Zenaique

How is an MCP host different from an MCP client?

Flashcard·Easy·4.0 · 0·~30s·Asked atKrutrimYellow Ai·Relevant atAnthropicBlockZed
Attempt it
TL;DR

The host is the user-facing AI app (Claude Desktop, Cursor) that calls the LLM and orchestrates the agent loop. The client is a library inside the host, one per server connection.

Memory aid
Sign in to see the mnemonic that makes this stick.
Easy to grasp

If MCP is a city of services, the host is the building the user walks into. Inside that building are several phones (clients), each wired to a different outside helper (servers). The building has a front desk, lights, and a kitchen that talks to the AI brain (the LLM). The user never picks up the phones directly; they ask the front desk and the building decides which phone to use. Claude Desktop, Cursor, Claude Code, Zed, and Continue are all examples of these buildings.

Concept explanation~2 min read

Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.

An MCP host is the user-facing AI application that sits on top of the Model Context Protocol stack. It is the role most people interact with directly: opening Claude Desktop, chatting in Cursor, running Claude Code in a terminal.

The host is also the most consequential role for product experience because it owns everything outside the protocol boundary. This deep dive walks through the definition, the containment relationship with clients, the six responsibility areas the protocol leaves to the host, the 2026 host landscape, and why the design intentionally leaves the host shape open to each vendor.

The definition, unpacked

An MCP host is the end-user AI application that calls the LLM, owns the user interface, and decides which servers to connect to and how to surface their capabilities.

Four claims carry weight in that sentence. End-user application means the host is what the user opens. It has a window, a terminal session, or a CLI prompt. Calls the LLM means the host consumes inference by calling the model API, passing a prompt and tool catalog, and reading back function calls and answers. Owns the user interface means the host decides how to render chats, tool-call transcripts, slash-command menus, and consent prompts. Decides which servers to connect to means the host controls configuration, authentication, and the lifecycle of every MCP client inside it.

Below the host sit one or more MCP clients (one per connected server) that handle JSON-RPC plumbing. Below those clients sit MCP servers wrapping real systems. Above the host sits the user. The host is the only role with both a UI obligation and an LLM obligation; everything else is infrastructure.

Host versus client: the sharpest line in MCP vocabulary
Six host responsibilities the protocol leaves open
The 2026 host landscape
Why MCP leaves the host shape open
Sign in to unlock the full deep dive.

Situations where this technique stops working.

Sign in to see when this approach fails.

2–4 min · Everything important, quickly.

Sign in to see the quick scan of the deep dive.

Real products, models, and research that use this idea.

  • Claude Desktop is Anthropic's desktop AI app and the original MCP host, shipped alongside the protocol launch in November 2024.
  • Cursor is a popular AI-first code editor that embeds MCP clients and supports both local stdio and remote HTTP servers for tool integrations.
Sign in to see more production examples.

What an interviewer would ask next. Try answering before peeking at the approach.

QCan two hosts share the same MCP server, and if so, what does each see?
A

Yes. For a stdio server, each host launches its own subprocess instance, so they run independent server processes. For a remote HTTP server, both hosts open separate authenticated connections and the server handles multi-tenant access. Neither host sees the other.

2 more follow-ups an interviewer would ask next. Sign in to reveal them.

Red flags & common mistakes

The phrases that signal junior thinking. Click to expand.

Most common mistake

Confusing host with client. The host is the AI app the user opens (Claude Desktop, Cursor). The client is a library inside that app, instantiated once per connected server.

Sign in to see all red flags and common mistakes.

60 second bullets to scan on the way to the call.

  • Define an MCP host as the user-facing AI application.

  • State the containment relationship: host contains clients, each client connects to one server.

Sign in to unlock the revision sheet.

Primary sources. Browse if you want the original framing.

Similar questions

Same topic, related formats. Practice these next.

4 curated
Next question
What is the Model Context Protocol (MCP) and what problem does it solve?
MCQ·Easy