Installation¶
uptime-kuma-agent is a standard Python package and a prebuilt container image. Pick
the path that matches how you want to run it.
Requirements¶
- Python 3.11 – 3.14.
- A reachable Uptime Kuma instance — see Backing Platform to deploy one locally.
From PyPI (recommended)¶
Optional extras¶
The base install ships the MCP server runtime. Install the extra for what you need:
| Extra | Install | Pulls in |
|---|---|---|
| (base) | pip install uptime-kuma-agent |
MCP-server runtime (agent-utilities[mcp]) + uptime-kuma-api |
agent |
pip install "uptime-kuma-agent[agent]" |
Pydantic-AI agent + Logfire tracing |
all |
pip install "uptime-kuma-agent[all]" |
MCP server, agent, and Logfire tracing |
test |
pip install "uptime-kuma-agent[test]" |
pytest, pytest-asyncio, pytest-cov, pytest-xdist |
From source¶
git clone https://github.com/Knuckles-Team/uptime-kuma-agent.git
cd uptime-kuma-agent
pip install -e ".[all]" # editable install with every extra
With uv:
Prebuilt Docker image¶
A multi-stage, slim image is published on every release (entrypoint uptime-mcp):
docker pull knucklessg1/uptime-kuma-agent:latest
docker run --rm -i \
-e UPTIME_KUMA_URL=http://your-kuma:3001 \
-e UPTIME_KUMA_USERNAME=admin \
-e UPTIME_KUMA_PASSWORD=your_password_here \
knucklessg1/uptime-kuma-agent:latest # stdio transport (default)
For an HTTP server with a published port and the agent service, see Deployment.
Verify the install¶
Next steps¶
- Deployment — run it as a long-lived MCP server and agent behind Caddy + DNS.
- Usage — call the tools, the API, and the agent CLI.
- Configuration — every environment variable.