OpenTelemetry MCP Server

Community
Observability
stdio

Connect AI agents to OpenTelemetry-compatible backends (Jaeger, Zipkin, Grafana Tempo) for querying distributed traces, analyzing span data, and debugging performance bottlenecks in microservices.

Quick Install

$ npx -y mcp-server-opentelemetry

Environment Variables

VariableDescriptionRequired
OTEL_ENDPOINTOpenTelemetry backend endpointYes

Configuration by Client

{
  "mcpServers": {
    "server": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-server-opentelemetry"
      ],
      "env": {
        "OTEL_ENDPOINT": ""
      }
    }
  }
}

Need a different client? Use the Config Generator for Windsurf, Cline, Antigravity, and more.

Available Tools (3)

query_tracesget_tracesearch_spans