tracehub-mcp
Query OTel traces across Jaeger, Tempo, Traceloop, Datadog, Sentry, X-Ray, New Relic, Honeycomb.
Documentation & Preview
{ "mcpServers": { "mcp-tracehub-mcp-4ea003059a6ddf8e8069": { "command": "uvx", "args": [ "--from", "tracehub-mcp==0.13.2", "tracehub-mcp" ], "env": { "BACKEND_TYPE": "${ENV_BACKEND_TYPE}", "BACKEND_URL": "${ENV_BACKEND_URL}", "BACKEND_API_KEY": "${ENV_BACKEND_API_KEY}", "BACKEND_AWS_REGION": "${ENV_BACKEND_AWS_REGION}", "BACKEND_NEWRELIC_ACCOUNT_ID": "${ENV_BACKEND_NEWRELIC_ACCOUNT_ID}", "BACKEND_HONEYCOMB_DATASET": "${ENV_BACKEND_HONEYCOMB_DATASET}", "BACKEND_APP_KEY": "${ENV_BACKEND_APP_KEY}", "BACKEND_TEMPO_INSTANCE_ID": "${ENV_BACKEND_TEMPO_INSTANCE_ID}", "BACKEND_SENTRY_ORG": "${ENV_BACKEND_SENTRY_ORG}", "BACKEND_SENTRY_PROJECT": "${ENV_BACKEND_SENTRY_PROJECT}", "BACKEND_ENVIRONMENTS": "${ENV_BACKEND_ENVIRONMENTS}", "BACKEND_TIMEOUT": "${ENV_BACKEND_TIMEOUT}", "BACKEND_MAX_RESPONSE_BYTES": "${ENV_BACKEND_MAX_RESPONSE_BYTES}", "LOG_LEVEL": "${ENV_LOG_LEVEL}", "MAX_TRACES_PER_QUERY": "${ENV_MAX_TRACES_PER_QUERY}", "SLOW_REQUEST_THRESHOLD_MS": "${ENV_SLOW_REQUEST_THRESHOLD_MS}", "QUERY_CACHE_TTL_SECONDS": "${ENV_QUERY_CACHE_TTL_SECONDS}", "QUERY_CACHE_MAX_ENTRIES": "${ENV_QUERY_CACHE_MAX_ENTRIES}", "OTEL_EXPORTER_OTLP_ENDPOINT": "${ENV_OTEL_EXPORTER_OTLP_ENDPOINT}", "OTEL_SERVICE_NAME": "${ENV_OTEL_SERVICE_NAME}", "MCP_INCLUDE_ARGS_IN_SPANS": "${ENV_MCP_INCLUDE_ARGS_IN_SPANS}" } } }, "setup": { "fields": [ { "id": "ENV_BACKEND_TYPE", "label": "BACKEND_TYPE", "description": "Which observability backend to query.", "required": true, "secret": false, "default": "jaeger" }, { "id": "ENV_BACKEND_URL", "label": "BACKEND_URL", "description": "Backend API endpoint, e.g. http://localhost:16686 for Jaeger, https://api.datadoghq.com for Datadog, https://api.newrelic.com/graphql for New Relic, or https://api.honeycomb.io for Honeycomb. For the X-Ray backend this is decorative only (e.g. https://xray.us-east-1.amazonaws.com) - never dereferenced for a live request.", "required": true, "secret": false, "default": "" }, { "id": "ENV_BACKEND_API_KEY", "label": "BACKEND_API_KEY", "description": "API key or auth token. Required for Traceloop, Datadog, Sentry, New Relic, and Honeycomb; not used by Jaeger, Tempo, or X-Ray. For New Relic this must be a User API key, not an Ingest or License key; for Honeycomb this must be a Configuration Key, not an Ingest or Management key.", "required": false, "secret": true, "default": "" }, { "id": "ENV_BACKEND_AWS_REGION", "label": "BACKEND_AWS_REGION", "description": "AWS region, e.g. us-east-1. Required for the X-Ray backend only - X-Ray authenticates via boto3's standard AWS credential chain, not BACKEND_API_KEY.", "required": false, "secret": false, "default": "" }, { "id": "ENV_BACKEND_NEWRELIC_ACCOUNT_ID", "label": "BACKEND_NEWRELIC_ACCOUNT_ID", "description": "New Relic account ID, required for the New Relic backend only - NerdGraph queries are user-scoped, not account-scoped, so this identifies which account's data to read.", "required": false, "secret": false, "default": "" }, { "id": "ENV_BACKEND_HONEYCOMB_DATASET", "label": "BACKEND_HONEYCOMB_DATASET", "description": "Honeycomb dataset slug, required for the Honeycomb backend only - the Query Data API is dataset-scoped.", "required": false, "secret": false, "default": "" }, { "id": "ENV_BACKEND_APP_KEY", "label": "BACKEND_APP_KEY", "description": "Datadog Application key, required in addition to BACKEND_API_KEY for the Datadog backend only.", "required": false, "secret": true, "default": "" }, { "id": "ENV_BACKEND_TEMPO_INSTANCE_ID", "label": "BACKEND_TEMPO_INSTANCE_ID", "description": "Grafana Cloud stack/instance ID, used with BACKEND_API_KEY for Basic Auth (Tempo backend only, required for Grafana Cloud-hosted Tempo, not needed for self-hosted Tempo).", "required": false, "secret": false, "default": "" }, { "id": "ENV_BACKEND_SENTRY_ORG", "label": "BACKEND_SENTRY_ORG", "description": "Sentry organization slug, required for the Sentry backend only.", "required": false, "secret": false, "default": "" }, { "id": "ENV_BACKEND_SENTRY_PROJECT", "label": "BACKEND_SENTRY_PROJECT", "description": "Sentry project slug, optional for the Sentry backend - narrows queries to one project.", "required": false, "secret": false, "default": "" }, { "id": "ENV_BACKEND_ENVIRONMENTS", "label": "BACKEND_ENVIRONMENTS", "description": "Comma-separated environments for the Traceloop backend only.", "required": false, "secret": false, "default": "prd" }, { "id": "ENV_BACKEND_TIMEOUT", "label": "BACKEND_TIMEOUT", "description": "Request timeout in seconds.", "required": false, "secret": false, "default": "30" }, { "id": "ENV_BACKEND_MAX_RESPONSE_BYTES", "label": "BACKEND_MAX_RESPONSE_BYTES", "description": "Ceiling on the decoded size of any single backend response, in bytes (1 to 1073741824). An oversized body is refused before it is buffered or parsed.", "required": false, "secret": false, "default": "67108864" }, { "id": "ENV_LOG_LEVEL", "label": "LOG_LEVEL", "description": "Logging level.", "required": false, "secret": false, "default": "INFO" }, { "id": "ENV_MAX_TRACES_PER_QUERY", "label": "MAX_TRACES_PER_QUERY", "description": "Maximum traces validated per query (1-1000).", "required": false, "secret": false, "default": "500" }, { "id": "ENV_SLOW_REQUEST_THRESHOLD_MS", "label": "SLOW_REQUEST_THRESHOLD_MS", "description": "Logs a WARNING for any backend request slower than this, independent of LOG_LEVEL. Unset disables slow-request logging.", "required": false, "secret": false, "default": "" }, { "id": "ENV_QUERY_CACHE_TTL_SECONDS", "label": "QUERY_CACHE_TTL_SECONDS", "description": "Cache backend query results for this many seconds with in-flight request coalescing; finite, > 0 and at most 86400 (one day). Unset disables the cache.", "required": false, "secret": false, "default": "" }, { "id": "ENV_QUERY_CACHE_MAX_ENTRIES", "label": "QUERY_CACHE_MAX_ENTRIES", "description": "Upper bound on the number of cached query results held at once (1-100000); the least-recently-used entry is evicted first.", "required": false, "secret": false, "default": "1024" }, { "id": "ENV_OTEL_EXPORTER_OTLP_ENDPOINT", "label": "OTEL_EXPORTER_OTLP_ENDPOINT", "description": "Enables opt-in OTel self-instrumentation of tool calls when set. Unset means zero overhead - no TracerProvider is configured and no middleware is registered.", "required": false, "secret": false, "default": "" }, { "id": "ENV_OTEL_SERVICE_NAME", "label": "OTEL_SERVICE_NAME", "description": "Service name reported in self-instrumentation spans, only used when OTEL_EXPORTER_OTLP_ENDPOINT is set.", "required": false, "secret": false, "default": "tracehub-mcp" }, { "id": "ENV_MCP_INCLUDE_ARGS_IN_SPANS", "label": "MCP_INCLUDE_ARGS_IN_SPANS", "description": "Include tool call arguments/results as OTel span attributes when self-instrumentation is enabled. Off by default since they may contain sensitive data.", "required": false, "secret": false, "default": "false" } ], "requirements": [ "安装 Python 与 uv / uvx" ] }, "provenance": { "registryServer": "io.github.mcpsmiths/tracehub-mcp", "registryVersion": "0.13.2", "registryUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.mcpsmiths%2Ftracehub-mcp/versions/0.13.2", "repository": null, "sourceCommit": null, "namespaceRepositoryOwnerMatched": false, "officialRegistryNamespaceVerified": true, "package": { "registry": "pypi", "identifier": "tracehub-mcp", "version": "0.13.2", "wheelSha256": "a2f860dbfdd66da9e9eea0a45f93af330a9e569d9ff83433f1df54c607bb6bac", "registryNameMatched": "io.github.mcpsmiths/tracehub-mcp", "checkedAt": "2026-11-17T05:20:34.923Z" }, "scope": "Install configuration verified; dependency implementation and remote behavior have not been audited" } }