-
Notifications
You must be signed in to change notification settings - Fork 142
[Server][Client][Protocol] SEP-414: W3C Trace Context propagation via _meta #355
Copy link
Copy link
Open
Labels
2026-07-28All issues and PRs related to the spec release 2026-07-28All issues and PRs related to the spec release 2026-07-28ClientIssues & PRs related to the Client componentIssues & PRs related to the Client componentSchemaIssues & PRs related to the Schema componentIssues & PRs related to the Schema componentServerIssues & PRs related to the Server componentIssues & PRs related to the Server componentenhancementRequest for a new feature that's not currently supportedRequest for a new feature that's not currently supportedimproves spec complianceImproves consistency with other SDKs such as TyepScriptImproves consistency with other SDKs such as TyepScript
Metadata
Metadata
Assignees
Labels
2026-07-28All issues and PRs related to the spec release 2026-07-28All issues and PRs related to the spec release 2026-07-28ClientIssues & PRs related to the Client componentIssues & PRs related to the Client componentSchemaIssues & PRs related to the Schema componentIssues & PRs related to the Schema componentServerIssues & PRs related to the Server componentIssues & PRs related to the Server componentenhancementRequest for a new feature that's not currently supportedRequest for a new feature that's not currently supportedimproves spec complianceImproves consistency with other SDKs such as TyepScriptImproves consistency with other SDKs such as TyepScript
Type
Fields
Give feedbackNo fields configured for issues without a type.
Projects
StatusShow more project fields
Todo
Implements SEP-414 for the MCP Spec 2026-07-28 release.
Tracked by umbrella #336. Additive, non-breaking.
Spec summary
PHP SDK changes
src/JsonRpc/MessageFactory.phpand request DTOs — recognize/preserve_meta.traceparentand_meta.tracestateround-trip.src/Server/Transport/StdioTransport.php— propagate trace context through_meta(no HTTP headers available).src/Server/Transport/StreamableHttpTransport.phpandsrc/Client/Transport/HttpTransport.php— bridge HTTPtraceparent/tracestateheaders ↔ JSON-RPC_metaper the spec rules.src/Server/Protocol.php— make trace context available onRequestContextso tool handlers can use it (PSR-3 logger correlation, OTel instrumentation packages).src/Server/Tracing/TraceContext.phpfor parsing/serializingtraceparent.Related