Lesson 1: Connecting a model to MCP servers
24 min read·13 Oct 2026
Module 6 · Lesson 1 · About 45 minutes · Needs: Module 1 Lesson 2 (chat(),ChatReply) and Module 3 Lesson 1 (the notes server,as_model_sees_it); Module 2 Lesson 3 helps (stdio and Streamable HTTP)
The situation
Thursday 24 September 2026, week 3. Nare's notes server works, but only clients you drive by hand have called it. Nare wants to type "How many participants will the nap study have?" and get an answer. That needs a host: the program that holds the model, opens a client to each server, offers the model the tools and runs the ones it picks. Today you build one and trace that question through it, to the call notes__search_notes(query="nap study participants") and back.