Back to feed
Dev.to
Dev.to
5/9/2026
Heimdall MCP: Add OpenTelemetry tracing to any MCP server without touching its code

Heimdall MCP: Add OpenTelemetry tracing to any MCP server without touching its code

Short summary

Heimdall is a transparent OpenTelemetry proxy for MCP servers that captures all tool interactions without modifying server code—just wrap it in your mcp.json config. Every interaction becomes a queryable span with duration, status, and request/response data stored in SQLite, Postgres, or MySQL. Built with zero native dependencies and supports custom interceptors for redaction or business logic, useful for debugging slow tools, tracing multi-tool agent orchestration, and production observability.

  • Zero-code-change wrapper via mcp.json configuration
  • Records all MCP events as OpenTelemetry spans with request/response data
  • Multiple backend options (SQLite, Postgres, MySQL) with custom interceptor support

Generated with AI, which can make mistakes.

Is this a good recommendation for you?

Explore more