Home MCP: two-tool service-status starter
Anjelo Fernando / Analog Array
Guide: https://blog.analogarray.org/the-lab/home-mcp-server/

This standalone example exposes home_status and home_get_service_status.
It does not include the private Spend Tracker application or financial tools.
It uses the same HomeAdapter implementation as the Home MCP build.

Requirements: Linux with systemd, Python 3.12, python3-venv, iproute2.
Install: python3 -m venv .venv
         .venv/bin/python -m pip install -r requirements.txt
Edit services.json to match the actual unit names and ports on your host.
Run:     .venv/bin/python server.py
Test:    .venv/bin/python client.py list
         .venv/bin/python client.py home_status
         .venv/bin/python client.py home_get_service_status '{"service_id":"ssh"}'

The HTTP endpoint is http://127.0.0.1:8001/mcp and has no client authentication.
Keep it on a trusted host; do not expose it through a public proxy or tunnel.
For a subprocess client: .venv/bin/python server.py --transport stdio
To avoid an existing server: use --port 8002 on both server.py and client.py.

All checks are passive. No service changes, bank syncs or network probes.
TCP listener presence does not prove process ownership or application health.
The server reports unknown when a check cannot be completed.
