Learn to Code / Course 2

MCP for Physician Developers: From First Principles to a Working Cloudflare Project

Build and explain a small research-notebook MCP server through local tools, testing, source metadata, and a later Cloudflare deployment.

beginner 120 minutes 1 lesson
Begin lesson one
Who this is for
Physicians with little or no programming experience.
First course outcome
Trace tool discovery and a request from an MCP client to a server and back.

This six-part course starts with a local teaching notebook and follows its tools toward a stateless Cloudflare project. Part 1 is available now. Later lessons will cover local tool inspection, hosting, source metadata, access boundaries and a reproducible release.

Each session has a two-hour learning budget. The displayed course duration reflects available lessons only; it grows as later lessons are released. All examples use synthetic or verified public material, with no patient information or clinical recommendations.

Course Outcomes

What you will learn

  • Trace tool discovery and a request from an MCP client to a server and back.
  • Build and test bounded read-only search and retrieval tools.
  • Explain provenance, missing data and the limits of successful retrieval.
  • Adapt the shared retrieval core for a stateless Cloudflare server.

Before You Begin

Prerequisites

  • Basic terminal navigation and the ability to edit a text file.
  • Git and JSON basics, covered in Physician-Developer Foundations.

Ordered Syllabus

Complete the lessons in sequence.

Follow the lessons in order, or return to a lesson you want to review.

  1. 01 Lesson 1 / beginner / 120 min Trace One MCP Request Discover two notebook tools, search a synthetic note collection, and explain how the client and server exchange results. Distinguish MCP, APIs, tool calling, retrieval and agents. Read lesson