Lesson 07.09 · Phase 07 · Model Context Protocol
Composing many servers
Real hosts connect to many servers at once. That brings problems no single server has: two servers with a tool of the same name, more tool definitions than the model can use well, one slow server holding up the rest, and one crashed server taking the host down. The hub in the middle handles all four.
Learning objectives
- Aggregate several servers' tools into one list with namespaced names, and route each call back to its server.
- Choose which servers' tools the model sees for a task, and measure what the tool definitions cost in context.
- Run calls to different servers in parallel with per-server timeouts.
- Isolate failures: drop a crashed server's tools, keep the others working, and restart with a limit.
Lesson 5's client talked to one server. A working setup has six or twenty: files, calendar, tickets, CRM, HR, a weather toy someone added and forgot. Four things break.
Loading the full lesson…