Skip to main content
Glama
cabra-lat

Tuya MCP Server

by cabra-lat

トゥヤクトル

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

要件

  • **uv:**高速でモダンなPythonパッケージインストーラー兼ランナーです。uvドキュメントサイトの指示に従ってインストールしてください。

  • Tuya ローカルキー: Tuyaデバイスにはローカルキーが必要です。tinytuyaセットアップウィザードに従って取得してください。

Related MCP server: Datetime MCP Server

クイックスタート

  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 デバイス キーを含む) の場所をカスタマイズできます。(詳細は後日追加されます)。

A
license - permissive license
Not graded
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    C
    quality
    D
    maintenance
    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.
    3
  • F
    license
    B
    quality
    D
    maintenance
    A 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

View all related MCP servers

Related MCP Connectors

  • Cross-session, cross-device memory for your agent: remember and recall notes. No key to start.

  • AI access to your aNotepad online notes: read, search, write, and organize via 22 tools.

  • Markdown-based note-taking with a hosted MCP server. Your notes serve you and your AI.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/cabra-lat/tuyactl'

If you have feedback or need assistance with the MCP directory API, please join our Discord server