Skip to content

MCP Server - Trace propagation #17152

Open

Description

@betegon

Use the _meta field in JSON-RPC messages for it. more on that in the OTEL MCP draft spec.

{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "name": "get-weather",
    "_meta": {
      "traceparent": "00-4bf92f3577b34da6a3ce929d0e0e4736-00f067aa0ba902b7-01",
      "tracestate": "rojo=00f067aa0ba902b7,congo=t61rcWkgMzE"
    }
  },
  "id": 1,
}

Activity

  1. linear commented on Jul 24, 2025

    @linear
  2. self-assigned this
    on Nov 11, 2026
  3. added a commit that references this issue on Nov 12, 2026
    a0535cb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

FeaturejavascriptPull requests that update javascript code

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions