opentel-mcp brings OpenTelemetry silent-failure detection to Python MCP servers

Thirumalaiboobathi · reddit · 2026-10-27

Developer Thirumalaiboobathi released opentel-mcp, an OpenTelemetry instrumentation library for Python MCP servers that catches "silent failures" invisible to standard tracing: MCP tools often return isError: true inside a successful response, so normal OTel records a green span while the agent actually received permissiondenied or notfound.

Compared with the mcp 2.x SDK's built-in tracing (marks errors but no metrics/fingerprints/categories, and logs raw exceptions with stack traces that can leak secrets) and Traceloop/OpenInference (no isError detection; Traceloop captures inputs/outputs). It's a port of an established JS package with 7,000+ npm downloads; works with mcp SDK 1.25–2.x, tested across Python 3.10–3.14 with mypy --strict.

Original post →

More from coding & agent

coding & agent channel →