CourseModel Context Protocol: The Complete Course · Module 9: Production and Ecosystem · part 66 of 77
Part 66 · Module 9: Production and Ecosystem

Lab: Run the notes server as a service

123 min read·13 Oct 2026
Module 9 · Lab · About 90 minutes · Needs: lessons 1 to 4 of this module, and the Module 5 and 7 labs (this lab rebuilds what is missing); no model key is used

What you are building

Nare, Priya Tomas front door 429, 413 balancer round robin replica-a 0.9.0 replica-b 0.9.0 shared keys one note per key redacted logs and a trace import job checkpoints Docker, CI not run here ports 8090 to 8099 on 127.0.0.1, one per job
The lab's service: limits and a balancer in front of two identical replicas (blue), the safeguards that make retries, logs and imports safe (green), and the container files that run only on your own computer (grey).

Monday 5 October 2026, week 5. The first nap study cohort is in the sleep lab. The lessons built each production piece in a scratch folder; this lab puts one tested version of each into your notes-assistant repository. The running example is one morning: Nare searches for "nap study participants", saves "Cohort 1 started" through a reply that gets lost, and Priya imports six papers.

No step calls a model. Servers and clients run for real on 127.0.0.1, one port per job from 8090 to 8099. Docker, Compose and GitHub Actions cannot run in Colab: their files are written, parsed and marked "not run here".

The rest of this course is yours to keep

This course is bought on its own, once, and stays readable afterwards, including the parts added to it later.