Skip to main content

ThinQ Connect MCP

Project description

Local Image

ThinQ Connect MCP Server (Beta)

This is the official MCP (Model Context Protocol) server for LG ThinQ devices. This server provides integrated control capabilities including status monitoring, device control, and profile information for various LG ThinQ devices, built on the LG ThinQ API and Python Open SDK. MCP connection method is stdio.

ThinQ Connect MCP Demo

Table of Contents

Features

  • Device List Query
    Retrieve a list of all registered LG ThinQ devices.

  • Device Status Monitoring
    Get real-time status information for specific devices.

  • Device Control
    Execute control commands defined in each device's profile.
    (e.g., turn air conditioner on/off, set temperature, etc.)

  • Device Control Capabilities Query
    Provide detailed information about controllable properties, methods information for each device.


Prerequisites

  1. Prepare a Personal Access Token for ThinQ Open API calls
  2. Verify your ThinQ account's country code. You can find it in the Country Codes section.
  3. Python 3.11 or higher
  4. Install uv - A fast Python package installer and resolver for Python projects
  5. MCP client (Claude Desktop, etc.)

Quick Start

Claude Desktop

Open up the configuration file, and add ThinQ Connect MCP config.

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "thinqconnect-mcp": {
      "command": "uvx",
      "args": [
        "thinqconnect-mcp"
      ],
      "env": {
          "THINQ_PAT": "your_personal_access_token_here",
          "THINQ_COUNTRY": "your_country_code_here"
      }
    }
  }
}

Detailed Usage

After setting up the configuration file as shown in the Quick Start section, you can use the ThinQ Connect MCP Server directly in your conversations with Claude.

Examples of prompts you can use:

  • "Please provide a list of all devices"
  • "Please check the status of the robot vacuum device"
  • "Please set the temperature of the air conditioner device to 24 degrees"

Tool Reference

Available Tools

  1. get_device_list

    • Description: Retrieves a list of all devices connected to the ThinQ Connect platform
    • Parameters: None
    • Returns: String containing connected device list information
  2. get_device_available_controls

    • Description: Retrieves available control commands and parameter information for a specific device
    • Parameters: device_type (string), device_id (string)
    • Returns: String containing device control commands and parameter information
  3. get_device_status

    • Description: Retrieves status information for a specific device
    • Parameters: device_id (string)
    • Returns: String containing device status information
  4. post_device_control

    • Description: Send control commands to a specific device on the ThinQ Connect platform to change its settings or state
    • Parameters: device_type (string), device_id (string), control_method (string), control_params (dict)
    • Returns: String containing device control result message

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

thinqconnect_mcp-0.0.4.tar.gz (18.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

thinqconnect_mcp-0.0.4-py3-none-any.whl (17.8 kB view details)

Uploaded Python 3

File details

Details for the file thinqconnect_mcp-0.0.4.tar.gz.

File metadata

  • Download URL: thinqconnect_mcp-0.0.4.tar.gz
  • Upload date:
  • Size: 18.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.9

File hashes

Hashes for thinqconnect_mcp-0.0.4.tar.gz
Algorithm Hash digest
SHA256 7621f512137f8c76412034466c329f8e6c6f8283ab9bd977bc8375909c18c522
MD5 a2942a7cc5b56336b13a01399a7e9213
BLAKE2b-256 4be8d6b58f1098abc0adf08546974d7385b86bb554ed1d3f49ec7d5849c44338

See more details on using hashes here.

File details

Details for the file thinqconnect_mcp-0.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for thinqconnect_mcp-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 a78f93a888db4a38bd6ae0fe46c49f6399913146f115165d54955d1d8aaa623a
MD5 c63cffcde9034a137454493f6710e02f
BLAKE2b-256 5664d837238d36f631c230dac588f9bdded965ba1a460b78f34913914d8b14c7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page