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.

图亚克特尔

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

要求

  • **uv:**一款快速且现代化的 Python 软件包安装程序和运行器。请按照uv 文档站点上的说明进行安装。
  • **Tuya 本地密钥:**您需要 Tuya 设备的本地密钥。请按照tinytuya 设置向导获取这些密钥。

快速入门

  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>替换为以下可用命令之一: listonoffcolorbrightnesstemperaturemodemusic 。使用-- help选项查看每个命令的可用选项。例如,要列出所有 Tuya 设备,请运行:
    tuyactl list

配置

  • **snapshot.json位置:**您可以使用环境变量自定义snapshot.json文件(包含您的涂鸦设备密钥)的位置。(详细信息稍后添加)。
-
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 方案的注释存储系统,并包含用于为涂鸦设备添加注释和生成摘要的工具。

  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