MCP (Model Context Protocol) 00:00:01 Connect hosts and tools through one protocol Three assistants need access to several business systems. Handwritten pairwise adapters multiply as new systems appear. Model Context Protocol gives hosts, clients and servers a common way to describe capabilities and exchange requests. Every application writes its own code for every system. One more column means three more adapters, in three teams. A shared protocol lets an MCP client discover capabilities that an MCP server exposes, reducing the need to invent a different wire format for every pair. The host still decides. The help desk is not connected to the files, although it could be. Each integration still needs meaningful tool schemas, identity checks and operational implementation. Interoperable messages let components communicate; the host controls which connections and actions are available. 00:00:56 Ask about the weather in Oslo Follow one ordinary read through an MCP-enabled assistant. The host manages the connection and the model can suggest a tool call. An assistant producing a proposed argument does not itself execute anything. The client discovers the weather tool and its input schema using the protocol's capability and listing mechanisms. Will it rain in Oslo? The host sends the question and the tool descriptions to the model. It answers with a call: get_weather, city Oslo. Nothing has happened yet. The host shows the tool and its arguments. Reading the weather may be allowed for good; deleting is asked each time. The host's client sends the authorized request through the negotiated transport. The server checks the arguments and performs the weather lookup. The result goes to the model, which writes the answer. The host treats the result as untrusted text. The server must validate input and enforce its authorization policy. Return the result as data for the user's question. Tool results have no special authority to issue new instructions. 00:02:04 Keep a basket across servers Use the July twenty twenty-six protocol revision for this example. It separates protocol operations from durable application state. A basket must remain available even if the next call reaches a different server process. The client asks with a revision that the server does not know. The client and server use a mutually supported protocol revision. Request routing does not need to preserve a protocol session for this design. create_basket stores a basket and returns its ID, a random handle that belongs to this user. The next call includes the basket handle as an ordinary argument. The receiving instance retrieves that basket and checks that the caller may access it. When an instance disappears, the stored basket remains. The client can recover the operation under the application's repeatability rules. A request identifier helps correlate messages. It does not by itself deduplicate a purchase. Applications that retry an uncertain operation need an explicit idempotency and ownership contract. 00:03:09 A booking needs one more answer A customer asks to reserve Friday. The calendar service needs a choice before it can finish. This revision supports a multi-round request that lets the host obtain additional input and return it to the server. tools/call with id 1 goes to server A. The server returns an input-required result. In this example opaque request state lets a later server instance resume the pending decision. The host shows the question. The user accepts. The client retries the original operation with the user's response and the associated state. Server B books Saturday. A copied state from another user would have failed the check. Keep the requested operation, the user's answer and any opaque request state bound to the correct user and context. The booking should be committed once, after the missing information is resolved. 00:04:07 Authorize the remote service A remote MCP server can require authorization. A client discovers the appropriate authorization information, then follows the supported flow on behalf of its user. Scope the resulting access to the service that is actually being called. The server answers 401 and points to its metadata. The client finds the login service in the metadata. The user logs in there and agrees. The server verifies the credential is valid for this service and has appropriate permission for the requested operation. To reach the ticket API the server uses a credential of its own, limited to what this user may do. For downstream work, acquire or use credentials appropriate to that downstream service. The MCP security guidance prohibits token passthrough. Follow the complete chain from a proposed call to a checked operation. Discoverability, user authorization, server-side permission checks, durable state and the meaning of the returned data each have a separate owner.