Lesson overview

Register a real tool and resource

Register a real tool and resource — Build a minimal read-only MCP server. Create a fresh server per factory call; Return text and structured content; Keep resource scope fixed. Practical assignment: Practice: Register a real tool and resource.

Demo edition. The materials are undergoing editorial review.

Topics covered

  • Create a fresh server per factory call
  • Return text and structured content
  • Keep resource scope fixed

Practical assignment

Practice: Register a real tool and resource

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