Files
lg-smtv-mcp/README.md
T
kiskaadee 1489d4e7da
Core Architecture & Invariant CI / validate (push) Successful in 16s
docs: reconcile Phase 1 design doc and README with AGENTS.md and main
- docs/designs/lg-smtv-mcp.md: update Phase 1 (#1-#5) and module table for ConfigError vs TvError separation, frozen Pydantic v2 TvConfig, single-sourced flake.nix deps, strict Pyright, Python 3.14 TID251, and nix flake check

- README.md: align setup stack and pre-commit hook description with flake.nix
2026-11-15 16:13:08 -05:00

25 lines
1.3 KiB
Markdown

# lg-smtv-mcp
Model Context Protocol (MCP) server for local network control of LG Smart TVs (webOS) over SSAP WebSockets, Wake-on-LAN, and optional Developer Mode SSH screenshot capture.
## Setup
```bash
nix develop
```
Provisions Python 3.14, `websockets`, `mcp`, `pydantic`, `asyncssh`, `uvicorn`, `httpx`, `pytest`, `ruff`, and `pyright` via [flake.nix](flake.nix), and configures `.githooks/` (`ruff check`, `ruff format --check`, `pyright`, `pytest`).
## Historical PoC & Empirical Notes
Initial feasibility probes and verified device findings (`65UR8750PSA` / `WebOS/4.1.0`) are archived in [`docs/poc/`](docs/poc/):
- [docs/poc/capabilities.md](docs/poc/capabilities.md) — Verified SSAP/DIAL endpoints, deep-link formats, `401` boundaries, and Developer Mode SSH screenshot pipeline.
- [docs/poc/crunchyroll-e2e-experiment.md](docs/poc/crunchyroll-e2e-experiment.md) — Timed end-to-end vision-loop experiment (Crunchyroll → *Attack on Titan* Ep 1) and latency findings.
- [docs/poc/discover.py](docs/poc/discover.py) — SSDP multicast probe (`--all` to list DIAL/DLNA/SSAP services and MAC address).
- [docs/poc/tv_test.py](docs/poc/tv_test.py) — One-shot SSAP pairing + command runner.
## Design & RFC
- [docs/designs/lg-smtv-mcp.md](docs/designs/lg-smtv-mcp.md) — Architecture RFC for the `lg-smtv-mcp` server.