Files
lg-smtv-mcp/docs/adr/0002-llm-free-mcp-server-with-composite-tools.md
kiskaadee 1ab5246fbf
Core Architecture & Invariant CI / validate (push) Successful in 15s
docs: reconcile M1 architecture, roadmap, ADRs, and design spec
- Add ARCHITECTURE.md documenting canonical present-state M1 topology, components, boundaries, and ADR index
- Add ROADMAP.md recording M1 (#1-#4) completion and M2 (#5, #11) trajectory
- Extract Alternatives A-E from docs/designs/lg-smtv-mcp.md into docs/adr/0001-0005 MADR records
- Update README.md milestone status (#1-#4 merged on main, #5/#11 in M2) and Documentation links
- Reconcile docs/designs/lg-smtv-mcp.md module statuses, FrameCapturer seam, and KeysResult/TextResult.image_bytes
2026-11-16 13:52:16 -05:00

1.3 KiB

ADR-0002: LLM-Free MCP Server with Composite Tools

  • Status: Accepted
  • Date: 2026-11-15
  • Deciders: kiskaadee

Context and Problem Statement

Vision-guided TV UI navigation requires multi-step button presses and screen inspection, which could either be orchestrated inside the MCP server via an embedded VLM loop or delegated to the calling MCP host.

Decision Outcome

Chosen option: "Keep lg-smtv-mcp strictly LLM-free and expose decision-model-friendly composite tools (keys(..., capture=True), type_text(..., capture=True), frame_sha256 / changed_since_last)", because it decouples a local hardware driver from external LLM/VLM SDKs, API keys, and prompt logic while still minimizing round-trips.

Consequences

  • Positive: Zero model dependencies or outbound API keys in the daemon; deterministic tool behavior; host can skip redundant vision turns when changed_since_last is false.
  • Negative: Multi-step navigation loops must be driven by the MCP host/agent rather than a single natural-language tool call.

Alternatives Considered

  • In-server vision navigation sub-loop: Rejected because it couples the hardware control plane to external LLM/VLM providers, model selection, and prompt engineering.