Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

LG Washer Server

БесплатноНе проверен

Enables an AI assistant to monitor and control an LG ThinQ washing machine, including retrieving live status, profiles, and sending start/stop commands via LG's

GitHubEmbed

Описание

Enables an AI assistant to monitor and control an LG ThinQ washing machine, including retrieving live status, profiles, and sending start/stop commands via LG's ThinQ Connect API.

README

An MCP server that lets an AI assistant monitor and control an LG ThinQ washing machine through LG's official ThinQ Connect API.

It talks to the REST API directly over HTTP (no LG SDK). Your Personal Access Token (PAT) is used as a bearer token.

How the API works (the short version)

  • Auth: Authorization: Bearer <PAT>. No OAuth flow.
  • Region: your country code picks the server. India (IN) → https://api-kic.lgthinq.com.
  • Every request also sends x-country, x-client-id (a UUID4 you choose), x-api-key (a public key), x-message-id (fresh per request), x-service-phase: OP.
  • Endpoints: GET /devices, GET /devices/{id}/profile, GET /devices/{id}/state, POST /devices/{id}/control.

Tools exposed

Tool What it does
list_devices Find your washer's deviceId.
get_washer_profile See the controllable properties/values for your model.
get_washer_status Live state: running?, cycle, time remaining.
control_washer START / STOP / WAKE_UP.
control_washer_raw Send an arbitrary control JSON for model-specific properties.

⚠️ Most LG washers only accept a remote START when the machine is physically set to "Remote Start" with a cycle already loaded. The API resumes/starts a pre-selected cycle; it usually can't pick a wash program from scratch.

Setup

uv sync
cp .env.example .env   # then edit .env with your PAT

Run it

Configuration is read from environment variables (THINQ_PAT, THINQ_COUNTRY, THINQ_CLIENT_ID). The server speaks MCP over stdio.

THINQ_PAT=xxx THINQ_COUNTRY=IN uv run washer-mcp

Wire into Claude Desktop / Claude Code

Add to your MCP config (e.g. claude_desktop_config.json):

{
  "mcpServers": {
    "lg-washer": {
      "command": "uv",
      "args": ["--directory", "/Users/sushmanagaraj/c_drive/Coding/LG", "run", "washer-mcp"],
      "env": {
        "THINQ_PAT": "your-pat-here",
        "THINQ_COUNTRY": "IN",
        "THINQ_CLIENT_ID": "your-uuid4-here"
      }
    }
  }
}

For Claude Code specifically:

claude mcp add lg-washer --env THINQ_PAT=xxx --env THINQ_COUNTRY=IN -- uv --directory /Users/sushmanagaraj/c_drive/Coding/LG run washer-mcp

Quick manual test (no MCP client needed)

uv run python -c "import asyncio, os; from washer_mcp.thinq_client import ThinQClient; \
print(asyncio.run(ThinQClient(os.environ['THINQ_PAT'],'IN',os.environ.get('THINQ_CLIENT_ID','test-id')).list_devices()))"

from github.com/madhukeshm/lg-washer-mcp

Установка LG Washer Server

У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.

▸ github.com/madhukeshm/lg-washer-mcp

FAQ

LG Washer Server MCP бесплатный?

Да, LG Washer Server MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для LG Washer Server?

Нет, LG Washer Server работает без API-ключей и переменных окружения.

LG Washer Server — hosted или self-hosted?

Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.

Как установить LG Washer Server в Claude Desktop, Claude Code или Cursor?

Открой LG Washer Server на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Похожие MCP

Compare LG Washer Server with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории ai