About Unraid Management Agent
Unraid Management Agent is an MCP server published by tinkerologie in the Documentation category: go-based Unraid plugin monitor and control your Unraid system via REST API, WebSocket, MCP, Prometheus, and MQTT. Supports Docker/VM control, real-time metrics, Home Assistant integration, and AI agent tooling. Conduid read 111 tools from its source: agent_approve_action, agent_confirm_preference, agent_get_memory, agent_get_session, agent_list_sessions, agent_send_message and 105 more. No package is published for it, so it installs from a source checkout.
The repository has 81 stars and 13 forks, is licensed MIT, and its last commit was on 1 Dec 2026. The latest release is v2026.09.01 (28 Sep 2026): Zero-config MCP onboarding — added path-based Connect URL authentication (/mcp/<connect-secret> via --mcp-connect-secret / MCP_CONNECT_SECRET / mcp_connect_secret in con… It follows v2026.09.00 (23 Sep 2026), and the 5 most recent releases go back to v2026.08.01 (10 Aug 2026). It passes all 4 static checks Conduid ran on the repository. Its topics include mqtt, prometheus, rest-api, swagger, unraid and websocket.
Install
git clone https://github.com/tinkerologie/unraid-management-agentTools (111)
agent_approve_actionApprove or deny a pending Agent Core tool call and resume its session.agent_confirm_preferenceConfirm (activate) a pending learned preference.agent_get_memoryGet the agent's episodic incidents and learned preferences.agent_get_sessionGet a single agent session (status, steps, pending approval, answer).agent_list_sessionsList all agent sessions, newest first.agent_send_messageContinue a finished agent session with a follow-up message, then run it.agent_start_sessionStart an autonomous agent session to investigate or remediate a goal. May return status 'awaiting_approval' if the agent requests approval for a tool call.array_actionStart or stop the Unraid array. CAUTION: Stopping the array will make all data inaccessible. Requires confirmation.attach_container_networkAttach an existing Docker container to an existing Docker network with optional gw_priority (nonzero values require Docker Engine API >= 1.48). Does not restart the container. Requires confirm=true.check_container_updateCheck a specific Docker container for an available image update by pulling the latest image and comparing digests.check_container_updatesCheck all Docker containers for available image updates. Pulls latest images and compares digests.check_plugin_updatesReturn the cached plugin update status. Use refresh_plugin_updates to force a fresh check.clear_disk_statsClear all array disk I/O statistics system-wide. Uses the same mechanism as the Unraid WebUI 'Clear Stats' button (emhttpd clearStatistics). Safe and reversible — counters reset to zero and resume accumulating normally. Requires the emhttpd socket.clone_vmClone a virtual machine including its disk images. The source VM must be shut off.collector_actionEnable or disable a data collector at runtime. Note: some collectors like 'system' are required and cannot be disabled.confirm_community_app_installInstall the exact reviewed Community Applications plan. Obtain operator approval for the preview and send its approval token. Repeating the same approval returns the original attempt.container_actionPerform an action on a Docker container (start, stop, restart, pause, unpause, remove). The remove action requires confirm=true.create_alert_ruleCreate a new alert rule with an expr-lang expression that evaluates against system metrics. Available variables: CPU, RAMUsedPct, CPUTemp, MotherboardTemp, ArrayState, ArrayUsedPct, ParityValid, ContainerCount, RunningContainers, StoppedContainers, VMCount, RunningVMs, MaxDiskTemp, MaxDiskUsedPct, TotalDiskErrors, UPSStatus, UPSBatteryCharge, UPSLoadPercent, UPSRuntimeLeft. MotherboardTemp, MaxDiskTemp, MaxGPUTemp, TotalGPUPower and UPS readings are nil when not measured; use guards such as MaxDiskTemp != nil && MaxDiskTemp > 55. UPS readings are nil when there is no UPS or it does not report the value, so guard them, e.g. UPSLoadPercent != nil && UPSLoadPercent > 80create_fan_profileCreate a custom temperature curve profile. Provide curve_points as a JSON array of {"temp_celsius": N, "speed_percent": N} objects.create_health_checkCreate a new health check probe (HTTP, TCP, or container state). Probes run at configurable intervals with optional remediation actions on failure (notify, restart container, or webhook).create_vm_snapshotCreate a snapshot of a virtual machine for backup or rollback purposes.delete_alert_ruleDelete an alert rule by ID. Requires confirm=true to proceed.delete_health_checkDelete a health check by ID. Requires confirm=true to proceed.delete_vm_snapshotDelete a snapshot of a virtual machine. This cannot be undone.disk_spin_downSpin down a specific disk to save power. The disk will spin up automatically when accessed.disk_spin_upSpin up a specific disk that is in standby modedocker_compose_recreateRecreate a single Compose-managed Docker container from its com.docker.compose.* labels after non-mutating Compose config validation. Preserves sibling services (--no-deps). Requires confirm=true.enable_alert_templateEnable a curated alert rule template by ID. Creates the alert rule if it does not exist, or updates it if it does (idempotent). Optional channels override the default 'unraid' system notification. Template IDs: tmpl-array-fill, tmpl-disk-temp-climb, tmpl-container-flapping, tmpl-smart-reallocated, tmpl-disk-errors-rising.execute_user_scriptExecute a user script from the User Scripts plugin with optional ordered positional args passed directly without shell interpolation. Requires confirmation for safety.find_root_causeCorrelate cached system signals (CPU, array state, parity, disk temperatures, containers) to surface the most likely root causes of degraded performance or health. Read-only — never executes any actions.get_alert_historyGet recent alert events (last 100), including firing and resolved transitionsget_alert_ruleGet details of a specific alert rule by IDget_alert_statusGet the current evaluation status of all enabled alert rules (ok, pending, firing)get_collector_statusGet detailed status of a specific collector including enabled state, interval, last run time, and error countget_community_app_install_attemptRead redacted progress or the final result of a confirmed Community Applications install.get_container_configGet live inspected effective configuration (env, labels, cmd, entrypoint, user, working_dir, mounts, networks, restart_policy, healthcheck) for a running or stopped Docker container. Secret-like env vars are redacted by default unless include_secrets=true.get_container_infoGet a Docker container by its current ID or name, including its native catalog link when availableget_container_logsGet stdout/stderr logs from a specific Docker container. Supports legacy tail mode and forward time-window pagination via until, contains, cursor, and limit.get_container_sizeGet the disk size of a specific Docker container including writable layer and virtual size.get_diagnostic_summaryGet a comprehensive diagnostic summary including system health, array status, recent alerts, disk health, and resource usageget_disk_infoGet detailed information about a specific disk including SMART data and health statusget_docker_logGet the Docker daemon log - useful for diagnosing container issuesget_docker_statsGet aggregate CPU and memory statistics across all running Docker containers, including total CPU%, total memory usage (bytes and MB), and per-container breakdownget_fan_sensorsList available hwmon temperature sensors and drives that can be used as fan-curve temperature sourcesget_fan_statusGet fan control status including all fan speeds, modes, profiles, and configurationget_firing_alertsGet only alert rules that are currently in the firing (triggered) stateget_health_checkGet details of a specific health check by IDget_health_check_historyGet recent health check state change events (up to 100), including transitions between healthy and unhealthy states and any remediation actions takenget_health_check_statusGet the current status of all health checks including healthy/unhealthy state, consecutive failures, and last check timeget_health_statusGet a quick health check summary of the Unraid server including API status, uptime, and basic connectivityget_log_contentRetrieve content from a specific log file with optional line limits. Returns the last N lines (tail behavior) or specific range.get_mover_statusReturn cached Mover activity, schedule, native live progress when available, and last-run statistics when recorded.get_os_updateReturn the cached Unraid OS update availability. Sources local files only — no outbound network calls are made. Status is 'unknown' until the os_update collector has run.get_port_conflictsList any host ports bound by more than one Docker container. Returns an empty list when no conflicts exist.get_service_statusGet the running status of an Unraid system service (docker, libvirt, smb, nfs, ftp, sshd, nginx, syslog, ntpd, avahi, wireguard).get_share_configGet detailed share configuration including allocation method, cache settings, disk inclusion/exclusion, and export settingsget_storage_topologyReturn the cached SAS storage topology: RAID/HBA controllers (model, firmware, temperature, PCIe link, port link rates and widths), SES enclosures/disk shelves (power supplies, fans, temperature/voltage/current sensors, I/O modules and their firmware, cabling between controller and shelves, path redundancy, current problems) and drives (enclosure slot, Linux device, negotiated vs maximum link speed, active paths, media/other error counts, predictive failures). State is 'pending' until the storage_topology collector has run and 'unsupported' when neither storcli nor sg_ses with SES devices is available.get_syslogGet the system log (syslog) - convenient shortcut for viewing system messagesget_temperaturesGet all detected temperature sensor readings including CPU, motherboard, chipset, and other sensors from hwmonget_tuning_statusGet system tuning parameters including turbo boost state, disk cache (vm.dirty_*), inotify limits, NIC offloads, and ring buffers. Equivalent to Unraid Tips & Tweaks overview.get_user_scriptInspect a registered user script's raw body (bounded), byte size, SHA-256 hash, executable flag, last_modified timestamp, and optional last_run time without executing itget_vm_infoGet detailed information about a specific virtual machineget_zfs_poolsGet ZFS pool information including health status, capacity, and configurationinspect_community_applicationInspect the exact listing's editable Docker template fields and known eligibility issues. Environment values are redacted.list_alert_rulesList all configured alert rules with their expressions, severity, channels, and enabled statelist_alert_templatesList curated, disabled-by-default alert rule templates that use trend/predictive metrics (array fill ETA, disk temp slope, container restarts, reallocated sectors, disk errors). Users can review and enable these rules.list_collectorsList all data collectors with their status, intervals, and runtime informationlist_compose_projectsGroup Docker containers by their label-derived Compose project (com.docker.compose.project) and report standalone container countlist_containersList Docker containers on the Unraid server with optional state filtering, exact Compose project filtering, or Compose project groupinglist_health_checksList all configured health check probes with their type, target, interval, and enabled statelist_log_filesList all available log files on the Unraid server including system logs, Docker logs, and plugin logslist_process_ioList the top processes by current disk I/O rate (bytes/sec), sampled from /proc. Useful for finding what is driving disk activity.list_processesList running processes on the Unraid server sorted by CPU or memory usage.list_runbooksList all reviewed remediation runbooks with their names, descriptions, and default step shapes.list_servicesList all managed Unraid system services and their running status.list_user_scriptsList all available user scripts from the User Scripts pluginlist_vm_snapshotsList all snapshots for a specific virtual machine.list_vmsList all virtual machines on the Unraid server with their status and configurationparity_check_actionStart a parity check operation on the Unraid arrayparity_check_pausePause a running parity check operationparity_check_resumeResume a paused parity check operationparity_check_stopStop a running parity check operationprepare_community_app_installPrepare and review a specific Community Applications Docker install. Environment values are redacted and the plan expires in 15 minutes.query_metric_historyQuery the in-memory ring-buffer history for a named metric series. Returns all buffered samples plus summary statistics (slope per second, min, max, average, last value). Global metrics (no entity): cpu_temp, array_used_pct. Per-entity metrics (provide entity id): disk_temp, disk_used_pct, disk_errors, reallocated, pending, restart_count.refresh_container_updatesForce an immediate registry digest re-check for all containers and publish the result (updates cache, WebSocket, and alerts).refresh_plugin_updatesForce an immediate plugin update check for all installed plugins and publish the result (updates cache, WebSocket, and alerts).remote_share_actionMount or unmount an Unassigned Devices SMB/NFS remote share by its source (//server/share or server:/export, as reported by get_remote_shares).restore_fan_defaultsRestore all fans to automatic (BIOS-controlled) mode. Safe operation that returns control to hardware.restore_vm_snapshotRestore a virtual machine to a previously created snapshot. WARNING: This reverts the VM to the snapshot state and the current state is lost.run_health_checkManually trigger a specific health check probe and return the immediate resultrun_runbookRun a named remediation runbook. Without confirm=true the tool is a dry-run: it returns the planned steps without executing anything. With confirm=true, supported-action steps are executed via the executor. For restart_unhealthy_containers supply target container IDs; if Targets is empty the tool resolves stopped/exited containers from the cache automatically.run_self_testRun a self-test of the agent's data sources: returns the detected Unraid version, overall health, probed capabilities, and per-subsystem source status (healthy/degraded/unavailable). Use to check whether an OS update has broken any collector.search_community_applicationsSearch Docker listings in the host's filtered Community Applications catalog.search_containersSearch Docker containers by name, image, or state. Returns matching containers.search_vmsSearch virtual machines by name or state. Returns matching VMs.service_actionStart, stop, or restart an Unraid system service (docker, libvirt, smb, nfs, ftp, sshd, nginx, syslog, ntpd, avahi, wireguard).set_container_autostartEnable or disable autostart for a Docker container. Writes to the Unraid autostart file (/var/lib/docker/unraid-autostart). The change persists across reboots and is reversible.set_cpu_governorSet the CPU scaling governor for all cores. Common governors: performance (max speed), powersave (power saving), ondemand/schedutil (dynamic). Equivalent to Unraid Tips & Tweaks CPU governor setting.set_disk_cacheSet Linux disk cache parameters (vm.dirty_*). Controls how aggressively dirty pages are written to disk. Higher ratios = more caching = better performance but more data at risk.set_fan_modeSet the control mode for a specific fan (automatic = BIOS-controlled, manual = software-controlled)set_fan_profileAssign a temperature curve profile to a fan. Built-in profiles: quiet, balanced, performance. Set source_type='hwmon' with temp_sensor_path, OR source_type='drives' with drive_ids (+ optional fallback_sensor_path) to curve on the max temperature of selected drives.set_fan_speedSet the PWM speed for a specific fan. Requires fan control to be enabled. Speed is clamped to safety minimums.set_inotify_limitsSet Linux inotify kernel limits. Increase max_user_watches if applications report 'too many open files' or inotify watch limit errors.set_turbo_boostEnable or disable Intel Turbo Boost / AMD Performance Boost. Affects CPU maximum frequency.system_health_reportAggregate health signals from array, disks, containers, and firing alerts into a prioritised list of findings with recommended actions. Without confirm=true the tool is read-only. To execute remediation actions set confirm=true AND provide the actions list from a previous report. Only executor-supported actions (start/stop/restart_container, start/stop/restart/force_stop_vm) are ever executed.system_rebootReboot the Unraid server. CAUTION: This will restart the entire system. Requires confirmation.system_shutdownShutdown the Unraid server. CAUTION: This will power off the entire system. Requires confirmation.update_all_containersUpdate all Docker containers that have available image updates. Stops, pulls latest images, recreates, and starts each container.update_collector_intervalUpdate the collection interval for a specific collector. Interval must be between 5 and 86400 seconds.update_containerPull and/or recreate a Docker container with its existing configuration. Supports separate pull (default true), recreate (default false), force (alias for recreate), expected_digest verification, and dry_run preview.vm_actionPerform an action on a virtual machine (start, stop, restart, pause, resume, hibernate, force-stop, reset). The reset action requires confirm=true.Security checks
Static checks derived from the repository 10 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 1.5K words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by go.sum.
2 checks have not been run yet.
Releases
README
The repository's README runs to about 1.5K words, fetched a month ago. The original in the repository is authoritative.
Read full README