MUA v1.0.0 — Mikes Unraid Agent

Natives Unraid-Plugin: 21 Docker-, Netzwerk- und System-Tools
als MCP-Server (Streamable HTTP) auf Port 3002.

- mcp/server.php: MCP-Server (JSON-RPC 2.0, Streamable HTTP)
- mcp/helpers.php: Lokale Tool-Implementierungen (kein SSH)
- mcp/tools.php: 21 Tool-Definitionen
- mcp/selftest.php: Selftest (12 Checks)
- scripts/unraid-docker-mcp-helper.php: Write-Operationen
- scripts/mua.service: systemd-Service
- scripts/install.sh, update.sh, remove.sh: Plugin-Scripts
- MUA.plg: Plugin-Manifest
This commit is contained in:
Mikei386 committed 2026-08-17 22:00:48 +02:00
commit f4e66ea5a1
12 files changed
+1837

No files matched your search

+31
View File
@@ -0,0 +1,31 @@
#!/bin/bash
# MUA - Mikes Unraid Agent
# Remove-Script
# Wird vom Unraid-Plugin-Installer bei Deinstallation aufgerufen.
set -e
echo "=== MUA Remove ==="
# 1. Service stoppen + disable
if systemctl list-unit-files | grep -q "^mua.service"; then
systemctl stop mua.service 2>/dev/null || true
systemctl disable mua.service 2>/dev/null || true
rm -f /etc/systemd/system/mua.service
systemctl daemon-reload
echo " Service entfernt"
fi
# 2. PHP-Helper entfernen
if [ -f "/usr/local/bin/unraid-docker-mcp-helper.php" ]; then
rm -f /usr/local/bin/unraid-docker-mcp-helper.php
echo " Helper entfernt"
fi
# 3. Plugin-Verzeichnis entfernen
if [ -d "/usr/local/plugins/mua" ]; then
rm -rf /usr/local/plugins/mua
echo " Plugin-Verzeichnis entfernt"
fi
echo "=== MUA entfernt ==="