Skip to main content
Glama
Uptime Kuma Open MCP

Uptime Kuma Open MCP

by cfossto

Build Status

(Background: This repository did previously belong to one of my side projects GryfAI. That project has been scrapped and ownership has been transferred to me, personally. This is still offered under the same BSL license.

We are going to modify contact information and license will be more open. However, I would like recognition and attribution for the work I have put into it.)

mcp-uptime-kuma-open

This is the open version of our Uptime Kuma MCP server. It is open to for personal use and small companies can freely use this internally for their operations. See our license for more information. This version is released under the BSL license. We do provide a hosted solution with more functionality baked in to the closed source version. If you want the more advanced version, please contact us on hello (at) gryfai.com

The repository is still active and we will add to it continously. We are painfully aware that we lack testing, but we have tested it with a couple of clients. It is all good to go! Writing tests is the next thing on our agenda.

The open version

This version is exposing a limited but useful set of tools to interact with Uptime Kuma via your favorite LLM tool.

This server provide these functions:

  • Retrieval of monitor status, both all and individual

  • Get monitor beats

  • Retrieval of notifications, both all and individual

  • Retrieval of status pages, both all and individual

  • Retrieval of heartbeats

  • Retrieval of tags, both all and individual

  • Retrieval of database size

  • Retrieval of status page maintenance.

All of these are read-only in the open version.

We are releasing this open version under BSL with change license to Apache 2.0 in the future. Both to provide you with excellent tools but also make sure that the time and effort we invest in maintaining this repository is not being abused. You may of course develop a competing open source service by yourself. We encourage competition and open source. We are only regulating the code base so that our codebase is not used in a competing SaaS or other projects for monetary gain.

Want more?

GryfAi has a more powerful version of this that can be hosted via our solution. It includes capabilities such as

  • Adding, editing and deleting monitors

  • Adding, editing and deleting notifications

  • Adding, editing and deletion of tags

  • Maintenance functionality

  • Docker functionality

  • API-key management

  • Proxy management

Just contact us at: hello (at) gryfai.com

Prerequisites

This project uses uv as its build system. Please ensure you have either uv or pip installed. You can install uv with:

pip install uv

Installation and usage (end users).

Install locally, set env vars, then let your MCP client launch the STDIO server. You usually don’t need to run it manually unless debugging.

  1. Create and activate a virtual environment (Python 3.10+).

    • Check your Python version by running python3 --version. If you don't have Python 3.10 or newer, you can download it from the official Python website.

    • To create a virtual environment, run the following command from the root of the project directory: python3 -m venv .venv

    • To activate the virtual environment, run one of the following commands, depending on your operating system:

      • Linux/macOS: source .venv/bin/activate

      • Windows: .venv\Scripts\activate

    • When the virtual environment is activated, your shell prompt will usually change to show the name of the virtual environment (e.g., (.venv) user@host:...$).

  2. Install the package inside that venv: pip install . (or uv pip install .).

    • This command needs to be run from the root of the project directory.

  3. Configure environment variables for your Uptime Kuma instance:

    • UPTIME_KUMA_URL (default: http://localhost:3001)

    • UPTIME_KUMA_USERNAME

    • UPTIME_KUMA_PASSWORD

    • You can set these environment variables in your shell, or you can create a .env file in the root of the project directory and add them there. For example:

      UPTIME_KUMA_URL=http://localhost:3001
      UPTIME_KUMA_USERNAME=my-username
      UPTIME_KUMA_PASSWORD=my-password
    • Note: If you are using a .env file, the server will automatically load the environment variables from it.

  4. Point your MCP client to the command python -m mcp_uptime_kuma_open.server (examples below).

    • If your MCP client is running in the same virtual environment, you can use the command python -m mcp_uptime_kuma_open.server.

    • If your MCP client is running outside the virtual environment, you need to provide the full path to the Python executable in the virtual environment. You can find the full path by running the command which python (on Linux/macOS) or where python (on Windows) when the virtual environment is activated. For example: .venv/bin/python -m mcp_uptime_kuma_open.server.

    • When using the mcp add command, make sure that the virtual environment is activated, or provide the full path to the Python executable.

Client notes (all use STDIO; keys match current client docs):

Gemini CLI

  • The recommended way to add the server is to run the following command: gemini mcp add uptime-kuma python -m mcp_uptime_kuma_open.server

  • Restart or reload the CLI so it picks up the new server.

  • Alternatively, you can add a server entry in your Gemini CLI MCP config (mcpServers in ~/.gemini/settings.json):

{
  "mcpServers": {
    "uptime-kuma": {
      "command": "python",
      "args": ["-m", "mcp_uptime_kuma_open.server"]
    }
  }
}

Codex CLI

  • The recommended way to add the server is to run the following command: codex mcp add uptime-kuma python -m mcp_uptime_kuma_open.server

  • Restart or reload the CLI so it picks up the new server.

  • Alternatively, you can add a STDIO server entry in your Codex config (~/.codex/config.toml):

[mcp_servers.uptime-kuma]
command = "python"
args = ["-m", "mcp_uptime_kuma_open.server"]
  • Save and restart the Codex CLI to load the server.

Claude CLI

  • Add the MCP server to your Claude CLI config (~/.claude.json). It is recommended to use the claude mcp add command.

  • If editing the file manually, add the following to the mcpServers object:

{
  "mcpServers": {
    "uptime-kuma": {
      "command": "python -m mcp_uptime_kuma_open.server"
    }
  }
}
  • Run claude as normal; it will launch the STDIO server automatically.

Claude Desktop

  • The recommended way to add an MCP server is to install it as an extension (.mcpb file) or to edit the configuration file directly.

  • The configuration file is located at:

    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

    • Windows: %APPDATA%\Claude\claude_desktop_config.json

  • If editing the file manually, add the following to the mcpServers object:

{
  "mcpServers": {
    "uptime-kuma": {
      "command": "<path-to-root-folder-of-project>/mcp-uptime-kuma-open/.venv/bin/python",
      "args": ["-m", "mcp_uptime_kuma_open.server"]
    }
  }
}
  • After adding the server, you must restart the Claude Desktop application.

We also offer a commercial HTTP/SSE version that can provide better performance. Feel free to use the open STDIO version under the provided license, or contact us if you prefer the hosted HTTP/SSE option.

We know that some clients sometimes behaves better if you run it straight in the venv.

Available Tools

20 tools
get_all_available_status_pagesA

Gets all available status pages from Uptime Kuma. This tool is used when a user asks to see all status pages. It can also be used to fetch all status pages and then do operations or filtration - non-destructive ones. :return: All available status pages as a list of dictionaries

Inputs: no named parameters. Returns: result

get_all_monitor_heartbeatsB

Gets all heartbeats per monitor. The first integer in the response is the monitor id, followed by a list of its heartbeats. This tool is used to get all monitor heartbeats from all monitors. It can be used to get and further filter or do other operations per monitor - non-destructive such!

:return: Dictionary with all beats per monitor.

Inputs: no named parameters. Returns: object

get_all_proxiesA

This tool returns all Uptime Kuma registered proxies. When a user asks to see all the proxies available, this is the tool to use. This can also be used if the user wants to read all but also want to filter or do operations on proxies - non-destructive ones! :return:

Inputs: no named parameters. Returns: result

get_all_uptime_kuma_maintenancesA

Gets all maintenance windows configured in Uptime Kuma. Use when a user wants to review every maintenance slot. :return: List of maintenances as dictionaries

Inputs: no named parameters. Returns: result

get_all_uptime_kuma_notificationsA

Gets all notifications from Uptime Kuma. When the user asks to review or list all notifications, this tool is used to return everything available. :return: List of notifications as dictionaries

Inputs: no named parameters. Returns: result

get_all_uptime_kuma_tagsA

Gets all tags available in Uptime Kuma. When a user asks for all tags this tool should be used. :return: List of tags as dictionaries

Inputs: no named parameters. Returns: result

get_average_ping_from_uptime_kumaB

Gets the average ping returned by Uptime Kuma. When a user wants to see the average ping across monitors, this tool is used. :return: Average ping as dictionary

Inputs: no named parameters. Returns: object

get_down_monitorsA

Gets a list of all monitors that are currently in a 'down' state. Provides a quick way to check for immediate problems. :return: A list of monitor dictionaries that are currently down.

Inputs: no named parameters. Returns: result

get_general_uptime_informationC

Gets overall uptime information from Uptime Kuma. :return: Uptime information as dictionary

Inputs: no named parameters. Returns: object

get_monitor_beats_per_idC

This tool is used to get monitor beats per monitor id. Monitor id is defined via an Id and is required to get the beat. It also takes in an "hours" as an integer to specify the time frame in hours from now to the hours:int.

:param id: Monitor id. :param hours: Hours from now. Counting backwards. :return: Dictionary with Beats

Inputs: id (required), hours (required). Returns: result

get_monitor_health_summaryB

Gets a combined health summary for a specific monitor, including details, average ping, and uptime information. :param id: The integer ID of the monitor. :return: A dictionary containing the combined health summary.

Inputs: id (required). Returns: object

get_monitors_by_tagA

Finds all monitors associated with a specific tag by searching both tag names and tag values. :param tag: The tag name or value to search for (case-insensitive). :return: A list of monitor dictionaries that have the specified tag.

Inputs: tag (required). Returns: result

get_specific_proxy_by_idA

Gets a specific proxy if a proxy id as integer is provided. This tool is used when a user wants to inspect a single proxy and shares the integer id. :param id: Proxy id :return: Proxy as dictionary

Inputs: id (required). Returns: object

get_specific_status_page_per_slugB

Gets a specific status page per provided slug. If a user wants to see a specific status page and specifieds the required slug then this is the tool to use for that. :param slug: String that acts like an id :return: A Status page as a dictionary

Inputs: slug (required). Returns: object

get_specific_tag_by_idA

Gets a specific tag if an id is provided. Use this tool when a user shares a tag id to retrieve its full details. :param id: Tag id as integer :return: Tag as dictionary

Inputs: id (required). Returns: object

get_specific_uptime_kuma_monitorA

This tool is used to get a specific Uptime Kuma monitor if the user specify a monitor id as an integer. This tool does NOT find a monitor if not an integer is a part of the query. :param id: An integer that targets a specific monitor :return: A dictionary with the specific Uptime Kuma Monitor

Inputs: id (required). Returns: object

get_specific_uptime_kuma_notificationA

Gets a specific notification if a notification id is provided as an integer. This tool is used when the user asks for a particular notification and provides the id. :param id: Notification id :return: Notification as dictionary

Inputs: id (required). Returns: object

get_uptime_kuma_infoC

Gets general information from the Uptime Kuma server instance. :return: Information as dictionary

Inputs: no named parameters. Returns: object

get_uptime_kuma_monitorsB

Tool is used to get all available monitors for Uptime Kuma. As soon as a call is made to handle all monitors, this method will return a list with all the monitors available. When a user requests to see all monitors this is the tool to use. :return: A list of dictionaries containing all monitors available.

Inputs: no named parameters. Returns: result

get_uptime_kuma_settingsB

Gets the current Uptime Kuma settings. :return: Settings as dictionary

Inputs: no named parameters. Returns: object

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    B3.2/5.0

    Scored across 20 tools

    Disambiguation4/5

    Most tools clearly map to a distinct resource+action (all heartbeats vs per-monitor beats, all proxies vs specific proxy, all monitors vs specific monitor vs down-only monitors vs by-tag). However, some overlap exists: get_average_ping_from_uptime_kuma overlaps with get_monitor_health_summary (which includes average ping) and get_general_uptime_information, and get_uptime_kuma_info vs get_general_uptime_information could be confused.

    Naming Consistency3/5

    All tools use a get_ verb prefix, which is good, but the noun phrases follow inconsistent conventions: get_all_X, get_all_available_X, get_specific_X_by_id, get_X_per_slug, get_X_from_uptime_kuma, and inconsistent embedding of 'uptime_kuma' in the name (some tools have it, others don't). Still readable, but the pattern is not predictable.

    Tool Count3/5

    20 read-only tools is on the heavy side for an inspection surface and some could be consolidated (multiple 'all' vs 'specific' pairs, overlapping summary/info/ping tools). Not extreme, but a bit padded relative to the domain's read-only scope.

    Completeness4/5

    The read surface is broad, covering monitors, tags, heartbeats, proxies, status pages, notifications, maintenances, settings, and server info. Minor gaps exist (e.g. no get_specific maintenance by id, no direct maintenance filtering), and the surface is entirely read-only with no write/lifecycle operations, which limits management workflows.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI agents to query and monitor service status, latency, and performance through configurable checks (HTTP, TCP, SSL, keyword, JSON-path) and exposes tools for listing services, retrieving metrics, and running on-demand checks.
      Apache 2.0
    • A
      license
      A
      quality
      B
      maintenance
      Enables managing Uptime Kuma monitoring through natural language, including creating, editing, pausing, and deleting monitors, plus retrieving heartbeats, status, metrics, notifications, and status pages.
      12
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables LLM clients to manage Uptime Kuma HTTP(S) monitors, groups, tags, and notifications, and to retrieve heartbeats, stats, and incident history through MCP tools.
      MIT