Sandbox Timer
Flags idle agent sandboxes (E2B, Vercel, Daytona, Modal), shows idle cost, returns kill calls.
¿Debería usar esto?
Calidad y seguridad
Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.
Costo de contexto
Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.
Instalar
Instalación con un clic
Agrega esto a tu archivo `claude_desktop_config.json`:
{
"mcpServers": {
"timer": {
"url": "https://timer.cloudforbots.com/mcp"
}
}
}Puntos de conexión remotos
https://timer.cloudforbots.com/mcpstreamable-httpQué puede hacer
Inventario de herramientas
Herramientas (5)
🟡track_sessions(fleet, sessions, idle_minutes, max_lifetime_minutes, rates_per_hour, ...)
Send your agent's running sandbox sessions (up to 200; call it on a heartbeat, e.g. every 5 minutes) and get back which are idle past your threshold or over their max lifetime, the dollars idle time has cost at the hourly rates you pass, and what to do. Pro acts: returns a ready-to-run kill call per idle sandbox for its provider (E2B kill, Vercel Sandbox stop, Daytona stop, Modal terminate) and POSTs one alert per sandbox to your webhook. Free watch-only returns would_kill and sends nothing. We never hold provider keys and never kill anything ourselves: your agent runs the call with its own key.
Esquema de entrada
{
"type": "object",
"properties": {
"fleet": {
"type": "string",
"description": "A stable name for this group of sandboxes, e.g. \"my-agent\". State and rules are kept per fleet."
},
"sessions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Sandbox id as your provider returns it (E2B sandboxId, Vercel sandbox name, Daytona id or name, Modal object_id)."
},
"provider": {
"type": "string",
"description": "e2b, vercel, daytona, modal, or any other name."
},
"idle_minutes": {
"type": "number",
"description": "Minutes since the sandbox last did work (a command, a request). Or pass last_activity_at."
},
"last_activity_at": {
"type": "string",
"description": "ISO time of the last work in the sandbox (instead of idle_minutes)."
},
"age_minutes": {
"type": "number",
"description": "Minutes since it started (or pass started_at). Used for max lifetime."
},
"started_at": {
"type": "string",
"description": "ISO start time (instead of age_minutes)."
},
"rate_per_hour": {
"type": "number",
"description": "What this sandbox costs you per hour in USD, from your provider's price page or bill. Optional; without it we count minutes, not dollars."
},
"status": {
"type": "string",
"description": "running (default), paused or stopped. Paused and stopped sessions are skipped."
},
"label": {
"type": "string",
"description": "Optional human name, e.g. \"repo-tests\"."
},
"session_id": {
"type": "string",
"description": "Vercel only: the current session id, used in the REST stop call."
}
},
"required": [
"id"
]
}
},
"idle_minutes": {
"type": "integer",
"description": "Idle minutes before a sandbox counts as idle. Default 15 (or your saved Pro rule)."
},
"max_lifetime_minutes": {
"type": "integer",
"description": "Optional: flag sandboxes running longer than this, idle or not."
},
"rates_per_hour": {
"type": "object",
"description": "Optional default USD per hour by provider, e.g. {\"e2b\": 0.17}. Your own numbers; per-session rate_per_hour wins."
},
"alert_webhook": {
"type": "string",
"description": "https URL Pro posts the idle alert (with the kill call) to."
}
},
"required": [
"sessions"
]
}⚪idle_report(fleet, days)
Which sandboxes were flagged idle and what idle time cost, per provider, from what track_sessions has seen. Without an API key pass fleet. With a key: every fleet on it. Free shows 7 days, Pro 30.
Esquema de entrada
{
"type": "object",
"properties": {
"fleet": {
"type": "string",
"description": "A stable name for this group of sandboxes, e.g. \"my-agent\". State and rules are kept per fleet."
},
"days": {
"type": "integer",
"description": "1-30 (free max 7)."
}
}
}🟡set_idle_rules(fleet, idle_minutes, max_lifetime_minutes, rates_per_hour, alert_webhook)
Pro: save the rules track_sessions applies to a fleet: idle_minutes threshold, max_lifetime_minutes, default rates_per_hour by provider, and alert_webhook. Free returns a preview of the rules and saves nothing (pass the same values on each track_sessions call instead).
Esquema de entrada
{
"type": "object",
"properties": {
"fleet": {
"type": "string",
"description": "A stable name for this group of sandboxes, e.g. \"my-agent\". State and rules are kept per fleet."
},
"idle_minutes": {
"type": "integer"
},
"max_lifetime_minutes": {
"type": "integer"
},
"rates_per_hour": {
"type": "object"
},
"alert_webhook": {
"type": "string"
}
}
}🟢weekly_report
Plain-English summary of the last 7 days: sandboxes watched, how many sat idle, dollars idle time cost at your rates, kill calls returned (Pro) or that would have been (free). Read-only; sends nothing. Needs a free API key.
Esquema de entrada
{
"type": "object",
"properties": {}
}🟢usage_and_upgrade
Show today's usage for your key or IP and the $9/month upgrade link. Free tier: 500 calls/day. Not metered.
Esquema de entrada
{
"type": "object",
"properties": {}
}Comunidad
Evidencia