In MCP, what is the host?
- Exam domain
- Model Context Protocol (MCP)
- Difficulty
- Easy
- In this mock
- 5 questions on this domainPractise this domain
Why C is the answer
It is the AI application that creates one client per server
The MCP host is the AI application. It creates one MCP client for each MCP server it connects to, and each client keeps a dedicated connection to its server.
Remember: Host: the app; one client per server.
In detail
- Host: the AI application.
- One client per server.
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. It is the program that provides tools and data to AI applicationsWrong
That describes an MCP server.
B. It stores the model weights for the clientWrong
MCP has no role for storing model weights.
C. It is the AI application that creates one client per serverRight
Host: the app; one client per server.
D. It is the network that carries JSON-RPC messagesWrong
The transport carries messages; it is not the host.
Use case
An illustrative scenario, not a real incident.
Illustrative: an IDE connects to a filesystem server and a ticketing server, and creates a separate client for each.
See it in different ways
sequenceDiagram participant P0 as Host participant P1 as Client participant P2 as Server P0->>P1: Creates one per server P1->>P2: Dedicated connection
How to read this chart
- 1. Host sends "Creates one per server" to Client.
- 2. Client sends "Dedicated connection" to Server.
mindmap
root(("MCP"))
n1["Host"]
n2["AI application"]
n3["Client"]
n4["One per server"]
n5["Server"]
n6["Provides context"]How to read this chart
- The centre is "MCP".
- "Host" covers "AI application".
- "Client" covers "One per server".
- "Server" covers "Provides context".