diff --git a/README.md b/README.md index db83612..3052022 100644 --- a/README.md +++ b/README.md @@ -10,9 +10,10 @@ zusammen mit dem übrigen Appdata gesichert. - `compose.yaml` ist der einzige Einstieg für die KI-Dienste auf Athena. - Genau ein llama.cpp-Profil ist aktiv. Der Router schaltet zwischen Fast, Medium, Large, Ultra und Uncensored. -- Der **Athena Operator** bleibt während der Migration der einzige - hostgebundene administrative MCP. Er wird anschließend durch einen - SSH-basierten Operator im MCPHub ersetzt. +- Der **Athena Operator** bleibt als einziger hostgebundener administrativer + MCP direkt auf Athena. MCPHub veröffentlicht seinen vorhandenen + WireGuard-HTTP-Endpunkt zentral unter `/mcp/athena-operator`; es gibt keinen + zweiten Operator und keine administrative SSH-Implementierung im Hub. - Home Assistant, ARR, Unraid, Navidrome, Deemix und GitHub laufen gemeinsam im MCPHub-Container auf Unraid, bleiben aber als getrennte MCP-Server unter `/mcp/NAME` sichtbar, abschaltbar und unabhängig für Clients freigebbar. diff --git a/config/mcp-registry.json b/config/mcp-registry.json index 286dcd3..5a2daca 100644 --- a/config/mcp-registry.json +++ b/config/mcp-registry.json @@ -6,8 +6,11 @@ "hermes_id": "athena-operator", "name": "Athena Operator", "description": "Zentrale administrative Schnittstelle für Athena. Beginne mit athena_operator_inspect(subject=guide). Verwaltet Docker, Modelle, MCPs, Git und Backups; Stromversorgung und Remote-Erreichbarkeit bleiben blockiert.", - "url": "http://mcp-athena-operator:8000/mcp", + "url": "http://192.168.1.2:8787/mcp/athena-operator", "clients": ["hermes", "openwebui"], + "env_file": "/etc/mike-ai/mcphub-client.env", + "key_env": "MCPHUB_BEARER_TOKEN", + "auth_type": "bearer", "timeout": 900 }, { diff --git a/platform/mcphub/README.md b/platform/mcphub/README.md index 9e46eb5..b33c9a8 100644 --- a/platform/mcphub/README.md +++ b/platform/mcphub/README.md @@ -11,9 +11,11 @@ sie sich einen Docker-Container und ein Appdata-Backup teilen. vom Hub direkt weitergereicht. - Der Web-Adapter kann hier laufen; SearXNG/TinySearch dürfen getrennte Backend-Dienste bleiben. -- Athenas administrativer Operator ist hostgebunden. Vor dem Entfernen seines - alten Athena-Containers wird er durch einen SSH-basierten Operator im Hub - ersetzt. +- Athenas administrativer Operator ist hostgebunden und bleibt auf Athena. + MCPHub reicht den vorhandenen, nur über WireGuard erreichbaren HTTP-Endpunkt + `http://192.168.1.212:8202/mcp` als `/mcp/athena-operator` weiter. Dadurch + bleibt genau eine Operator-Instanz bestehen; im Hub liegt weder ein zweiter + Operator noch ein SSH-Schlüssel für Athena. ## Dauerhafte Daten @@ -62,8 +64,7 @@ read-only-Aufruf prüfen und erst danach Clients auf `http://UNRAID-IP:8787/mcp/{server}` umstellen. Der alte Athena-Container wird erst gestoppt, wenn Hermes und OpenWebUI nachweislich über MCPHub funktionieren. -Aktueller Stand: ARR, Deemix, Navidrome, GitHub, Home Assistant und MUA/Unraid -sind auf MCPHub produktiv und wurden über Hermes sowie OpenWebUI geprüft. Die -alten Athena-Container bleiben vorläufig als ausgeschaltetes beziehungsweise -abschaltbares Rückfallnetz bestehen. Web-Adapter und Athena Operator sind die -letzten beiden Migrationspunkte. +Aktueller Stand: Athena Operator, ARR, Deemix, Navidrome, GitHub, Home Assistant +und MUA/Unraid sind auf MCPHub registriert. Alte portable Athena-MCP-Container +bleiben vorläufig als ausgeschaltetes Rückfallnetz bestehen. Der Web-Adapter +ist der letzte noch offene Migrationspunkt. diff --git a/platform/mcphub/configure-settings.py b/platform/mcphub/configure-settings.py index 58aa876..d2f096c 100644 --- a/platform/mcphub/configure-settings.py +++ b/platform/mcphub/configure-settings.py @@ -56,6 +56,12 @@ def main() -> None: mua = env_file(mua_path) servers: dict[str, object] = { + "athena-operator": { + "type": "streamable-http", + "url": "http://192.168.1.212:8202/mcp", + "owner": "admin", + "enabled": True, + }, "arr": { "type": "stdio", "command": "/usr/local/bin/run-with-env", diff --git a/platform/mcphub/mcp-settings.example.json b/platform/mcphub/mcp-settings.example.json index dde65cd..2bbe02b 100644 --- a/platform/mcphub/mcp-settings.example.json +++ b/platform/mcphub/mcp-settings.example.json @@ -1,5 +1,11 @@ { "mcpServers": { + "athena-operator": { + "type": "streamable-http", + "url": "http://ATHENA-VPN-IP:8202/mcp", + "owner": "admin", + "enabled": true + }, "arr": { "type": "stdio", "command": "/usr/local/bin/run-with-env",