Tuya Smart Home
FreeNot checkedIntegrates with Tuya smart home devices using tinytuya, enabling control and monitoring for home automation scenarios like voice commands and energy optimizatio
About
Integrates with Tuya smart home devices using tinytuya, enabling control and monitoring for home automation scenarios like voice commands and energy optimization.
README
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.
Quick Start
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 | shObtain Tuya Local Keys:
Follow the tinytuya setup wizard to get the local keys for your Tuya devices. Place the resulting
snapshot.jsonfile in your home directory (~). You can customize the location of this file using environment variables (see below).Run the server:
nohup tuyad > tuyad.log 2>&1 &Run
tuyactl:To see the available commands and options, run:
tuyactl --helpTo 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-- helpoption to see the available options for each command.For example, to list all your Tuya devices, run:
tuyactl list
Configuration
snapshot.jsonLocation: You can customize the location of thesnapshot.jsonfile (containing your Tuya device keys) using environment va riables. (Details on this to be added later).
Installing Tuya Smart Home
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/cabra-lat/tuyactlFAQ
Is Tuya Smart Home MCP free?
Yes, Tuya Smart Home MCP is free — one-click install via Unyly at no cost.
Does Tuya Smart Home need an API key?
No, Tuya Smart Home runs without API keys or environment variables.
Is Tuya Smart Home hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Tuya Smart Home in Claude Desktop, Claude Code or Cursor?
Open Tuya Smart Home on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
GitHub
PRs, issues, code search, CI status
by GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
by mcpdotdirectCompare Tuya Smart Home with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs
