Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LOG_LEVELNoLog level: fatal, error, warn, info, debug, trace, or silent.info
MCP_HTTP_HOSTNoBind address for the http transport.127.0.0.1
MCP_HTTP_PORTNoPort for the http transport.3000
MCP_READ_ONLYNoSet true to register only the read-only tools.false
MCP_TRANSPORTNoMCP transport: stdio (local clients) or http (remote clients).stdio
UNRAID_API_KEYYesAPI key from Quick start step 1.
UNRAID_API_URLYesFull Unraid GraphQL endpoint, including /graphql.
UNRAID_SSH_HOSTNoTurns on every tool marked SSH above, plus the SSH fallback for docker_stats. Requires a password or key path.
UNRAID_SSH_PORTNoSSH port.22
UNRAID_SSH_USERNoSSH user. Unraid administration is normally done as root.root
MCP_HTTP_SESSIONSNoSet true for stateful HTTP sessions (SSE responses), which carry server-initiated messages: progress notifications, elicitation prompts, and live-resource updates.false
MCP_METRICS_HISTORYNoSet true to record CPU, memory, and network history in memory for metrics_history and unraid://live/history.false
UNRAID_SSH_KEY_PATHNoPath to an SSH private key file (readable by the MCP server process).
UNRAID_SSH_PASSWORDNoSSH password. Prefer UNRAID_SSH_KEY_PATH where you can.
MCP_HTTP_BEARER_TOKENNoRequired for the http transport: clients must send Authorization: Bearer <token>.
MCP_HTTP_ALLOWED_HOSTSNoComma-separated Host allow-list; turns on DNS-rebinding protection.
UNRAID_SSH_IDLE_SECONDSNoIdle seconds before the persistent SSH connection closes (it reconnects when next needed).90
UNRAID_ALLOW_SELF_SIGNEDNoSet true only for a self-signed TLS certificate on the LAN.false
MCP_HTTP_ALLOW_UNAUTHENTICATEDNoExplicit opt-in to run the http transport with no auth (trusted networks only).false

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
prompts
{
  "listChanged": true
}
resources
{
  "subscribe": true,
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
system_infoA

Read-only. Returns the Unraid server's static identity: OS distro, release, kernel, hostname, and a CPU summary (model, cores, threads); response_format: detailed adds platform, boot time, and current server time. For live CPU, memory, and network load use system_metrics; for a scored health verdict use system_health.

system_metricsA

Read-only. Point-in-time resource snapshot: CPU load, memory pressure (percent + available bytes), per-interface network rates/errors, server time (timezone, NTP), and optionally temperature sensors (include_temperature). Network rates read 0 right after the Unraid API restarts. For trends over time use metrics_history, for per-container usage docker_stats, for GPUs gpu_metrics, and for a scored verdict system_health. Requires INFO+VARS read permission (any viewer-level key).

metrics_historyA

Read-only. Recent CPU / memory / network history from this server's in-memory recorder (opt-in: MCP_METRICS_HISTORY=true): 30-second buckets with min/avg/max for up to 24 hours, honest about gaps; concise output folds the window into at most 24 rows. Nothing is persisted to disk — history starts when the server starts. When recording is off the tool says how to enable it. For current values rather than a trend, use system_metrics.

log_listA

Read-only. Lists the server's log files (name, path, size, last modified), most recently modified first. Pass a returned path or name to log_read. For a Docker container's own output use docker_container_logs instead. An empty list may also mean the log directory was unreadable — the API does not distinguish. Requires LOGS read permission (any viewer-level key).

log_readA

Read-only. Returns lines from a server log file. path is a path or name from log_list — validated against that list before reading (reads are limited to filenames the server lists in its log directory; symlinked entries are read as the server resolves them). Omitting start_line returns the last lines lines; pass start_line (1-indexed) to window from there and re-call with the hinted values to page. Counts may drift slightly on rapidly-growing logs; the cap bounds line count, not bytes. Requires LOGS read permission (any viewer-level key). For container logs use docker_container_logs; for host files log_list does not show, use file_read (SSH).

array_statusA

Read-only. Returns the array state, capacity, current parity-check status and progress, and disk counts; response_format: detailed (or structuredContent) adds a row per data, parity, and cache disk: its id (what array_disk_action takes), status and temperature, plus usage and error counts where the API reports them. Parity error counts come from parity_history, not this tool. Use disk_list for hardware details (model, SMART, partitions) and system_health for one scored verdict.

array_actionA

Starts or stops the array. ⚠ stop: Unraid takes every share, Docker container, and VM offline (the API does not check for active services first). Requires confirm: true; stop additionally requires acknowledge_risk: true. The mutation cannot report the resulting state — run array_status afterward to confirm (state reads may lag a few seconds). Requires an Unraid API key with ADMIN role. Encrypted arrays cannot be started by this tool (no decryption inputs) — use the web UI.

array_disk_actionA

⚠ Array disk operations: add a disk to the protected array (requires a STOPPED array — checked first), mount/unmount an array disk, or clear a disk's error statistics (require a STARTED array). Removing a disk is no longer offered by the Unraid API (4.37+) — use the web UI. A wrong disk id on add risks data loss. Requires confirm: true AND acknowledge_risk: true. For mount, unmount, and clear_statistics, id is the disk row's id from array_status with response_format: detailed (its disks, parities, and caches rows). The API does not document which id add expects, so confirm the exact disk with the user first. Results are requested, not confirmed — verify with array_status/disk_list.

parity_historyA

Read-only. Returns past parity checks, newest first (date, status, error count, speed; response_format: detailed adds duration and whether the check was correcting). Use array_status for a check that is running now and parity_check to start or control one.

parity_checkA

Starts, pauses, resumes, or cancels a parity check. action: "start" accepts correct (true = write corrections to parity, like the web UI checkbox; default false = read-only check). Requires confirm: true. The mutations return no usable status — run array_status afterward to confirm (status reads may lag a few seconds); pause/resume/cancel with no check running may be accepted with no effect. Requires an Unraid API key with ADMIN role. Behavior validated against Unraid API v4.35.0 (upstream marks these mutations WIP).

disk_listA

Read-only. Lists every physical disk with model, size, SMART status, and temperature; response_format: detailed adds the device path (/dev/sdX), vendor, serial, interface, spin state, and partitions. Use array_status for each disk's role and health in the array, disk_smart_report for one disk's full SMART attributes, and unassigned_list for disks outside the array and pools.

share_listA

Read-only. Lists user shares with usage (free/used/total); detailed adds each share's cache flag, included/excluded disks, and comment. Use name to filter by a share name substring. Pass a returned name to share_edit, share_delete, or flash_backup; those accept only letters, digits, dots, underscores, and hyphens. Other settings are not returned: the allocator is on the API's Share type (graphql_query shares { name allocator }), and /boot/config/shares/.cfg (file_read, over SSH) holds all of them, including cache mode and SMB. For array-wide capacity and per-disk usage use array_status.

docker_autostart_setA

Sets which containers auto-start on boot. Merge-safe: reads the current autostart config, applies your changes, and resubmits the complete set (sorted to preserve boot order) so unlisted containers are untouched. Boot-time only — does not start/stop running containers now (use docker_container_action for that); takes effect on the next array/Docker start. Requires confirm: true. Needs Unraid OS 7.3+ (ENABLE_NEXT_DOCKER_RELEASE).

docker_container_actionA

Changes a container's run state (start | stop | pause | unpause | restart). restart uses the API's native restart mutation (API 4.37+). Requires confirm: true. Pass the container id from docker_container_list; names often work but the API's post-action read-back is unreliable with names. stop/pause/restart disrupt a running container; start/unpause are restorative but still gated for consistency. To delete a container use docker_container_remove; to change what starts at boot use docker_autostart_set.

docker_container_listA

Read-only. Lists Docker containers with state, image, whether an update is available, and the container id that the other docker_container_* tools and docker_autostart_set take (each concise line ends with [id: …]). Use name to filter by a container-name substring. For live CPU/memory use docker_stats; for a container's output use docker_container_logs.

docker_container_logsA

Read-only. Returns the most recent log lines for a container. To page, re-pass the returned cursor as since; the boundary line repeats, so de-dupe. The API can miss containers that log only to stderr; when SSH is configured, this tool automatically falls back to docker logs for those (plain text in both formats). For the Unraid server's own log files use log_read instead.

docker_container_removeA

Permanently deletes a container; force-kills it if running (no graceful stop); irreversible. with_image also attempts to delete the image (best-effort — may report success without deleting a shared/in-use image). Requires confirm: true. Needs Unraid OS 7.3+. To stop a container and keep it, use docker_container_action instead.

docker_container_updateA

Pulls the latest image(s) and recreates container(s). ids updates those containers (force-pull regardless of update-available); all updates every container with a known-available update (returns none if the cache is cold — not an error). Updating an orphaned container with no template is a silent no-op. Requires confirm: true. Needs Unraid OS 7.3+. docker_container_list shows which containers have an update available.

docker_network_listA

Read-only. Lists the Docker networks defined on the server: name, driver, scope, and IPv6/internal flags (detailed adds id and attachable). It does not show which containers are attached to each network; for port clashes between containers use docker_port_conflicts.

docker_port_conflictsA

Read-only. Reports ports claimed by more than one Docker container, in two groups: LAN/host port conflicts (real collisions) and containers sharing the same internal port (often harmless when they sit on different Docker networks). Use it to diagnose a port clash; it lists existing conflicts only, not every port in use.

vm_listA

Read-only. Lists virtual machines with their run state (RUNNING, SHUTOFF, PAUSED, …). Use name to filter by a VM-name substring. Call it before vm_action to get a VM's name, state and id; each concise line ends with the VM's [id: …], which vm_action takes when several VMs share a name. For a VM's snapshots use vm_snapshot_list.

vm_actionA

Changes a VM's run state. action: start/resume (bring up / un-pause), stop (graceful ACPI shutdown — waits ~10s then force-kills if the guest doesn't respond), reboot (graceful — fails if the guest ignores ACPI within ~10s; use forceStop then start), pause (freeze in memory), or forceStop/reset (⚠ ungraceful hard kill / hard kill-and-cold-boot that can corrupt the guest filesystem). vm accepts a VM name or id from vm_list. Requires confirm: true; forceStop and reset additionally require acknowledge_risk: true. The configured Unraid API key must have VM permission.

notification_overviewA

Read-only. Returns notification counts only, never the notifications themselves: unread and archived, each broken down by importance (alert / warning / info) plus total. Use it to check whether anything is waiting. To read the unread warnings and alerts use notification_alerts; to list notifications and get their ids use notification_list. The counts are a server-side cache; if they disagree with notification_list, run notification_recalculate.

notification_listA

Read-only. Lists notifications of one type (unread or archive), newest first. Optional importance filter (alert/warning/info); paginate with offset and limit. The source of truth for which notifications exist and for the ids that notification_archive, notification_unread and notification_delete take; each concise line ends with the notification's [id: …]. For just the unread warnings and alerts use notification_alerts; for counts only use notification_overview.

notification_alertsA

Read-only. Lists the unread warning and alert notifications, deduplicated and newest first (up to 50) — the 'needs attention now' view. Takes no filters and never includes info or archived notifications; for those, or for an importance filter or paging, use notification_list. For counts only use notification_overview. Each concise line ends with the notification's [id: …] for notification_archive or notification_delete.

notification_archiveA

Archive (hide) or unarchive (restore to unread) notifications — reversible; nothing is deleted (to remove notifications permanently use notification_delete). Target specific ids (from notification_list — archive expects currently-unread ids, unarchive expects archived ids) or all: true (optionally one importance). Reports the action only: the API swallows per-id failures, so an unknown or wrong-bucket id silently succeeds — verify with notification_list.

notification_unreadA

Marks one notification as unread (moves it back to the unread bucket), e.g. to re-surface something archived too early. This is a write, not a way to read unread notifications: to view them use notification_list (type: unread) or notification_alerts. To restore several ids or everything at once use notification_archive with direction: unarchive. Reversible via notification_archive. Get ids from notification_list.

notification_deleteA

⚠ Permanently deletes notifications (irreversible): one by id, or every archived one. Requires confirm: true. Reports the resulting counts. To hide notifications without losing them use notification_archive instead.

notification_createA

Creates a notification in Unraid's notification center, e.g. to record the outcome of a task for whoever runs the server. mode: always always creates; mode: if_unique skips creation when an equivalent unread one already exists, so repeated checks do not pile up duplicates. importance: alert/warning/info. Reports the created title and importance, or that creation was skipped; response_format: detailed returns the created notification with its id. To hide or remove existing notifications use notification_archive or notification_delete.

notification_recalculateA

Re-syncs the notification overview counts from disk (corrects cache drift after bulk changes). Returns the refreshed counts. Use it when notification_overview disagrees with notification_list; it rewrites only the cached counts, never a notification. To just read the counts use notification_overview.

plugin_listA

Read-only. Lists installed plugins of both kinds: API (npm) plugins and native OS .plg plugins. Use it to check the result of plugin_add, plugin_remove or plugin_install_plg. plugins are the API's active/loaded set (config-declared, installed, and schema-valid) captured as a boot snapshot that changes only after an API restart; installedUnraidPlugins are the live OS .plg filenames. An empty list is NOT a definitive zero — it can also mean safe mode (api plugins) or an unreadable plugin directory (OS .plg). Requires CONFIG read permission (any viewer-level key).

plugin_addA

⚠ Installs one or more Unraid API plugins by npm package name (names). This runs npm install, which executes the package's lifecycle scripts on the server (supply-chain / code-execution risk), then RESTARTS the Unraid API to load them — your connection will drop briefly. names must be bare or scoped package names (no URLs, git refs, paths, or version suffixes). Requires confirm: true and a key with CONFIG write permission (UPDATE_ANY). Reports submission; verify with plugin_list after the API reconnects. For native OS plugins (.plg files) use plugin_install_plg instead.

plugin_removeA

⚠ Uninstalls one or more Unraid API plugins by npm package name (names, as shown by plugin_list) and RESTARTS the Unraid API to unload them — your connection will drop briefly. Only plugins currently in the API config are affected (unknown names are a no-op); it does not uninstall OS .plg plugins (the installedUnraidPlugins entries in plugin_list). names must be bare or scoped package names. Requires confirm: true and a key with CONFIG write permission (DELETE_ANY). Reports submission; verify with plugin_list after the API reconnects.

plugin_install_plgA

⚠ Installs a native Unraid OS plugin from a .plg URL (the Community Applications format) via the Unraid API. A .plg installer runs arbitrary code as root — only install from trusted sources. Requires confirm: true AND acknowledge_risk: true. Returns a queued/running operation without waiting for the install to finish; verify with plugin_list and the syslog (log_read). For npm-based API plugins use plugin_add instead.

apikey_listA

Read-only. Lists the Unraid API keys configured on the server: name, id, roles, and creation date, plus description and permissions with response_format: detailed. Key VALUES are never selected or returned. Use it to get the key ids that apikey_manage takes. Requires an API key with permission to read API keys (typically ADMIN).

apikey_manageA

⚠ Credential management: create, update, add_role, remove_role, or delete Unraid API keys. This is the model managing the very credentials that control server access — the key VALUE is disclosed exactly once, at creation. Deleting the key this MCP server uses locks it out. Requires confirm: true AND acknowledge_risk: true. Use apikey_list (read-only) for ids and to inspect keys.

ups_statusA

Read-only. Live UPS telemetry from apcupsd: operational status (passed through verbatim from apcaccess — e.g. ONLINE, ONBATT, LOWBATT, COMMLOST), battery charge and estimated runtime, and power load/voltage. When apcaccess returns nothing (apcupsd stopped, no UPS attached, or a NUT-managed UPS — the Unraid API reads apcupsd only) this tool reports 'no live UPS data' instead of an error; when apcupsd reports a device without identity the API returns placeholder values, reported the same way rather than as a healthy UPS, and battery/power values may be upstream defaults when apcaccess data is incomplete. Reachable by any authenticated key (no special permission).

mover_statusA

Read-only. Reports whether the mover (the process that migrates data from the cache pool to the array) is currently running, plus its cron schedule and whether mover logging is enabled. Needs a viewer-level key (VARS read). Mover activity detail appears in the syslog (see log_read). Use mover_action to start or stop it.

mover_actionA

Starts or stops the mover (the process migrating data from the cache pool to the array) via /usr/local/sbin/mover over SSH. Requires confirm: true and SSH to be configured (UNRAID_SSH_* variables). ⚠ stop interrupts in-flight transfers and can leave partial files on the destination. Check mover_status first; progress appears in the syslog.

system_powerA

⚠ Reboots (/sbin/reboot) or shuts down (/sbin/poweroff) the entire Unraid server over SSH. Unraid performs a clean array stop on the way down. Every share, Docker container, and VM goes offline; shutdown requires physical/WoL access to power back on. Requires confirm: true AND acknowledge_risk: true, plus SSH (UNRAID_SSH_* variables). The SSH connection dropping after the command is expected. response_format: detailed returns JSON with requested, command and outcome (initiated, or issued-unverified when the connection dropped mid-command). To take only the array offline, use array_action instead.

system_healthA

Read-only. One severity-scored health report (OK / WARNING / CRITICAL) across array state, capacity, disk status and temperatures, parity (the last recorded check's outcome and error count, plus any check in progress), unread notifications, UPS, and pending container updates — start here instead of assembling health from separate reads. Thresholds: capacity warns at 90% and goes critical at 95%; disk temps warn at 50°C and go critical at 60°C; a last parity check with errors or a FAILED outcome warns. Follow up with array_status, disk_list, parity_history, or notification_alerts for depth.

disk_spinA

Spins a disk up or down over SSH. Pass exactly one target: array slots and cache* pools (disk: disk1, parity, cache, ...) go through emhttpd (emcmd) so Unraid's tracked spin state stays consistent; unassigned devices (device: /dev/sdX) use sdspin (an hdparm wrapper — ATA only, SAS needs the community plugin). Requires confirm: true and SSH (UNRAID_SSH_*). Spinning down interrupts nothing but adds spin-up latency on next access. Verify the result with disk_list (response_format: detailed shows the spin state).

disk_smart_reportA

Read-only. Full smartctl attribute report for one disk (device: /dev/sdX or /dev/nvmeXnY) over SSH, returned as raw text — the deep view behind disk_list's summary SMART status. smartctl's informational exit flags are tolerated; the report is returned whenever produced, keeping only the last 30000 characters if longer. Get device paths from disk_list (response_format: detailed). Requires SSH (UNRAID_SSH_*).

vm_snapshot_listA

Read-only. Lists a VM's libvirt snapshots by name via virsh over SSH (snapshots are not exposed by the GraphQL API). Reports clearly when the VM service is disabled. Requires SSH (UNRAID_SSH_*). Use vm_snapshot_create to add one; for ZFS dataset snapshots use zfs_snapshot_list instead.

vm_snapshot_createA

⚠ Creates an EXTERNAL disk snapshot of a VM via virsh snapshot-create-as --atomic --disk-only over SSH — the same external-snapshot flow Unraid 7 uses (internal snapshots fail on raw disks and OVMF VMs). Adds overlay files to the VM's storage chain. Requires confirm: true AND acknowledge_risk: true. Revert/delete are deliberately not offered (chain-corruption risk); use the Unraid VM UI for those. Requires SSH (UNRAID_SSH_*) and the VM service enabled; check the result with vm_snapshot_list.

user_script_listA

Read-only. Lists the scripts managed by the User Scripts plugin (from /boot/config/plugins/user.scripts/scripts) over SSH. Returns names only: pass one to user_script_run, or review its source first by reading <name>/script in that directory with file_read. Reports clearly when the plugin is not installed, and separately (as an empty list, not an error) when it is installed but has no scripts.

user_script_runA

⚠ Runs one User Scripts plugin script by name over SSH — user scripts are arbitrary code, executed here as the SSH user (typically root). Requires confirm: true AND acknowledge_risk: true. The flash drive is mounted non-executable, so the script is copied to a temp file (CRs stripped) and run via bash, exactly like the plugin's own runner. Optional args: each item becomes exactly one positional argument ($1, $2, ...), passed literally, never as a shell expression; not for secrets. Get names from user_script_list; a non-zero exit is reported faithfully, not as a tool error. Waits for the script to finish and returns its exit code, stdout, and stderr. For a one-off command that is not a saved script use shell_exec instead.

gpu_metricsA

Read-only. GPU utilization over SSH: full per-GPU metrics via nvidia-smi (utilization, VRAM, temperature, power) when the NVIDIA driver plugin is installed; a one-line summary (frequency, idle share, engine load, GPU clients) parsed from a 3-second intel_gpu_top sample for Intel; a clear absence report otherwise. NVIDIA takes precedence when both are present. Use this for GPU load, which system_metrics does not report. Requires SSH (UNRAID_SSH_*).

process_listA

Read-only. The host's busiest processes by CPU or memory via ps over SSH: pid, CPU %, memory %, elapsed run time, and command name (no arguments) — for finding what's eating resources when docker_stats doesn't explain the load. Requires SSH (UNRAID_SSH_*).

zfs_statusA

Read-only. ZFS pool health and capacity (zpool list) plus ARC memory usage from /proc/spl/kstat/zfs/arcstats, over SSH. Start here for ZFS, then use zfs_dataset_list for per-dataset usage and zfs_snapshot_list for snapshots. Per-device errors and scrub progress are not included (run zpool status through shell_exec for those). Reports clearly when ZFS is not available. ZFS ships with Unraid 6.12+.

zfs_dataset_listA

Read-only. Lists ZFS datasets with used/available space and mountpoints over SSH; optional pool limits to one pool (recursive). detailed returns exact byte counts plus referenced size. Use the returned names as dataset in zfs_snapshot_list and zfs_snapshot_action; for pool health use zfs_status instead. Reports clearly when ZFS is not available.

zfs_snapshot_listA

Read-only. Lists ZFS snapshots (full dataset@snapshot name, space used, creation time) over SSH; optional dataset limits to one dataset (recursive). Split a name at @ to get the dataset and snapshot arguments for zfs_snapshot_action. For a VM's libvirt snapshots use vm_snapshot_list instead. Reports clearly when ZFS is not available.

zfs_snapshot_actionA

⚠ Creates, destroys, or rolls back a ZFS snapshot (dataset + snapshot name) over SSH; never recursive, so child datasets are untouched. destroy permanently deletes the rollback point; rollback DISCARDS all changes made after the snapshot and only works against the most recent snapshot (older ones fail with zfs's own error — deliberate: no -r). Every action, including create, requires confirm: true AND acknowledge_risk: true. Check existing snapshots with zfs_snapshot_list first; for VM disk snapshots use vm_snapshot_create instead.

flash_backupA

⚠ Archives the Unraid flash (USB boot) device over SSH into a user share: by default /boot/config only (settings, plugins, keys — a few hundred MB); full: true archives all of /boot (several GB, includes the OS images). Writes /mnt/user//flash-backups/flash-backup--.tar.gz, verifies it with tar -tzf, and reports size and entry count; keep: N keeps the newest N archives of the scope just written (including the new one), deletes older ones of that scope only (a config backup never prunes full archives, nor the reverse), and lists exactly what it removed. The archive CONTAINS your license key, API keys, passwords, and network config — it stays on your own array; never copy it off the server unencrypted. Requires confirm: true AND acknowledge_risk: true, plus SSH (UNRAID_SSH_*). Replaces the Unraid API's flash-backup mutation, which is an unimplemented stub.

service_listA

Read-only. Reports whether the standard Unraid host services are running — samba (SMB shares), nfs, sshd, docker, libvirt (VMs), tailscale — by asking each /etc/rc.d/rc.* script for its status over SSH. Services whose script is absent are reported as not installed. The GraphQL API has no service surface. Covers these daemons only: for individual containers use docker_container_list, for VMs vm_list; to restart, start or stop a service use service_action. Requires SSH (UNRAID_SSH_*).

service_actionA

⚠ Runs /etc/rc.d/rc.<service> restart|start|stop over SSH for samba, nfs, sshd, docker, libvirt, or tailscale, then reads the status back and reports it (never assumes success). restart is the normal use. stop additionally requires allow_stop: true because stopping samba/nfs cuts every client off their shares (and stopping sshd cuts off this very tool); stopping docker or libvirt is refused outright — use array_action or the web UI. Requires confirm: true AND acknowledge_risk: true, plus SSH. Check current state with service_list.

unassigned_listA

Read-only. Lists disks that belong to neither the array, a pool, nor the flash drive (cross-referencing lsblk with emhttpd's disks.ini over SSH): model, serial, size, transport, and each partition's filesystem, label, and mount point. Works without the Unassigned Devices plugin. Pass a partition path to unassigned_action to mount or unmount it; for all physical disks with SMART status use disk_list. The GraphQL API has no unassigned-devices surface. Requires SSH (UNRAID_SSH_*).

unassigned_actionA

⚠ Mounts or unmounts an unassigned partition (e.g. /dev/sdz1 from unassigned_list) through the Unassigned Devices plugin's rc.unassigned mount|umount over SSH, then verifies the mount point with lsblk. Mounting may run the plugin's device script and share the partition over SMB per the plugin's settings. Refuses partitions of array/pool/flash disks, and refuses entirely when the plugin is not installed (no raw mount fallback). Requires confirm: true AND acknowledge_risk: true, plus SSH.

share_createA

⚠ Creates a user share (and its /mnt/user/ directory) through emhttpd (the same form the web UI submits, via emcmd over SSH) and verifies it by re-reading /boot/config/shares/.cfg. Refuses a name that already exists (use share_edit to change an existing share) and reserved, disk, and pool names. Omitted settings default to highwater allocation and useCache no; SMB settings are submitted only when smbExport or smbSecurity is passed. Requires confirm: true AND acknowledge_risk: true, plus SSH. The GraphQL API has no share mutations.

share_editA

⚠ Changes an existing user share's settings through emhttpd (the web UI's own form, via emcmd over SSH) and verifies by re-reading /boot/config/shares/.cfg. Pass at least one of comment, allocator, useCache, cachePool, smbExport, smbSecurity; omitted ones and every other share setting are passed through unchanged. It cannot rename a share, and it refuses a share that has no config yet (use share_create). Requires confirm: true AND acknowledge_risk: true, plus SSH.

share_deleteA

⚠ Deletes an EMPTY user share's configuration through emhttpd (the web UI's own delete, via emcmd over SSH) and verifies that /boot/config/shares/.cfg is gone. Never deletes files: if /mnt/user/ still contains anything the tool refuses and says where the data lives. Requires confirm: true AND acknowledge_risk: true, plus SSH.

docker_statsA

Read-only. Per-container resource usage (CPU %, memory, network IO, block IO), hungriest first. Prefers fresh data from the live WebSocket subscription (subscribe to unraid://live/docker-stats to keep it warm) and falls back to docker stats --no-stream over SSH; the response says which source served it (live rows are labelled by container id, SSH rows by name). The SSH path requires UNRAID_SSH_* configuration. For host-wide CPU/memory use system_metrics; for the host's busiest processes use process_list.

file_readA

Read-only. Returns the last lines lines of any absolute file path on the Unraid host over SSH, reaching files the GraphQL API cannot (e.g. /boot/logs/syslog-previous, /proc/cpuinfo). Optional pattern (extended regex) filters server-side via grep before the tail, so searching huge logs stays cheap. Prefer log_read for any log that log_list returns: it needs no SSH and pages from any line. file_read only tails; output beyond 30000 characters is cut from the start, so the newest lines are kept (detailed JSON then reports truncated and the characters dropped). Requires SSH to be configured (UNRAID_SSH_* environment variables); reads run as the SSH user (typically root).

shell_execA

⚠ Runs an arbitrary shell command on the Unraid host over SSH as the SSH user (typically root, i.e. full control of the server). Requires confirm: true on every call; without it the tool refuses and nothing runs. Prefer a dedicated tool when one covers the task, and use file_read for plain file reads (it is ungated). Non-zero exit codes are reported as results, not errors; output beyond 30000 characters is cut from the start, so the newest lines of stdout and stderr are kept (detailed JSON then reports truncated and the characters dropped). Requires SSH to be configured (UNRAID_SSH_* environment variables).

graphql_queryA

Advanced escape hatch. Runs an arbitrary GraphQL query operation against the Unraid API and returns the raw JSON data, for API fields no dedicated tool covers yet (registration, the flash drive, rclone remotes, Unraid Connect, share details, ...). Prefer the dedicated tools when one exists: they encode server quirks this passthrough does not. Only query operations are accepted; mutations must go through graphql_mutation and subscriptions are unsupported. Every document is validated against the vendored schema before it is sent (typos get did-you-mean hints); pass dry_run: true to validate only. The schema is in this package's schema/unraid.graphql. Results are subject to the API key's permissions; oversized results are head-truncated, so narrow the selection or page.

graphql_mutationA

⚠ Advanced escape hatch. Runs an arbitrary GraphQL mutation against the Unraid API, reaching write operations no dedicated tool covers yet (server identity, SSH settings, system time, Docker folders, ...). Requires confirm: true on every call, and additionally acknowledge_risk: true when the mutation selects a known-dangerous field; without them the tool refuses and never touches your server. Prefer the dedicated gated tools when one exists: they encode server quirks (stale read-backs, replace-vs-merge semantics) this passthrough does not, so verify results with a follow-up read. Only mutation operations are accepted (use graphql_query for queries). Every document is validated against the vendored schema before the confirm gate (typos get did-you-mean hints); dry_run: true validates only. The schema is in this package's schema/unraid.graphql; results are subject to the API key's permissions.

connection_doctorA

Read-only self-test of this MCP server's plumbing: Unraid GraphQL endpoint reachability and latency, API key validity, server and API versions, schema skew between the vendored Unraid schema and the server's API version, optional SSH channel connectivity, client-side rate-limit configuration, and read-only mode. Safe to run anytime; run it first when any other tool misbehaves. It diagnoses the connection, not the server — use system_health for the Unraid server's own condition.

Prompts

Interactive templates invoked by user choice

NameDescription
triage-array-problemSystematically diagnose an unhealthy array, worst signal first.
find-resource-hogTrack down what is eating CPU, memory, or network.
safe-container-updateUpdate one container (or all updatable) with pre- and post-checks.
health-reportA readable status report an owner can skim.

Resources

Contextual data attached and managed by the client

NameDescription
unraid-schemaThe vendored Unraid API GraphQL SDL this server was built against — the reference for graphql_query / graphql_mutation.
unraid-healthSeverity-scored health report (ok / warning / critical) across array, capacity, disks, parity, notifications, UPS, and container updates.
unraid-doctorSelf-test of this MCP server's plumbing: GraphQL reachability, API key validity, SSH connectivity, rate-limit config, read-only mode.
unraid-live-historyLast hour of CPU/memory/network history from the opt-in in-memory recorder (MCP_METRICS_HISTORY=true), 30-second min/avg/max buckets.
unraid-live-parityParity check progress pushed over WebSocket as it changes.
unraid-live-docker-statsPer-container CPU/memory/IO samples pushed over WebSocket.
unraid-live-metricsCPU, memory, network, and temperature samples pushed over WebSocket, merged into one resource.
unraid-live-upsUPS status and battery samples pushed over WebSocket.
unraid-live-arrayArray state and capacity updates pushed over WebSocket.
unraid-live-notificationsThe most recent server notification, pushed over WebSocket as it arrives.

TDQS

A4.2/5.0

Scored across 67 tools

Disambiguation4/5

Despite 67 tools, descriptions aggressively carve boundaries — nearly every tool names the sibling to use instead (e.g. log_read vs docker_container_logs vs file_read, system_metrics vs metrics_history vs docker_stats), which makes misselection unlikely. A few genuine overlaps remain, notably notification_unread vs notification_archive(direction: unarchive), notification_alerts vs notification_list(unread), and the graphql_query/graphql_mutation escape hatches that shadow every dedicated tool.

Naming Consistency5/5

Names follow a very predictable snake_case subject_action pattern across domains (docker_container_list/action/remove/update, zfs_snapshot_list/action, notification_list/archive/delete, share_create/edit/delete, disk_list/spin/smart_report). Read-only vs mutating variants are consistently distinguished by verb (list/status/read vs action/create/edit/remove), so intent is inferable from the name alone.

Tool Count2/5

67 tools is far past the point where an agent can hold the surface in mind; the Unraid domain is genuinely broad (array, disks, Docker, VMs, ZFS, shares, notifications, plugins, keys, UPS, SSH fallbacks), so each tool is defensible, but the sheer count plus two universal escape hatches makes the set heavy and costly to navigate. Consolidation (e.g. six notification tools, five system_* tools) would improve selection.

Completeness4/5

Coverage is unusually thorough: full read/write lifecycles for arrays, disks, parity, shares, Docker, VMs, ZFS, notifications, plugins, API keys, services, and user scripts, with shell_exec/file_read/graphql_* backstops for anything missing. Gaps exist — no Docker container create/clone, no VM create/delete, no VM snapshot revert/delete (deliberate), and no user-account management — but most are workable via the escape hatches with clear caveats.

Maintenance

ActivityActive
ResponsivenessLimited data