3.1 Format
Section titled “3.1 Format”An MCP Description document uses a JSON-compatible data model. The model consists of objects with string property names, arrays, strings, finite numbers, booleans, and null.
The data model defines the document’s meaning, whether it is serialized as JSON or YAML.
<req-conforming-serialization> An MCP Description document MUST use one of the conforming serializations defined in Section 15. JSON and restricted YAML conform equally. Neither has greater semantic or conformance status.
Property ordering is not significant unless a field explicitly defines ordering for an array. Mapping serialization order MUST NOT affect conformance.
3.2 Root Object
Section titled “3.2 Root Object” <req-root-fields> The root of an MCP Description document is an object with the following structure:
| Property | Type | Required | Description |
|---|---|---|---|
$schema |
string | No | JSON Schema resource for structural validation and editor tooling |
mcpdesc |
string | Yes | Specification version ("0.9.0") |
info |
Info Object | Yes | Server metadata |
protocolVersions |
array<string> | Yes | MCP protocol versions described by the document |
instructions |
string | No | Durable natural-language guidance for using the server |
transports |
non-empty array<Transport Object> | No | Declared transports |
securitySchemes |
non-empty map<string, Security Scheme Object> | No | Reusable named security schemes |
security |
Security Requirement Array | No | Default security requirements |
capabilities |
non-empty array<Capabilities Object> | No | Protocol-scoped server capability declarations |
tools |
non-empty array<Tool Object> | No | Tools declared by the document |
resources |
non-empty array<Resource Object> | No | Resources declared by the document |
resourceTemplates |
non-empty array<Resource Template Object> | No | Resource templates declared by the document |
prompts |
non-empty array<Prompt Object> | No | Prompts declared by the document |
components |
Components Object | No | Reusable schemas and named primitive examples |
tags |
non-empty array<Tag Object> | No | Document-wide flat tag catalog for primitive categorization |
The optional $schema property selects a JSON Schema resource for structural validation and editor tooling. It does not replace the required mcpdesc format discriminator.
The document’s protocolVersions separately declares its MCP protocol coverage.
3.3 Optional Sections and Ordinary Collections
Section titled “3.3 Optional Sections and Ordinary Collections”Only mcpdesc, info, and non-empty protocolVersions are required at the document root. If an optional section is omitted, the document makes no declaration for it.
Unless a property’s definition explicitly states otherwise, omission MUST NOT be interpreted as proof that the server does not support, expose, or use the corresponding runtime behavior.
<req-ordinary-collections-non-empty> An optional ordinary declaration collection MUST contain at least one entry when present.
<req-ordinary-collections-omitted> A producer MUST omit such a property when it has no entries, and a consumer MUST reject a present empty collection.
The non-empty collection requirement applies to:
- Root
transports,securitySchemes,capabilities,tools,resources,resourceTemplates,prompts, andtags. - The outer
componentsobject and each present component namespace map. - Icon, primitive tag-reference, Elicitation Declaration, Prompt Argument, and extension-capability collections.
- Named Tool, Resource, Resource Template, and Prompt example maps.
- Prompt and Resource Template
completionExamplesmaps.
This requirement does not constrain embedded JSON Schemas, specification-extension values, arbitrary literal example values, or transport invocation values. Protocol-native content and annotation collections follow their own rules.
An empty collection remains valid when its property definition assigns a distinct meaning to emptiness. <req-security-empties-preserved> Implementations MUST preserve security: [], security: [{}], and empty scope arrays in Security Requirement Objects.
3.4 Zero-Primitive Descriptions
Section titled “3.4 Zero-Primitive Descriptions”A document MAY omit all of tools, resources, resourceTemplates, and prompts. It can still describe a server under development, a legitimately empty server, or an authorization-scoped observation.
Absence of a primitive collection MUST NOT be interpreted as proof that no other runtime context exposes primitives of that kind.
3.5 MCP _meta
Section titled “3.5 MCP _meta”The _meta property allows additional metadata on Tool, Resource, Resource Template, and Prompt declarations. It can also appear on supported result, content, Tool Interaction step response, and root objects in named examples.
<req-meta-protocol-version-availability> _meta MAY appear only when every protocol version in the effective scope of the containing declaration defines it for the corresponding MCP object.
Metadata in a named example describes only that example. It does not define a reusable metadata schema or require a server to send that metadata.
<req-meta-keys>, <req-meta-keys> Each key name, its use, and the value of any reserved key MUST follow the rules of every applicable MCP protocol version. A recognized violation is a document-conformance error.
<req-meta-reserved-prefix> A valid but unrecognized key under an MCP-reserved prefix MUST be preserved and SHOULD produce a warning. Other valid keys MUST be accepted and preserved. A single-version projection MUST preserve _meta. It MUST NOT combine metadata from variants that cover different protocol versions.
3.6 Carried MCP Values
Section titled “3.6 Carried MCP Values”Named examples carry MCP values in these places:
resultin Tool Examples and Tool Interaction Examples;responsein Tool Interaction steps for sampling, elicitation, and roots; andresultin Resource, Resource Template, Prompt, and completion examples.
This includes values reached through component references.
A carried value is validated against the type defined by every MCP protocol version in the containing declaration’s effective scope. A type accepts fields it does not list only if its protocol version’s TypeScript schema declares or inherits an index signature. Such a type is open; every other type is closed.
<req-mcp-integer-numbers>, <req-mcp-integer-numbers> A field declared as number by the protocol version’s TypeScript schema is an integer unless the schema annotates it @TJS-type number. This matches the JSON Schema that MCP generates from its TypeScript schema.
For each applicable protocol version and each field of a carried value:
-
<req-carried-defined-fields>,<req-carried-defined-fields>,<req-carried-defined-fields>,<req-carried-defined-fields>A field defined by the protocol version MUST satisfy its type. A field required by that version MUST be present. -
<req-carried-open-preserve>A field not defined by the protocol version MUST be accepted and preserved when its type is open in that version. Implementations MUST NOT apply the meaning that another protocol version gives the same field name. Validators MUST report the warningresult-field-not-defined-by-versionand identify the field and protocol version. -
<req-carried-closed-reject>,<req-carried-closed-reject>,<req-carried-closed-reject>A field not defined by the protocol version MUST be rejected when its type is closed in that version.
Example rules in Sections 9.3, 9.4, 10.4, and 11 govern JSON-RPC envelope fields and fields of incomplete workflow forms, such as task or input-required results.
Every result type carried by examples extends the open MCP Result in every supported protocol version. Sampling, elicitation, and roots responses extend Result through MCP 2025-11-25.
In MCP 2026-07-28, sampling, elicitation, and roots responses are closed input responses. Only the sampling response defines _meta.
<req-carried-nested-closed> Nested objects such as content blocks, resource contents, roots, and the completion object of a completion result are closed.
Example result values are completed results. <req-completed-result-fields> In every protocol version, a present resultType MUST be "complete". A present ttlMs MUST be a non-negative integer. A present cacheScope MUST be "public" or "private".
A declaration covering several protocol versions MAY use one example map even when a field is defined by only some of them. Authors MAY instead split the declaration into protocol-scoped variants to avoid the warnings.
Each warning is attributed to one protocol version. The warnings for a document therefore equal the union of warnings for its per-version Effective Protocol Views.
3.7 Property Ordering
Section titled “3.7 Property Ordering”Property ordering within objects is not significant. Implementations MUST NOT depend on property or mapping serialization order.
3.8 Specification Extensions
Section titled “3.8 Specification Extensions”Any property whose name matches the pattern ^x- on the root or another eligible MCP Description-defined semantic object is a specification extension. See Section 14: Specification Extensions for eligibility and exclusion rules.
3.9 Additional Properties
Section titled “3.9 Additional Properties” <req-closed-objects> Properties not defined in this specification and not matching the x- extension pattern MUST NOT appear on the root or another closed eligible semantic object. Implementations MUST reject such unknown properties.
An x-* property does not make an otherwise ineligible object extensible.
3.10 Example
Section titled “3.10 Example”A minimal valid MCP Description document:
{ "$schema": "https://mcpdesc.org/schema/mcp-description/0.9.0.json", "mcpdesc": "0.9.0", "info": { "name": "chess-rating-server", "version": "1.0.0" }, "protocolVersions": ["2026-07-28"]}This document makes no transport or primitive declarations. Their omission does not assert runtime non-support.