Skip to content
Forward Deployed

Forward Deployed
Agent Protocols: MCP & A2A: sections and modules
T12.2

Building MCP Servers & Clients

Build single-server MCP projects with tools and resources.

Lessons
6 lessons
By
Sourav Banerjee
Prerequisites
None
6 lessons

Notebook-only lessons

These course lessons have no page here yet. Work through their notebooks on GitHub.

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

How confident are you with this module?

1 means "I could not explain it yet"; 5 means "I could teach it". Rate again any time.

 

Saved in this browser when you leave the box.