Better Unraid MCP

v0.4.0
io.github.mswdev/better-unraid-mcp Checked 5 hours ago Published 4 days ago

Unraid MCP server: manage your array, Docker, VMs, ZFS, logs, and UPS from any MCP client.

Values you need

VariableWhat it is
UNRAID_API_URLrequired Full Unraid GraphQL endpoint, including /graphql
UNRAID_API_KEYrequired secret Unraid API key (Settings → Management Access → API Keys)
UNRAID_SSH_HOSToptional Optional: SSH host for host-level tools
UNRAID_SSH_PASSWORDoptional secret Optional: SSH password (or set UNRAID_SSH_KEY_PATH)
MCP_READ_ONLYoptional Set true to register only read-only tools

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add better-unraid-mcp -e 'UNRAID_API_KEY=<UNRAID_API_KEY>' -e 'UNRAID_API_URL=<UNRAID_API_URL>' -- npx -y better-unraid-mcp@0.4.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "better-unraid-mcp": {
      "args": [
        "-y",
        "better-unraid-mcp@0.4.0"
      ],
      "command": "npx",
      "env": {
        "UNRAID_API_KEY": "<UNRAID_API_KEY>",
        "UNRAID_API_URL": "<UNRAID_API_URL>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "better-unraid-mcp": {
      "args": [
        "-y",
        "better-unraid-mcp@0.4.0"
      ],
      "command": "npx",
      "env": {
        "UNRAID_API_KEY": "<UNRAID_API_KEY>",
        "UNRAID_API_URL": "<UNRAID_API_URL>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "UNRAID_API_KEY",
      "id": "unraid-api-key",
      "password": true,
      "type": "promptString"
    },
    {
      "description": "UNRAID_API_URL",
      "id": "unraid-api-url",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "better-unraid-mcp": {
      "args": [
        "-y",
        "better-unraid-mcp@0.4.0"
      ],
      "command": "npx",
      "env": {
        "UNRAID_API_KEY": "${input:unraid-api-key}",
        "UNRAID_API_URL": "${input:unraid-api-url}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.better-unraid-mcp]
command = "npx"
args = ["-y", "better-unraid-mcp@0.4.0"]
env = { "UNRAID_API_KEY" = "<UNRAID_API_KEY>", "UNRAID_API_URL" = "<UNRAID_API_URL>" }

For AI agents

  1. Ask the user for: UNRAID_API_URL, UNRAID_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: system_info, system_metrics, metrics_history, log_list, log_read, array_status, array_action, array_disk_action, ….
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json