O'Reilly Media · 275 pages
Model Context Protocol for Building Clients, Services, and End-to-End Agents
Anthropic released the Model Context Protocol at the end of 2024, and it quickly became the standard way to turn a chatbot into an agent that can act, plan, and use tools on its own. This book goes deep on MCP, well beyond the documentation. You’ll build up your own client and then a server, both supporting the full spec in Python, and get a real feel for how the protocol works along the way.
Inside the book
Where MCP came from, why it exists, and how clients, servers, and transports fit together to make it work.
You'll build up a working client, then a server that provides tools, prompts, and resources, built the way you'd actually ship it.
Test and secure your servers, share them with others, dig into how transports really work, and, if you're up for it, contribute back to MCP itself.
Contents
Chapter list for the early release; final titles and order may change.