mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-06 19:01:54 +00:00
The first MCP server role: where the agent roles consume tools, this one offers them. Its services.mcp block declares an internal streamable-HTTP endpoint gated on an agent being deployed, so the surface only exists when something can use it, and it stays read-only because a privileged auth subject must not carry mutating tools. Home Assistant rejects any request carrying X-Forwarded-For from an undeclared proxy, answering 400 for every call behind the platform's reverse proxy. The role therefore renders a configuration.yaml that trusts the stack subnet, keeping default_config so mounting the file does not drop the integrations Home Assistant generates on first start. As a shared_net provider its compose file references its own network as external, which nothing creates in compose mode, so the role pre-creates it the way prometheus, minio and seaweedfs already do. The vhost declares status_codes [200, 302, 405] because the health probe sends HEAD and the hub answers 405. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
6 lines
137 B
YAML
6 lines
137 B
YAML
---
|
|
- include_tasks: 00_core.yml
|
|
when: run_once_web_app_homeassistant is not defined
|
|
vars:
|
|
application_id: web-app-homeassistant
|