Skip to content
MCP server
Registry

tracelane-mcp MCP Server

Read-only, tenant-scoped access to Tracelane agent traces and guardrail verdicts

tracelane-mcp scores 55 (Fair), with no SPDX license recorded. It installs as a local process. It declares 8 tools. Filed under Uncategorized. GitHub shows 0 stars. Package registries report about 39 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.

by tracelaneNo license0 stars
Trust score
55Fair
Trust score 55 of 100, Fair

Fair trust

55 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • No license recorded.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 55 comes from

22 + 20 + 0 + 0 + 10 + 3 = 55. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity0 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 0 of 20 points.
License0 / 10

A clear, OSI-style open-source license.

License: 0 of 10 points.
Security10 / 10

Not archived, a secure install path, a pinned version.

Security: 10 of 10 points.
Docs3 / 10

A real summary, a README with depth, listed tools.

Docs: 3 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "tracelane-mcp": {      "command": "npx",      "args": [        "-y",        "@tracelanedev/mcp@0.4.0"      ],      "env": {        "TRACELANE_API_KEY": "YOUR_TRACELANE_API_KEY",        "TRACELANE_GATEWAY_URL": "https://gateway.tracelane.dev",        "CLICKHOUSE_URL": "",        "CLICKHOUSE_USER": "default",        "CLICKHOUSE_PASSWORD": "YOUR_CLICKHOUSE_PASSWORD",        "CLICKHOUSE_DB": "tracelane",        "TRACELANE_MCP_TRANSPORT": "stdio"      }    }  }}

Environment variables

NameRequiredNotes
TRACELANE_API_KEYSecretRequiredTracelane 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_URLRequiredBase 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_URLOptionalself-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_USEROptionalClickHouse username.
CLICKHOUSE_PASSWORDSecretOptionalClickHouse password.
CLICKHOUSE_DBOptionalClickHouse database holding the spans table.
TRACELANE_MCP_TRANSPORTOptionalTransport to serve. stdio (default) for desktop clients; http for the Streamable HTTP transport.

Tools8Tool docs quality grade B

All capabilities
  • Human-readable explanation of a guardrail signal. Self-host mode: traceid + spanid (a detection-layer AFT flag on a recorded span). Gateway mode: EITHER correlationid (from a block's 403 body, for a request blocked pre-flight with no trace)

  • Read a specific eval's assertions. Needs a repo checkout for the source; says so when there is none. Params: evalid

  • Get full details for a span including all LLM GenAI attributes. Params: spanid, traceid — required in Cloud (gateway) mode (no span-by-id gateway route; the span is picked out of the trace's span list), optional in self-host mode

  • Get all spans for a trace. Params: traceid

  • List every pain-point + fault-tolerance eval id and count, read from the manifest bundled at build time from evals/. Params: none

  • List recent traces for the tenant. Params: limit (default 20), modelfilter, haserror

  • Return a recorded trace as-is (ordered spans with LLM/tool attributes) for offline step-through. Read-only — it does not re-execute any model or tool. Params: traceid, includetoolcalls?

  • Free-text search across span names and attributes. Params: query (gateway mode requires ≥4 chars), modelfilter?, haserror?, limit. Gateway mode returns content-filtered trace summaries; self-host mode returns per-span match detail (matcheds

About

@tracelanedev/mcp — Tracelane MCP Server

license

Read-only MCP server exposing Tracelane trace data to any MCP-compatible client — Claude Desktop, Claude Code, Cursor, or any agent using the Model Context Protocol.

On npm since 2026-09-07: npx @tracelanedev/mcp installs the published version; the config blocks below work as written. From-source is still documented under self-hosting. The same run submits apps/mcp/server.json to the MCP registry; the name it will be listed under is io.github.tracelane/tracelane-mcp.

Default mode reads through the gateway — the same tenant-scoped /v1/* routes the dashboard uses — with just TRACELANE_API_KEY and TRACELANE_GATEWAY_URL. That is the Cloud-tenant path and needs no ClickHouse credentials. Set CLICKHOUSE_URL to switch to self-host mode, reading ClickHouse directly instead — see Self-hosting.

Quick start

Cloud (Tracelane-hosted tenant)

Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS), %APPDATA%\Claude\claude_desktop_config.json (Windows), or .mcp.json at your project root for Claude Code:

{
  "mcpServers": {
    "tracelane": {
      "command": "npx",
      "args": ["@tracelanedev/mcp"],
      "env": {
        "TRACELANE_API_KEY": "tlane_YOUR_KEY",
        "TRACELANE_GATEWAY_URL": "https://gateway.tracelane.dev"
      }
    }
  }
}

No CLICKHOUSE_URL — its absence is what selects gateway mode. Every read goes through the gateway's existing tenant-scoped routes, so a key from another tenant, or one lacking the read scope, gets a clear tool error rather than an empty result.

Run from a clone

Swap the two launch keys for a path into your clone — every env key is unchanged:

"command": "node",
"args": ["/path/to/tracelane/apps/mcp/dist/index.js"]

Build it first with pnpm install && pnpm --filter @tracelanedev/mcp build.

The Streamable HTTP transport ships in this package (TRACELANE_MCP_TRANSPORT=http, see Transports) — run it yourself. There is no hosted endpoint: https://mcp.tracelane.dev does not resolve, so a url-style client entry has nothing to connect to.

Self-host (ClickHouse)

Set CLICKHOUSE_URL to read ClickHouse directly instead of the gateway — for a self-hosted or local Tracelane stack:

{
  "mcpServers": {
    "tracelane": {
      "command": "npx",
      "args": ["@tracelanedev/mcp"],
      "env": {
        "TRACELANE_API_KEY": "tlane_YOUR_KEY",
        "TRACELANE_GATEWAY_URL": "https://gateway.tracelane.dev",
        "CLICKHOUSE_URL": "http://localhost:8123",
        "CLICKHOUSE_USER": "default",
        "CLICKHOUSE_PASSWORD": "…"
      }
    }
  }
}

TRACELANE_GATEWAY_URL is still needed in self-host mode — it is where TRACELANE_API_KEY is validated (/v1/auth/whoami) even though trace reads go to ClickHouse instead.

Tools

ToolDescription
list_tracesList recent traces for the tenant. Params: limit (default 20), model_filter, has_error
get_traceGet all spans for a trace. Params: trace_id
get_spanGet full details for a span including all LLM GenAI attributes. Params: span_id, trace_id — required in Cloud (gateway) mode (no span-by-id gateway route; the span is picked out of the trace's span list), optional in self-host mode
search_tracesFree-text search across span names and attributes. Params: query (gateway mode requires ≥4 chars), model_filter?, has_error?, limit. Gateway mode returns content-filtered trace summaries; self-host mode returns per-span match detail (matched_spans, first_match_*)
explain_guardrail_blockHuman-readable explanation of a guardrail signal. Self-host mode: trace_id + span_id (a detection-layer AFT flag on a recorded span). Gateway mode: EITHER correlation_id (from a block's 403 body, for a request blocked pre-flight with no trace) OR trace_id + span_id (same AFT-flag case, still available since spans carry the flag either way)
list_evalsList every pain-point + fault-tolerance eval id and count, read from the manifest bundled at build time from evals/. Params: none
get_eval_resultRead a specific eval's assertions. Needs a repo checkout for the source; says so when there is none. Params: eval_id
replay_traceReturn a recorded trace as-is (ordered spans with LLM/tool attributes) for offline step-through. Read-only — it does not re-execute any model or tool. Params: trace_id, include_tool_calls?

Example usage in Claude

Once connected, you can ask Claude:

"Show me the last 5 traces that had a guardrail block, and explain what fired."

"Compare the latency of traces using claude-haiku-4-5 vs claude-sonnet-4-6 in the last hour."

"Show me the assertions that eval makes."

Auth

TRACELANE_API_KEY environment variable passed via the MCP env block. The server resolves the tenant from the API key — tenant_id is never accepted as a tool argument.

Transports

TransportHow to select itWhen to use
StdiodefaultLocal use — Claude Desktop, Claude Code, Cursor. Zero network exposure.
Streamable HTTPTRACELANE_MCP_TRANSPORT=http TRACELANE_MCP_PORT=8081Self-run remote deployments. Every request must carry Authorization: Bearer <jwt-or-tlane-key>; the tenant is resolved per request through the gateway. No hosted endpoint is operated for you.

Security invariants

  • Read-only. No write tools are registered — the tool surface is the eight listed above, all of which only read.
  • Tenant isolation. Gateway mode: every read is a tenant-scoped gateway route (crates/gateway/src/trace_reads.rs) — the tenant comes from the bearer's claims server-side, this server never sends or sees a tenant id. Self-host mode: every ClickHouse query includes WHERE tenant_id = {tenantId: String} (parameter-bound, never string-interpolated).
  • tenant_id is never a tool parameter in either mode. Stdio resolves it once at startup from TRACELANE_API_KEY via the gateway and refuses to start if the key is rejected; HTTP resolves it per request from the bearer token and binds it through AsyncLocalStorage.
  • A non-2xx gateway response is a tool error, never an empty result. A revoked or wrong-tenant key, a key missing the read scope, or another tenant's trace id all read back as isError: true carrying the gateway's own status and message — not [].
  • No eval id reaches the filesystem. get_eval_result looks the id up in the bundled manifest and uses the manifest's path, so a traversal string cannot name a file.
  • TRACELANE_GATEWAY_URL is SSRF-checked before any bearer is sent to it, in both modes: https-only outside development, tracelane.dev hosts only, private/CGNAT/IMDS ranges refused.

Operator note: span content is returned as stored. Scope the API key you give this server to workspaces whose spans you are comfortable handing to the connected model.

Self-hosting

# From source, against your own stack
pnpm dev:mcp

No container image is published for the MCP server — ghcr.io/tracelane/mcp does not exist. Run it from source or from the npm package.

Stack

  • @modelcontextprotocol/sdk — official MCP SDK (stdio + Streamable HTTP)
  • @clickhouse/client — parameter-bound ClickHouse queries
  • TypeScript 5.5 strict, noUncheckedIndexedAccess: true
  • Biome for lint + format

License

Apache 2.0 — see LICENSE.

Frequently asked questions

What is tracelane-mcp MCP Server?

Read-only, tenant-scoped access to Tracelane agent traces and guardrail verdicts

How do I install tracelane-mcp MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. tracelane-mcp MCP Server runs locally from the npm package @tracelanedev/mcp with the command npx -y @tracelanedev/mcp@0.4.0.

Does tracelane-mcp MCP Server support remote (HTTP) connections?

No remote endpoint is listed for tracelane-mcp MCP Server. It runs locally on your machine over stdio, started by your MCP client.

What tools does tracelane-mcp MCP Server provide?

tracelane-mcp MCP Server provides 8 tools, including explain_guardrail_block, get_eval_result, get_span, and get_trace. See the full tool list for descriptions and parameters.

How is tracelane-mcp MCP Server's trust score calculated?

tracelane-mcp MCP Server scores 55 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server