- Python 93%
- CSS 7%
home #
One MCP server for the house at https://home.zzstoatzz.io/mcp.
| Tools | What they do |
|---|---|
hue_* |
Philips Hue rooms, lights and scenes |
tv_* |
Fire TV over ADB: status, apps, YouTube playback |
show_home, show_media_picker |
the optional MCP App: room controls and verified media to play on the TV |
The app's buttons call the hue_* and tv_* tools in-process. Only the DIDs in
HOME_MCP_ALLOWED_DIDS can sign in.
For an app stuck on a blank screen, explicitly call tv_restart_app with its
installed package ID (YouTube TV is com.amazon.firetv.youtube.tv, distinct from
YouTube). This interrupts playback by force-stopping and relaunching that app,
without clearing data or sign-in. Read tv_read_status afterward and confirm the
picture recovered; an accepted command is not proof of visible playback.
Running #
heavypad runs home-mcp (the server, 127.0.0.1:8765) and home-mcp-tunnel
(Cloudflare tunnel for home.zzstoatzz.io) as systemd user services from
~/home-mcp/home. The units and the tunnel config are in deploy/. Secrets
stay on heavypad in ~/.config/home-mcp/*.env; deploy/env/ lists the
variables each one needs.
just test # local tests
just deploy # pull on heavypad, sync, reinstall units, restart
just status # service state and the public endpoint
The device restart test is opt-in: with FIRE_TV_HOST and FIRE_TV_ADB_KEY
configured and YouTube TV already open, run
FIRE_TV_TEST_RESTART_PACKAGE=com.amazon.firetv.youtube.tv uv run pytest tests/test_fire_tv_device.py.
It interrupts that app and verifies a new process returns to the foreground.
Dependencies #
FastMCP is pinned to a commit with unreleased pieces this relies on: the
experimental AT Protocol provider, OAuthProxy callback hooks, and
FastMCPApp.ui(csp=). Move the pin to a release once those ship.