Skip to main content
MCP Toolbox emits OTLP spans natively. Pass the Agnost endpoint and your org ID via env var.
MCP Toolbox traces can include tool names, tool parameters, SQL/tool results, and errors. Review Data Governance before enabling production traffic.

Setup

export OTEL_EXPORTER_OTLP_HEADERS="X-Agnost-Org-ID=<your-org-id>"
./toolbox --tools-file tools.yaml --telemetry-otlp="otel.agnost.ai"
See the MCP Toolbox guide for full setup details.

Verify

Call one Toolbox tool, then open Raw logs and Tools in Agnost.

Troubleshooting

  • Confirm --telemetry-otlp="otel.agnost.ai" is passed to Toolbox.
  • Confirm OTEL_EXPORTER_OTLP_HEADERS contains X-Agnost-Org-ID=<your-org-id>.
  • If SQL or tool results are sensitive, scrub or disable those attributes before production rollout.

References