Skip to main content
Glama
Tuya MCP Server

Tuya MCP Server

by cabra-lat

图亚克特尔

该项目提供了一个用于控制涂鸦设备的命令行界面 ( tuyactl )。它与一个单独的涂鸦服务器进行交互(我仍在思考更好的实现方式)。

要求

  • **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. 获取涂鸦本地密钥:

    按照tinytuya 设置向导获取 Tuya 设备的本地密钥。将生成的snapshot.json文件放在您的主目录 ( ~ ) 中。您可以使用环境变量自定义此文件的位置(见下文)。

  3. 运行服务器:

    nohup tuyad > tuyad.log 2>&1 &
  4. 运行tuyactl :

    要查看可用的命令和选项,请运行:

    tuyactl --help

    要执行特定命令,请使用以下语法:

    tuyactl <command> [options]

    将<command>替换为以下可用命令之一: list 、 on 、 off 、 color 、 brightness 、 temperature 、 mode 、 music 。使用-- help选项查看每个命令的可用选项。

    例如,要列出所有 Tuya 设备,请运行:

    tuyactl list

配置

  • **snapshot.json位置:**您可以使用环境变量自定义snapshot.json文件(包含您的涂鸦设备密钥)的位置。(详细信息稍后添加)。

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    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
      -