api-reference
**⚠️ DEVELOPER REFERENCE ONLY** — This file documents the raw GraphQL API schema for development and maintenance purposes (adding…
**Error:** `CredentialsNotConfiguredError` or message containing `~/.unraid-mcp/.env`
> /plugin marketplace add dinglebear-ai/unraidHow it fires
How this agent gets triggered: by you, by Claude, or both.
Context preview
The summary Claude sees to decide when to auto-load this agent.
**Error:** `CredentialsNotConfiguredError` or message containing `~/.unraid-mcp/.env`
**Error:** `CredentialsNotConfiguredError` or message containing `~/.unraid-mcp/.env`
**Fix:** Set credentials, then restart the server (they are read once at startup):
1. **Claude Code plugin:** set *Unraid GraphQL API URL* and *Unraid API Key* in the plugin's configuration form. The setup hook writes them to `~/.unraid-mcp/.env` on the next session. 2. **Manual / Docker:** create `~/.unraid-mcp/.env` with `UNRAID_API_URL` and `UNRAID_API_KEY`.
Check status any time (read-only — does not prompt or write):
unraid(action="health", subaction="setup")
---
**Symptoms:** Timeout, connection refused, network error
**Diagnostic steps:**
1. Test basic connectivity:
unraid(action="health", subaction="test_connection")
1. Full diagnostic report:
unraid(action="health", subaction="diagnose")
1. Check that `UNRAID_API_URL` in `~/.unraid-mcp/.env` points to the correct Unraid GraphQL endpoint.
1. Verify the API key has the required roles. Get a new key: **Unraid UI → Settings → Management Access → API Keys → Create** (select "Viewer" role for read-only, or appropriate roles for mutations).
---
**Error:** `Invalid action 'X'` or `Invalid subaction 'X' for action 'Y'`
**Fix:** Check the domain table in `SKILL.md` for the exact `action=` and `subaction=` strings. Common mistakes:
| Wrong | Correct | |-------|---------| | `action="info"` | `action="system"` | | `action="notifications"` | `action="notification"` | | `action="keys"` | `action="key"` | | `action="plugins"` | `action="plugin"` | | `action="settings"` | `action="setting"` | | `subaction="unread"` | `subaction="mark_unread"` |
---
**Error:** `Action 'X' was not confirmed. Re-run with confirm=True to bypass elicitation.`
**Fix:** Add `confirm=True` to the call:
unraid(action="array", subaction="stop_array", confirm=True) unraid(action="vm", subaction="force_stop", vm_id="<id>", confirm=True)
See the Destructive Actions table in `SKILL.md` for the full list.
---
**Symptoms:** `unraid(action="live", ...)` returns `{"status": "connecting"}`
**Explanation:** The persistent WebSocket subscription has not yet received its first event. Retry in a moment.
**Known issue:** `live/array_state` uses `arraySubscription` which has a known Unraid API bug (returns null for a non-nullable field). This subscription may show "connecting" indefinitely.
**Event-driven subscriptions** (`live/parity_progress`, `live/notifications_overview`, `live/owner`, `live/server_status`, `live/ups_status`) only populate when the server emits a change event. If the server is idle, these may never populate during a session.
**Workaround for array state:** Use `unraid(action="system", subaction="array")` for a synchronous snapshot instead.
---
**Limit:** 100 requests / 10 seconds
**Symptoms:** HTTP 429 or rate limit error
**Fix:** Space out requests. Avoid polling in tight loops. Use `live/` subscriptions for real-time data instead of polling `system/metrics` repeatedly.
---
**Error:** `Invalid log path`
**Valid log path prefixes:** `/var/log/`, `/boot/logs/`, `/mnt/`
Use `unraid(action="disk", subaction="log_files")` to list available logs before reading.
---
Use `unraid(action="docker", subaction="logs", container_id="<name-or-id>", tail_lines=100)`. The response includes timestamped lines and a continuation cursor.
A monorepo of Unraid tooling: two MCP servers (Python and Rust) and three Unraid OS plugins, plus the Claude/Codex agent integrations that surface them. Repo name.
**⚠️ DEVELOPER REFERENCE ONLY** — This file documents the raw GraphQL API schema for development and maintenance purposes (adding…
**⚠️ DEVELOPER REFERENCE ONLY** — This file documents raw GraphQL endpoints for development purposes. For MCP tool usage, use…
**⚠️ DEVELOPER REFERENCE ONLY** — Full GraphQL SDL from live API introspection. Use this to verify field names and types when…
All operations use: `unraid(action="<domain>", subaction="<operation>", [params])`