This guide assumes you already have a working MCP server. You’ll addDocumentation Index
Fetch the complete documentation index at: https://sedataai.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
instrumentServer and verify traces in under a minute.
Add the call
instrumentServer must run before you register tools — it patches
server.registerTool and only the calls made afterward are instrumented.
Pick the right serverName / serverVersion
These map to service.name and service.version in OpenTelemetry. Use stable
values that match how you operate the service:
Wire shutdown
The OTel SDK is a long-running thing. Always shut it down on exit so the last batch of metrics flushes (including session duration):Confirm it works
Three quick checks:1. Console exporter (no network)
1. Console exporter (no network)
Set See Console debugging.
exporterType: 'console' and watch spans print on stdout when you call
a tool:2. Sedata dashboard
2. Sedata dashboard
With the live exporter pointed at
https://otel.sedata-ai.tech/v1, run
a tool from any MCP client. Open
app.sedata-ai.tech → Traces. Latest
trace should appear within a few seconds.3. Your own collector
3. Your own collector
Point
exporterEndpoint at your collector and tail its logs:Common pitfalls
Next
Authentication
Bearer, API key, basic.
Custom spans & metrics
Record domain-specific telemetry.