new A knowledge base for your infrastructure

Self-hosted server & service monitoring Your servers,
drawn as a tech tree.

nodeko is self-hosted monitoring for your servers and the services running on them — systemd, Docker, pm2. One small hub, read-only agents, end-to-end encryption, and an MCP server so your AI agent can keep watch too.

$ git clone https://github.com/nyandaryn/nodeko.git && cd nodeko && bun install && bun run build

Linux + systemd · Bun ≥ 1.4 · agents for x64 and arm64 · MIT

nodeko Tree Events Notes 1/1 online all good

A live re-enactment. In the real thing you pan, zoom and click any node for charts, logs and events.

10sbetween snapshots from every server
400dof metric history, rolled up automatically
17MCP tools: read everything, configure the rest
0third-party assets in the UI, strict CSP

Uptime Kuma tells you a URL is down. Beszel tells you a box is hot. Neither tells you which systemd unit on which server just crashed, what version it was running, or what it printed before dying. nodeko puts all of that on one canvas — and deliberately does nothing else.

Features

Everything a small fleet needs. Nothing it doesn't.

The tech tree is the home page

Every server is a root, every service hangs off it, each node shows its health at a glance. Groups come from name prefixes — shop-api, shop-web → shop — or are set by hand. Pan, zoom, minimap, Ctrl K search, “problems only”.

The nodeko tech tree: servers with grouped services, one group highlighted as a problem

systemd, Docker and pm2 — zero config

The agent finds services on its own and reports state, uptime, restarts, CPU/RAM, ports, version, git commit, runtime and command.

  • systemd
  • systemd --user
  • Docker
  • pm2

HTTP, TCP and TLS uptime checks

HTTP(S) with status codes, keywords and TLS expiry; TCP. Run from the hub or from inside any server, so http://127.0.0.1:… just works.

shop-api /health99.94% · 38 ms

Server metrics with long history

CPU, load, RAM, swap, every real filesystem, disk I/O, network, internet latency.

raw 48 h → 1-min for 30 d → 15-min for 400 d. All configurable.

Error logs, caught

New journal lines that look like errors are collected per service, with an hourly histogram.

03:12 ECONNREFUSED 127.0.0.1:6379

Statuses that mean something

Crash loops, failed jobs, disabled-but-stopped and missing units are told apart. Down alerts are debounced, so a quick restart doesn't page you.

  • ok
  • warn
  • down
  • stopped
  • unknown
  • pending

Telegram alerts

Server offline, service down, check failed, CPU/RAM/disk thresholds, recovery, expiring certificates. Each kind can be switched off.

One small box

The hub is a single Bun process with embedded SQLite. The agent is one self-contained binary running as an unprivileged systemd user unit.

A UI you'll keep open

Dark and light themes, responsive down to phone width, fast charts. Service pages show uptime, resources, checks, version and the last errors.

The web UI speaks Russian for now — the API, MCP and docs are in English. Translations welcome.

nodeko.example.com
Tech tree: servers are roots, services hang off them, grouped automatically

Servers are roots, services hang off them, grouped automatically.

Built for AI agents

Your AI agent is a first-class user.

A full REST API and an MCP server, so an agent can read everything — overview, metrics, logs, events — and configure nodeko itself: rename and group services, add checks, tune thresholds. Every change lands in the event log under the token's name.

  • overview
  • server
  • service
  • metrics
  • events
  • logs
  • settings
  • update_services
  • update_server
  • add_server
  • upsert_check
  • delete_check
  • update_settings
  • notes
  • note
  • write_note
  • delete_note

Any MCP client with Streamable HTTP works. Agent-oriented REST docs are served at GET /api/v1/docs; tokens are scoped read or admin.

~ — claude
$ claude mcp add --transport http nodeko \
    https://nodeko.example.com/mcp \
    --header "Authorization: Bearer nk_…"
✓ Added HTTP MCP server nodeko

> anything broken tonight?

● nodeko_overview(issuesOnly: true)
  ⎿ 1 problem · atlas/notify-worker · down
● nodeko_logs(server: "atlas", name: "notify-worker")
  ⎿ 14 errors in the last hour
● nodeko_note(id: "notify")

notify-worker on atlas is crash-looping: 4 restarts in
10 minutes, last error ECONNREFUSED 127.0.0.1:6379.
The notify note says it needs redis on the same box,
and redis.service is stopped. Want me to start it?

Knowledge base

“How is this deployed?” Answered in one place.

Markdown notes about servers, projects and procedures — where a project lives, how to deploy and roll back, the gotchas — linked to servers and services and shown right next to them.

  • Agents find them. The table of contents ships in the MCP instructions; nodeko_server and nodeko_service include linkedNotes.
  • Small, safe edits. Exact-match edits with an optimistic baseRev, so two agents can't silently overwrite each other.
  • Every change is versioned. History, older versions, [[id]] links between notes.
  • No secrets, by construction. Text that looks like a key, token or password is refused — write where it's kept instead.
notes/shop.md
---
id: shop
kind: project
title: "Shop — deploy"
tags: ["bun"]
servers: ["atlas"]
services: ["atlas/shop-api", "atlas/shop-web"]
---
# Shop
Lives in /home/deploy/shop, behind caddy.
Deploy: bun run deploy from the repo.
Roll back: git checkout <tag>, same command.
Proxy config: see [[caddy]].
nodeko_write_note(id: "shop", edits: […])
✕ refused: this looks like a password in a URL.
Write where the secret is kept instead.

How it works

Agents push. The hub remembers. You (and your agent) look.

nodeko-agentsystemd · docker · pm2
nodeko-agentjournal · ports · versions
nodeko-agentevery 10 seconds
nodeko hub Bun · SQLite
  • statuses
  • checks
  • rollups
  • alerts
Web UItree, charts, notes
REST API/api/v1
MCPfor your AI agent
Telegramalerts

Security

Meant to face the internet. Built like it.

The agent ↔ hub link doesn't rely on TLS alone. A compromised proxy or TLS terminator in between can neither read the data nor impersonate the hub.

  1. Ed25519both sides sign the handshake
  2. X25519ephemeral keys, forward secrecy
  3. HKDFsession keys derived
  4. AES-256-GCMstrict frame counter — replay, reorder or drop kills the link

Pinned hub key

The agent pins the hub's public key at install time.

One-time enrollment

Tokens live 24 hours. After that an agent is identified only by its own key.

Read-only agent

It never executes anything from the hub — only declarative config. Everything it sends is treated as untrusted and sanitised.

Passkeys

Password login with argon2id and rate limits, plus WebAuthn. __Host- cookies, SameSite=Strict, Origin checks.

Scoped, hashed tokens

read or admin. Tokens, passkeys and sessions are managed from a logged-in browser only.

Localhost by default

The hub listens on 127.0.0.1. Put it behind Caddy, nginx or a Cloudflare Tunnel.

Quick start

Three steps. About ten minutes.

1

Run the hub

On any small Linux box with systemd and Bun ≥ 1.4, behind a reverse proxy with WebSocket support pointing at 127.0.0.1:4170.

git clone https://github.com/nyandaryn/nodeko.git ~/nodeko && cd ~/nodeko
bun install
bun run build

mkdir -p ~/.config/nodeko ~/.config/systemd/user
cp deploy/hub/hub.env.example ~/.config/nodeko/hub.env   # set NODEKO_PUBLIC_URL
cp deploy/hub/nodeko-hub.service ~/.config/systemd/user/
systemctl --user daemon-reload && systemctl --user enable --now nodeko-hub
loginctl enable-linger "$USER"

bun run admin user:create admin --generate               # prints the password
2

Add your servers

In the UI: Settings → Servers → Add server. You get a one-line command with a one-time token. The script verifies the binary's SHA-256, pins the hub key and installs a systemd unit.

curl -fsSL https://nodeko.example.com/install/agent.sh | sh -s -- --server web-1 --token ne_…
3

Hand it to your AI agent

Create an admin token under Settings → API & AI agent, then connect any MCP client.

claude mcp add --transport http nodeko https://nodeko.example.com/mcp \
  --header "Authorization: Bearer nk_…"

Configuration, admin CLI and development docs in the README

FAQ

Questions, answered.

What is nodeko?

nodeko is an open-source, self-hosted monitoring tool for Linux servers and the services running on them. A small hub collects snapshots from lightweight agents and shows every server, systemd unit, Docker container and pm2 process on one canvas — a tech tree — with charts, logs, uptime checks and alerts.

Is nodeko an alternative to Uptime Kuma and Beszel?

Yes. It was built to replace running Uptime Kuma and Beszel side by side: HTTP(S) and TCP uptime checks with heartbeat bars, host metrics with long history, and on top of that a per-service view — which unit on which server crashed, what version and commit it was running, and its last errors.

What can nodeko monitor?

Host CPU, load, RAM, swap, every real filesystem, disk I/O, network and internet latency; systemd system and user units, Docker containers and pm2 processes (state, uptime, restarts, CPU/RAM, ports, version, git commit); HTTP(S) endpoints with status codes, keywords and TLS certificate expiry; TCP ports; and error lines from the systemd journal.

How do AI agents work with nodeko?

The hub has a built-in MCP server (Streamable HTTP) with 17 tools and a REST API. An agent such as Claude Code can read the overview, metrics, logs and events, configure checks and thresholds, and keep the infrastructure knowledge base up to date. Tokens are scoped read or admin.

Does nodeko send alerts?

Yes, to Telegram: server offline, service down, failed checks, CPU/RAM/disk thresholds, recovery and expiring TLS certificates. Down alerts are debounced so a quick restart doesn't page you, and each kind of alert can be switched off.

Is it safe to expose nodeko to the internet?

It is designed for that. Agents talk to the hub over a mutually authenticated, end-to-end encrypted channel (Ed25519, X25519, HKDF, AES-256-GCM) and pin the hub's key; agents are read-only and never execute commands from the hub; the web UI uses argon2id passwords, passkeys, strict cookies and a strict CSP.

What do I need to run nodeko?

For the hub: a Linux box with systemd, Bun 1.4 or newer and a reverse proxy with WebSocket support (Caddy, nginx or a Cloudflare Tunnel). Agents are self-contained binaries for linux-x64 and linux-arm64 and run as an unprivileged systemd user unit.

Is nodeko free?

Yes. nodeko is free and open source under the MIT license. There is no cloud service and no account: the hub, the database and all your data stay on your own servers.

node + neko

Go to sleep.
She's on watch.