Tuya MCP Server
トゥヤクトル
このプロジェクトは、Tuyaデバイスを制御するためのコマンドラインインターフェース( tuyactl )を提供します。これは別のTuyaサーバーと連携します(より良い方法をまだ考えています)。
要件
**uv:**高速でモダンなPythonパッケージインストーラー兼ランナーです。uvドキュメントサイトの指示に従ってインストールしてください。
Tuya ローカルキー: Tuyaデバイスにはローカルキーが必要です。tinytuyaセットアップウィザードに従って取得してください。
Related MCP server: Datetime MCP Server
クイックスタート
uvをインストールします:UVドキュメントサイトにある公式インストール手順に従ってください。推奨される方法は、スタンドアロンインストーラーを使用することです。スタンドアロンインストーラーは、以下のコマンドでダウンロードして実行できます。
curl -LsSf https://astral.sh/uv/install.sh | shTuya ローカル キーを入手します。
tinytuya セットアップウィザードに従って、Tuya デバイスのローカルキーを取得します。作成された
snapshot.jsonファイルをホームディレクトリ (~) に配置します。このファイルの場所は、環境変数を使用してカスタマイズできます (下記参照)。サーバーを実行します。
nohup tuyad > tuyad.log 2>&1 &tuyactlを実行します:利用可能なコマンドとオプションを確認するには、次のコマンドを実行します。
tuyactl --help特定のコマンドを実行するには、次の構文を使用します。
tuyactl <command> [options]<command>、使用可能なコマンドのいずれかに置き換えてください:list、on、off、color、brightness、temperature、mode、music。各コマンドで使用可能なオプションを確認するには、-- helpオプションを使用してください。たとえば、すべての Tuya デバイスを一覧表示するには、次のコマンドを実行します。
tuyactl list
構成
**
snapshot.json場所:**環境変数を使用して、snapshot.jsonファイル (Tuya デバイス キーを含む) の場所をカスタマイズできます。(詳細は後日追加されます)。
Related MCP Connectors
Google Keep-style notes app with an MCP server for AI agents to read/write notes.
Notes and actions in one app. Let Claude or ChatGPT read and update them.
Cross-session, cross-device memory for your agent: remember and recall notes. No key to start.
Persistent memory layer for AI tools. Save and recall notes across Claude and other MCP clients.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceFacilitates note storage and summarization through custom URIs, allowing users to manage, summarize, and update notes with varying detail levels in a collaborative environment.-
- FlicenseCqualityDmaintenanceThis 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.3-
- FlicenseCqualityNot gradedmaintenanceEnables creating and managing text notes with a simple note-taking system. Provides tools to create notes, access them via URIs, and generate summaries of all stored notes.41 npm-
- FlicenseBqualityDmaintenanceA simple note storage and management system that allows users to add, access, and summarize notes through a custom URI scheme. Supports creating summaries with configurable detail levels and provides real-time resource change notifications.4-