servers:
  - name: ha-mcp
    description: "Home Assistant MCP - smart home control via MCP"
    dockerImage: "ghcr.io/homeassistant-ai/ha-mcp:2.4"
    transport: STREAMABLE_HTTP
    containerPort: 3000
    # For mcpd-managed containers:
    command:
      - python
      - "-c"
      - "from ha_mcp.server import HomeAssistantSmartMCPServer; s = HomeAssistantSmartMCPServer(); s.mcp.run(transport='sse', host='0.0.0.0', port=3000)"
    # For connecting to an already-running instance (host.containers.internal for container-to-host):
    externalUrl: "http://host.containers.internal:8086/mcp"
    env:
      - name: HOMEASSISTANT_URL
        value: ""
      - name: HOMEASSISTANT_TOKEN
        valueFrom:
          secretRef:
            name: ha-secrets
            key: token

secrets:
  - name: ha-secrets
    data:
      token: "your-home-assistant-long-lived-access-token"

projects:
  - name: smart-home
    description: "Home automation project"
    servers:
      - ha-mcp
