contextpulse
Back to all articles
Engineering 8 min readPublished Aug 28, 2026

OpenTelemetry for MCP Servers: Protocol Spans vs Tool Spans

How to structure traces across the JSON-RPC transport and individual tool executions without blowing up your log storage bills.

MC
Maya Chen
Staff Infrastructure Engineer

Integrating OpenTelemetry with Model Context Protocol servers requires understanding the boundary between the transport protocol (stdio, SSE, or Streamable HTTP) and application-level tool execution.

In this guide, we show how ContextPulse bridges standard OTel conventions with MCP-specific attributes like client name, session depth, and workflow outcome tags.