HomeLab MCP
# HomeLab MCP v1.0
Integra Home Assistant, Frigate, Docker y Proxmox por STDIO.
## Instalación
```bash
cd /Users/victortg/Projects
mv homelab-mcp homelab-mcp-backup
unzip ~/Downloads/homelab-mcp-v1.0.zip
mv homelab-mcp-v1.0 homelab-mcp
cd homelab-mcp
uv sync
```
## Configuración MCP
Comando:
```text
/opt/homebrew/bin/uv
```
Argumentos:
```text
--directory
/Users/victortg/Projects/homelab-mcp
run
python
-m
homelab_mcp.server
```
Copia las variables de `.env.example` a la configuración del cliente MCP.
## Escrituras
Requieren:
1. `ENABLE_WRITES=true`
2. Recurso en `DOCKER_ALLOWED_CONTAINERS` o `PVE_ALLOWED_VMIDS`
3. Parámetro `confirm` igual a `WRITE_CONFIRMATION`
Empieza con `ENABLE_WRITES=false`, prueba las lecturas y luego activa las acciones.
## Docker remoto
Ejemplos:
```text
DOCKER_HOST=unix:///var/run/docker.sock
DOCKER_HOST=ssh://root@192.168.3.17
```
Verifica antes:
```bash
docker -H ssh://root@192.168.3.17 ps
```
## Seguridad
No pegues tokens en chats. Revoca cualquier token previamente publicado.
TDQS
Scored across 26 tools
Tools are grouped into clear subsystems with distinct actions per resource, so an agent can generally tell them apart. The only minor overlap is ha_call_service versus ha_turn_on/ha_turn_off, but the descriptions clarify the direct vs generic path.
Names consistently use lowercase snake_case with domain prefixes like pve_, ha_, frigate_, and docker_. Most follow a verb_noun pattern, but a few noun-only endpoints such as pve_nodes, frigate_stats, and ha_error_log are slight deviations.
26 tools is above the typical well-scoped range, but the server covers four distinct subsystems: Proxmox, Home Assistant, Frigate, and Docker. Each area has a focused set of operational tools, so the count feels justified rather than bloated.
The tool surface covers the main operational workflows for all four domains: guest lifecycle, container control, Home Assistant state/service/automation, and Frigate monitoring. Some advanced operations like Docker inspect or Proxmox guest creation are absent, but core homelab management is well covered.