Repository navigation
v1.5.0
Getting homebutler into Claude Desktop meant hand-editing its JSON config and having Node or homebutler installed first, and the dashboard container would not start until its token was written into a mounted config file or onto a command line ps shows; now the first is one file to open and the second is -e HOMEBUTLER_TOKEN=….
Each has an edge. The extension starts in read mode, and read mode never saves a report snapshot, so on its own it never reports a change: it compares against snapshots that homebutler report or cron saved outside it, or it needs Highest tool risk raised to write. There is one bundle per platform for macOS and Linux, none for Windows, and the bundles are not signed. HOMEBUTLER_TOKEN is the last place serve looks for a token, after --token and web.token, and docker inspect shows it. Editing settings from the dashboard still needs a mounted config.yaml. Inside a container, homebutler mcp now refuses to describe the machine it runs on rather than describing the container, and polling a remote report from Homepage no longer moves that server's baseline.
⚠️ Behavior changes
- Inside a container,
homebutler mcprefuses a local call to the tools that read the machine it runs on (#373).system_status,open_ports,processes,network_scan,alerts,inventory_scan,inventory_export,reportanddoctor, called withoutserveror with a server markedlocal: true, answered with the container's own/procand sockets, and with a config mounted they put the local machine's name on those numbers. They now return an error with the sentence the dashboard already shows:homebutler is running in a container, which cannot see the machine it is on.An agent that relied on those calls gets the error instead of readings that were never about the host. The same calls pointed at a server reached over SSH work as before, and nothing changes outside a container. Tool names, parameters, risk classes and result fields are unchanged. The descriptions ofsystem_status,network_scanandinventory_export, and of theserverparameter on the tools that take one, now say that a local call is refused inside a container - The image sets
HOMEBUTLER_CONTAINER=1(#373). homebutler recognised a container by/.dockerenvor/run/.containerenv, and containerd-only runtimes write neither: Kubernetes without dockershim, nerdctl, some k3s. There, the image answered local MCP calls and the dashboard's status with the container's own numbers, and served the dashboard on0.0.0.0with no token. On those runtimes it now refuses both, as it always has under Docker and Podman, so a deployment that started without a token there stops starting until it is given one. Under Docker and Podman nothing changes servereadsHOMEBUTLER_TOKENwhen neither--tokennorweb.tokenis set (#377). Aservethat ran without a token, and whose environment happened to have the variable, now protects its dashboard with it: a browser that had it open is asked for that token, and its settings become editable with it. The variable is unset once read, so thedocker,systemctlandsshthatserveruns do not inherit it. Two messages changed with it: refusing to serve from a container without a token now says to setHOMEBUTLER_TOKENrather than pass--token, and the warning for a public bind with no token namesweb.tokenandHOMEBUTLER_TOKENGET /api/report?server=<name>no longer saves a snapshot on that server (#375). It forwardedreport --jsonwithout--no-save, so every poll, from a Homepage widget or anything else, saved one there and moved its baseline, and the next comparison was against a few seconds earlier. It now forwardsreport --json --no-save, as the local route has always compared without saving. A remote that was getting its snapshots only from being polled stops getting them: save one withPOST /api/report/snapshot?server=<name>, or withhomebutler reportfrom cron on that machine. A remote older than 0.18.0 has noreportat all and is answered with a 502 naming its version, as before
✨ Features
- each release carries a Claude Desktop extension per platform (
homebutler_<version>_darwin_arm64.mcpband the rest), with the binary inside, so the MCP server installs from Claude Desktop without Node or a separate homebutler (#374, #382). It installs switched on and starts ashomebutler mcp --max-risk read, and the extension's Highest tool risk setting raises that towriteordestructive. In read mode it never saves a report snapshot, so it reports changes only against snapshots saved outside it, byhomebutler reportor cron. The bundles are listed inchecksums.txt.docs/mcp-server.mdsays how to install one and whichPATHit runs with - the dashboard container can be started with
-e HOMEBUTLER_TOKEN=…, a composeenvironment:entry, or a masked Unraid, Portainer or TrueNAS field, and no config file on the host (#377). Until now the first run needed a hand-writtenconfig.yaml, chmodded to 0600 and mounted, or--tokenon the command line, wherepsshows it.--tokenwins overweb.token, which wins over the variable, so a variable left in a template does not replace aweb.tokenwritten on purpose, andservesays on stderr when it ignores one.HOMEBUTLER_TOKEN=with nothing after it, as an unfilled template field leaves it, counts as unset, so the container refuses to start rather than serving with no token. The settings screen never writes the variable's value intoconfig.yaml, and no API response carries it.serve install,doctorandconfig validatestill count onlyweb.token, because an installed systemd or launchd unit does not get the installing shell's environment.docs/docker.mdshows thedocker runand compose forms, anddocker exec <name> printenv HOMEBUTLER_TOKENreads it back
🐛 Fixes
- a Homepage widget reading
summary.*fromGET /api/report?server=<name>showed-, because a remote report had nosummary(#375). It now answers with the samesummaryobject as a local report, and so doesPOST /api/report/snapshot?server=<name>. A remote answer that is JSON but not an object, such asnull, which 1.4.0 passed through with a 200, is now a 502 withinvalid response from remote server, as an answer that is not JSON already was - the dashboard's sign-in screen and its read-only hints named only
web.tokenand--token, so somebody who started the container withHOMEBUTLER_TOKENwas sent looking for a config file they did not have (#379). The sign-in screen now names the variable and how to read it back,docker exec <name> printenv HOMEBUTLER_TOKEN, and the five read-only settings cards name the variable too, besideweb.token. Neither says which of them this server used, and the API still does not tell the browser - the SSH errors for a key that would not load, or a server with no credentials, named
key_file, which is not a config key, and~/.config/homebutler/config.yamlwhatever file had been loaded (#373). In the image that file is/config/config.yaml. They now namekeyand the file the server entry was read from
📚 Documentation
- the README now points at the Homepage card under Dashboards, where before the snippet was only in
docs/web-dashboard.md(#372). The card shows needs attention, changes, containers running and containers stopped, and polls once a minute rather than Homepage's default ten seconds, because eachGET /api/reportruns a full collection. The doc says that Changes countsskippedlines too, so a server with no saved snapshot shows1until one is saved