accueil / serveurs / IA & Mémoire / com.botrecipe/budget
com.botrecipe/budget
serveur MCP (Model Context Protocol) · run-budget-guard 1.0.0
Référencé dans l'annuaire. Seul le pentest comportemental fait foi, et il n'a pas encore été exécuté sur ce serveur.
Est-ce que com.botrecipe/budget est sûr ?
Au dernier audit MCP Hub, le serveur MCP « com.botrecipe/budget » est classé « Non encore testé ». Référencé dans l'annuaire. Seul le pentest comportemental fait foi, et il n'a pas encore été exécuté sur ce serveur. Le verdict est réévalué en continu ; consultez la fiche pour l'état à jour.
Méthode : MCP Hub analyse la description de chaque outil (couche 1) et, pour le verdict fort, exécute le serveur dans une micro-VM isolée avec leurres et réseau bloqué (couche 2). On publie des noms et des compteurs, jamais le contenu brut renvoyé par un outil.
Les 6 outils
- budget_status≈ 118 tokens
See spend vs limits, remaining budget, whether the run is stopped and why, and the last 20 ledger events. Set close=true when the run finishes.
Paramètres, retour & exemple (2)
Paramètresclose· boolean · optionnelhandle· string · requis
The budget handle from open_budget (looks like bg_<id>.<secret>). Pass it to every sub-agent so they all spend from the same budget.
Exemple d'appel{"name": "budget_status", "arguments": {"handle": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - open_budget≈ 304 tokens
Open a hard budget for one agent run before it starts: max dollars, tokens, calls and/or wall-clock seconds. Returns a handle. Give the handle to every sub-agent; they all draw from the same ledger, so one runaway loop or fork cannot exceed the run cap.
Paramètres, retour & exemple (7)
Paramètresmode· string · optionnel · shadow | enforce
shadow = watch only: track spend and flag where the cap WOULD have stopped the run, never block (free). enforce = return allowed=false at the cap (Pro). Default: enforce on Pro, shadow on free.label· string · optionnel
What this run is for, e.g. "nightly code cleanup".max_usd· number · optionnel
Dollar cap for the whole run (your own estimates per call).max_calls· integer · optionnel
Cap on model/tool calls for the whole run.ttl_hours· integer · optionnel
Handle lifetime (free max 24, Pro max 168). Default 24.max_tokens· integer · optionnel
Token cap (input + output) for the whole run.max_seconds· integer · optionnel
Wall-clock cap in seconds from now.
Exemple d'appel{"name": "open_budget", "arguments": {"mode": "shadow", "label": "texte", "max_usd": 1, "max_calls": 1, "ttl_hours": 1, "max_tokens": 1}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - record≈ 137 tokens
After a call, report the actual usage minus what you reserved (positive if it cost more, negative to give back an overestimate). Keeps the ledger honest without blocking.
Paramètres, retour & exemple (4)
Paramètresusd· number · optionnelnote· string · optionnelhandle· string · requis
The budget handle from open_budget (looks like bg_<id>.<secret>). Pass it to every sub-agent so they all spend from the same budget.tokens· integer · optionnel
Exemple d'appel{"name": "record", "arguments": {"handle": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - reserve≈ 236 tokens
Call BEFORE each model call, tool call or sub-agent spawn with your estimate. Returns allowed=true and deducts it, or allowed=false with the limit that tripped. When allowed is false, stop, do not retry, and return your partial result to the user. Atomic, so parallel sub-agents cannot both slip under the cap.
Paramètres, retour & exemple (5)
Paramètresusd· number · optionnel
Estimated cost of the next call in USD.note· string · optionnel
Short note, e.g. "web_search #12".calls· integer · optionnel
Number of calls to reserve (default 1).handle· string · requis
The budget handle from open_budget (looks like bg_<id>.<secret>). Pass it to every sub-agent so they all spend from the same budget.tokens· integer · optionnel
Estimated tokens of the next call.
Exemple d'appel{"name": "reserve", "arguments": {"handle": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - usage_and_upgrade≈ 61 tokens
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.
Paramètres, retour & exemple (0)
Exemple d'appel{"name": "usage_and_upgrade", "arguments": {}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - weekly_report≈ 78 tokens
Draft a plain-English report of the last 7 days for your key (or IP): runs, spend, runs that went over their cap, and dollars spent after a cap would have stopped them. Read-only; sends nothing. Show it to your user.
Paramètres, retour & exemple (0)
Exemple d'appel{"name": "weekly_report", "arguments": {}}Exemple de retour{"content": [{"type": "text", "text": "…"}]}
C'est votre serveur ?
Revendiquez-le sur l'espace créateur (preuve GitHub, domaine ou npm) pour afficher le badge « propriétaire vérifié » et lancer un pentest comportemental à la demande afin d'obtenir le badge « Vérifié ».