Files
mcpctl/templates/home-assistant.yaml
Michal 4c2927a16e fix: HTTP health probes use container IP for internal network communication
mcpd and MCP containers share the mcp-servers Docker network. HTTP probes
must use the container's internal IP + containerPort instead of localhost
+ host-mapped port. Also extracts container IP from Docker inspect.

Updated home-assistant template to use ghcr.io/homeassistant-ai/ha-mcp
Docker image (SSE transport) instead of broken npm package.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 00:52:17 +00:00

23 lines
759 B
YAML

name: home-assistant
version: "1.0.0"
description: Home Assistant MCP server for smart home control and entity management
dockerImage: "ghcr.io/homeassistant-ai/ha-mcp:latest"
transport: SSE
containerPort: 8086
repositoryUrl: https://github.com/homeassistant-ai/ha-mcp
command:
- python
- -c
- "from ha_mcp.server import HomeAssistantSmartMCPServer; s = HomeAssistantSmartMCPServer(); s.mcp.run(transport='sse', host='0.0.0.0', port=8086)"
healthCheck:
tool: ha_search_entities
arguments:
query: "light"
env:
- name: HOMEASSISTANT_URL
description: Home Assistant instance URL (e.g. http://homeassistant.local:8123)
required: true
- name: HOMEASSISTANT_TOKEN
description: Home Assistant long-lived access token
required: true