﻿---
title: "14. Specification Extensions"
description: "MCP Description specification v0.9.0 — 14. Specification Extensions."
source: "https://mcpdesc.org/docs/specification/0.9.0/specification-extensions/"
---

MCP Description documents can carry vendor-specific metadata in specification extensions. Extensions are allowed only on the eligible semantic objects listed in Section 14.2.

### 14.1 Extension Naming

[<req-extension-names>](/docs/rules/0.9.0/mcpdesc/document-schema#required-by "This requirement is part of rule: mcpdesc.document.schema") Specification extension properties MUST match the pattern `^x-`. Names are case-sensitive. The RECOMMENDED naming convention is:

```plaintext
x-{organization}-{feature}
```

Authors SHOULD use lowercase organization prefixes. Examples include `x-acme-owner`, `x-example-runtime-observations`, and `x-example-cost-profile`.

### 14.2 Extension Placement

A specification extension MAY appear directly on the root MCP Description Object or another eligible MCP Description-defined semantic object. Eligible categories in 0.9.0 are:

* Info, Contact, License, Icon, and Tag Objects;
* Transport Objects and MCP Description-defined transport configuration objects;
* Security Scheme, OAuth Flows, and OAuth Flow Objects;
* the Capabilities Object, Client Capability Requirements Object, and MCP Description-defined capability declaration objects;
* Tool, Resource, Resource Template, Prompt, Prompt Argument, and Elicitation Declaration Objects;
* MCP Description-defined named Tool, Resource, and Resource Template Example wrapper objects; and
* the outer Components Object and semantic Tool, Resource, and Resource Template Example component values.

Eligibility depends on the object’s role in this specification, not on whether its serialized value is a JSON object. An eligible object that appears as a map value MAY carry extensions. The map that contains it does not become eligible.

[<req-extension-ineligible-locations>](/docs/rules/0.9.0/mcp/server-capabilities-members#required-by "This requirement is part of rule: mcp.server-capabilities.members"), [<req-extension-ineligible-locations>](/docs/rules/0.9.0/mcpdesc/components-members#required-by "This requirement is part of rule: mcpdesc.components.members"), [<req-extension-ineligible-locations>](/docs/rules/0.9.0/mcpdesc/security-requirements#required-by "This requirement is part of rule: mcpdesc.security.requirements") Specification extensions MUST NOT appear directly on:

* scalar values;
* domain-keyed maps;
* Security Requirement Objects;
* the `capabilities.extensions` or `clientRequirements.extensions` protocol-extension map;
* embedded JSON Schemas;
* carried MCP payload, result, annotation, or `_meta` objects;
* opaque example or extension values;
* arbitrary JSON payloads; or
* Reference Objects, unless the Reference Object specification explicitly defines adjacent-extension resolution behavior.

Those locations follow the rules of their owning format or object model.

[<req-extension-component-names>](/docs/rules/0.9.0/mcpdesc/components-members#required-by "This requirement is part of rule: mcpdesc.components.members") An `x-*` key inside a component namespace map is an ordinary component name and its value MUST satisfy that namespace’s component type.

### 14.3 Extension Values

An extension value MAY be any JSON-compatible value: object, array, string, number, boolean, or null. Authors SHOULD prefer an object when the value may evolve compatibly.

### 14.4 Processing Rules

[<req-extension-unknown-accepted>](/docs/rules/0.9.0/mcpdesc/document-schema#required-by "This requirement is part of rule: mcpdesc.document.schema") An implementation that does not recognize a specification extension MUST NOT reject the document because of that extension. It MUST ignore the extension when interpreting core MCP Description semantics and SHOULD preserve it when processing and reserializing the document.

A specification extension MUST NOT redefine, contradict, or weaken a core requirement. It cannot make a required field optional, change `security` or protocol applicability, or make an invalid example conforming. Core fields remain authoritative.

A validator MAY validate a recognized extension using a configured trusted schema. Failure to obtain that schema MUST NOT invalidate an otherwise conforming document unless the validator is applying a separate profile that requires the extension.

### 14.5 Ownership, Projection, and Merge

An object-level extension belongs to its containing semantic object and follows that object’s lifecycle and Effective Protocol View. A `protocolVersions` property nested inside an extension value does not scope anything.

[<req-extension-views>](/docs/rules/0.9.0/mcpdesc/view-projection#required-by "This requirement is part of rule: mcpdesc.view.projection") A single-version projection MUST preserve every `x-*` property on a retained eligible object unless extension stripping was explicitly requested. Projection MUST NOT move an extension, combine it with `_meta`, or reinterpret it as an MCP protocol extension. Removing an out-of-scope object also removes its extensions. Native MCP projection (Section 4.14) produces MCP values rather than an MCP Description document. It omits all `x-*` properties except those inside embedded JSON Schemas.

Extension values are part of their containing object’s semantic content. Merge tools MAY collapse objects with semantically equivalent extension values under the merge rules in Section 4.13\. [<req-extension-merge>](/docs/rules/0.9.0/mcpdesc/view-merge#required-by "This requirement is part of rule: mcpdesc.view.merge") For conflicting values on corresponding objects, a merge tool MUST retain distinct non-overlapping variants where representable or report a conflict. It MUST NOT guess, silently discard an extension, or move it to another object.

### 14.6 Extension Documentation

Extension authors SHOULD publish a JSON Schema for the value, purpose and semantic documentation, versioning information, and the eligible MCP Description object types on which the extension is valid.

### 14.7 Relationship to Other Extension Mechanisms

Object-level `x-*`, literal MCP `_meta`, formal MCP `capabilities.extensions`, and formal MCP `clientRequirements.extensions` are separate mechanisms. Tooling MUST NOT automatically copy, project, or reinterpret data among them.

* `x-*` is MCP Description-specific vendor metadata.
* `_meta` represents literal MCP metadata in supported contexts.
* `capabilities.extensions` declares server extension support.
* `clientRequirements.extensions` declares an unconditional primitive-level client extension requirement.

### 14.8 Security and Privacy

Authors MUST NOT publish credentials, tokens, user identifiers, confidential topology, live trace identifiers, or other secrets in extensions. Consumers MUST treat extension names and values as untrusted content and apply appropriate size, output-encoding, rendering, logging, and execution controls. Validators SHOULD avoid automatic network retrieval of extension schemas.

### 14.9 Example

```json
{
  "mcpdesc": "0.9.0",
  "info": {
    "name": "account-service",
    "version": "1.0.0",
    "x-acme-owner": { "team": "identity" }
  },
  "protocolVersions": ["2026-07-28"],
  "tools": [
    {
      "name": "delete_account",
      "inputSchema": { "type": "object" },
      "x-acme-governance": {
        "risk": "high",
        "reviewRequired": true
      }
    }
  ]
}
```
