Skip to content
Gemini CLI

Loop Breaker for Gemini CLI

com.botrecipe/loop

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

client:Gemini CLI transport:streamable-http tools:4

Install Loop Breaker in Gemini CLI

~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json

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

Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs

What Gemini CLI can do once it is connected

Loop Breaker in other clients