Agent Protocols: MCP & A2A: sections and modules
Building MCP Servers & Clients
Build single-server MCP projects with tools and resources.
- Lessons
- 6 lessons
- By
- Sourav Banerjee
- Prerequisites
- None
Lessons
Start moduleNotebook-only lessons
These course lessons have no page here yet. Work through their notebooks on GitHub.
Licence and references for the client projects
- License(optional)
- Reference link(optional)
Practise and Check
- Deliverable
- Two servers, one client: put your retriever and a web-search tool in separate MCP servers and route between them from one client.
- Assessment
- Answer the five Interview questions without notes, then run the lab.
- Interview probe
- Larkspur's assistant moved from held sessions to `MultiServerMCPClient.get_tools()` to simplify the code. Since then the `handbook` server's in-memory embedding cache never hits, and p95 latency has doubled. What happened?
- Common mistakes
- Returning an error dict instead of raising when a tool call fails
- Loading every server in one
get_tools()call, so one failure loses all - Load-balancing stateful Streamable HTTP without routing by
mcp-session-id
Your Progress
Saved in this browser when you leave the box.