Model Context Protocol: Advanced topics

Go beyond MCP basics: sampling, notifications, and roots, with interactive walkthroughs of each protocol flow.

Model Context Protocol: Advanced topics artwork from Claude Academy

Who this is for

  • Software engineers

    Covers MCP sampling, notifications, roots, STDIO, and StreamableHTTP transports with protocol walkthroughs.

  • AI & ML engineers

    Explains advanced Model Context Protocol flows including sampling, progress notifications, and transport state.

  • Cloud engineers

    Details STDIO and StreamableHTTP transport behavior, JSON message types, and state handling for MCP services.

What you get out of it

Work through sampling, log and progress notifications, roots, and transport layers including STDIO and stateful StreamableHTTP in the Model Context Protocol (MCP). This 81-minute course includes interactive protocol walkthroughs and suits developers who already know MCP basics.

Outline

Core MCP features

  1. SamplingLessonHow an MCP server requests a model completion from the connected client.
  2. Sampling walkthroughLessonStep through the message flow of an MCP sampling request and response.
  3. Log and progress notificationsLessonSend log messages and progress updates from an MCP server to the client.
  4. Notifications walkthroughLessonTrace how log and progress notifications travel between server and client.
  5. RootsLessonDefine filesystem or workspace roots so an MCP server knows its boundaries.
  6. Roots walkthroughLessonAn interactive walkthrough of how clients and servers exchange root definitions.

Transports and communication

  1. JSON message typesLessonThe JSON-RPC request, response, notification and error formats used in MCP.
  2. The STDIO transportLessonRun local MCP communication over standard input and standard output streams.
  3. The StreamableHTTP transportLessonConnect to remote MCP servers over HTTP with streaming support.
  4. StreamableHTTP in depthLessonA closer look at request handling and streaming over the StreamableHTTP transport.
  5. State and the StreamableHTTP transportLessonManage session state and connections when using StreamableHTTP.

Assessment and next steps

  1. Assessment on MCP conceptsQuizAn assessment covering sampling, notifications, roots and MCP transports.

Details

Details
SourceFormatDuration
Claude AcademyCourse81 min