npm mcp-agent-trace-inspector package
mcp-agent-trace-inspector is an MCP project maintained in the dbsectrainer/mcp-agent-trace-inspector repository. The maintainer describes its purpose as “npm mcp-agent-trace-inspector package”. Read the project documentation for the complete scope.
The documented npm package is mcp-agent-trace-inspector. The configuration below comes from the maintainer’s example; adapt its paths and account values to your environment.
Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.
Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.
| Tool | What it does |
|---|---|
| trace_start | begin a new trace; returns a trace_id for subsequent calls |
| trace_step | record one tool call step (inputs, outputs, optional token count and latency) |
| trace_end | mark a trace as completed |
| list_traces | list stored traces with names, statuses, and timestamps |
| get_trace_summary | token totals, step count, latency, and cost estimate for a trace |
| compare_traces | diff two traces side by side (step counts, tokens, latency) |
| extract_reasoning_chain | extract only reasoning/thinking steps from a trace |
| export_dashboard | generate a self-contained single-file HTML dashboard with latency waterfall |
| export_otel | export one or all traces in OpenTelemetry OTLP JSON span format |
| export_compliance_log | export the compliance audit log as JSON or CSV, with optional date range filtering |
| configure_alerts | configure alert rules on latency, error rate, or cost; fire to Slack or generic webhooks |
| set_retention_policy | set how many days to keep traces (in-memory; must be called before apply_retention) |
| apply_retention | archive traces older than the configured threshold; delete traces past 2x the threshold |
{
"mcpServers": {
"trace-inspector": {
"command": "npx",
"args": [
"-y",
"mcp-agent-trace-inspector@latest"
]
}
}
}From the project documentation. Replace placeholders and example paths before connecting.
Give your coding agent the full DevTools toolbox: traces, network, console, heap snapshots and Lighthouse.
Workers, KV, R2 and D1 by conversation — Cloudflare's official remote servers for building and observability.
Dashboards, Prometheus and Loki queries, incidents and alerts — observability by conversation.
Errors with full context — stack traces, issue triage and AI-powered root-cause analysis from Sentry's server.
Connect Flutter applications with AI coding assistants via the Model Context Protocol.
Enables natural language interaction with Splunk Enterprise and Cloud for searching data and managing resources.