agent-trace-xray-mcp
v1.0.0
Published
X-ray your agent trace — turn a raw tool-call log into a decision tree, detect infinite loops, surface 5-Whys, and produce a one-paragraph postmortem in one MCP call.
Maintainers
Readme
agent-trace-xray-mcp
The oncall MCP for broken agent runs.
Paste a tool-call log, get back a decision tree, cycle finding (the infinite-loop killer most agent frameworks lack), a 5-Whys chain rooted in the actual failure mode, and a one-paragraph postmortem. Heuristic, no LLM call, runs entirely in-process over stdio.
Tools
parse_trace— JSON / JSONL / object list → normalized steps + countsdecision_tree— ASCII tree of the agent's pathdetect_cycles— exact-pattern + high-frequency cycle detection (severity tagged)five_whys— heuristic 5-Whys chain picked from failure mode (cycle / error storm / terminal failure / efficiency drift)summarize_trace— one-shot postmortem (the call you make first)
Install (Claude Code)
{
"mcpServers": {
"agent-trace-xray": {
"command": "npx",
"args": ["-y", "agent-trace-xray-mcp"]
}
}
}Pricing
Free as MCP. Pro $19/mo on Gumroad for the hosted timeline UI + Slack/PagerDuty integration.
Contact: [email protected]
