cronalert

v1.5.1
io.github.jaredhobbs/cronalert Checked 1 day ago Published 2 months ago

Manage CronAlert uptime monitors, check results, and incidents from any MCP client.

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

list_monitors

List all uptime monitors. Optionally filter by status (up, down, unknown) and paginate.

ParameterTypeDescription
limitintegerResults per page (max 100)
pageintegerPage number
statusstringFilter by monitor status

create_monitor

Create a new uptime monitor. Supports HTTP status checks, keyword matching, regex matching, content change detection, and content staleness alerts (Pro+). Set type to 'heartbeat' for cron job / background task monitoring, or 'tcp' (Pro+) to check that a host:port accepts connections — TCP checks can target bare IP addresses, which HTTP checks cannot.

ParameterTypeDescription
name *stringDisplay name for the monitor
checkIntervalintegerHeartbeat type: expected seconds between pings, from the plan minimum (60 on Pro+) up to 604800 (7 days). Other types: ignored, set automatically from the plan
expectedStatusCodeintegerExpected HTTP status code (default 200, http type only)
failureThresholdintegerNumber of regions that must fail before alerting (0 = alert on any failure, multi-region only)
gracePeriodintegerHeartbeat type only: extra seconds a ping may be late before the monitor is down (default: the interval, capped at 3600)
headersstringCustom request headers as JSON string, e.g. '{"Authorization": "Bearer token"}' (http type only)
hoststringHostname or IP address to connect to (tcp type only)
keywordstringValue depends on keywordMatchType: keyword text for contains/not_contains, regex pattern for regex_match/regex_not_match, number of days for content_stale, unused for content_changed (Pro+)
keywordMatchTypestringContent check mode (Pro+)
maintenanceEndstringMaintenance window end as ISO datetime string (Pro plan+)
maintenanceStartstringMaintenance window start as ISO datetime string (Pro plan+)
methodstringHTTP method (default GET, http type only)
portintegerTCP port to connect to (tcp type only; port 25 is not supported)
regionsstringComma-separated region IDs for multi-region checks: us-east, us-west, eu-west, eu-central, ap-southeast (Team plan+, http type only)
timeoutintegerRequest timeout in seconds (1-120, default 30, http type only)
typestringMonitor type: 'http' checks a URL, 'heartbeat' waits for pings from your application, 'tcp' opens a connection to host:port (Pro+)
urlstringURL to monitor (required for http type, ignored for other types)

get_monitor

Get detailed information about a specific monitor including its current status.

ParameterTypeDescription
id *stringMonitor ID

update_monitor

Update an existing monitor's configuration including content checking mode. Only provided fields are changed.

ParameterTypeDescription
id *stringMonitor ID
checkIntervalintegerHeartbeat monitors only: expected seconds between pings (plan minimum to 604800). Ignored for other types
expectedStatusCodeintegerExpected HTTP status code
failureThresholdintegerNumber of regions that must fail before alerting
gracePeriodintegerHeartbeat monitors only: extra seconds a ping may be late before the monitor is down
headersstringCustom request headers as JSON string
keywordstringValue depends on keywordMatchType: keyword text, regex pattern, number of days, or unused (Pro+)
keywordMatchTypestringContent check mode (Pro+)
maintenanceEndstringMaintenance window end as ISO datetime string
maintenanceStartstringMaintenance window start as ISO datetime string
methodstringHTTP method
namestringDisplay name
pausedbooleanPause or resume the monitor
regionsstringComma-separated region IDs for multi-region checks (Team plan+)
timeoutintegerRequest timeout in seconds (1-120)
urlstringURL to monitor (http type only)

delete_monitor

Permanently delete a monitor and all its check history. This cannot be undone. If the API key requires confirmation, the first call returns a preview and a confirmToken; call again with that token in `confirm` to proceed.

ParameterTypeDescription
id *stringMonitor ID
confirmstringServer-issued confirmation token from a prior delete attempt. Only needed when the key mandates confirmation for destructive actions.

get_check_results

Get recent check results for a monitor, including response times, status codes, and uptime percentage.

ParameterTypeDescription
id *stringMonitor ID
limitintegerResults per page (max 100)
pageintegerPage number

get_monitor_incidents

Get incidents for a specific monitor — periods when the monitor was down.

ParameterTypeDescription
id *stringMonitor ID
limitintegerResults per page (max 100)
pageintegerPage number

list_incidents

List all active incidents across all monitors.

list_status_pages

List all public status pages configured for your account.

add_incident_update

Post a status update on an active incident. Updates appear on the public status page.

ParameterTypeDescription
incidentId *stringIncident ID
message *stringUpdate message text
status *stringUpdate status

get_incident_updates

Get status updates for a specific incident.

ParameterTypeDescription
incidentId *stringIncident ID

import_monitors

Import monitors from another monitoring service. Supports UptimeRobot, Pingdom, Better Stack, StatusCake, Checkly, Oh Dear, Cronitor, Healthchecks.io, Dead Man's Snitch, Datadog, CronAlert JSON, and CSV formats.

ParameterTypeDescription
data *stringRaw JSON or CSV string exported from the source service
format *stringSource format of the monitoring data