Module 1 · The protocol and its mental model · Lesson 1
MCP and REST: two mental models
Why MCP exists, how its design differs from REST's constraints and where the 2026 revision moved towards them, and what wrapping a REST API one endpoint per tool costs an agent.
By the end of this lesson you can
- Explain the integration problem MCP solves and the roles of host, client and server
- Compare REST and MCP on who decides to call, granularity, discovery, state, direction, errors, caching, safety and authorization, separating sourced facts from inference
- Describe which of REST's constraints the stateless 2026-07-28 revision adopted, and why MCP is still RPC
- Choose between an MCP server, a REST API, a command-line tool and a skill for a given consumer
- Measure an endpoint-shaped MCP server's definition size, calls and tokens on agent tasks, as a baseline to improve on