Michael RollandClaude Opus 5.5 c219794850 2026.11.24.r040: neutrale Beispielnamen, PHP-8.5-Fix, Tests auf macOS grün
- curl_close() entfernt (wirkungslos seit PHP 8.0, ab 8.5 Deprecation-Meldung)
- readProcessOutput akzeptiert den allgemeinen Bun-Prozesstyp (tsc wieder fehlerfrei)
- Test-Fixtures nutzen den aufgelösten Temp-Pfad (/var -> /private/var auf macOS)
- Release r040 gebaut, r039 aus dist/ entfernt (bleibt in der Historie)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 13:08:53 +01:00
2026-11-20 21:51:14 +01:00
2026-11-23 21:01:14 +01:00

MUA – Mikes Unraid Agent

English | Deutsch

An MCP server for Unraid: Docker containers, VMs, storage, network and system tools for AI agents. A compiled Bun binary (TypeScript) that runs as an Unraid plugin service with its own settings page in the WebGUI.

Features

  • 61 tools: Docker (list, logs, stats, start/stop/restart, create/modify/update), Community Applications install with preview, VMs, cache/mover, parity, disks, shares, notifications, network inventory and checks
  • Two profiles: full (all single tools) and lite (10 grouped tools for small local models); unraid_overview as the entry point for every model
  • Read-only diagnostic shell with allowlist and option policy per program; optional, separately enabled root shell and agent toolbox container
  • Security profiles in the WebGUI (read only, operation, lock all, full access) plus per-tool switches; audit log without arguments or output
  • Optional native HTTPS, including Unraid's own certificates

Requirements

Unraid 7.0.0 or later, x86_64.

Installation

In the Unraid WebGUI open Plugins → Install Plugin, paste the plugin URL and click Install:

<repository-url>/raw/branch/main/plugin/mua.plg

Then open Settings → User Utilities → MUA, choose a security profile and click Generate new API key. The key is shown once; it is stored in /boot/config/plugins/mua/mua.conf (mode 600).

Check: curl http://<unraid-ip>:3002/health → {"status":"ok",...}.

Configuration

Setting Where
API key, enabled tools, default profile WebGUI page or /boot/config/plugins/mua/mua.conf (MUA_API_KEY, MUA_ENABLED_TOOLS, MUA_PROFILE, MUA_TOOLBOX_ENABLED)
HTTPS WebGUI page or /boot/config/plugins/mua/tls.conf, see docs/HTTPS.md
Service /etc/rc.d/rc.mua start (also stop, restart, status), log /var/log/plugins/mua.log

MUA_ENABLED_TOOLS=none really disables everything; all is explicit full access.

Usage

MUA is a standard MCP server (streamable HTTP, POST, JSON-RPC 2.0):

URL:  http://<unraid-ip>:3002/mcp        (or /mcp/full, /mcp/lite)
Auth: Authorization: Bearer <api-key>

Example for Hermes Agent:

hermes mcp add unraid --url http://<unraid-ip>:3002/mcp --auth header --connect-timeout 30
hermes mcp test unraid

Agents should read AGENTS.md and docs/HERMES.md first.

Security

New installs start read only. Container changes, active network tests and the root shell must be enabled explicitly. API key and admin token never appear in tool output; container environment values are never returned, only their names; common secret formats in logs are redacted. Community Applications installs need a preview and a ten-minute approval ticket bound to exactly that change. Requests are limited (1 MiB, 120/min per client, 4 concurrent tools); CORS is off. Do not expose port 3002 to the internet.

Development

Needs Bun, xz and xmllint.

bun install
bunx tsc --noEmit
bun test
bun build src/index.ts --compile --target=bun-linux-x64 --outfile dist/mua
bash scripts/package.sh            # builds the .txz, version from package.json

Full manual with all tools, lite profile, toolbox, versioning and release process (German): docs/DETAILS.md.

License

MIT, see LICENSE. Not affiliated with Lime Technology.

S
Description
No description provided
Readme MIT
1.2 GiB
0 Stars 1 Watchers 0 Forks
Languages
TypeScript 79.5%
PHP 16.8%
Shell 1.9%
Python 1.8%