cron-monitor
Cloudflare Workers MCP server: cron-monitor
사용해야 할까요
품질 및 안전성
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`claude_desktop_config.json` 파일에 다음을 추가하세요:
{
"mcpServers": {
"cron-monitor": {
"url": "https://api.lazy-mac.com/cron-monitor/mcp"
}
}
}원격 엔드포인트
https://api.lazy-mac.com/cron-monitor/mcpstreamable-http할 수 있는 일
도구 목록
도구 (6)
🟡ping_monitor(monitor_id, ping_type)
Send a heartbeat ping to a cron monitor to confirm the job ran successfully. Use ping_type='ping' for simple heartbeats, 'start'+'complete' for duration tracking, or 'fail' to immediately mark it down.
입력 스키마
{
"type": "object",
"properties": {
"monitor_id": {
"type": "string",
"description": "Monitor ID to ping"
},
"ping_type": {
"type": "string",
"enum": [
"ping",
"start",
"complete",
"fail"
],
"default": "ping",
"description": "Type of ping event"
}
},
"required": [
"monitor_id"
]
}🟢get_monitor_status(monitor_id)
Get the current status (up/down/grace/new) of a specific cron monitor along with last ping time and total ping count.
입력 스키마
{
"type": "object",
"properties": {
"monitor_id": {
"type": "string",
"description": "Monitor ID to check"
}
},
"required": [
"monitor_id"
]
}🟢get_dashboard(api_key)
Get an overview of all cron monitors — total count, counts per status (up/down/grace/new), and a summary list. Requires API key.
입력 스키마
{
"type": "object",
"properties": {
"api_key": {
"type": "string",
"description": "API key (x-api-key header value)"
}
},
"required": [
"api_key"
]
}🟡create_monitor(api_key, name, expected_interval_seconds, grace_period_seconds, schedule_description, ...)
Register a new cron job monitor. Returns the monitor ID to use in ping URLs. Requires API key.
입력 스키마
{
"type": "object",
"properties": {
"api_key": {
"type": "string",
"description": "API key (x-api-key header value)"
},
"name": {
"type": "string",
"description": "Human-readable monitor name"
},
"expected_interval_seconds": {
"type": "integer",
"description": "How often the job should run (seconds)"
},
"grace_period_seconds": {
"type": "integer",
"description": "Extra seconds allowed after interval before going DOWN",
"default": 0
},
"schedule_description": {
"type": "string",
"description": "Human-readable schedule (e.g. 'Every night at 3am UTC')"
},
"notify_url": {
"type": "string",
"description": "Webhook URL for DOWN alerts (receives POST with JSON)"
}
},
"required": [
"api_key",
"name",
"expected_interval_seconds"
]
}🟢list_monitors(api_key)
List all monitors with real-time computed status. Requires API key.
입력 스키마
{
"type": "object",
"properties": {
"api_key": {
"type": "string",
"description": "API key (x-api-key header value)"
}
},
"required": [
"api_key"
]
}🟢get_ping_history(api_key, monitor_id)
Retrieve the last 100 ping events for a monitor (type, timestamp, IP, duration for complete events). Requires API key.
입력 스키마
{
"type": "object",
"properties": {
"api_key": {
"type": "string",
"description": "API key (x-api-key header value)"
},
"monitor_id": {
"type": "string",
"description": "Monitor ID"
}
},
"required": [
"api_key",
"monitor_id"
]
}커뮤니티
증거