Skip to main content
Glama
mcp-uptime-kuma

mcp-uptime-kuma

mcp-uptime-kuma

A Model Context Protocol (MCP) server for Uptime Kuma version 2. It supports both the stdio and streamable HTTP transports.

npm version npm downloads Docker pulls Release build License: MIT

Contents: What You Can Ask · Features · Setup · Available Tools · Configuration · Authentication · Read-Only Mode · Tool Sets · Securing HTTP · Credential Redaction · Troubleshooting

What You Can Ask

Once it's connected, you manage Uptime Kuma by asking your AI assistant in plain language:

  • "What's down right now, and since when?"

  • "Which monitors have been flapping this week?"

  • "Add an HTTP monitor for https://example.com/health that checks every 60 seconds and alerts the Discord channel."

  • "Put the NAS monitors in maintenance tonight from 10 to 11pm."

  • "Build a public status page with a group for each of my web services."

  • "Pause everything tagged staging."

Related MCP server: uptime-kuma-mcp-server

Features

  • Manage everything, not just read it. 67 tools cover monitors of any type, notification channels, tags, maintenance windows, status pages and their incidents, proxies, remote browsers, API keys, Docker hosts, server settings and the database. See Available Tools.

  • Live data. The server keeps a Socket.IO connection open to Uptime Kuma, so status and heartbeats are current without polling.

  • Easy on context. Tools return summaries by default and full detail only when asked. The roughly 85 type-specific monitor fields are looked up when needed instead of being loaded into every conversation.

  • Credentials stay out of transcripts. Read tools return *** for passwords, tokens and API keys, and if the assistant sends *** back, the stored value is left alone. See Credential Redaction.

  • Read-only mode. One setting removes every tool that can create, change or delete anything. See Read-Only Mode.

  • Load only what you use. Pick the tool sets you need (monitors, maintenance, …) to keep the tool list short. See Choosing Tool Sets.

  • Annotated tools. Every tool declares whether it only reads data and whether it can delete or overwrite anything, so your client can run reads automatically and ask you before the rest.

  • Run it locally or share it. Use stdio through npx, or streamable HTTP in Docker with bearer-token auth, Origin checks and rate limiting.

Example Conversation

MCP server answering questions about Uptime Kuma monitors A conversation in LibreChat, with mcp-uptime-kuma providing live information from Uptime Kuma.

Setup

Setup takes two steps: pick how the server runs, then point your AI client at it.

1. Choose how to run it

Local (stdio)

Shared server (Docker, streamable HTTP)

How it runs

Your AI client starts it on your machine with npx and talks to it over stdin/stdout

One long-running container, usually next to Uptime Kuma, that clients reach at http://<host>:3000/mcp

Needs

Node.js 22+ on each machine that uses it

Docker on one host

Where Uptime Kuma credentials are stored

In each client's config

Only in the container

Best for

One person, one or two machines. The quickest way to try it.

Several machines or people, a homelab, or web clients such as claude.ai

If you're not sure, start with local. Every client below supports it, and you can switch later.

Either way you need:

  • Uptime Kuma 2.0 or later. The server uses Uptime Kuma 2's Socket.IO API, so 1.x isn't supported.

  • Your Uptime Kuma URL and a way to log in to it. A username and password will do. If you use 2FA, use a JWT instead, and if authentication is turned off, you don't need anything. See Authentication Methods.

Trying it out for the first time? Add UPTIME_KUMA_READ_ONLY=true to the environment in any of the examples below. The assistant will be able to see everything but won't be able to change anything. Remove it once you're comfortable. See Read-Only Mode.

2. Start the shared server (Docker only)

Skip this step if you chose local.

Generate a secret for clients to send as a bearer token:

openssl rand -base64 32

Then start the container:

docker run -d \
  --name mcp-uptime-kuma \
  --restart unless-stopped \
  -p 3000:3000 \
  -e UPTIME_KUMA_URL=http://your-uptime-kuma-instance:3001 \
  -e UPTIME_KUMA_USERNAME=your_username \
  -e UPTIME_KUMA_PASSWORD=your_password \
  -e MCP_AUTH_TOKEN=your_generated_secret \
  davidfuchs/mcp-uptime-kuma:latest \
  -t streamable-http

Prefer Compose? Download the provided docker-compose.yml, fill in the same variables, and run docker compose up -d.

To check that it's running, use curl http://your-docker-host:3000/health.

Don't skip MCP_AUTH_TOKEN. Without it, anyone who can reach port 3000 gets full read/write control of your Uptime Kuma instance. Plain http:// also sends the token unencrypted, so put the server behind a TLS reverse proxy before it leaves your LAN. See Securing the HTTP Endpoint.

In the client examples below, UPTIME_KUMA_MCP_TOKEN is an environment variable, set on the machine running the client, that holds the same value as MCP_AUTH_TOKEN. For clients that can't read environment variables, the examples put the token in the config directly.

3. Connect your client

Jump to your client:

The server is also listed in the official MCP Registry as io.github.DavidFuchs/mcp-uptime-kuma. Clients and directories that read the registry can find it and show its settings for you to fill in.

Every local example runs @davidfuchs/mcp-uptime-kuma@latest. Keep the @latest suffix. Without it, npx keeps using whichever version it cached the first time it ran, and never picks up new releases.

Once you're connected, ask something like "How are my monitors doing?" to check that it's working. If it isn't, see Troubleshooting.

Claude Code

Local:

claude mcp add --scope user \
  --env UPTIME_KUMA_URL=http://your-uptime-kuma-instance:3001 \
  --env UPTIME_KUMA_USERNAME=your_username \
  --env UPTIME_KUMA_PASSWORD=your_password \
  --transport stdio uptime-kuma \
  -- npx -y @davidfuchs/mcp-uptime-kuma@latest

Shared server:

claude mcp add --scope user --transport http uptime-kuma \
  http://your-docker-host:3000/mcp \
  --header "Authorization: Bearer your_generated_secret"

--scope user makes the server available in every project. Leave it off to add the server to the current project only, or use --scope project to write it to a .mcp.json you can commit. A committed file should reference the token as "Bearer ${UPTIME_KUMA_MCP_TOKEN}" rather than contain it. Run /mcp inside Claude Code to check the connection.

Claude Desktop and claude.ai

Local (Claude Desktop only): go to Settings → Developer → Edit Config to open claude_desktop_config.json, add the server, then restart Claude Desktop:

{
  "mcpServers": {
    "uptime-kuma": {
      "command": "npx",
      "args": ["-y", "@davidfuchs/mcp-uptime-kuma@latest"],
      "env": {
        "UPTIME_KUMA_URL": "http://your-uptime-kuma-instance:3001",
        "UPTIME_KUMA_USERNAME": "your_username",
        "UPTIME_KUMA_PASSWORD": "your_password"
      }
    }
  }
}

Shared server, reachable from the internet (claude.ai, Claude Desktop, mobile): go to Customize → Connectors, click + Add, then Add custom connector. Give it a name and enter https://your-public-host/mcp. Under Authentication choose No sign in, and under Request headers add Authorization: Bearer your_generated_secret. On a Team or Enterprise plan, an owner adds it for everyone under Organization settings → Connectors. Because Claude connects from Anthropic's cloud rather than from your computer, the server has to be reachable over public HTTPS, for example through a reverse proxy or Cloudflare Tunnel. A localhost or LAN address won't work.

Shared server on your LAN (Claude Desktop): connectors can't reach private addresses, so use mcp-remote in claude_desktop_config.json to bridge to the server. You only need --allow-http for a plain http:// URL that isn't localhost.

{
  "mcpServers": {
    "uptime-kuma": {
      "command": "npx",
      "args": [
        "-y", "mcp-remote",
        "http://your-docker-host:3000/mcp",
        "--allow-http",
        "--header", "Authorization:${AUTH_HEADER}"
      ],
      "env": {
        "AUTH_HEADER": "Bearer your_generated_secret"
      }
    }
  }
}

GitHub Copilot (VS Code and Copilot CLI)

Copilot reads ~/.copilot/mcp-config.json, which VS Code's Copilot Chat and the copilot CLI share. You can also use a .mcp.json at the root of a workspace. Values written as ${NAME} are read from the environment on the machine running the server.

Local:

{
  "mcpServers": {
    "uptime-kuma": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@davidfuchs/mcp-uptime-kuma@latest"],
      "env": {
        "UPTIME_KUMA_URL": "http://your-uptime-kuma-instance:3001",
        "UPTIME_KUMA_USERNAME": "your_username",
        "UPTIME_KUMA_PASSWORD": "${UPTIME_KUMA_PASSWORD}"
      },
      "tools": ["*"]
    }
  }
}

Shared server:

{
  "mcpServers": {
    "uptime-kuma": {
      "type": "http",
      "url": "http://your-docker-host:3000/mcp",
      "headers": {
        "Authorization": "Bearer ${UPTIME_KUMA_MCP_TOKEN}"
      },
      "tools": ["*"]
    }
  }
}

Older VS Code setups keep servers in .vscode/mcp.json or the profile mcp.json instead. Those files use a top-level "servers" key rather than "mcpServers", and VS Code is phasing them out. On a Business or Enterprise plan, an admin may need to turn on the MCP servers in Copilot policy first.

Codex and ChatGPT

The Codex CLI, the Codex IDE extension and the ChatGPT desktop app share one configuration file, ~/.codex/config.toml.

Local:

codex mcp add uptime-kuma \
  --env UPTIME_KUMA_URL=http://your-uptime-kuma-instance:3001 \
  --env UPTIME_KUMA_USERNAME=your_username \
  --env UPTIME_KUMA_PASSWORD=your_password \
  -- npx -y @davidfuchs/mcp-uptime-kuma@latest

That command writes this to config.toml, which you can also edit by hand:

[mcp_servers.uptime-kuma]
command = "npx"
args = ["-y", "@davidfuchs/mcp-uptime-kuma@latest"]

[mcp_servers.uptime-kuma.env]
UPTIME_KUMA_URL = "http://your-uptime-kuma-instance:3001"
UPTIME_KUMA_USERNAME = "your_username"
UPTIME_KUMA_PASSWORD = "your_password"

Shared server: add this to config.toml, and make sure UPTIME_KUMA_MCP_TOKEN is set in the environment Codex is launched from:

[mcp_servers.uptime-kuma]
url = "http://your-docker-host:3000/mcp"
bearer_token_env_var = "UPTIME_KUMA_MCP_TOKEN"

With either setup, you can add default_tools_approval_mode = "writes" to the server's table. Codex will then use this server's tool annotations to run read-only tools without asking, and check with you before anything that changes your instance.

ChatGPT on the web isn't supported. Its custom connectors call the server from OpenAI's cloud and only support OAuth or no authentication, so they can't send the bearer token this server requires. Use the ChatGPT desktop app or Codex instead.

Cursor

Add this to ~/.cursor/mcp.json for every project, or .cursor/mcp.json for one project.

Local:

{
  "mcpServers": {
    "uptime-kuma": {
      "command": "npx",
      "args": ["-y", "@davidfuchs/mcp-uptime-kuma@latest"],
      "env": {
        "UPTIME_KUMA_URL": "http://your-uptime-kuma-instance:3001",
        "UPTIME_KUMA_USERNAME": "your_username",
        "UPTIME_KUMA_PASSWORD": "your_password"
      }
    }
  }
}

Shared server:

{
  "mcpServers": {
    "uptime-kuma": {
      "url": "http://your-docker-host:3000/mcp",
      "headers": {
        "Authorization": "Bearer ${env:UPTIME_KUMA_MCP_TOKEN}"
      }
    }
  }
}

LibreChat

Add this to librechat.yaml.

Local:

mcpServers:
  uptime-kuma:
    command: npx
    args: ["-y", "@davidfuchs/mcp-uptime-kuma@latest"]
    env:
      UPTIME_KUMA_URL: "http://your-instance:3001"
      UPTIME_KUMA_USERNAME: "your_username"
      UPTIME_KUMA_PASSWORD: "your_password"
    serverInstructions: true

Shared server: by default, LibreChat blocks MCP connections to private addresses, including localhost, LAN IPs and container names on a Docker network. To allow the server, add the host from its URL to allowedDomains. Once allowedDomains is set, it's a strict allowlist, so add your other MCP servers' hosts too, or they'll stop connecting.

mcpServers:
  uptime-kuma:
    type: streamable-http
    url: "http://mcp-uptime-kuma:3000/mcp"
    headers:
      Authorization: "Bearer ${UPTIME_KUMA_MCP_TOKEN}"
    serverInstructions: true

mcpSettings:
  allowedDomains:
    - 'mcp-uptime-kuma'

LibreChat runs in a browser, so if you set ALLOWED_ORIGIN on the server, include your LibreChat origin in it.

Other clients

Most other clients, including Windsurf, Cline, Zed and Gemini CLI, accept some variation of the standard mcpServers block. Check your client's docs to find where the file goes and which key it uses for HTTP servers (url, serverUrl or httpUrl).

{
  "mcpServers": {
    "uptime-kuma": {
      "command": "npx",
      "args": ["-y", "@davidfuchs/mcp-uptime-kuma@latest"],
      "env": { "UPTIME_KUMA_URL": "http://your-uptime-kuma-instance:3001" }
    }
  }
}

For a shared server, use "url": "http://your-docker-host:3000/mcp" and "headers": { "Authorization": "Bearer your_generated_secret" } instead of command/args/env.

No Node.js on the machine? The Docker image uses stdio by default, so clients can run the server locally with Docker instead of npx:

{
  "mcpServers": {
    "uptime-kuma": {
      "command": "docker",
      "args": [
        "run", "-i", "--rm",
        "-e", "UPTIME_KUMA_URL", "-e", "UPTIME_KUMA_USERNAME", "-e", "UPTIME_KUMA_PASSWORD",
        "davidfuchs/mcp-uptime-kuma:latest"
      ],
      "env": {
        "UPTIME_KUMA_URL": "http://your-uptime-kuma-instance:3001",
        "UPTIME_KUMA_USERNAME": "your_username",
        "UPTIME_KUMA_PASSWORD": "your_password"
      }
    }
  }
}

Available Tools

Monitors

Tool

Purpose

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.

Heartbeats

Tool

Purpose

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.

Notifications

Tool

Purpose

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.

Tags

Tool

Purpose

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).

Maintenance

Tool

Purpose

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.

Status Pages

Tool

Purpose

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.

Docker Hosts

Tool

Purpose

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.

Proxies

Tool

Purpose

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.

Remote Browsers

Tool

Purpose

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.

API Keys

Tool

Purpose

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.

Database

Tool

Purpose

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.

Settings

Tool

Purpose

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 pass are left unchanged, and sending "***" for a credential keeps the stored one. Turning off login requires the admin password.

Type-specific monitor fields

createMonitor and updateMonitor take the fields most monitors use (url, hostname, port, keyword, interval, …) as regular arguments. Anything specific to one kind of monitor goes in a single typeFields object:

createMonitor({ name: "API", type: "http", url: "https://api.example.com/health",
                typeFields: { bearer_token: "…" } })
createMonitor({ name: "Broker", type: "mqtt", hostname: "mqtt://broker.example.com", port: 1883,
                typeFields: { mqttTopic: "sensors/#" } })

Call getMonitorTypeFields({ type }) to see what a type requires and accepts. These fields are deliberately left out of the tool definitions: there are about 85 of them, and tool definitions are loaded into every conversation, whether or not you ever create a monitor. typeFields is still validated. An unknown field name or an invalid value is rejected, and the error suggests the correct spelling.

getMonitor returns these fields at the top level of the monitor, the way Uptime Kuma stores them. To change one, you still pass it inside typeFields.

Filtering

getMonitorSummary and listMonitors can filter by:

  • keywords: space-separated keywords, fuzzy-matched against each monitor's pathName

  • type: one or more monitor types, comma-separated (e.g. "http", "http,ping,dns")

  • active: true for active monitors, false for paused ones

  • maintenance: whether the monitor is in maintenance

  • tags: tag names with optional values, comma-separated (e.g. "production", "env=staging")

  • parentId: a group monitor's ID, to get that group's direct children. Pass null for top-level monitors (those without a parent). This isn't recursive; to go deeper, use each child group's childrenIDs.

  • status (getMonitorSummary only): the current heartbeat status ("0"=DOWN, "1"=UP, "2"=PENDING, "3"=MAINTENANCE)

Examples:

getMonitorSummary({ status: "0" })                     // All DOWN monitors
getMonitorSummary({ type: "http", maintenance: true }) // HTTP monitors in maintenance
getMonitorSummary({ parentId: 12, status: "0" })       // What's down inside group 12
listMonitors({ tags: "production,region=us-east" })    // Monitors with specific tags
listMonitors({ parentId: 12 })                         // Direct children of group 12
listMonitors({ parentId: null })                       // Top-level monitors only

Configuration Reference

All settings are environment variables. The ones that need more than a line of explanation are covered in the sections after these tables.

Connecting to Uptime Kuma (both transports)

Variable

Default

Purpose

UPTIME_KUMA_URL

required

The address of your Uptime Kuma 2 instance, e.g. http://192.168.1.10:3001.

UPTIME_KUMA_USERNAME

unset

The username to log in with. See Authentication Methods.

UPTIME_KUMA_PASSWORD

unset

The password to log in with.

UPTIME_KUMA_2FA_TOKEN

unset

A current 2FA code. These expire within seconds, so use UPTIME_KUMA_JWT_TOKEN instead if you have 2FA turned on.

UPTIME_KUMA_JWT_TOKEN

unset

A JWT to log in with. If set, it's used instead of the username and password.

UPTIME_KUMA_HEADERS

unset

A JSON object of extra headers to send with every request, for an authenticating proxy in front of Uptime Kuma.

What the server exposes (both transports)

Variable

Default

Purpose

UPTIME_KUMA_READ_ONLY

false

true registers only read-only tools. See Read-Only Mode.

UPTIME_KUMA_TOOLSETS

all

A comma-separated list of tool sets to register, e.g. monitors,heartbeats. See Choosing Tool Sets.

UPTIME_KUMA_DYNAMIC_TOOLSETS

false

true starts with only the monitors tools and lets the assistant load other tool sets as it needs them. stdio only. See Loading Tool Sets on Demand.

UPTIME_KUMA_INCLUDE_SECRETS

false

true returns passwords, tokens and API keys in tool output instead of ***. See Credential Redaction.

HTTP endpoint (-t streamable-http only)

Variable

Default

Purpose

MCP_AUTH_TOKEN

unset (no auth)

A shared secret that clients must send as Authorization: Bearer <token>. See Securing the HTTP Endpoint.

ALLOWED_ORIGIN

* (no check)

A comma-separated list of browser origins allowed to call /mcp.

HOST

0.0.0.0

The address to bind to.

PORT

3000

The port to listen on.

TRUST_PROXY

unset (no trust)

Whether to trust X-Forwarded-For from a reverse proxy: a hop count, true/false, or a list of IPs or subnets.

RATE_LIMIT_MAX

1000

The maximum number of requests per client IP in each 15-minute window. 0 turns off the limit.

The transport is set with a command-line option rather than a variable: -t stdio (the default) or -t streamable-http.

Authentication Methods

Anonymous Authentication

If authentication is turned off in Uptime Kuma, you only need UPTIME_KUMA_URL.

Username/Password Authentication

UPTIME_KUMA_URL=http://your-instance:3001
UPTIME_KUMA_USERNAME=your_username
UPTIME_KUMA_PASSWORD=your_password
UPTIME_KUMA_2FA_TOKEN=123456  # Optional, only if 2FA is enabled

JWT Token Authentication

Recommended if you use 2FA. If you set both, the JWT is used instead of the username and password.

UPTIME_KUMA_URL=http://your-instance:3001
UPTIME_KUMA_JWT_TOKEN=your_jwt_token

Obtaining Your JWT Token

Using the CLI utility (recommended):

npx -p @davidfuchs/mcp-uptime-kuma@latest mcp-uptime-kuma-get-jwt http://localhost:3001 admin mypassword

Using Docker:

docker run --rm davidfuchs/mcp-uptime-kuma:latest get-jwt http://host.docker.internal:3001 admin mypassword

From your browser: while logged in to Uptime Kuma, open Developer Tools → Storage/Application → Local Storage and copy the value of the token key.

Behind an Authenticating Proxy (Cloudflare Access, etc.)

If Uptime Kuma is behind a proxy that requires its own credentials, such as a Cloudflare Zero Trust Access application, oauth2-proxy or an API gateway, set UPTIME_KUMA_HEADERS to a JSON object of headers to send with every request. You still use one of the methods above to log in to Uptime Kuma itself.

For Cloudflare Access, create a service token, add a Service Auth policy to the application that allows it, and then set:

UPTIME_KUMA_URL=https://uptime.example.com
UPTIME_KUMA_HEADERS={"CF-Access-Client-Id":"<client-id>.access","CF-Access-Client-Secret":"<client-secret>"}
UPTIME_KUMA_USERNAME=your_username
UPTIME_KUMA_PASSWORD=your_password

In an MCP client's JSON config, the value has to be a string, so escape the inner quotes:

"UPTIME_KUMA_HEADERS": "{\"CF-Access-Client-Id\":\"<client-id>.access\",\"CF-Access-Client-Secret\":\"<client-secret>\"}"

mcp-uptime-kuma-get-jwt reads the same variable. If the value is malformed, the server won't start, and the error names the header that caused it. Header values are never logged.

Read-Only Mode

To expose only tools that read data, and none that create, change, pause or delete anything, set:

UPTIME_KUMA_READ_ONLY=true

The write tools aren't registered at all, so they can't be called and don't take up any space in the conversation. That leaves 18 tools: the get… and list… tools, except getMonitorTypeFields, listNotificationTypes and getNotificationTypeFields, which are only useful when writing. This only limits what the MCP server offers. It doesn't change what the Uptime Kuma account is allowed to do.

Choosing Tool Sets

The definition of every registered tool is sent to the model at the start of each conversation, so all 67 tools use about 19k tokens before you've asked anything. To register only the parts you use, set UPTIME_KUMA_TOOLSETS to a comma-separated list:

UPTIME_KUMA_TOOLSETS=monitors,heartbeats

Tool set

Tools

monitors

getMonitorSummary, getMonitor, listMonitors, listMonitorTypes, getMonitorTypeFields, createMonitor, updateMonitor, deleteMonitor, setMonitorActive, listGames, listPM2Processes, testChrome, getPushExample, checkDomainExpirySupport

heartbeats

listHeartbeats, getMonitorUptime, clearMonitorEvents, clearMonitorHeartbeats, clearAllStatistics

notifications

listNotifications, listNotificationTypes, getNotificationTypeFields, createNotification, updateNotification, deleteNotification, testNotification

tags

listTags, createTag, updateTag, deleteTag

maintenance

listMaintenanceWindows, createMaintenanceWindow, updateMaintenanceWindow, deleteMaintenanceWindow, setMaintenanceWindowActive

status-pages

listStatusPages, getStatusPage, createStatusPage, updateStatusPage, deleteStatusPage, listIncidents, createIncident, updateIncident, resolveIncident, deleteIncident

docker-hosts

listDockerHosts, createDockerHost, updateDockerHost, deleteDockerHost, testDockerHost

settings

getSettings, updateSettings

proxies

listProxies, createProxy, updateProxy, deleteProxy

remote-browsers

listRemoteBrowsers, testRemoteBrowser, createRemoteBrowser, updateRemoteBrowser, deleteRemoteBrowser

api-keys

listAPIKeys, createAPIKey, setAPIKeyActive, deleteAPIKey

database

getDatabaseInfo, shrinkDatabase

If it's unset, empty or all, every tool set is registered. If it contains an unknown name, the server won't start and lists the valid ones, rather than silently running with fewer tools.

It works together with read-only mode: setting UPTIME_KUMA_READ_ONLY=true and UPTIME_KUMA_TOOLSETS=monitors,heartbeats leaves just six tools (about 2.3k tokens), which is enough for questions like "what's down?" and "how has this been doing?".

Most other tool sets refer to monitors by ID (maintenance windows, status pages, tags and notifications are all attached to monitors), so include monitors unless you already know the IDs.

Loading Tool Sets on Demand

With UPTIME_KUMA_DYNAMIC_TOOLSETS=true, the server starts with just the monitors tool set plus one extra tool, enableToolsets, whose description lists the other tool sets. When a task needs one of them (maintenance to schedule a maintenance window, for example), the assistant calls enableToolsets, and the server notifies the client that its tool list has changed. The new tools stay loaded for the rest of the session.

That means a session starts with 15 tools (about 7k tokens) instead of 67 (about 19k). A conversation that only deals with monitors saves those tokens on every turn, and one that needs another tool set costs just one extra call to load it.

UPTIME_KUMA_DYNAMIC_TOOLSETS=true
  • stdio only. The HTTP transport doesn't keep sessions and can't send the change notification, so the server won't start if you combine the two. With HTTP, use UPTIME_KUMA_TOOLSETS instead.

  • Your client has to refresh its tool list when the server sends notifications/tools/list_changed. Claude Code does this. If your client doesn't, the assistant can load a tool set but will never see the new tools, so leave this setting off.

  • It doesn't work behind mcpjungle or any other gateway that caches the tool list. mcpjungle fetches the list once, when you register the server, and ignores the change notification. The assistant can call enableToolsets, but the new tools never show up, and mcpjungle rejects any call to them. Switching mcpjungle to stateful sessions doesn't help, since that keeps the process running but never refreshes the list. Instead, remove this setting from the env in your mcpjungle config, use UPTIME_KUMA_TOOLSETS (or an mcpjungle tool group) to choose the tools, and re-register with mcpjungle register --force so mcpjungle picks up the full list.

  • It works alongside the other settings. UPTIME_KUMA_TOOLSETS still limits which tool sets can be loaded, and read-only mode still leaves out all the write tools.

Securing the HTTP Endpoint

This section only applies to -t streamable-http. Anyone who can reach /mcp has full read/write control of your Uptime Kuma instance. The defaults are permissive so that upgrading doesn't break existing deployments, but the server logs a warning at startup if the endpoint is unprotected. If the server can be reached from anywhere other than your own machine:

  • Set MCP_AUTH_TOKEN to a long random secret (openssl rand -base64 32). Clients then send it as Authorization: Bearer <token>.

  • Set ALLOWED_ORIGIN if you use a browser-based client. This blocks DNS rebinding attacks, which a token alone doesn't stop.

  • Put it behind a TLS reverse proxy before exposing it outside your LAN, and set TRUST_PROXY so rate limiting sees the real client IPs.

/health doesn't require authentication, so container health checks keep working, and it only reports whether the server is up. The image's built-in health check uses it when the container runs the HTTP transport, so docker ps shows whether the container is healthy. With stdio there's nothing to check, so the health check always passes.

For more detail, including why Origin validation matters even with a token and how TRUST_PROXY can be abused, see docs/http-security.md.

Credential Redaction

Read tools return *** in place of passwords, tokens, API keys and HTTP headers. Tool output ends up in your conversation transcript, and asking "what am I monitoring?" shouldn't put a live SMTP password in it.

  • Sending *** back is safe. When a field comes in as ***, updateMonitor and updateNotification keep the stored value, so the assistant can read a configuration, edit it and save it without wiping its credentials.

  • Push tokens are shown when they're created, either by createMonitor or by switching a monitor to the push type, because you need the token to set up whatever sends the pushes.

  • To see the real values, pass includeSecrets: true on a single call, or set UPTIME_KUMA_INCLUDE_SECRETS=true to show them on every call.

docs/credential-redaction.md lists exactly what each tool hides and how credentials inside URLs are handled.

Troubleshooting

Where to look first. In Claude Code or Codex, run /mcp to see whether the server connected. The server logs its errors to stderr, which you can find here:

  • VS Code: run MCP: List Servers, pick the server and choose Show Output.

  • Claude Desktop: look for mcp-server-uptime-kuma.log in its logs folder: ~/Library/Logs/Claude on macOS, %APPDATA%\Claude\logs on Windows, ~/.config/Claude/logs on Linux.

  • Docker: run docker logs mcp-uptime-kuma.

The server connects but every tool call fails. The server keeps running even when it can't log in to Uptime Kuma, so that it can recover on its own after Uptime Kuma restarts. Look for Initial authentication failed, will retry on demand in the logs, followed by the reason:

  • Can't reach the address. Make sure UPTIME_KUMA_URL is reachable from the machine the server runs on. Inside a container, localhost is the container itself. Use the host's LAN IP, the Uptime Kuma container's name on a shared Docker network, or host.docker.internal (Docker Desktop).

  • authInvalidToken. The JWT is wrong or no longer valid. Generate a new one with mcp-uptime-kuma-get-jwt (see Obtaining Your JWT Token).

  • Login fails with 2FA on. UPTIME_KUMA_2FA_TOKEN is a one-time code that's only valid for a few seconds, so a value saved in a config file works once at most. Use a JWT instead.

The client gets 401 from the shared server. The token the client sends doesn't match MCP_AUTH_TOKEN. Check for a missing Bearer prefix or for whitespace or quotes copied along with the secret, and make sure the environment variable is set where the client is launched. A GUI app launched from the Dock or Start menu doesn't see variables exported in your shell profile.

A browser-based client gets 403. Its origin isn't listed in ALLOWED_ORIGIN. Add it exactly as the browser sends it, with scheme and port, for example http://localhost:5173.

You get 429 Too Many Requests. A single client IP made more than RATE_LIMIT_MAX requests in 15 minutes. Behind a reverse proxy, all clients usually appear to come from the proxy's IP, so set TRUST_PROXY (see Running behind a reverse proxy), or raise the limit.

A new release's tools or fixes don't show up. npx is running an older cached version. Make sure the package is written as @davidfuchs/mcp-uptime-kuma@latest, then restart the client. With Docker, run docker pull davidfuchs/mcp-uptime-kuma:latest and recreate the container.

The assistant can't create or change anything. Check whether UPTIME_KUMA_READ_ONLY is set. If it is, the write tools aren't registered at all.

The assistant says a tool doesn't exist. Check UPTIME_KUMA_TOOLSETS, since only the tools in the listed tool sets are registered. If UPTIME_KUMA_DYNAMIC_TOOLSETS=true and your client doesn't refresh its tool list, the assistant never sees the tool sets it loads, so turn the setting off. If you're running behind mcpjungle, the same thing happens: turn the setting off and re-register the server (see Loading Tool Sets on Demand). mcpjungle also won't see tools added in a new version of this server until you re-register it.

Contributing

For development setup, building, testing, and project structure, see CONTRIBUTING.md.

Learn More

Security

To report a vulnerability, please see SECURITY.md.

Disclaimer

This is a personal, free, open-source side project provided "as is" under the MIT License, without warranty of any kind. You install and run it yourself, and it connects to an Uptime Kuma instance that you control. The author is not responsible for any damage, data loss, downtime, or other consequences arising from its use. Use at your own risk.

License

Licensed under the MIT License.

Available Tools

67 tools
checkDomainExpirySupportCheck Domain Expiry SupportA
Read-only

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).

Inputs: address, monitorID. Returns: tld, domain, reason, supported

clearAllStatisticsClear All StatisticsA
Destructive

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.

Inputs: confirm (required). Returns: ok

clearMonitorEventsClear Monitor EventsA
Destructive

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.

Inputs: monitorID (required). Returns: ok, monitorID

clearMonitorHeartbeatsClear Monitor HeartbeatsA
Destructive

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.

Inputs: monitorID (required). Returns: ok, monitorID

createAPIKeyCreate API KeyA

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.

Inputs: name (required), expires. Returns: ok, key, keyID, expires

createDockerHostCreate Docker HostA

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.

Inputs: name (required), dockerType (required), dockerDaemon (required). Returns: id, ok, msg

createIncidentCreate IncidentA

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.

Inputs: slug (required), title (required), content (required), style. Returns: ok, incident

createMaintenanceWindowCreate Maintenance WindowA

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.

Inputs: title (required), strategy (required), cron, active, +10 more. Returns: ok, msg, monitorIDs, maintenanceID, +1 more

createMonitorCreate MonitorA

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.

Inputs: name (required), type (required), url, body, +35 more. Returns: ok, msg, pushURL, timeout, +3 more

createNotificationCreate NotificationA

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.

Inputs: name (required), type (required), config (required), isDefault, +1 more. Returns: id, ok, msg

createProxyCreate ProxyA

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.

Inputs: host (required), port (required), protocol (required), default, +4 more. Returns: ok, proxy, proxyID

createRemoteBrowserCreate Remote BrowserA

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.

Inputs: url (required), name (required), includeSecrets. Returns: ok, remoteBrowser, remoteBrowserID

createStatusPageCreate Status PageA

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.

Inputs: slug (required), title (required). Returns: ok, msg

createTagCreate TagA

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.

Inputs: name (required), color (required). Returns: ok, msg, tag

deleteAPIKeyDelete API KeyA
Destructive

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.

Inputs: keyID (required). Returns: ok, msg

deleteDockerHostDelete Docker HostA
Destructive

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.

Inputs: dockerHostID (required). Returns: ok, msg

deleteIncidentDelete IncidentA
Destructive

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.

Inputs: slug (required), incidentID (required). Returns: ok, msg

deleteMaintenanceWindowDelete Maintenance WindowA
Destructive

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.

Inputs: maintenanceID (required). Returns: ok, msg

deleteMonitorDelete MonitorA
Destructive

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.

Inputs: monitorID (required). Returns: ok, msg

deleteNotificationDelete NotificationA
Destructive

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.

Inputs: notificationID (required). Returns: ok, msg

deleteProxyDelete ProxyA
Destructive

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

Inputs: proxyID (required). Returns: ok, msg

deleteRemoteBrowserDelete Remote BrowserA
Destructive

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.

Inputs: remoteBrowserID (required). Returns: ok, msg

deleteStatusPageDelete Status PageA
Destructive

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

Inputs: slug (required). Returns: ok, msg

deleteTagDelete TagA
Destructive

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.

Inputs: tagID (required). Returns: ok, msg

getDatabaseInfoGet Database InfoA
Read-only

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.

Inputs: no named parameters. Returns: size, dbType, canShrink, sizeBytes, +1 more

getMonitorGet MonitorA
Read-only

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.

Inputs: monitorID (required), fields, includeSecrets, includeTypeSpecificFields. Returns: monitor

getMonitorSummaryGet Monitor SummaryA
Read-only

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.

Inputs: tags, type, active, status, +3 more. Returns: count, summaries

getMonitorTypeFieldsGet Monitor Type FieldsA
Read-only

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.

Inputs: type (required). Returns: type, notes, optional, required, +2 more

getMonitorUptimeGet Monitor UptimeA
Read-only

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.

Inputs: monitorID (required), hours. Returns: ping, hours, checks, monitorID, +4 more

getNotificationTypeFieldsGet Notification Type FieldsA
Read-only

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.

Inputs: type (required). Returns: name, type, notes, optional, +3 more

getPushExampleGet Push ExampleA
Read-only

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.

Inputs: monitorID (required), language, includeSecrets. Returns: code, note, pushURL, interval, +2 more

getSettingsGet SettingsA
Read-only

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.

Inputs: includeSecrets. Returns: settings

getStatusPageGet Status PageA
Read-only

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.

Inputs: slug (required). Returns: ok, msg, config, incidents, +1 more

listAPIKeysList API KeysA
Read-only

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.

Inputs: no named parameters. Returns: count, apiKeys

listDockerHostsList Docker HostsA
Read-only

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.

Inputs: includeSecrets. Returns: count, dockerHosts

listGamesList GamesA
Read-only

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.

Inputs: limit, search. Returns: count, games, total

listHeartbeatsList HeartbeatsA
Read-only

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.

Inputs: raw, important, monitorID, maxHeartbeats, +1 more. Returns: summaries, heartbeats, monitorCount, totalHeartbeatCount

listIncidentsList IncidentsA
Read-only

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.

Inputs: slug (required), cursor. Returns: total, hasMore, incidents, nextCursor

listMaintenanceWindowsList Maintenance WindowsA
Read-only

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.

Inputs: limit, cursor, fields, status, +1 more. Returns: count, total, nextCursor, maintenanceWindows

listMonitorsList MonitorsA
Read-only

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.

Inputs: tags, type, limit, active, +7 more. Returns: count, total, monitors, nextCursor

listMonitorTypesList Monitor TypesA
Read-only

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.

Inputs: no named parameters. Returns: types

listNotificationsList NotificationsA
Read-only

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.

Inputs: includeSecrets. Returns: count, notifications

listNotificationTypesList Notification TypesA
Read-only

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.

Inputs: no named parameters. Returns: count, types

listPM2ProcessesList PM2 ProcessesA
Read-only

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).

Inputs: no named parameters. Returns: count, processes

listProxiesList ProxiesA
Read-only

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.

Inputs: includeSecrets. Returns: count, proxies

listRemoteBrowsersList Remote BrowsersA
Read-only

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.

Inputs: includeSecrets. Returns: count, remoteBrowsers

listStatusPagesList Status PagesA
Read-only

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.

Inputs: no named parameters. Returns: count, statusPages

listTagsList TagsA
Read-only

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.

Inputs: no named parameters. Returns: tags, count

resolveIncidentResolve IncidentA
Idempotent

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.

Inputs: slug (required), incidentID (required). Returns: ok, incident

setAPIKeyActiveSet API Key ActiveA
Idempotent

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.

Inputs: keyID (required), active (required). Returns: ok, keyID, active

setMaintenanceWindowActiveSet Maintenance Window ActiveA
Idempotent

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.

Inputs: active (required), maintenanceID (required). Returns: ok, msg, active, maintenanceID

setMonitorActiveSet Monitor ActiveA
Idempotent

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.

Inputs: active (required), monitorID (required). Returns: ok, msg, active, monitorID

shrinkDatabaseShrink DatabaseA
Idempotent

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.

Inputs: no named parameters. Returns: ok, freed, sizeAfter, sizeBefore

testChromeTest ChromeA

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.

Inputs: executable. Returns: ok, version, executable

testDockerHostTest Docker HostA
Read-only

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.

Inputs: name (required), dockerType (required), dockerDaemon (required). Returns: ok, msg

testNotificationTest NotificationA

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.

Inputs: notificationID (required). Returns: ok, msg

testRemoteBrowserTest Remote BrowserA
Read-only

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.

Inputs: url, remoteBrowserID. Returns: ok, msg

updateDockerHostUpdate Docker HostA
DestructiveIdempotent

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.

Inputs: dockerHostID (required), name, dockerType, dockerDaemon. Returns: id, ok, msg

updateIncidentUpdate IncidentA
DestructiveIdempotent

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.

Inputs: slug (required), incidentID (required), style, title, +2 more. Returns: ok, msg, incident

updateMaintenanceWindowUpdate Maintenance WindowA
DestructiveIdempotent

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.

Inputs: maintenanceID (required), cron, title, strategy, +10 more. Returns: ok, msg, monitorIDs, maintenanceID, +1 more

updateMonitorUpdate MonitorA
DestructiveIdempotent

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.

Inputs: monitorID (required), url, body, name, +36 more. Returns: ok, msg, pushURL, monitorID, +2 more

updateNotificationUpdate NotificationA
DestructiveIdempotent

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.

Inputs: notificationID (required), name, type, config, +2 more. Returns: id, ok, msg

updateProxyUpdate ProxyA
DestructiveIdempotent

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.

Inputs: proxyID (required), host, port, default, +5 more. Returns: ok, proxy, proxyID

updateRemoteBrowserUpdate Remote BrowserA
DestructiveIdempotent

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.

Inputs: remoteBrowserID (required), url, name, includeSecrets. Returns: ok, remoteBrowser, remoteBrowserID

updateSettingsUpdate SettingsA
DestructiveIdempotent

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.

Inputs: nscd, entryPage, apiEnabled, trustProxy, +14 more. Returns: ok, msg, changed, settings

updateStatusPageUpdate Status PageA
DestructiveIdempotent

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.

Inputs: slug (required), config, imgDataUrl, publicGroupList. Returns: ok, msg

updateTagUpdate TagA
DestructiveIdempotent

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.

Inputs: tagID (required), name, color. Returns: ok, msg, tag

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    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

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      MCP server for Uptrack uptime monitoring. Manage monitors and incidents from AI agents like Claude, ChatGPT, and Cursor.
      18 npm
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      MCP server for StillOnline uptime monitoring, enabling management of projects, checks, incidents, and public status pages through natural language.
      10
      31 npm
      1
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      MCP server for Drumbeats monitoring. Enables creating monitors, triaging incidents, and running HTTP/SSL/DNS checks using natural language from any AI client.
      19
      66 npm
      2
      Apache 2.0