npm · @tracelanedev/mcp
$npx -y @tracelanedev/mcp@0.4.0 TRACELANE_API_KEY (required) · secret — Tracelane API key (tlane_…). Resolved to a tenant once at startup via the gateway's /v1/auth/whoami; the server refuses to start if the key is rejected. Also the credential used to read trace data through the gateway when CLICKHOUSE_URL is unset.
TRACELANE_GATEWAY_URL (required) — Base URL of the Tracelane gateway. Validates TRACELANE_API_KEY, and — when CLICKHOUSE_URL is unset — is where every trace read goes. Must be https://…tracelane.dev outside development.
CLICKHOUSE_URL — self-host only; when unset the server reads through the gateway. Set this to point the server at your own ClickHouse instead of Tracelane Cloud.
CLICKHOUSE_USER — ClickHouse username.
CLICKHOUSE_PASSWORD · secret — ClickHouse password.
CLICKHOUSE_DB — ClickHouse database holding the spans table.
TRACELANE_MCP_TRANSPORT — Transport to serve. stdio (default) for desktop clients; http for the Streamable HTTP transport.