From 72ccf9b0740b84799b5d76499d06bc29e85fb95d Mon Sep 17 00:00:00 2001 From: Jacob Magar Date: Sat, 14 Mar 2026 16:40:04 -0400 Subject: [PATCH] chore: add settings slash command and bump to 0.4.8 - Add commands/settings.md slash command for unraid_settings tool - Sync uv.lock after version bump Co-authored-by: Claude --- .claude-plugin/plugin.json | 2 +- commands/settings.md | 49 ++++++++++++++++++++++++++++++++++++++ pyproject.toml | 2 +- uv.lock | 2 +- 4 files changed, 52 insertions(+), 3 deletions(-) create mode 100644 commands/settings.md diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json index b334699..deef6f7 100644 --- a/.claude-plugin/plugin.json +++ b/.claude-plugin/plugin.json @@ -1,7 +1,7 @@ { "name": "unraid", "description": "Query and monitor Unraid servers via GraphQL API - array status, disk health, containers, VMs, system monitoring", - "version": "0.4.7", + "version": "0.4.8", "author": { "name": "jmagar", "email": "jmagar@users.noreply.github.com" diff --git a/commands/settings.md b/commands/settings.md new file mode 100644 index 0000000..59316af --- /dev/null +++ b/commands/settings.md @@ -0,0 +1,49 @@ +--- +description: Manage Unraid system settings and configuration +argument-hint: [action] [additional-args] +--- + +Execute the `unraid_settings` MCP tool with action: `$1` + +## Available Actions (9) + +All settings actions are mutations that modify server configuration. + +**General Settings:** +- `update` - Update general system settings (timezone, locale, etc.) +- `update_temperature` - Update temperature unit preference (Celsius/Fahrenheit) +- `update_time` - Update NTP and time configuration + +**UPS Configuration:** +- `configure_ups` - Configure UPS settings (requires `confirm=True` — DESTRUCTIVE) + +**API & Connectivity:** +- `update_api` - Update Unraid Connect API settings + +**Unraid Connect (My Servers):** +- `connect_sign_in` - Sign in to Unraid Connect cloud service +- `connect_sign_out` - Sign out of Unraid Connect cloud service + +**Remote Access:** +- `setup_remote_access` - Configure remote access settings (requires `confirm=True` — DESTRUCTIVE) +- `enable_dynamic_remote_access` - Enable/configure dynamic remote access (requires `confirm=True` — DESTRUCTIVE) + +## Example Usage + +``` +/unraid-settings update +/unraid-settings update_temperature +/unraid-settings update_time +/unraid-settings update_api +/unraid-settings connect_sign_in +/unraid-settings connect_sign_out +``` + +**⚠️ Destructive Operations (require `confirm=True`):** +- `configure_ups` - Modifies UPS hardware configuration +- `setup_remote_access` - Changes network access policies +- `enable_dynamic_remote_access` - Changes network access policies + +**IMPORTANT:** Settings changes take effect immediately and may affect server accessibility. + +Use the tool to execute the requested settings operation and report the results. diff --git a/pyproject.toml b/pyproject.toml index 7342a75..5b6548c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,7 +10,7 @@ build-backend = "hatchling.build" # ============================================================================ [project] name = "unraid-mcp" -version = "0.4.7" +version = "0.4.8" description = "MCP Server for Unraid API - provides tools to interact with an Unraid server's GraphQL API" readme = "README.md" license = {file = "LICENSE"} diff --git a/uv.lock b/uv.lock index 7fce0f0..0a2ecfd 100644 --- a/uv.lock +++ b/uv.lock @@ -1535,7 +1535,7 @@ wheels = [ [[package]] name = "unraid-mcp" -version = "0.4.4" +version = "0.4.7" source = { editable = "." } dependencies = [ { name = "fastapi" },