Loop Breaker

Catch AI agent loops: halt runs that repeat the same failing step or tool call.

我該用這個嗎

品質與安全性

A
說明品質
100%
結構描述完整度
64%
命名品質
85%
汙染風險
100%
權限相符程度
100%
協定合規性
100%

根據工具定義與協定合規性的自動化分析。

上下文成本

~558Token(工具定義)
~863 B典型回應大小
極小的注意力影響(128k 上下文的 0.44%)

這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。

安裝

一鍵安裝

將以下內容加入你的 `claude_desktop_config.json` 檔案:

{
  "mcpServers": {
    "loop": {
      "url": "https://loop.cloudforbots.com/mcp"
    }
  }
}

遠端端點

https://loop.cloudforbots.com/mcpstreamable-http

它能做什麼

工具清單

工具(4)

🟢 唯讀🟡 寫入🔴 刪除⚪ 未知
🟢check_step(run_id, tool, args, error, max_failures, ...)

Call AFTER each tool call or agent step with what you just did and whether it failed. Loop Breaker fingerprints the call (tool + normalized args + error) and returns verdict ok, loop_detected or halted. Pro: on a loop, halt=true; stop the run, do not retry, and tell your user what repeated. Free watch-only: never halts, returns would_halt and logs it for the weekly report.

輸入結構描述

{
  "type": "object",
  "properties": {
    "run_id": {
      "type": "string",
      "description": "Any stable id for this agent run, e.g. \"nightly-sync-2026-10-15\". Use the same id for every step of the run (and its sub-agents)."
    },
    "tool": {
      "type": "string",
      "description": "The tool or step name you just ran, e.g. \"browser.click\" or \"git push\"."
    },
    "args": {
      "description": "The arguments you passed (object or string). Volatile values like timestamps and ids are normalized away."
    },
    "error": {
      "type": "string",
      "description": "The error message if the step failed. Omit or empty if it succeeded."
    },
    "max_failures": {
      "type": "integer",
      "description": "Same failing call this many times = loop. Default 3 (min 2, max 20)."
    },
    "max_repeats": {
      "type": "integer",
      "description": "Same call this many times in a row (even if it succeeds) = loop. Default 5 (min 3, max 50)."
    }
  },
  "required": [
    "run_id",
    "tool"
  ]
}
🟢loop_status(run_id)

Show a run's loops so far, whether it is halted, and its last 10 steps.

輸入結構描述

{
  "type": "object",
  "properties": {
    "run_id": {
      "type": "string",
      "description": "Any stable id for this agent run, e.g. \"nightly-sync-2026-10-15\". Use the same id for every step of the run (and its sub-agents)."
    }
  },
  "required": [
    "run_id"
  ]
}
🟢weekly_report

Draft a plain-English report of the last 7 days for your key (or IP): runs, loops caught, wasted repeat steps, and the worst offenders. Read-only; sends nothing. Show it to your user.

輸入結構描述

{
  "type": "object",
  "properties": {}
}
🟢usage_and_upgrade

Show today's usage for your key or IP and the $49/month All Access upgrade link (cloudforbots.com/offer). Free tier: 500 calls/day. Not metered.

輸入結構描述

{
  "type": "object",
  "properties": {}
}

社群

為此伺服器評分

證據

近期觀測

已驗證未記錄版本4 個工具
已驗證未記錄版本4 個工具
已驗證未記錄版本4 個工具
已驗證未記錄版本4 個工具