cron-monitor
Cloudflare Workers MCP server: cron-monitor
Sollte ich dies verwenden
Qualität und Sicherheit
Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.
Kontextkosten
Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.
Installieren
Installation mit einem Klick
Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:
{
"mcpServers": {
"cron-monitor": {
"url": "https://api.lazy-mac.com/cron-monitor/mcp"
}
}
}Remote-Endpunkte
https://api.lazy-mac.com/cron-monitor/mcpstreamable-httpWas es kann
Tool-Inventar
Tools (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.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"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"
]
}Community
Nachweis