Skip to main content
Glama
mcp-uptime-kuma

mcp-uptime-kuma

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
UPTIME_KUMA_URLNoURL of the Uptime Kuma instance
UPTIME_KUMA_PASSWORDNoPassword for authentication
UPTIME_KUMA_USERNAMENoUsername for authentication
UPTIME_KUMA_2FA_TOKENNoOptional 2FA token if 2FA is enabled
UPTIME_KUMA_JWT_TOKENNoJWT token for authentication (takes precedence over username/password)

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This MCP server provides access to Uptime Kuma monitoring data and management operations. Each tool's description says what it does and when to use it.

READING:

  • For status questions ("what's down?", "how is everything?") start with 'getMonitorSummary'.

  • Read results leave out fields that are null or empty: a field that is not there has no value.

CREDENTIALS:

  • Passwords, tokens, API keys and HTTP headers read "***". The common workflows never need the real values (attaching a notification channel takes only its id), so pass includeSecrets: true only when the value itself is needed: it is then written to this conversation's transcript.

  • "***" sent back to 'updateMonitor' / 'updateNotification' / 'updateSettings' keeps the stored value, so a read-edit-write round trip is safe.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
getMonitorA

Returns one monitor's configuration by ID (check interval, notifications, tags, parent group) with its uptime and average ping. Type-specific fields such as url, hostname and port are returned only with includeTypeSpecificFields; fields returns only the fields you name. Read it before updateMonitor. For current status use getMonitorSummary; for check history, listHeartbeats. Find IDs with listMonitors.

listMonitorsA

Returns the configuration of every monitor, or of those matching the filters (keywords, type, active, maintenance, tags, parent group). Use it to find monitor IDs or compare settings; for current UP/DOWN status use getMonitorSummary instead. Type-specific fields such as url, hostname and port are returned only with includeTypeSpecificFields; fields returns only the fields you name. Returns up to 50 monitors per call; pass nextCursor back as cursor for the next page.

listMonitorTypesA

Returns every monitor type Uptime Kuma supports and what each one checks. Use it to choose the type for createMonitor (there are dedicated types for game servers, MQTT, SNMP, gRPC, Docker containers and more) and for the valid values of type filters. For the fields a type takes, call getMonitorTypeFields.

getMonitorSummaryA

START HERE for status questions ("what's down?", "how is everything doing?"). Returns the current status of every monitor (UP, DOWN, PENDING or MAINTENANCE) with its latest heartbeat message, lastBeatTime, type and tags. Filters: keywords, type, status, active, maintenance, tags, parent group. A push monitor that has stopped beating keeps its last status, so check lastBeatTime, which is UTC with no zone marker. For configuration use listMonitors; for history, listHeartbeats.

listHeartbeatsA

Returns check history (status, response time, message), newest first, keyed by monitor ID: for one monitor when monitorID is given, otherwise for every monitor. Only the latest beat per monitor is returned unless maxHeartbeats is set (up to 100). For more than one beat it returns a summary per monitor instead of the rows: the time span, counts by status, ping min/avg/max, the latest beat and since when it has had that status, and each period of DOWN beats with its first message. That answers whether and when it went down, why, and whether it is back; pass raw: true only when the user wants the individual beats. important: true returns only the status changes for one monitor, which is history and not the current status. For current status use getMonitorSummary. Credentials inside a message URL read "***" unless includeSecrets is set.

getMonitorUptimeA

Returns a monitor's uptime percentage, check counts and ping (min/avg/max) over the last N hours, up to a year, with the minutes, hours or days in which checks failed, newest first. Use it for "what was the uptime this week?"; for the current status use getMonitorSummary, and for individual checks listHeartbeats. Counted as Uptime Kuma counts them: PENDING is down, and MAINTENANCE is neither.

clearMonitorEventsA

Empties a monitor's event list, the status changes listHeartbeats returns with important: true: every heartbeat's message is blanked and none counts as a status change any more. The heartbeats and the uptime statistics are kept. Cannot be undone.

clearMonitorHeartbeatsA

Deletes all of one monitor's heartbeats and uptime statistics, so its history and uptime start again from the next check; an active monitor is restarted. The monitor and its settings are kept. Cannot be undone. To clear only its event list, use clearMonitorEvents; for every monitor at once, clearAllStatistics.

clearAllStatisticsA

Deletes the heartbeats and uptime statistics of EVERY monitor, and restarts the active ones; monitors and settings are kept. Cannot be undone. Only when the user explicitly asks to reset all history: confirm with them first, then pass confirm: true. For one monitor use clearMonitorHeartbeats.

getSettingsA

Returns the Uptime Kuma server settings, such as timezone, primary base URL and data retention. Only settings that have been saved are returned, so a missing key (for example primaryBaseURL) has never been set. Credentials read "***" unless includeSecrets is set. To change a setting use updateSettings.

updateSettingsA

Changes Uptime Kuma server settings. Pass only what should change; every other setting keeps its stored value. Returns the settings as saved. Turning login off (disableAuth: true) needs currentPassword and leaves the dashboard open to anyone who can reach it. Read the current values with getSettings.

setMonitorActiveA

Pauses (active: false) or resumes (active: true) a monitor. A paused monitor stops checking, recording heartbeats and alerting; its configuration and history are kept, and resuming restarts checks at once. Setting the state it already has changes nothing. For planned downtime on a schedule use createMaintenanceWindow instead; setMaintenanceWindowActive acts on a maintenance window, not a monitor. Find the ID with listMonitors.

getMonitorTypeFieldsA

Describes the fields one monitor type takes: which are required, which are optional, what each means and accepts, its default, and whether it is passed at the top level or inside typeFields. Call it before createMonitor, and before updateMonitor changes a type or a type-specific field: those tools do not describe these fields. Type names come from listMonitorTypes.

createMonitorA

Creates a new monitor from a name, a type and the fields that type requires. Choose the type with listMonitorTypes, preferring one made for the service over a generic port check, then call getMonitorTypeFields for its required and optional fields, their defaults and where each is passed. A create that lacks a required field is refused rather than saved as a monitor that fails every check. A push monitor's generated token and ping URL are returned. To change an existing monitor use updateMonitor.

updateMonitorA

Updates an existing monitor. Only the fields you pass change; the rest keep their stored values. Passing a different type converts the monitor in place, keeping its ID and history, and needs the new type's required fields, passed here or already stored. Type-specific fields go in typeFields: call getMonitorTypeFields for them. A credential sent back as "***" keeps its stored value. Read the current configuration with getMonitor; to only stop or restart checks use setMonitorActive.

deleteMonitorA

Permanently deletes a monitor and all its heartbeat history. This cannot be undone. Deleting a group does not delete the monitors in it: they move to the top level. To stop checks but keep the monitor and its history, use setMonitorActive. Find the ID with listMonitors.

listNotificationTypesA

Returns every notification type Uptime Kuma supports (Slack, email, ntfy, Telegram, webhooks and about a hundred more) with the exact, case-sensitive type string createNotification takes. An older Uptime Kuma may lack the newest ones. For the fields a type takes, call getNotificationTypeFields.

getNotificationTypeFieldsA

Describes the config fields one notification type takes: which are required, which are optional and what each means. Call it before createNotification, or before updateNotification changes a type or its settings: field names are case-sensitive and Uptime Kuma saves a misspelled one without complaint. The common types are covered; for the rest it says so, and their field names can be copied from an existing channel in listNotifications. Type names come from listNotificationTypes.

listNotificationsA

Returns every notification channel (Slack, ntfy, Discord, email, webhooks and so on) with its id, type and type-specific config. Credentials in config are withheld unless includeSecrets is set, and redactedConfigKeys names the withheld fields. To attach a channel to a monitor, pass its id in notificationIDList of createMonitor / updateMonitor.

createNotificationA

Creates a notification channel from a name, a type and that type's config fields. Choose the type with listNotificationTypes, then call getNotificationTypeFields for its field names: both are case-sensitive. A create that lacks a documented required field is refused rather than saved as a channel that never sends. Attach the channel with notificationIDList on createMonitor / updateMonitor, or pass applyExisting. A repeat call creates a second channel; to change one use updateNotification.

updateNotificationA

Updates an existing notification channel. Only what you pass changes: name, isDefault and each field in config are merged onto the stored channel, so a rename keeps the credentials. A secret sent back as "***" keeps its stored value. Changing type discards the stored config, so pass the new type's full config with it. Find the ID with listNotifications; to add a channel use createNotification, and to remove one, deleteNotification.

deleteNotificationA

Permanently deletes a notification channel. Monitors that used it stop alerting through it, and this cannot be undone. To change a channel instead, use updateNotification. Find the ID with listNotifications.

testNotificationA

Sends a test message (" Testing") through a saved notification channel, as the Test button in Uptime Kuma does, to check its settings work. It really is delivered, to Slack, email or wherever the channel points, so do not repeat it without reason. Nothing is saved. Find the ID with listNotifications.

listDockerHostsA

Returns the Docker daemon connections configured in Uptime Kuma. A docker monitor refers to one by ID in its docker_host field. Credentials embedded in a dockerDaemon URL read "***" unless includeSecrets is set.

createDockerHostA

Creates a Docker daemon connection; docker monitors take the returned ID in their docker_host field. Pass dockerType "socket" with a socket path, or "tcp" with a URL such as http://host:2375 (for example a docker-socket-proxy). The connection is saved without being checked, so call testDockerHost first. To change one use updateDockerHost.

updateDockerHostA

Updates an existing Docker daemon connection. Only the fields you pass change. Credentials in a dockerDaemon URL sent back as "***" keep their stored value. Check a new address with testDockerHost first. Find the ID with listDockerHosts.

deleteDockerHostA

Permanently deletes a Docker daemon connection. Monitors that referenced it are kept, but their docker_host is cleared, so they stop working until given another. Find the ID with listDockerHosts.

testDockerHostA

Tests whether Uptime Kuma can reach a Docker daemon, without saving anything. On success the message gives the number of containers. Use it before createDockerHost or updateDockerHost.

listTagsA

Returns every tag defined in Uptime Kuma with its ID, name and color. To see which monitors carry a tag, filter listMonitors or getMonitorSummary by tag name.

createTagA

Creates a tag with a name and a color. Tags are attached to monitors with the tags argument of createMonitor / updateMonitor, which also creates a tag that does not exist yet, so this is only needed to define a tag ahead of use. Names are not unique: check listTags first to avoid a duplicate. To rename or recolor a tag use updateTag; to remove one, deleteTag.

updateTagA

Renames or recolors an existing tag. Pass name, color or both; whichever you omit keeps its current value. The change shows on every monitor that carries the tag. Find the ID with listTags; to add a tag use createTag.

deleteTagA

Permanently deletes a tag and removes it from every monitor that carries it. An ID that does not exist still reports success. To rename or recolor a tag instead, use updateTag. Find the ID with listTags.

listMaintenanceWindowsA

Returns every maintenance window with its schedule, whether it is active, monitorIDs (the monitors it suppresses) and statusPageSlugs (the status pages that announce it). A window with an empty monitorIDs list suppresses nothing. Use it to find the ID that updateMaintenanceWindow, setMaintenanceWindowActive and deleteMaintenanceWindow take; fields returns only the fields you name. Filter by keywords in the title, or by status, e.g. "scheduled,under-maintenance" to leave out ended windows. Returns up to 50 windows per call; pass nextCursor back as cursor for the next page.

createMaintenanceWindowA

Schedules a new maintenance window: while it is in effect the monitors in monitorIDs show MAINTENANCE instead of DOWN and do not alert. A window without monitorIDs suppresses nothing. strategy sets the schedule; "manual" makes a window you switch on and off with setMaintenanceWindowActive. To stop one monitor's checks outright use setMonitorActive.

updateMaintenanceWindowA

Updates an existing maintenance window. Only the fields you pass change, except monitorIDs and statusPageSlugs, which each replace the whole list. To switch a window on or off use setMaintenanceWindowActive. Find the ID with listMaintenanceWindows.

setMaintenanceWindowActiveA

Switches a maintenance window off (active: false) or back on (active: true). Off, it stops suppressing its monitors and its schedule stops; on, a manual window starts maintenance immediately and a scheduled one follows its schedule again. It acts on a maintenance window; to stop a monitor's checks use setMonitorActive. Find the ID with listMaintenanceWindows.

deleteMaintenanceWindowA

Permanently deletes a maintenance window; its monitors return to normal alerting. To switch it off but keep it, use setMaintenanceWindowActive. Find the ID with listMaintenanceWindows.

listStatusPagesA

Returns every status page with its slug, title, published state and custom domains. The list dates from login, so a page that another client or the web UI created or deleted since may be missing or still listed; changes made through this server show at once, and getStatusPage always reads fresh.

getStatusPageA

Returns one status page by slug: its settings, its ordered groups with the monitors in each, and its active incidents. Works for unpublished pages too. Read it before updateStatusPage. Find slugs with listStatusPages.

createStatusPageA

Creates an empty status page from a title and a slug (lowercase letters, digits and dashes only). It has no groups or monitors yet: add them, and the description and theme, with updateStatusPage.

updateStatusPageA

Updates an existing status page. config holds only the settings to change; the rest keep their stored values. publicGroupList, when passed, replaces all of the page's groups: a group left out is deleted, and a group is kept rather than recreated only if you include its id. Omit it to leave the groups as they are. Read the current state with getStatusPage first.

deleteStatusPageA

Permanently deletes a status page; its public URL stops working. The monitors shown on it are not affected. Find the slug with listStatusPages.

listIncidentsA

Returns a status page's incidents, newest first, 10 per call, resolved ones included; pass nextCursor back as cursor for the next 10. An incident shows on the page while it is both pinned and active. getStatusPage also returns the ones showing now.

createIncidentA

Posts an incident banner on a status page, for example "API degraded". It shows on the page at once, pinned and active, alongside any other active incidents. Follow up with updateIncident as things change, and resolveIncident when it is over.

updateIncidentA

Changes an incident banner. Only the fields you pass change. pinned: false takes it off the page without resolving it; to end an incident use resolveIncident. Find the ID with listIncidents or getStatusPage.

resolveIncidentA

Marks an incident as over: it leaves the status page but stays in listIncidents. To remove it from the history too, use deleteIncident. Find the ID with listIncidents or getStatusPage.

deleteIncidentA

Permanently deletes an incident from a status page and its history. To end an incident but keep its record, use resolveIncident. Find the ID with listIncidents.

listProxiesA

Returns the proxies monitors can send their requests through, with protocol, host, port and username. An HTTP-type monitor uses one by ID in its proxyId field. Passwords read "***" unless includeSecrets is set.

createProxyA

Adds an HTTP or SOCKS proxy. Monitors use it once their proxyId is set to its ID (createMonitor / updateMonitor), or all at once with applyExisting. Pass username and password for a proxy that needs them.

updateProxyA

Changes a proxy. Only the fields you pass change; a password sent back as "***" keeps the stored one. Clear username (pass "") to stop sending a login. Find the ID with listProxies.

deleteProxyA

Permanently deletes a proxy. Monitors that used it are kept and send their requests directly from then on. Find the ID with listProxies.

listRemoteBrowsersA

Returns the remote browsers (a Chrome reachable over WebSocket, e.g. browserless) that real-browser monitors can run in instead of the built-in Chromium. A monitor uses one by ID in its remote_browser field. Tokens and logins in a URL read "***" unless includeSecrets is set.

testRemoteBrowserA

Checks that Uptime Kuma can drive a browser at a WebSocket URL, without saving anything: pass url to try one before createRemoteBrowser, or remoteBrowserID to check a saved one.

createRemoteBrowserA

Adds a remote browser. Real-browser monitors use it once their remote_browser field is set to its ID. Check the URL first with testRemoteBrowser.

updateRemoteBrowserA

Changes a remote browser's name or URL; what you leave out keeps its stored value. To change the URL pass it in full: a URL with "***" in it is refused, since it would overwrite the stored token. Find the ID with listRemoteBrowsers.

deleteRemoteBrowserA

Permanently deletes a remote browser. Real-browser monitors that used it are kept and fall back to the built-in Chromium. Find the ID with listRemoteBrowsers.

listAPIKeysA

Returns the API keys for Uptime Kuma's API (such as its Prometheus /metrics endpoint) with name, status (active, inactive or expired) and expiry. The keys themselves cannot be read back: they are shown once, by createAPIKey.

createAPIKeyA

Creates an API key and returns it. It is sent as the password of HTTP basic auth, with any username. This is the only time the key can be read, and it stays in this conversation's transcript, so give it to the user to store and do not repeat it. Note: once any key exists, Uptime Kuma's /metrics endpoint takes API keys instead of the admin username and password, so a Prometheus scraper still using those must switch.

setAPIKeyActiveA

Switches an API key off (active: false), so requests using it are refused, or back on (active: true). An expired key stays expired. To remove it for good use deleteAPIKey. Find the ID with listAPIKeys.

deleteAPIKeyA

Permanently deletes an API key: anything still using it is refused from then on. To switch it off but keep it, use setAPIKeyActive. Find the ID with listAPIKeys.

getDatabaseInfoA

Returns which database Uptime Kuma stores its data in (sqlite, mariadb or embedded-mariadb), the SQLite file's size, and how many days of monitor history it keeps (keepDataPeriodDays). Uptime Kuma can only measure and shrink SQLite; for MariaDB the size is null.

shrinkDatabaseA

Gives the space of deleted history back to the disk by rewriting the SQLite file (VACUUM). Run it after clearing history or lowering keepDataPeriodDays; it frees nothing otherwise. While it runs, Uptime Kuma cannot record checks, and it needs free disk space about the database's size. A large database takes minutes. SQLite only: refused on MariaDB, where Uptime Kuma has nothing to do. Returns the size before and after.

listGamesA

Finds the GameDig ID a gamedig (game server) monitor needs in its game field, by game name or ID, e.g. "minecraft", "counter strike 2", "valheim". Returns each match's ID, name, default port and notes. Uptime Kuma does not check the ID when the monitor is saved, so look it up rather than guess.

listPM2ProcessesA

Lists the PM2 processes on the Uptime Kuma host with their name, ID and status. A pm2 monitor names one, by name or ID, in typeFields.system_service_name. Fails if PM2 is not installed where Uptime Kuma runs (it isn't in Uptime Kuma's Docker image).

testChromeA

Starts a Chrome or Chromium binary on the Uptime Kuma host and returns its version, to check that real-browser monitors without a remote browser can run. Defaults to the chromeExecutable setting those monitors use. With no path set, Uptime Kuma looks for one, and in its Docker image INSTALLS Chromium with apt when none is there, which can take minutes. Only paths on Uptime Kuma's own list of known Chrome locations are allowed, unless its host sets UPTIME_KUMA_ALLOW_ALL_CHROME_EXEC=1. For a remote browser use testRemoteBrowser.

getPushExampleA

Returns ready-to-run code that reports to a push monitor every interval, from Uptime Kuma's own samples, with the monitor's push URL and interval filled in. Use it after creating a push monitor, for the user's cron job or script. The push URL holds the monitor's token, a credential: it reads "***" (and the code will not work) unless includeSecrets is set.

checkDomainExpirySupportA

Says whether Uptime Kuma can watch a domain's registration expiry (domainExpiryNotification), and which domain and top-level domain it would look up. Many top-level domains have no RDAP service and cannot be watched; check before switching the notification on, since Uptime Kuma accepts it either way. Pass a monitor's ID, or an address (a URL or a host name).

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.1/5.0

Scored across 67 tools

Disambiguation4/5

Tools are organized by resource family (monitors, notifications, tags, status pages, incidents, proxies, browsers, API keys, Docker hosts), and descriptions explicitly cross-reference siblings (e.g. getMonitorSummary vs listMonitors vs listHeartbeats vs getMonitorUptime; clearMonitorEvents vs clearMonitorHeartbeats vs clearAllStatistics). A few clusters still require reading descriptions carefully to pick correctly, but boundaries are stated.

Naming Consistency5/5

Uniform camelCase verb_noun pattern throughout: listMonitors, getMonitor, createMonitor, updateMonitor, deleteMonitor, setMonitorActive, testDockerHost, shrinkDatabase. The set*/test* families are applied consistently per resource, so names are predictable from the resource involved.

Tool Count3/5

67 tools is heavy by any measure (well past the 25+ 'heavy' band), even though the underlying Uptime Kuma admin surface genuinely spans ten CRUD-able resource families plus discovery helpers. Almost every tool maps to a distinct resource+action with little redundancy, so it is defensible but still a large surface to navigate.

Completeness4/5

Near-complete lifecycle coverage: full CRUD for monitors, notifications, tags, maintenance windows, status pages, incidents, proxies, remote browsers, API keys and Docker hosts, plus settings, DB info/shrink, and discovery helpers (listMonitorTypes, getMonitorTypeFields). Gaps are minor, e.g. no user/account or auth-recovery operations beyond disableAuth in updateSettings.

Maintenance

ActivityActive
ResponsivenessUsually handled