Skip to content
{mcpdesc}

Declare Resources and templates with their fields

A Resource has a uri and a name; a Resource Template has a uriTemplate and a name. Both accept only the properties of their Section 10 tables, each with its defined type.

Resource and Resource Template Objects have their required fields, defined property types, and no unknown properties.

Rule ID: mcpdesc.resource.members
Owner: mcpdesc
Surface: Resource, ResourceTemplate
Kind: structural
Requirement level: must
Protocol versions: independent of the MCP protocol version
Document schema locations: #/$defs/resource, #/$defs/resourceTemplate
Status: internal · Enforcement: internal

Source: expected-invalid/malformed-info-transport-tag-resource.json · Selected: /resources/0

{
"name": "readme",
"mimeType": "text/markdown"
}

resource.yaml at immutable tag v0.9.0-rc.3.