part…
Building governance for MCP?
The gateway applies what the guide teaches: policies on discovery, invocation and authorisation.
The gateway applies what the guide teaches: policies on discovery, invocation and authorisation.
_meta is MCP's mechanism for attached metadata. In 2026-07-28 it goes from being an accessory to being the carrier of the negotiation: version, capabilities and identity travel there in every request. Mastering its grammar and its reserved keys is essential for any intermediary.
In params._meta of requests and notifications, in result._meta of responses, and also as a property of many data types (Tool, Resource, Prompt, content blocks, Implementation, etc.).
A key has two segments: an optional prefix and a name.
/. Each label starts with a letter and ends with a letter or digit; the interior may contain letters, digits or hyphens. Reverse-DNS notation (com.example/) SHOULD be used.modelcontextprotocol or mcp. Thus io.modelcontextprotocol/, dev.mcp/, org.modelcontextprotocol.api/ and com.mcp.tools/ are reserved; com.example.mcp/ is not.Implementations MUST NOT make assumptions about the values of reserved keys they do not know.
| Key | Direction | Mandatory | Description |
|---|---|---|---|
progressToken |
request | No | Opts in to receiving notifications/progress. |
io.modelcontextprotocol/protocolVersion |
request | Yes | Protocol version of this request. |
io.modelcontextprotocol/clientCapabilities |
request | Yes | Client capabilities relevant to the request. |
io.modelcontextprotocol/clientInfo |
request | No (SHOULD) | The client's Implementation. |
io.modelcontextprotocol/logLevel |
request | No | Minimum log level the server may emit for this request. |
io.modelcontextprotocol/serverInfo |
result | No (SHOULD) | The server's Implementation. |
io.modelcontextprotocol/subscriptionId |
notification / listen result | Yes in listen streams | Correlates the notification with its subscriptions/listen. |
traceparent, tracestate, baggage |
both | No | W3C trace context for OpenTelemetry. Exception to the prefix rule. |
Keys of official extensions go under io.modelcontextprotocol/ and are defined in each extension's documentation (e.g. io.modelcontextprotocol/related-task in legacy tasks, io.modelcontextprotocol/model-immediate-response). Third-party keys use their own prefix.
protocolVersion or without clientCapabilities is malformed: the server MUST reject it with -32602 and, over HTTP, 400.clientInfo unless explicitly configured otherwise.serverInfo in every result.clientInfo and serverInfo are self-declared and unverified: they serve for display, logging and debugging. Implementations SHOULD NOT change their behaviour or make security decisions based on them.-32021).{
"jsonrpc": "2.0", "id": 1, "method": "prompts/list",
"params": { "_meta": {
"io.modelcontextprotocol/protocolVersion": "2026-07-28",
"io.modelcontextprotocol/clientCapabilities": {},
"io.modelcontextprotocol/clientInfo": { "name": "gateway", "version": "0.1.0" },
"traceparent": "00-0af7651916cd43dd8448eb211c80319c-00f067aa0ba902b7-01"
} }
}
_meta is your own metadata channel: use a prefix from your domain (e.g. com.axium.gov/policy-id) to annotate requests downstream or results upstream without breaking the spec. Never use reserved prefixes.baggage carrying sensitive data).clientInfo downstream with your identity if you want servers to log the gateway, but do not use it yourself to authorise anything: it is not verified.traceparent end to end: it is the only standard way to correlate a call from the host with the call to the real server.1. Which of these prefixes is reserved by MCP?
Any prefix whose second label is mcp or modelcontextprotocol is reserved; in com.example.mcp/ the second label is example.
2. What happens if a request does not carry io.modelcontextprotocol/clientCapabilities?
protocolVersion and clientCapabilities are mandatory; their absence is Invalid params.
3. May a server change its behaviour according to clientInfo.name?
clientInfo and serverInfo are for display, logging and debugging.
4. Which _meta keys may go without a prefix by exception?
progressToken is a core reserved key and the three W3C Trace Context keys are an explicit exception for compatibility.