Restore own-instance MCP and media config and record scheduler limitation

This commit is contained in:
Mikei386 committed 2026-10-17 13:01:58 +02:00
1 parent 4a3c28b471
commit d44b6a680d
2 files changed
+99 -1

No files matched your search

@@ -83,7 +83,10 @@ stock entrypoint's default-workspace chown.
- Automatic approval had rejected transferring the stored password to the local
browser test; no workaround used. Operator login completed the acceptance.
No media, MCP or old memory migration is claimed. Scheduled background jobs need
At initial rebuild no media, MCP or old memory migration was performed. The
subsequent requested MCP/media setup and its limitations are recorded in
[own-instance MCP/media acceptance](OWN-INSTANCE-MEDIA-MCP-2026-10-17.md).
Scheduled background jobs need
the upstream gateway scheduler; this single WebUI process does not replace it.
## Restore
@@ -0,0 +1,95 @@
# Own-instance MCP and media configuration — 17 October 2026
Following the clean rebuild, the user explicitly requested restoring MCPs,
image generation, STT and TTS into the independent instance only.
## Data separation
The 20 MCP definitions were read once from the stopped old Agent's config and
copied through an in-memory pipe into the new config. Credential values were
handled internally, not printed, written into scripts, or committed. Any env
references were resolved from the old private env into the new own definition.
This is a one-time settings migration, not a runtime dependency. No old home,
source volume, gateway endpoint or runtime was mounted or connected.
Webtop SSH paths were rewritten to the **new instance's own key** and own pinned
known_hosts, not copied old keys. The mount inventory remains exactly own Hermes
home plus Webtop `/config`. The upstream config cache reloads changed config by
mtime, so the container did not require restart. Other services stayed untouched.
## MCP discovery acceptance
Hermes' actual `register_mcp_servers` performed discovery inside the new
container. No service-changing tools were called. Report: 1080 registered tools,
18 connected servers, one disabled and one failed.
Connected: Strato-MCP, HomeServer, deemix, navidrome, gitea, arr, HomeAssistant,
unifi, paperless, fritzbox-mcp, casadeprompt, nginx-proxy-manager, dispatcharr,
esphome, immich, syncthing-blade, emby-MCP, webtop-desktop.
`db-timetable` retains its pre-existing disabled state. `splicekit` retained its
configuration but connection failed. A separate TCP probe to its configured
Mac endpoint `192.168.1.179:9877` confirmed `ConnectionRefusedError`. No Mac
service was started or configuration changed to conceal this failure.
Discovery confirms authentication/tool schemas, not functional acceptance of
every individual tool. The local test connections were shut down at test end;
normal agent turns establish their own connections using the saved config.
## Native media providers
The new own Hermes config uses the existing Athena provider endpoint:
`http://192.168.1.212:8120/v1`. Live modality catalog queries confirmed:
- Image: `athena-image`, native `image_gen.provider=openai`, own Athena key_env.
- STT: `parakeet-redux-cpu`, native `stt.provider=openai`, enabled, language `de`.
- TTS: `omnivoice-studio`, native `tts.provider=openai`, voice `default`.
Audio provider api_key values are supported native private config fields and
were copied internally from the own Athena credential. No secrets are included
here. Official WebUI setting `raw_audio_mode=true` routes microphone audio to
server STT. LAN HTTP does not meet browser microphone secure-context requirements.
Real synthetic tests in the new container's Hermes runtime:
| Function | Observed result |
|---|---|
| TTS with explicit WAV output | Success, 30.06 s; 2.34 s audio |
| STT on that generated WAV | Success, 1.62 s; exact German test sentence |
| Native image provider | Success, 59.85 s; 1024x1024 blue-square test image |
| WebUI own-media serving | Authenticated browser displayed generated 1024x1024 image from own home |
| Default TTS output (MP3) | Failed with HTTP400; endpoint requests WAV/PCM |
| WebUI read-aloud URL validation | Rejected the configured LAN HTTP endpoint |
The TTS time includes integration/startup costs and is not a throughput benchmark.
Hermes defaults unspecified TTS output to MP3; this integration's verified
successful tool path uses an explicit `.wav` output path. The independent WebUI
read-aloud proxy rejects this LAN URL via upstream SSRF validation. No validation
bypass, relay, fake public URL, patched tool or invented output-format setting was
added. Do not claim the built-in read-aloud button fully works.
## Scheduler gap — explicitly still unresolved
The user observed the `Gateway not configured` banner after this migration.
The stock single-container entrypoint launches only the WebUI; it does not start
the gateway scheduler. This limitation was in the upstream guide and initial
rebuild note, but was not communicated clearly enough before deployment.
Chat/tool operation does not prove scheduled execution works.
The manufacturer recommends a separate gateway container. The guide also permits
running `hermes gateway` as a long-lived process inside the same container, but
the current stock Docker entrypoint provides no switch to start/supervise that
process automatically on every container boot. No ephemeral `docker exec -d`
process was started and presented as a durable fix. No old Agent was reactivated.
The user's simultaneous requirements of one container, stock startup and working
scheduling are not fulfilled by the current published image without additional
startup configuration or a different packaged image.
References:
- https://github.com/nesquena/hermes-webui/blob/master/docs/docker.md#scheduled-jobs-and-the-gateway-daemon
- https://github.com/nesquena/hermes-webui/blob/master/docker_init.bash
- https://github.com/NousResearch/hermes-agent/tree/7e9eb8d9a30f4a9bb9f8ecaf816b4b0ffdf47357
Private encrypted backup must include the new own home and private runtime env
as well as Webtop's existing home. The original stopped Agent is not a restore
dependency. A full restore drill was not performed in this change.