MCP Server

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

Local serverstdioTypeScript

What is the MCP MCP server?

A Model Context Protocol (MCP) server for Uptime Kuma version 2. The mcp mcp server wraps that behind the Model Context Protocol, so an assistant can use it through 6 defined tools rather than through you.

What it actually does

A docker-compose.yml file is provided in the repository. Download it, configure your environment variables, and run:

  • Real-time Monitoring — Access monitors, heartbeats, uptime, and responsiveness metrics via Socket.IO with instant status change notifications
  • Context-Friendly — Returns only essential data by default to avoid overwhelming LLM context windows
  • Multiple Transports — Supports stdio (local) and streamable HTTP (remote) transports

Its toolset

Everything the assistant can do here goes through one of these:

  • Monitors — The Monitors tool exposed by this server
  • Heartbeats — The Heartbeats tool exposed by this server
  • Notifications — The Notifications tool exposed by this server
  • Tags — The Tags tool exposed by this server
  • Maintenance — The Maintenance tool exposed by this server
  • Filtering — getMonitorSummary and listMonitors support filtering by:

Adding it to your client

Installation goes through your MCP client rather than a global install: point it at args on npm and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.

Configuration

You will need 5 environment variables: UPTIME_KUMA_URL, UPTIME_KUMA_USERNAME, UPTIME_KUMA_PASSWORD, UPTIME_KUMA_2FA_TOKEN, UPTIME_KUMA_JWT_TOKEN. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

When to reach for it

Plenty of monitoring and observability servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. MCP's toolset — Monitors, Heartbeats, Notifications and 3 more — is a fair guide to whether it matches your workflow. It is maintained by DavidFuchs; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Caveats

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the mcp mcp server does with a few real requests.

Available tools

ToolWhat it does
MonitorsThe Monitors tool exposed by this server.
HeartbeatsThe Heartbeats tool exposed by this server.
NotificationsThe Notifications tool exposed by this server.
TagsThe Tags tool exposed by this server.
MaintenanceThe Maintenance tool exposed by this server.
FilteringgetMonitorSummary and listMonitors support filtering by:

How to install the MCP MCP server

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

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
UPTIME_KUMA_URLEndpoint or connection string the server talks to.Yes
UPTIME_KUMA_USERNAMEConfiguration value read at startup.Optional
UPTIME_KUMA_PASSWORDConfiguration value read at startup.Optional
UPTIME_KUMA_2FA_TOKENCredential the server authenticates with.Yes
UPTIME_KUMA_JWT_TOKENCredential the server authenticates with.Yes

Example prompts to try

  • Use MCP to Monitors.
  • Use MCP to Heartbeats.
  • Use MCP to Notifications.

Frequently asked questions

It connects MCP to MCP-compatible AI assistants such as Claude and Cursor, exposing 6 tools (Monitors, Heartbeats, Notifications, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with MCP directly.