clr-uptime-kuma-mcp

v1.1.0
clr-uptime-kuma-mcp Checked 1 day ago Published 3 months ago

An MCP server for Uptime Kuma

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

kuma_status

Get overall monitoring status summary. Returns total monitor count and breakdown by status (up, down, pending, maintenance), plus a list of any monitors that are currently down. Returns: A dict with total, up, down, pending, maintenance counts and a down_monitors list.

kuma_list_monitors

List all Uptime Kuma monitors with status and response times. Returns: Monitors sorted by name, each with id, name, type, status, response time (ms), URL/hostname, and certificate info if available.

kuma_get_monitor

Get detailed information for a specific monitor. Args: monitor_id: Numeric monitor ID. Returns: A dict with all available fields for the monitor. Raises: ValueError: If the monitor ID is not found.

ParameterTypeDescription
monitor_id *integer

kuma_down_monitors

List only monitors that are currently down. Returns: A list of monitor dicts with status 0, or an empty list if all are up.

kuma_cert_expiry

Show SSL certificate expiry for all HTTPS monitors. Returns: Monitors with certificate data, sorted by days remaining (most urgent first). Each entry includes cert_days_remaining, cert_valid, and a severity level (CRITICAL <= 7 days, WARNING <= 30 days, OK otherwise).

kuma_add_monitor

Add a new monitor. Args: name: Display name for the monitor. type: Monitor type (http, ping, port, dns, keyword, docker, push, mqtt, group, mysql, postgres, redis, mongodb). url: URL to monitor (for http/keyword types). hostname: Hostname to monitor (for ping/port/dns types). port: Port number (for port type). interval: Check interval in seconds (default 60). keyword: Keyword to search for (for keyword type). Returns: API response dict with the created monitor details. Raises: ValueError: If the monitor type is unknown or write client is unavailable.

ParameterTypeDescription
name *string
hostnamestring
intervalinteger
keywordstring
portinteger
typestring
urlstring

kuma_edit_monitor

Edit an existing monitor. Only provided fields are updated. Args: monitor_id: ID of the monitor to edit. name: New display name. url: New URL. hostname: New hostname. port: New port. interval: New check interval in seconds. keyword: New keyword. Returns: API response dict with the updated monitor details. Raises: ValueError: If no fields are provided or write client is unavailable.

ParameterTypeDescription
monitor_id *integer
hostnamestring
intervalinteger
keywordstring
namestring
portinteger
urlstring

kuma_delete_monitor

Delete a monitor. Args: monitor_id: ID of the monitor to delete. Returns: API response dict confirming deletion.

ParameterTypeDescription
monitor_id *integer

kuma_pause_monitor

Pause a monitor (stop checking). Args: monitor_id: ID of the monitor to pause. Returns: API response dict confirming the pause.

ParameterTypeDescription
monitor_id *integer

kuma_resume_monitor

Resume a paused monitor. Args: monitor_id: ID of the monitor to resume. Returns: API response dict confirming the resume.

ParameterTypeDescription
monitor_id *integer

kuma_list_maintenances

List all maintenance windows. Returns: A list of maintenance window dicts.

kuma_add_maintenance

Add a maintenance window. Args: title: Maintenance window title. strategy: Strategy type (manual, single, recurring-interval, recurring-weekday, recurring-day-of-month, cron). description: Optional description. date_range: For 'single' strategy: 'YYYY-MM-DD HH:MM,YYYY-MM-DD HH:MM'. duration_minutes: Duration in minutes for cron strategy (default 60). cron: Cron expression for 'cron' strategy. timezone: Timezone (e.g. 'Europe/Stockholm'). Returns: API response dict with the created maintenance details. Raises: ValueError: If the strategy is unknown or writ…

ParameterTypeDescription
title *string
cronstring
date_rangestring
descriptionstring
duration_minutesinteger
strategystring
timezonestring

kuma_delete_maintenance

Delete a maintenance window. Args: maintenance_id: ID of the maintenance window to delete. Returns: API response dict confirming deletion.

ParameterTypeDescription
maintenance_id *integer

kuma_pause_maintenance

Pause a maintenance window. Args: maintenance_id: ID of the maintenance window to pause. Returns: API response dict confirming the pause.

ParameterTypeDescription
maintenance_id *integer

kuma_resume_maintenance

Resume a paused maintenance window. Args: maintenance_id: ID of the maintenance window to resume. Returns: API response dict confirming the resume.

ParameterTypeDescription
maintenance_id *integer