Lesson overview

Stdio, HTTP and version negotiation

Stdio, HTTP and version negotiation — Build a minimal read-only MCP server. Reserve stdout for the protocol; Test modern and legacy explicitly; HTTP adds network responsibilities. Practical assignment: Practice: Stdio, HTTP and version negotiation.

Demo edition. The materials are undergoing editorial review.

Topics covered

  • Reserve stdout for the protocol
  • Test modern and legacy explicitly
  • HTTP adds network responsibilities

Practical assignment

Practice: Stdio, HTTP and version negotiation

The full lesson is available as part of the course.

Continue to learning

Course outline

  1. Read-only MCP contract
  2. Catalog and argument schema
  3. Register a real tool and resource
  4. Stdio, HTTP and version negotiation
  5. Protocol tests without a model
  6. Client connection and acceptance