A custom, scoped MCP channel for bidirectional communication between Home Assistant and the Friday container, replacing the existing broadly permissive HA MCP.


Problem

The Friday container runs Claude Code with --dangerously-skip-permissions. The current Home Assistant MCP gives full read/write access to everything in HA. That combination means Claude could control anything in the house without guardrails. We need a scoped replacement that lets Paul decide exactly what Friday can see and do.

Core Concept

Architecture

Event Flow (Inbound)

flowchart LR
    A["Home Assistant"] -->|WebSocket subscribe_trigger| B["MCP Channel Server"]
    B -->|channel tag| C["Claude Code (Friday)"]

Action Flow (Outbound)

flowchart LR
    C["Claude Code (Friday)"] -->|MCP tool call| B["MCP Channel Server"]
    B -->|call_service| A["Home Assistant"]