cron-monitor

v1.0.0
io.github.lazymac2x/cron-monitor Checked 2 days ago Published 6 months ago

Cloudflare Workers MCP server: cron-monitor

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

ping_monitor

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.

ParameterTypeDescription
monitor_id *stringMonitor ID to ping
ping_typestringType of ping event

get_monitor_status

Get the current status (up/down/grace/new) of a specific cron monitor along with last ping time and total ping count.

ParameterTypeDescription
monitor_id *stringMonitor ID to check

get_dashboard

Get an overview of all cron monitors — total count, counts per status (up/down/grace/new), and a summary list. Requires API key.

ParameterTypeDescription
api_key *stringAPI key (x-api-key header value)

create_monitor

Register a new cron job monitor. Returns the monitor ID to use in ping URLs. Requires API key.

ParameterTypeDescription
api_key *stringAPI key (x-api-key header value)
expected_interval_seconds *integerHow often the job should run (seconds)
name *stringHuman-readable monitor name
grace_period_secondsintegerExtra seconds allowed after interval before going DOWN
notify_urlstringWebhook URL for DOWN alerts (receives POST with JSON)
schedule_descriptionstringHuman-readable schedule (e.g. 'Every night at 3am UTC')

list_monitors

List all monitors with real-time computed status. Requires API key.

ParameterTypeDescription
api_key *stringAPI key (x-api-key header value)

get_ping_history

Retrieve the last 100 ping events for a monitor (type, timestamp, IP, duration for complete events). Requires API key.

ParameterTypeDescription
api_key *stringAPI key (x-api-key header value)
monitor_id *stringMonitor ID