Model Context Protocol › Host, client, and server
Language AI HandbookAll chapters The host is the application that coordinates the model, the user and their connections. An MCP client is the protocol component that communicates with a server on the host's behalf. The server offers capabilities such as a catalog lookup, a readable record or a reusable prompt. A host can manage distinct clients for multiple servers. Those connections have independent configuration and trust policies. Isolation depends on how the host and its runtime enforce the boundaries. See the MCP architecture overview.
When a model proposes a call, the host can restrict which tools it exposes and can ask the user to approve a particular operation. It passes an approved call to its MCP client. The server separately checks whose request it received and what that caller may access. These decisions are separate even when all three roles happen to run inside one process.
Comments
Add to the conversation
A question, a correction, or an example from your own work.
No comments yet. Be the first to share your thoughts!