Tuya MCP Server

by cabra-lat

Integrations

  • Uses Python packages for interacting with Tuya smart devices, allowing control of device states, color settings, brightness, temperature, and modes through a command-line interface.

トゥヤクトル

このプロジェクトは、Tuyaデバイスを制御するためのコマンドラインインターフェース( tuyactl )を提供します。これは別のTuyaサーバーと連携します(より良い方法をまだ考えています)。

要件

  • **uv:**高速でモダンなPythonパッケージインストーラー兼ランナーです。uvドキュメントサイトの指示に従ってインストールしてください。
  • Tuya ローカルキー: Tuyaデバイスにはローカルキーが必要です。tinytuyaセットアップウィザードに従って取得してください。

クイックスタート

  1. uvをインストールします:UVドキュメントサイトにある公式インストール手順に従ってください。推奨される方法は、スタンドアロンインストーラーを使用することです。スタンドアロンインストーラーは、以下のコマンドでダウンロードして実行できます。
    curl -LsSf https://astral.sh/uv/install.sh | sh
  2. Tuya ローカル キーを入手します。tinytuya セットアップウィザードに従って、Tuya デバイスのローカルキーを取得します。作成されたsnapshot.jsonファイルをホームディレクトリ ( ~ ) に配置します。このファイルの場所は、環境変数を使用してカスタマイズできます (下記参照)。
  3. サーバーを実行します。
    nohup tuyad > tuyad.log 2>&1 &
  4. tuyactlを実行します:利用可能なコマンドとオプションを確認するには、次のコマンドを実行します。
    tuyactl --help
    特定のコマンドを実行するには、次の構文を使用します。
    tuyactl <command> [options]
    <command> 、使用可能なコマンドのいずれかに置き換えてください: listonoffcolorbrightnesstemperaturemodemusic 。各コマンドで使用可能なオプションを確認するには、 -- helpオプションを使用してください。たとえば、すべての Tuya デバイスを一覧表示するには、次のコマンドを実行します。
    tuyactl list

構成

  • **snapshot.json場所:**環境変数を使用して、 snapshot.jsonファイル (Tuya デバイス キーを含む) の場所をカスタマイズできます。(詳細は後日追加されます)。
-
security - not tested
A
license - permissive license
-
quality - not tested

local-only server

The server can only run on the client's local machine because it depends on local resources.

カスタム URI スキームを備えたメモ ストレージ システムを提供し、Tuya デバイスにメモを追加したり概要を生成したりするためのツールが含まれています。

  1. Requirements
    1. Quick Start
      1. Configuration

        Related MCP Servers

        • -
          security
          F
          license
          -
          quality
          Facilitates note storage and summarization through custom URIs, allowing users to manage, summarize, and update notes with varying detail levels in a collaborative environment.
          Last updated -
          Python
          • Apple
        • -
          security
          F
          license
          -
          quality
          Facilitates initiating Ollama queries via Claude and manages a simple note storage system with capabilities to add, summarize, and access notes using custom URIs.
          Last updated -
          1
          2
          Python
          • Apple
        • A
          security
          F
          license
          A
          quality
          This server provides a note storage system with a custom URI scheme, allowing users to add and summarize notes, with adjustable summary detail levels.
          Last updated -
          1
          Python
          • Apple
        • A
          security
          F
          license
          A
          quality
          This server enables users to store, manage, and summarize notes using a custom URI scheme, with functionality to add new notes and generate summaries with varying levels of detail.
          Last updated -
          3
          Python
          • Apple

        View all related MCP servers

        ID: wilsdjn1df