Skip to main content
Glama
cabra-lat

Tuya MCP Server

by cabra-lat

tuyactl

This project provides a command-line interface (tuyactl) for controlling Tuya devices. It interacts with a separate Tuya Server (I'm still thinking a better way of doing that).

Requirements

  • uv: A fast and modern Python package installer and runner. Install it by following the instructions on the uv documentation site.

  • Tuya Local Keys: You will need the local keys for your Tuya devices. Follow the tinytuya setup wizard to obtain these.

Related MCP server: Datetime MCP Server

Quick Start

  1. Install uv:

    Follow the official installation instructions on the uv documentation site. The recommended method is to use the standalone installer, which you can download and run with the following command:

    curl -LsSf https://astral.sh/uv/install.sh | sh
  2. Obtain Tuya Local Keys:

    Follow the tinytuya setup wizard to get the local keys for your Tuya devices. Place the resulting snapshot.json file in your home directory (~). You can customize the location of this file using environment variables (see below).

  3. Run the server:

    nohup tuyad > tuyad.log 2>&1 &
  4. Run tuyactl:

    To see the available commands and options, run:

    tuyactl --help

    To execute a specific command, use the following syntax:

    tuyactl <command> [options]

    Replace <command> with one of the available commands: list, on, off, color, brightness, temperature, mode, music. Use the -- help option to see the available options for each command.

    For example, to list all your Tuya devices, run:

    tuyactl list

Configuration

  • snapshot.json Location: You can customize the location of the snapshot.json file (containing your Tuya device keys) using environment va riables. (Details on this to be added later).

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