MCP 서버

agent-loop-detector

io.github.lazymac2x/agent-loop-detector
개발자 도구 공개 · 연결 가능 MCP 2026-07-28

이 MCP로 할 수 있는 일

Analyzes AI agent traces for repeated tool-call loops, token costs, stuck states, and remediation recommendations.

analyze_trace
Full diagnostic: loop detection, cost breakdown, stuck-state classification, and fix recommendations for an AI agent trace.
입력 스키마
{'type': 'object', 'required': ['trace'], 'properties': {'trace': {'type': 'array', 'items': {'type': 'object'}, 'description': 'Ordered array of agent steps (role, tool, input, output, tokens, model)'}, 'pricing': {'type': 'object', 'nullable': True, 'properties': {'in': {'type': 'number'}, 'out': {'type': 'number'}}}}}
breakdown_cost
Calculate per-model token usage and USD cost from an agent trace. Supports custom pricing overrides.
입력 스키마
{'type': 'object', 'required': ['trace'], 'properties': {'trace': {'type': 'array', 'items': {'type': 'object'}}, 'pricing': {'type': 'object', 'nullable': True, 'properties': {'in': {'type': 'number'}, 'out': {'type': 'number'}}}}}
detect_loops
Detect exact-call repeats, periodic tool-call cycles, and ping-pong patterns in an agent trace.
입력 스키마
{'type': 'object', 'required': ['trace'], 'properties': {'trace': {'type': 'array', 'items': {'type': 'object'}}}}
추가됨
breakdown_cost
2026년 9월 17일 12:43 PM
추가됨
detect_loops
2026년 9월 17일 12:43 PM
추가됨
analyze_trace
2026년 9월 17일 12:43 PM