Same topic, related formats. Practice these next.
Same topic, related formats. Practice these next.
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.
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.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example.
Everything important, quickly.
5 min: state the one-sentence definition, give the host > client > server containment mnemonic, name five concrete hosts, walk through three host responsibilities beyond protocol mechanics, and explain why the protocol intentionally stops at the client.
Real products, models, and research that use this idea.
What an interviewer would ask next. Try answering before peeking at the approach.
Red flags and common mistakes that signal junior thinking. Click to expand.
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.
The night-before-the-interview bullets. Scan these on the way to the call.
Primary sources. Skim if you want the original framing.