Traceflow - Zero-UI Telemetry, Webhook & Chaos Blackbox
Zero-signup OTLP, webhook HMAC, HTTP/SSE chaos, and causal /diff blackbox for coding agents.
Sollte ich dies verwenden
Qualität und Sicherheit
Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.
Kontextkosten
Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.
Installieren
Installation mit einem Klick
Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:
{
"mcpServers": {
"traceflow": {
"url": "https://traceflow.nl/mcp"
}
}
}Remote-Endpunkte
https://traceflow.nl/mcpstreamable-httpWas es kann
Tool-Inventar
Tools (10)
🔴traceflow_create_cell(hmac_secret)
Provision an isolated 30-minute in-memory cell returning write URLs (OTLP traces/metrics/logs, raw webhooks, CSP reports, HTTP/SSE chaos) and a separate read_token. Call this first to start any debugging or verification session; call traceflow_delete_cell when done to free subnet quota early. Cells are capability-isolated (no cross-caller listing), auto-scrub credentials and emails, and cap at 24 active cells and 40 req/s per /24 or /48 subnet.
Eingabe-Schema
{
"type": "object",
"properties": {
"hmac_secret": {
"description": "Optional shared webhook signing secret used to verify raw-byte Stripe-Signature or X-Hub-Signature-256 headers on /hook/* requests; omit if not verifying webhook HMACs.",
"maxLength": 256,
"type": "string"
}
}
}🔴traceflow_delete_cell(cell_id, read_token)
Immediately destroy an active cell and wipe all in-memory spans, webhooks, chaos counters, and checkpoints before its 30-minute TTL expires. Use this after finishing verification to release per-subnet cell quota; use traceflow_save_mark instead if you want to keep the cell open and separate before/after test runs. Returns ERROR if cell_id is already expired/deleted or read_token is invalid.
Eingabe-Schema
{
"type": "object",
"properties": {
"cell_id": {
"description": "Cell identifier ('c_...') returned by traceflow_create_cell.",
"pattern": "^c_[a-f0-9]{12}$",
"type": "string"
},
"read_token": {
"description": "Read capability token ('r_...') returned by traceflow_create_cell; never sent to write endpoints.",
"pattern": "^r_[a-f0-9]{24}$",
"type": "string"
}
},
"required": [
"cell_id",
"read_token"
]
}🟢traceflow_wait_events(after_seq, cell_id, expect_count, max_tokens, read_token, ...)
Long-poll a cell until at least expect_count new events arrive after after_seq, then return a token-budgeted causal anomaly digest. Use this instead of sleep loops or traceflow_get_digest when awaiting in-flight async webhooks, background OTLP batch flushes, or browser CSP reports; use traceflow_get_digest if traffic has already finished arriving. Timeout clamps to 1-25s and returns WAIT_TIMEOUT with current cell state rather than failing if the deadline elapses.
Eingabe-Schema
{
"type": "object",
"properties": {
"after_seq": {
"default": 0,
"description": "Monotonic cell sequence watermark (from a previous digest or traceflow_save_mark); only events with seq > after_seq count toward wakeup and summary.",
"minimum": 0,
"type": "integer"
},
"cell_id": {
"description": "Cell identifier ('c_...') returned by traceflow_create_cell.",
"pattern": "^c_[a-f0-9]{12}$",
"type": "string"
},
"expect_count": {
"default": 1,
"description": "Number of new ingest events (OTLP batches, webhooks, CSP reports, or chaos hits) required after after_seq before returning early.",
"maximum": 500,
"minimum": 1,
"type": "integer"
},
"max_tokens": {
"default": 350,
"description": "Approximate token ceiling for the returned digest text (clamped to 80..4000; lower-priority findings truncate first).",
"maximum": 4000,
"minimum": 80,
"type": "integer"
},
"read_token": {
"description": "Read capability token ('r_...') returned by traceflow_create_cell; never sent to write endpoints.",
"pattern": "^r_[a-f0-9]{24}$",
"type": "string"
},
"timeout_sec": {
"default": 15,
"description": "Maximum seconds to block waiting for events (clamped server-side to 1..25s).",
"maximum": 25,
"minimum": 1,
"type": "integer"
}
},
"required": [
"cell_id",
"read_token"
]
}🟢traceflow_get_digest(after_seq, cell_id, max_tokens, read_token)
Return an immediate, non-blocking causal summary of a cell's latency percentiles, detected anti-patterns (N+1 SQL storms, floating async spans, lock herds, connection leaks, webhook HMAC/schema drift, chaos backoff grades), and saved MARKS checkpoints. Use this when events are already ingested; use traceflow_wait_events to block for pending async arrivals, or traceflow_inspect_trace to drill into one specific trace_id waterfall. Webhook bodies render structural field shapes only (never raw string prose).
Eingabe-Schema
{
"type": "object",
"properties": {
"after_seq": {
"default": 0,
"description": "Optional sequence watermark; omit or set 0 to summarize the entire cell, or pass a mark seq to inspect only events after that checkpoint.",
"minimum": 0,
"type": "integer"
},
"cell_id": {
"description": "Cell identifier ('c_...') returned by traceflow_create_cell.",
"pattern": "^c_[a-f0-9]{12}$",
"type": "string"
},
"max_tokens": {
"default": 350,
"description": "Approximate token budget for the returned summary (clamped to 80..4000).",
"maximum": 4000,
"minimum": 80,
"type": "integer"
},
"read_token": {
"description": "Read capability token ('r_...') returned by traceflow_create_cell; never sent to write endpoints.",
"pattern": "^r_[a-f0-9]{24}$",
"type": "string"
}
},
"required": [
"cell_id",
"read_token"
]
}🟢traceflow_inspect_trace(cell_id, max_tokens, read_token, trace_id)
Render the chronological span waterfall, code file:line locations, SQL statements, and scrubbed error/exception logs for a single distributed trace in a cell. Use this after traceflow_get_digest or traceflow_wait_events identifies a slow critical path or error trace; do not use it for cell-wide p50/p99 summaries, webhooks, or chaos retry grading (use traceflow_get_digest). Returns a not-found notice if the cell holds no spans or trace_id is absent.
Eingabe-Schema
{
"type": "object",
"properties": {
"cell_id": {
"description": "Cell identifier ('c_...') returned by traceflow_create_cell.",
"pattern": "^c_[a-f0-9]{12}$",
"type": "string"
},
"max_tokens": {
"default": 400,
"description": "Approximate token ceiling for the span waterfall output (default 400).",
"maximum": 4000,
"minimum": 80,
"type": "integer"
},
"read_token": {
"description": "Read capability token ('r_...') returned by traceflow_create_cell; never sent to write endpoints.",
"pattern": "^r_[a-f0-9]{24}$",
"type": "string"
},
"trace_id": {
"description": "Hex W3C trace_id (full 32-char ID) to inspect; omit or pass empty string to automatically select the latest error trace (or latest trace if none failed).",
"type": "string"
}
},
"required": [
"cell_id",
"read_token"
]
}🟡traceflow_save_mark(cell_id, name, read_token)
Record a named sequence-number checkpoint (such as 'before') on a cell to partition baseline events from post-fix events. Call this after capturing baseline OTLP traces and prior to editing code so traceflow_compare_marks can compute a Before/After latency diff; saved marks are listed in traceflow_get_digest under MARKS. Re-using an existing name overwrites that mark with the current cell sequence number.
Eingabe-Schema
{
"type": "object",
"properties": {
"cell_id": {
"description": "Cell identifier ('c_...') returned by traceflow_create_cell.",
"pattern": "^c_[a-f0-9]{12}$",
"type": "string"
},
"name": {
"default": "before",
"description": "Short label for the checkpoint (e.g. 'before' or 'v1'); defaults to an auto-numbered mark if omitted.",
"maxLength": 40,
"type": "string"
},
"read_token": {
"description": "Read capability token ('r_...') returned by traceflow_create_cell; never sent to write endpoints.",
"pattern": "^r_[a-f0-9]{24}$",
"type": "string"
}
},
"required": [
"cell_id",
"read_token"
]
}🟢traceflow_compare_marks(cell_id, from_mark, read_token, to_mark)
Compare warm p50/p99 latency, spans/request, and error rates before vs after a checkpoint created by traceflow_save_mark, returning VERDICT (IMPROVED, REGRESSED, or UNCHANGED) and a paste-ready PR Proof Receipt. Use this after running post-fix traces to prove a patch worked; use traceflow_get_digest instead to diagnose root-cause anomalies inside a single run. Requires >=1 trace on both sides of from_mark (otherwise returns DIFF_INCOMPLETE); cold-start outliers are isolated automatically when >=5 traces exist.
Eingabe-Schema
{
"type": "object",
"properties": {
"cell_id": {
"description": "Cell identifier ('c_...') returned by traceflow_create_cell.",
"pattern": "^c_[a-f0-9]{12}$",
"type": "string"
},
"from_mark": {
"description": "Checkpoint name created via traceflow_save_mark separating baseline (<= seq) from candidate (> seq); omit to use the earliest saved mark in the cell.",
"type": "string"
},
"read_token": {
"description": "Read capability token ('r_...') returned by traceflow_create_cell; never sent to write endpoints.",
"pattern": "^r_[a-f0-9]{24}$",
"type": "string"
},
"to_mark": {
"description": "Optional upper checkpoint name bounding the candidate window; omit to compare from_mark through the latest ingested trace.",
"type": "string"
}
},
"required": [
"cell_id",
"read_token"
]
}🟢traceflow_audit_schema(mcp_tools_json)
Measure per-turn context-window token cost and structural defects (missing descriptions, >380-token schemas, deep anyOf/oneOf unions) for an MCP tools/list JSON payload. Stateless and requires no cell_id. Use this when designing or trimming MCP server tool schemas; use traceflow_check_prompt_cache instead when diagnosing LLM KV prefix-cache invalidation across conversation turns.
Eingabe-Schema
{
"type": "object",
"properties": {
"mcp_tools_json": {
"description": "Raw JSON string containing either a {\"tools\": [...]} MCP tools/list response object or a JSON array of tool definition objects (up to 512 KB).",
"type": "string"
}
},
"required": [
"mcp_tools_json"
]
}🟢traceflow_check_prompt_cache(cell_id, chunk_chars, prompt_text, read_token)
Hash fixed-width character chunks of an LLM prompt with SHA-256 across consecutive calls on a cell to pinpoint the exact character range where a dynamic timestamp, header, or ID invalidated KV prefix caching. Call at least twice on the same cell (turn 1 baseline, turn 2 candidate) to trigger PROMPT_CACHE_INVALIDATED detection; use traceflow_audit_schema instead to measure static MCP tool-list token bloat. Raw prompt text is hashed in memory and discarded immediately.
Eingabe-Schema
{
"type": "object",
"properties": {
"cell_id": {
"description": "Cell identifier ('c_...') returned by traceflow_create_cell.",
"pattern": "^c_[a-f0-9]{12}$",
"type": "string"
},
"chunk_chars": {
"default": 128,
"description": "Character width per SHA-256 prefix chunk (default 128; use 32..64 for fine-grained header diffing).",
"maximum": 1024,
"minimum": 16,
"type": "integer"
},
"prompt_text": {
"description": "Rendered system or full prompt string for the current turn; chunk-hashed in memory with SHA-256 and never stored in plaintext.",
"type": "string"
},
"read_token": {
"description": "Read capability token ('r_...') returned by traceflow_create_cell; never sent to write endpoints.",
"pattern": "^r_[a-f0-9]{24}$",
"type": "string"
}
},
"required": [
"cell_id",
"read_token",
"prompt_text"
]
}🟢traceflow_manage_wishlist(action, blind_spot, category, cell_id, proposed_io, ...)
List, propose, or upvote missing runtime debugging and protocol tools on the public Traceflow backlog. Call with action='list' before action='propose' to avoid duplicate slugs; pass cell_id and read_token from a cell with ingested events (seq > 0) to record a higher-trust verified_session vote alongside the 1-vote-per-subnet count. Public listings expose only validated slugs, enum categories, and vote totals (free-text blind_spot notes are scrubbed and restricted to maintainers).
Eingabe-Schema
{
"type": "object",
"properties": {
"action": {
"default": "list",
"description": "Operation to perform: 'list' top requested tools, 'propose' a new slug (auto-upvotes if slug exists), or 'vote' on an existing slug.",
"enum": [
"list",
"propose",
"vote"
],
"type": "string"
},
"blind_spot": {
"description": "Concise maintainer-only note describing the runtime blind spot encountered (scrubbed for credentials and never shown in public listings).",
"maxLength": 280,
"type": "string"
},
"category": {
"description": "Capability domain for a new proposal; required when action is 'propose'.",
"enum": [
"ingest",
"chaos",
"protocol",
"security",
"perf",
"genai",
"diff"
],
"type": "string"
},
"cell_id": {
"description": "Cell identifier ('c_...') returned by traceflow_create_cell.",
"pattern": "^c_[a-f0-9]{12}$",
"type": "string"
},
"proposed_io": {
"description": "Optional maintainer-only note describing desired input parameters and measurement output.",
"maxLength": 280,
"type": "string"
},
"read_token": {
"description": "Read capability token ('r_...') returned by traceflow_create_cell; never sent to write endpoints.",
"pattern": "^r_[a-f0-9]{24}$",
"type": "string"
},
"slug": {
"description": "Lowercase snake_case tool identifier (3..40 chars, e.g. 'websocket_frame_chaos'); required when action is 'propose' or 'vote'.",
"pattern": "^[a-z0-9][a-z0-9_]{2,39}$",
"type": "string"
}
}
}Community
Nachweis