Lesson overview

Protocol tests without a model

Protocol tests without a model — Build a minimal read-only MCP server. Exercise a real MCP handler; Assert success, rejection and resources; Check that secrets are absent. Practical assignment: Practice: Protocol tests without a model.

Demo edition. The materials are undergoing editorial review.

Topics covered

  • Exercise a real MCP handler
  • Assert success, rejection and resources
  • Check that secrets are absent

Practical assignment

Practice: Protocol tests without a model

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