MCP Concepts: Servers, Clients, and Capabilities
About 42 min
Goal
By the end of this lesson, you can trace MCP host, client, and server roles and explain why capability discovery does not by itself grant trust or authority.
Three roles, three responsibilities
Imagine a school help-desk app. A student asks the app, "What books about volcanoes are available?" The host application is the help-desk app the student is using. Inside it, an MCP client is the connector that knows how to send an MCP-shaped request. The library-side program is the MCP server. It advertises capabilities such as searching the catalog or reading a book record.
Those roles answer different questions. The host knows the student's goal and the school's rules. The client knows how to speak the protocol. The server knows which capabilities it offers. A server saying "I can search the catalog" is like a service desk listing what it can do; it does not decide whether a particular student may access a restricted record.
user → host application → MCP client → MCP server
local policy protocol advertised capability
Pin the protocol version
This Lesson also depends on the protocol version. The course uses MCP 2026-07-28. Older examples may show an initialization handshake or session ID that no longer matches this release. The pinned core uses stateless request/response.
Here, stateless means that one protocol request should carry enough information to be understood at that boundary without depending on a hidden earlier handshake. Think of mailing forms where every envelope includes the required form type and sender information instead of saying, "Use the details from the envelope I sent yesterday." Your overall app can still remember the student's task, approvals, and history.
In this release, each core request carries the information needed to understand it, including protocol and client metadata. The server does not need to remember a previous protocol handshake to interpret the request.
Discover capabilities without trusting them
A client may use the optional server/discover operation to ask what the server supports. Discovery helps compatibility and planning, but the returned description is still remote data that local policy must check.
The HTTP transport can also put operation information in headers such as Mcp-Method and Mcp-Name. Gateways can use them for routing or policy. The headers and body must agree.
Stateless MCP does not mean your application has no state. The Level 12 harness can still keep durable tasks, approvals, operation IDs, and memory. Only the protocol core avoids depending on a remembered session.
Keep local authority in the host
Narrow capabilities when they enter the host. A server may advertise ten tools while one user role is allowed to use only two. The host can also reject a tool whose schema or security rules do not fit local requirements.
Keep version evidence in traces. If versions disagree, record the expected and observed versions instead of hiding the problem as a generic tool error.