MCP
Schemas and Descriptors
MCPmcp / schema

Schemas and Descriptors

Machine-readable structures for protocol explanation and validation.

Use this page when you need the strict machine-readable contract layer that tooling and validation can rely on.

Before you continue

Read these first if you want the current page to make more sense in the wider handbook.

Why schemas matter

Agents need more than prose. They need stable shapes for validation, routing, and tooling.

GET/mcp/schema

Returns formal schema documents that tooling can use for validation and static checks.

What to expose

  • Identity format and field constraints.
  • Core message envelope structure.
  • Known message types and required fields.
  • Endpoint contracts and expected response shapes.