Worked lessons · 19 November 2026
Lesson 06 / 12 · approximately 8–12 minutes
MCP connections and action boundaries
Protocol support and permission solve different problems.
The idea
MCP standardizes context exchange between a host application and servers through clients. Tools, resources and prompts describe different primitives. A host can support some capabilities and not others. Local stdio and remote HTTP transport have different operational concerns. A versioned specification matters more than a diagram labelled universal plug. Connection discovery, schemas and authentication help interoperability, but business authorization must still decide which caller can perform which action on which resource.
Worked example
A fictional support assistant can read an order through a tool. A second tool can cancel it. Both have valid schemas and authenticated connections. The customer asked only for status, so cancellation is not authorized. A malicious note in the order record telling the model to cancel all orders is source content, not a new instruction. Logging the attempted action helps investigation, but does not make it permitted.
Use it in a workflow
- Record host/client/server roles and supported protocol version.
- Separate read access from effectful actions.
- Validate schema, identity, resource scope and intent before execution.
- Keep tool text/results untrusted and redact logs appropriately.
Try it without a model
Draw host → client → order server → read_order. Add cancel_order on a separate branch and mark where a human action approval is required.
Compare with the answer criteria
The read branch checks identity and order scope; cancellation adds specific intent/authorization and an idempotency plan. The tool result cannot approve its own downstream action. Actual host capability support must be checked for the chosen version.