typescript-sdk/.changeset/sep-414-trace-context-meta-keys.md
Konstantin Konstantinov 0fb8406d83
v2: codemod iterations, canonical zod schema exports from sdk-shared (#2354)
Co-authored-by: Felix Weinberger <fweinberger@anthropic.com>
2026-06-25 19:42:44 +01:00

424 B

@modelcontextprotocol/core-internal
patch

Add reserved trace context _meta key constants (TRACEPARENT_META_KEY, TRACESTATE_META_KEY, BAGGAGE_META_KEY) per SEP-414, plus docs and a passthrough regression test. The spec reserves the unprefixed _meta keys traceparent, tracestate, and baggage (W3C Trace Context / W3C Baggage formats) for distributed tracing; the SDK passes them through untouched.