# mcp-uptime-kuma [Health: Active]

**Category:** 📊 Monitoring  
**Repository:** https://github.com/DavidFuchs/mcp-uptime-kuma  
**GitHub Stars:** 71  
**npm Downloads (last month):** 4613  
**Views:** 12  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/mcp-uptime-kuma

## Description
A Model Context Protocol (MCP) server for Uptime Kuma version 2.

## Tools
Capabilities this server exposes over MCP:

- **getMonitorSummary** — Get a quick overview of all monitors with their current status. Supports filtering.
- **listMonitors** — Get the full list of all monitors with configurations. Supports filtering.
- **listMonitorTypes** — Get all available monitor types supported by Uptime Kuma.
- **getMonitorTypeFields** — Get the required and optional fields for a monitor type: what each one means, the values it accepts, its default, and whether it goes at the top level or in `typeFields`.
- **getMonitor** — Get detailed configuration for a specific monitor by ID.
- **createMonitor** — Create a monitor of any type. It needs a name, a type, and whatever that type checks, such as `url` for http or `hostname` for ping. Type-specific fields, including HTTP authentication, go in `typeFields`.
- **updateMonitor** — Update an existing monitor's configuration, including changing its type in place (keeps the ID and history).
- **deleteMonitor** — Permanently delete a monitor and all its heartbeat history.
- **setMonitorActive** — Pause a monitor to stop its checks, or resume a paused one.
- **listGames** — Look up a game's GameDig ID by name, for a game server (`gamedig`) monitor.
- **listPM2Processes** — List the PM2 processes on the Uptime Kuma host, for a `pm2` monitor.
- **testChrome** — Check that real-browser monitors can start Chrome on the Uptime Kuma host. If no Chrome path is set, Uptime Kuma's Docker image installs Chromium first, which can take a few minutes.
- **getPushExample** — Get sample code (bash, Python, PowerShell, Go and more) for reporting to a push monitor, with its URL and interval already filled in. The token is hidden unless `includeSecrets` is set.
- **checkDomainExpirySupport** — Check whether Uptime Kuma can track domain expiry for an address, and if it can't, why not.
- **listHeartbeats** — Get status check history for one monitor or for all of them.
- **getMonitorUptime** — Get a monitor's uptime percentage and ping over the last N hours (up to a year), plus when its checks failed.
- **clearMonitorEvents** — Clear a monitor's event list (its status changes). Its heartbeats and uptime data are kept.
- **clearMonitorHeartbeats** — Delete one monitor's heartbeats and uptime statistics, so its history starts from scratch.
- **clearAllStatistics** — Delete every monitor's heartbeats and uptime statistics. Requires `confirm: true`.
- **listNotifications** — List all configured notification channels (Slack, Discord, email, webhooks, etc.).
- **listNotificationTypes** — List every notification type Uptime Kuma supports, with the exact type string to use.
- **getNotificationTypeFields** — Get the required and optional config fields for a notification type. Covers the most common types.
- **createNotification** — Create a new notification channel.
- **updateNotification** — Update a notification channel. Only the fields you pass are changed.
- **deleteNotification** — Permanently delete a notification channel.
- **testNotification** — Send a test message through a saved channel to check that its settings work.
- **listTags** — List all tags defined in Uptime Kuma.
- **createTag** — Create a new tag that can be assigned to monitors.
- **updateTag** — Rename or recolor an existing tag.
- **deleteTag** — Permanently delete a tag (removes it from all monitors).
- **listMaintenanceWindows** — List all maintenance windows, with the monitors each one covers and the status pages that announce it.
- **createMaintenanceWindow** — Schedule a new maintenance window, attach the monitors it suppresses, and optionally show it on status pages.
- **updateMaintenanceWindow** — Change a maintenance window's schedule, details, monitor list, or the status pages it appears on.
- **setMaintenanceWindowActive** — Turn a maintenance window off (which ends a manual window) or back on (which starts one).
- **deleteMaintenanceWindow** — Permanently delete a maintenance window.
- **listStatusPages** — List all configured status pages with their slug, title, visibility, and custom domains.
- **getStatusPage** — Get one status page by slug, including its groups, the monitors in each group, and active incidents. Works for unpublished pages too.
- **createStatusPage** — Create a new, empty status page with a title and slug. Follow up with `updateStatusPage` to add groups and monitors.
- **updateStatusPage** — Change a status page's settings (description, theme, published, custom domains, CSS, …) and, optionally, replace its groups and their monitors.
- **deleteStatusPage** — Permanently delete a status page. Its URL will stop working.
- **listIncidents** — List a status page's incidents, including resolved ones, newest first and ten at a time.
- **createIncident** — Post an incident banner (title, Markdown body, color) on a status page. It appears immediately.
- **updateIncident** — Change an incident's title, body or color, or take it off the page without resolving it. Fields you don't pass keep their values.
- **resolveIncident** — Mark an incident as resolved. It comes off the page but stays in the history.
- **deleteIncident** — Permanently delete an incident, including from the history.
- **listDockerHosts** — List the Docker daemon connections used by Docker container monitors.
- **testDockerHost** — Check that a Docker daemon is reachable, without saving it. If it is, reports how many containers it has.
- **createDockerHost** — Add a Docker daemon connection over a Unix socket or TCP (for example, through a Docker socket proxy).
- **updateDockerHost** — Change a Docker daemon connection. Fields you don't pass keep their values.
- **deleteDockerHost** — Permanently delete a Docker daemon connection. Monitors that used it are kept, but no longer have a Docker host.
- **listProxies** — List the HTTP and SOCKS proxies that monitors can send requests through. A monitor picks one by setting its ID in `proxyId`.
- **createProxy** — Add a proxy, optionally with a login. It can be made the default, or applied to every monitor at once.
- **updateProxy** — Change a proxy. Fields you don't pass keep their values, and `"***"` keeps the password.
- **deleteProxy** — Permanently delete a proxy. Monitors that used it connect directly instead.
- **listRemoteBrowsers** — List the remote Chrome instances (such as browserless) that real-browser monitors can run in. Tokens in URLs are hidden.
- **testRemoteBrowser** — Check that Uptime Kuma can control a browser at a given URL, or a saved remote browser, without saving anything.
- **createRemoteBrowser** — Add a remote browser by name and `ws://` / `wss://` URL.
- **updateRemoteBrowser** — Change a remote browser's name or URL.
- **deleteRemoteBrowser** — Permanently delete a remote browser. Monitors that used it fall back to the built-in Chromium.
- **listAPIKeys** — List API keys with their status and expiry. The keys themselves can't be retrieved.
- **createAPIKey** — Create an API key, with an optional expiry date. The key is only shown once, in the response. Once any API key exists, `/metrics` requires an API key instead of the admin login.
- **setAPIKeyActive** — Turn an API key off or back on.
- **deleteAPIKey** — Permanently delete an API key.
- **getDatabaseInfo** — Get which database Uptime Kuma uses, the size of its SQLite file, and how many days of history it keeps.
- **shrinkDatabase** — Reclaim the disk space left behind by cleared history (SQLite `VACUUM`). Checks aren't recorded while it runs, and it needs about as much free disk space as the database takes up.
- **getSettings** — Get Uptime Kuma server settings, such as timezone, primary base URL, and data retention.
- **updateSettings** — Change server settings: timezone, primary base URL, entry page, data retention, expiry warning days, search engine indexing, update checks, reverse-proxy trust, NSCD, the Chrome path, API and Prometheus access, the Steam and Globalping credentials, and whether login is required. Settings you don't…

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "mcp-uptime-kuma": {
    "command": "npx",
    "args": ["-y","keeps"],
    "env": {
      "UPTIME_KUMA_URL": "",
      "UPTIME_KUMA_USERNAME": "",
      "UPTIME_KUMA_PASSWORD": "",
      "UPTIME_KUMA_2FA_TOKEN": "",
      "UPTIME_KUMA_JWT_TOKEN": "",
      "UPTIME_KUMA_HEADERS": ""
    }
  }
}
```

**Requires environment variables:** `UPTIME_KUMA_URL`, `UPTIME_KUMA_USERNAME`, `UPTIME_KUMA_PASSWORD`, `UPTIME_KUMA_2FA_TOKEN`, `UPTIME_KUMA_JWT_TOKEN`, `UPTIME_KUMA_HEADERS` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What mcp-uptime-kuma does

mcp-uptime-kuma exposes Uptime Kuma version 2 operations as MCP tools. It covers monitor discovery and administration, status-check history, notification channels, tags, maintenance windows, status pages, and server settings. The monitoring tools return focused data by default, which helps keep responses manageable for agent context windows.

The server supports real-time monitoring data through Uptime Kuma's Socket.IO connection, including monitor state changes. It is suitable for read-only inspection workflows as well as administrative workflows that modify the Uptime Kuma instance.

## How it works

Two transport modes are available:

- Stdio for a local MCP process, commonly started with `npx`.
- Streamable HTTP for a remotely reachable MCP endpoint, commonly run in Docker.

The server authenticates to Uptime Kuma using anonymous access, a username and password, or a JWT token. Username/password authentication can include a 2FA token. A JWT takes precedence when both JWT and username/password credentials are configured. Requests can also include custom headers for an authenticating proxy such as Cloudflare Access or oauth2-proxy.

Monitor summary and monitor-list queries accept filters for keywords, monitor type, active state, maintenance state, tags, parent group, and—on summaries—heartbeat status. Parent filtering returns direct children rather than recursively traversing nested groups.

## Setup and configuration

For stdio, configure an MCP client to run `npx -y @davidfuchs/mcp-uptime-kuma@latest` and provide the Uptime Kuma connection variables. Keeping `@latest` allows npx to use new releases instead of a previously cached version.

For streamable HTTP, run the published Docker image with port 3000 exposed and pass `-t streamable-http`. The MCP endpoint is available at `/mcp`; Docker Compose configuration is also included with the project.

Core configuration uses `UPTIME_KUMA_URL`. Authentication can be supplied with `UPTIME_KUMA_USERNAME` and `UPTIME_KUMA_PASSWORD`, optionally adding `UPTIME_KUMA_2FA_TOKEN`, or with `UPTIME_KUMA_JWT_TOKEN`. Set `UPTIME_KUMA_HEADERS` to a JSON object when an upstream proxy requires additional headers.

The example HTTP endpoint has no authentication at the MCP layer. Anyone able to reach its port can obtain read/write control of the connected Uptime Kuma instance, so protect the endpoint before exposing it outside a trusted local network.

## Tools and capabilities

Monitor tools include `getMonitorSummary`, `listMonitors`, `listMonitorTypes`, `getMonitor`, `createMonitor`, `updateMonitor`, `deleteMonitor`, `pauseMonitor`, and `resumeMonitor`. Heartbeat history is available through `listHeartbeats` and `getHeartbeats`.

Notification management provides `listNotifications`, `addNotification`, `updateNotification`, and `deleteNotification`. Tag management includes listing, creation, and deletion. Maintenance tools can list, create, update, pause, resume, and delete maintenance windows, including their associated monitors.

Additional read tools list status pages and retrieve Uptime Kuma settings.

## Limitations and notes

Deleting a monitor permanently removes its heartbeat history. Deleting a notification or tag is also permanent; removing a tag removes it from all monitors. Pausing a monitor stops its checks, while resuming it restarts them. Maintenance pause and resume operations control whether a maintenance window is active.

The server targets Uptime Kuma version 2. Its HTTP deployment must be secured separately when used beyond localhost or another trusted network boundary.

_Full upstream README: https://allmcps.com/mcp/mcp-uptime-kuma/readme_

