MCP · Lesson 3 of 120
Hosts, Clients and Servers
Who talks to whom.
MCP has three roles. The host is the AI app the person uses. Inside it, a client talks to one server. And the server offers the tools and data.

- Host
- Client
- Server
The three roles
At the top is the host, like a chat app or a code editor. The host creates one client for each server it connects to. Each client keeps one connection open. And each server offers its tools, resources, and prompts.
- Host: the AI app
- Client: one per server
- Connection
- Server: tools and data
Who does what
The host runs the model and shows the chat. The client speaks the protocol. The server does the real work, like querying a database. A host can connect to many servers at once.
| key | value |
|---|---|
| Host | runs the model |
| Client | speaks MCP |
| Server | does the work |
| Many servers | one client each |
Summary
The host is the app, a client connects to each server, and servers offer tools and data. Next, the three building blocks.
Key takeaways- Host
- Client per server
- Server
Next up: Tools, Resources and Prompts — three building blocks