kiskaadee a9421c30f7
Core Architecture & Invariant CI / validate (pull_request) Successful in 15s
test(server,ssap,cli): harden HTTP auth integration and remove tautological PERMISSIONS import
- Replace production PERMISSIONS import in test_ssap.py with explicit 16-item spec literal list
- Add test_server_http_app_allows_authenticated_mcp_initialize_request to verify Bearer auth and DNS-rebinding settings pass valid initialize calls to MCPServer
- Verify the ASGI app handed to uvicorn_run in test_cli.py rejects unauthenticated POST /mcp with 401
2026-11-15 22:59:03 -05:00
2026-11-14 21:23:53 -05:00

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

nix develop

Provisions Python 3.14, websockets, mcp, pydantic, asyncssh, uvicorn, httpx, pytest, ruff, and pyright via 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/:

Design & RFC

S
Description
In-development Python MCP server for persistent, local-network control of LG webOS Smart TVs through SSAP, with Wake-on-LAN, remote input, state tracking, and optional Developer Mode screenshots.
Readme Unlicense
832 KiB
0 Stars 1 Watchers 0 Forks
Languages
Python 99.1%
Nix 0.7%
Shell 0.2%