All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
homelab_adguardRewriteslists local DNS records andhomelab_adguardRewriteSetadds or deletes a validated domain/answer pair with a confirmation preview. Both use per-node AdGuard credentials and port settings; the DNS management skill now uses these tools.
- Integration tests load tool modules before test execution and reset mock implementations and queued results between tests to prevent cold-import timeouts and cascading failures.
- AdGuard basic-auth credentials containing single quotes are shell-quoted safely and remain masked in confirmation previews.
See release notes for details.
sinceuses one format everywhere (30m,24h,7dor an ISO date):homelab_journalLogsandhomelab_ntfyTopicsnow validate it like the log tools and convert it for journalctl and ntfy. Free-form journalctl values such as "1 hour ago" are no longer accepted.homelab_serviceHealthwithservicematches the exact container name (it matched substrings, sografanaalso listedgrafana-renderer).homelab_adguardFilterTogglereports an unexpected AdGuard status response instead of failing obscurely, andhomelab_certListreports an oversized NPM response instead of returning cut JSON.
See release notes for details.
See release notes for details.
post-reboot-verifyprompt: a read-only check that a node came back after a reboot (SSH retries, container comparison, failed units, uptime and throttle flags).homelab_piRebootnow lists the containers that were running before the reboot so the prompt can compare.
homelab_npmProxyHostsandhomelab_npmCertslog in to Nginx Proxy Manager and run their query in one SSH round trip instead of two (homelab_certList: two instead of three). A login response without a token now gives an error namingHOMELAB_NPM_EMAILandHOMELAB_NPM_PASSWORD, and passwords containing quotes are passed intact.
HOMELAB_NODESentries nameddefaultorallare rejected with a configuration error instead of being silently shadowed (listed twice, probed on the wrong host, or unreachable through fan-out).
node: "all"also works onhomelab_backupStatus,homelab_aptUpgradable,homelab_certList,homelab_diskUsage,homelab_ufwStatus,homelab_kernelInfoandhomelab_healthCheck, returning one section per node. Themorning-health-checkprompt withnode: "all"checks the whole fleet.
homelab_piStatusreports the ARM clock (with MHz) and core voltage, and decodes theget_throttledvalue into readable lines (under-voltage, frequency capping, throttling, soft temperature limit; now and since boot). Non-Pi nodes showN/A.
- The troubleshooting skill no longer restarts native systemd services (Cockpit, Samba, node_exporter) with
homelab_serviceRestart, which runsdocker restart: it useshomelab_systemdServices,homelab_journalLogsandhomelab_systemdControl, checks container state withhomelab_serviceHealth(which includes exited containers), and starts triage withhomelab_healthCheckandhomelab_diagnostics.
homelab_backupDifflists at mostlimitchanged paths (default 100, 0 for statistics only) followed by restic's statistics and a note on how many paths were omitted, and allows 5 minutes instead of 30 seconds.
homelab_uptimeKumaStatusreturns one line per monitor (name, latest status, last check, ping, 24h uptime; problems first) instead of the raw status-page body with about 100 heartbeats per monitor, and reports an oversized response instead of returning cut JSON. The newbeatsparameter adds a short status history.
homelab_piStatus,homelab_nodeStatus,homelab_networkInfo,homelab_diskUsageandhomelab_kernelInforun each section independently: a failing probe (no default route, a stale network mount, Tailscale logged out) shows its own output and exit status instead of stopping the rest and failing the tool. Non-Pi nodes showN/Afor the CPU temperature, andhomelab_inventorySynctells an unreadable inventory from a missing one and a stopped Tailscale from a missing one.
HOMELAB_DRY_RUNno longer produces false results:execSSHraises a typedDryRunErrorinstead of returning a description as if it were output, sohomelab_sshTestno longer reports OK,homelab_piRebootno longer reports a sent reboot, and the NPM and AdGuard tools no longer report authentication errors. Every tool returns the command it would run; multi-step tools stop at the first one,homelab_nodeListshows nodes as not probed, andnode: "all"shows each node's plan.
homelab_composePullwithstacksno longer requirescompose.base.yml: it uses the same project file resolution and stack-name validation ashomelab_composeUpand pulls only the services of the requested stacks.
homelab_logSearchwithservicereturns an error naming the container when it does not exist, instead of reporting "No matches found".
homelab_prometheusQueryandhomelab_adguardQueryLogpercent-encode',(,),!and*in query values, so PromQL with single-quoted strings such asup{job='node'}and searches containing quotes reach the service intact.
homelab_systemdControlstarts, stops, restarts, reloads, enables or disables a native systemd unit (requires confirm=true), validates the unit name, refuses to stop or disable the SSH unit, and reports whether the unit is active and enabled afterwards. The security-hardening, storage-management and ansible-workflows skills use it instead of free-formsystemctlcommands throughhomelab_nodeExec.
homelab_backupCheckverifies restic repository integrity withrestic check, optionally reading a subset of the data (readDataSubset, e.g.5%), using the repository password settings and a long timeout.
homelab_backupStatusstarts with anOKorSTALEverdict computed from the newest snapshot's age (maxAgeHours, default 26) and lists snapshots as compact one-line entries. The morning-health-check and pre-reboot-checklist prompts use the verdict.
The changes below shipped across 0.17.1 to 0.22.2 and were not sorted by version at the time. See the GitHub releases for each version's notes.
- Every tool now declares MCP tool annotations: read-only tools set
readOnlyHint, the confirm-gated tools setdestructiveHint(withidempotentHint), andhomelab_composePullandhomelab_ntfySendare marked as state-changing but not destructive, so clients can auto-approve reads and warn before destructive calls. Tools are registered withregisterToolinstead of the deprecatedserver.tool(). node: "all"onhomelab_nodeStatus,homelab_piStatusandhomelab_serviceHealthqueries every registered node in parallel and returns one section per node, with per-node errors for offline nodes.HOMELAB_BACKUP_SCRIPT(per-node overridable) sets the scripthomelab_backupRunruns; default/opt/backup/backup.sh.homelab_alertSilenceslists Alertmanager silences (optionally by state), andhomelab_alertSilencecreates a silence from label matchers, a duration and a comment, or expires one by ID (requires confirm=true). The alerting-rules skill and the pre-reboot-checklist prompt use them for maintenance windows.- Confirm-gated tools called without
confirm: truenow return a preview instead of only "cancelled": the target node and host, the command they would run (credentials masked), whether the command guard would block it, and any extra steps. Nothing is executed. - Configurable SSH port:
HOMELAB_PI_PORTfor the default node and an optionalportinHOMELAB_NODESentries (default 22, validated 1-65535).homelab_sshTestandhomelab_nodeListshow the port.
- The MCP server is now built with TypeScript 7 (from 6). The emitted JavaScript and type declarations are unchanged.
- Node.js 22.12 or newer is now required (Node 20 reached end of life on 2026-04-30). CI tests Node 22 and 24.
- Releases now wait for the build and all tests to pass, and pushes that change only docs, tests or CI no longer publish a new version.
homelab_backupListreturns the newestcountsnapshots (default 20, max 200) as compact one-line entries instead of restic's full JSON.homelab_prometheusQueryreturns at mostlimitseries (default 100). JSON tools report a response that exceededHOMELAB_MAX_OUTPUT_BYTESinstead of returning cut, invalid JSON.
homelab_logSearchno longer trips the command guard when the search text contains words like "poweroff" or "halt"; the pattern is passed to grep as data.homelab_certRenewwithdomainrenews only when the certificate is due; the newforceflag reissues it (mind the Let's Encrypt duplicate-certificate limit).homelab_inventorySynchonors a per-nodeHOMELAB_ANSIBLE_INVENTORYfromHOMELAB_NODES.- Restic tools (
homelab_backupStatus,homelab_backupList,homelab_backupDiff,homelab_backupRestore,homelab_volumeBackup) now get the repository password under sudo: they source/etc/restic-env(HOMELAB_RESTIC_ENV_FILE) when it exists and passHOMELAB_RESTIC_PASSWORD_FILEas--password-file. Password failures name these settings. homelab_composeUpandhomelab_composeDownwithstacksnow act only on the services of the named files. Updating one stack no longer removes other stacks' containers as orphans, and stopping one stack no longer stops base services.homelab_serviceHealthnow includes stopped containers, flags non-running or unhealthy containers, and reports empty selections instead of claiming they are healthy.- Failed SSH commands now retain diagnostics redirected to stdout. Inactive systemd units return their status, and certificate retrieval failures include a clear explanation and the command output.
See release notes for details.
See release notes for details.
See release notes for details.
See release notes for details.
See release notes for details.
See release notes for details.
See release notes for details.
See release notes for details.
See release notes for details.
See release notes for details.
See release notes for details.
See release notes for details.
See release notes for details.
See release notes for details.
See release notes for details.
See release notes for details.
See release notes for details.
See release notes for details.
See release notes for details.
See release notes for details.
See release notes for details.
See release notes for details.
See release notes for details.
See release notes for details.
- Runtime command safety guard in
execSSH-- blocks catastrophic patterns (rm -rf /,mkfson block devices,ddto block devices, fork bomb,chmod -R 777 /, curl/wget pipe to shell,poweroff/halt/shutdown -h) before opening an SSH connection. Override withHOMELAB_ALLOW_DANGEROUS_COMMANDS=true. HOMELAB_DRY_RUNmode -- when set,execSSHreturns a description string without connecting. Unsafe commands are still rejected in dry-run mode.UnsafeCommandErrorclass inutils/errors.tsfor runtime guard rejections.- Shared
confirmParamandconfirmCancelledhelpers inutils/confirm-param.tsconsumed by all confirm-gated tools. mcp-server/src/utils/__tests__/ssh-guard.test.ts-- unit tests for the command guard and dry-run mode using the real module (no mock).
homelab_serviceRestart,homelab_composeUp, andhomelab_composeDownnow requireconfirm=trueto proceed. Calls without it return a cancellation message and make no changes.- Default SSH host changed from personal hostname to generic
raspberrypi.local; default user changed from personal username topi. Override viaHOMELAB_PI_HOSTandHOMELAB_PI_USER. - All confirm-gated tools now use the shared
confirmParam/confirmCancelledhelpers for consistent messaging (standardizes "aborted" -> "cancelled" incertRenewandnodeExec). composePullremains ungated (pull only downloads images, does not change running state).
- Structure test requirement raised to PyYAML 6.0.3 or newer.
See release notes for details.
See release notes for details.
See release notes for details.
standards-versionfrontmatter on every skill and rule.
publish.ymlpublishes to npm with trusted publishing (OIDC) instead of anNPM_TOKENsecret.- GitHub Pages site rebuilt with font preloads, and
site.jsoninstall steps include a copyable MCP config.
- GitHub Pages site generated from
site.json,mcp-tools.json, skills and rules by the shared site template, with dark/light mode, collapsible skill, rule and install sections, and a logo. AGENTS.mdwith guidance for AI coding agents working on the repository.
0.10.0 - 2026-04-05
- 2 new MCP tools for testing and diagnostics
homelab_healthCheck-- comprehensive self-test (SSH, Docker, curl, restic, certbot, systemd)homelab_diagnostics-- collect debug info bundle (OS, kernel, Docker, memory, disk, network)
- Integration tests with mocked SSH -- first tests covering actual tool handler logic
- E2E test suite gated behind
HOMELAB_TEST_PI=trueenv var for live Pi testing .github/workflows/e2e.ymlCI workflow for manual/scheduled E2E runs against a real Pi- Input validation tests for both new tools
0.9.0 - 2026-04-05
- 4 new MCP tools for multi-node management
homelab_nodeList-- list all managed nodes and their connection statushomelab_nodeExec-- execute a command on a specific node by name (requires confirm=true)homelab_nodeStatus-- get system status for a specific node (uptime, CPU, memory, disk)homelab_inventorySync-- discover nodes from Ansible inventory or Tailscale
- 1 new skill
multi-node-management-- managing fleets, node inventory, parallel operations, cross-node monitoring
- 1 new rule
inventory-consistency-- flag nodes in config missing from HOMELAB_NODES registry
HOMELAB_NODESenv var for multi-node SSH configuration (JSON object)HOMELAB_ANSIBLE_INVENTORYenv var for Ansible inventory path- Input validation tests for all 4 new tools
- Infrastructure refactor:
ssh-api.tsnow supports a node registry viaHOMELAB_NODESenv var execSSH()accepts an optionalnodeparameter to target specific nodes- All 44 existing tools now accept an optional
nodeparameter (defaults to primary Pi) - New
node-param.tsutility provides shared zod schema fragment for the node parameter
0.8.0 - 2026-04-05
- 3 new MCP tools for SSL/TLS certificate management
homelab_certCheck-- check SSL certificate expiry, issuer, and fingerprint for a domainhomelab_certRenew-- trigger Let's Encrypt certificate renewal via certbot (requires confirm=true)homelab_certList-- list all managed certificates from certbot and Nginx Proxy Manager
- 1 new skill
certificate-management-- Let's Encrypt, self-signed certs, renewal automation, NPM cert integration
- Input validation tests for all 3 new tools
0.7.0 - 2026-04-05
- 4 new MCP tools for OS and package management
homelab_aptUpgradable-- list upgradable packages with current and candidate versionshomelab_aptHistory-- show recent apt install, upgrade, and remove historyhomelab_kernelInfo-- kernel version, boot parameters, and loaded moduleshomelab_systemdServices-- list systemd units or get status of a specific unit
- 2 new skills
os-update-management-- unattended-upgrades config, kernel updates, reboot schedulingperformance-tuning-- kernel params, swap config, I/O scheduler, GPU memory split
- 1 new rule
resource-limits-- flag Docker Compose services without memory or CPU limits
- Input validation tests for all 4 new tools
0.6.0 - 2026-04-05
- 4 new MCP tools for log analysis and notifications
homelab_journalLogs-- query systemd journal with unit, priority, and time filtershomelab_logSearch-- search across container logs with grep patternshomelab_ntfySend-- send a push notification via Ntfyhomelab_ntfyTopics-- list Ntfy topics and recent messages
- 2 new skills
log-analysis-- structured log querying, journald workflows, container log searchingnotification-workflows-- Ntfy setup, alert routing, notification pipelines
HOMELAB_NTFY_PORTenv var for Ntfy port override (default 8080)- Input validation tests for all 4 new tools
0.5.0 - 2026-04-05
- 4 new MCP tools for security hardening and auditing
homelab_ufwStatus-- list UFW firewall rules and statushomelab_fail2banStatus-- list fail2ban jails, banned IPs, and ban countshomelab_openPorts-- scan for listening TCP ports and map to processeshomelab_containerScan-- scan container images for HIGH/CRITICAL vulnerabilities via Trivy
- 1 new skill
secrets-management-- managing credentials with Vaultwarden, env vars, Docker secrets, and security auditing
- 2 new rules
privileged-containers-- flag containers running with elevated privileges or missing security restrictionsweak-credentials-- flag default/weak passwords and insecure credential storage in compose files
- Input validation tests for all 4 new tools
0.4.0 - 2026-04-05
- 4 new MCP tools for backup and disaster recovery
homelab_backupList-- list all restic snapshots with optional path, tag, and host filteringhomelab_backupRestore-- restore files from a snapshot to a target path (requires confirm=true)homelab_backupDiff-- show differences between two restic snapshotshomelab_volumeBackup-- back up a specific Docker volume to restic (requires confirm=true)
- 1 new skill
disaster-recovery-- full Pi restore workflow, SD card imaging, Docker volume recovery, migration checklist
- 1 new rule
backup-coverage-- flag Docker services with named volumes not covered by backup jobs
HOMELAB_BACKUP_REPOenv var support in all 4 new tools (default/mnt/backup/restic)- Input validation tests for all 4 new tools
0.3.0 - 2026-04-05
- 5 new MCP tools for DNS and reverse proxy management
homelab_adguardStats-- AdGuard Home DNS statistics and top blocked domainshomelab_adguardFilters-- list AdGuard filter/blocklists and statushomelab_adguardQueryLog-- search the AdGuard DNS query loghomelab_npmProxyHosts-- list Nginx Proxy Manager proxy host configurationshomelab_npmCerts-- list SSL certificates and expiry dates
- 2 new skills
dns-management-- AdGuard filters, local DNS records, blocklistsreverse-proxy-management-- NPM routing, SSL config, access lists
- 1 new rule
exposed-ports-- flag Compose services with exposed host ports that should use a reverse proxy
- AdGuard authentication via
HOMELAB_ADGUARD_USER/HOMELAB_ADGUARD_PASSWORD - NPM authentication via
HOMELAB_NPM_EMAIL/HOMELAB_NPM_PASSWORD - Port overrides:
HOMELAB_ADGUARD_PORT,HOMELAB_NPM_PORT - Input validation tests for all 5 new tools
0.2.1 - 2026-04-05
grafanaSnapshotnow supports authentication viaHOMELAB_GRAFANA_TOKEN(API key) orHOMELAB_GRAFANA_USER/HOMELAB_GRAFANA_PASSWORD(basic auth)- All 5 v0.2.0 tools now return human-readable error messages when a service is unreachable (e.g. "Could not connect to Alertmanager on port 9093. Is it running?") instead of raw curl exit codes
- All 5 v0.2.0 tools now support optional port overrides via env vars (
HOMELAB_PROMETHEUS_PORT,HOMELAB_GRAFANA_PORT,HOMELAB_ALERTMANAGER_PORT,HOMELAB_UPTIME_KUMA_PORT,HOMELAB_SPEEDTEST_PORT) - Updated
.env.exampleandmcp-server/README.mdwith new env var documentation
0.2.0 - 2026-04-05
- 5 new MCP tools for monitoring stack integration
homelab_prometheusQuery-- run PromQL queries against Prometheushomelab_grafanaSnapshot-- export Grafana dashboard configs by UIDhomelab_uptimeKumaStatus-- get all Uptime Kuma monitor statuseshomelab_alertList-- list Alertmanager alerts with optional state filterhomelab_speedtestResults-- get recent Speedtest Tracker results
- 2 new skills
grafana-dashboards-- creating, importing, and managing Grafana dashboardsalerting-rules-- writing Prometheus alerting rules and Alertmanager routing
- Input validation tests for all 5 new tools
0.1.0 - 2026-04-05
- Initial project scaffold
- 10 skills for home lab management
- pi-system-management, docker-compose-stacks, service-monitoring
- network-configuration, backup-recovery, ssh-management
- ansible-workflows, security-hardening, storage-management, troubleshooting
- 5 rules for best-practice enforcement
- homelab-secrets, compose-arm64, ssh-safety, yaml-conventions, ansible-best-practices
- 15 MCP tools via SSH to Raspberry Pi
- System: piStatus, piReboot, diskUsage, aptUpdate
- Containers: serviceHealth, serviceLogs, serviceRestart
- Compose: composeUp, composeDown, composePull, composePs
- Network: networkInfo
- Backup: backupStatus, backupRun
- SSH: sshTest
- Plugin manifest (.cursor-plugin/plugin.json)
- Python structure tests for skills, rules, and docs
- Vitest input validation tests for MCP tools
- CI/CD workflows (ci.yml, validate.yml)
- Full documentation (README, CLAUDE.md, CONTRIBUTING, ROADMAP, SECURITY)
- Project logo (assets/logo.png)