Sandbox Timer
Flags idle agent sandboxes (E2B, Vercel, Daytona, Modal), shows idle cost, returns kill calls.
사용해야 할까요
품질 및 안전성
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`claude_desktop_config.json` 파일에 다음을 추가하세요:
{
"mcpServers": {
"timer": {
"url": "https://timer.cloudforbots.com/mcp"
}
}
}원격 엔드포인트
https://timer.cloudforbots.com/mcpstreamable-http할 수 있는 일
도구 목록
도구 (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.
입력 스키마
{
"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.
입력 스키마
{
"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).
입력 스키마
{
"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.
입력 스키마
{
"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.
입력 스키마
{
"type": "object",
"properties": {}
}커뮤니티
증거