A Go MCP server that connects Claude to my smart home and media stack: Home Assistant for everything physical, Sonarr and Radarr for the media library, and Frigate for the cameras.
It runs on my NAS and exposes itself to Claude over a Cloudflare
Tunnel with Cloudflare Access in front. The server creates (or reuses) the
tunnel via the API at startup, runs cloudflared as a subprocess, and
validates JWTs from Access on every request.
What's wired up
- Home Assistant: entity states, logbook events, calling services, managing automations, debugging traces.
- Lists: manage Home Assistant to-do lists.
- Media: search and queue movies (Radarr) and TV (Sonarr).
- Frigate NVR: list cameras, fetch live snapshots, query detection events.
Why
I wanted "Claude, turn off the porch light" to actually work, end to end, from chat. I also wanted Claude to directly write home automation scripts and talk to Frigate.
Status
Running! Code is at nabkey/mcp-home