A Model Context Protocol (MCP) server that lets AI assistants (Claude, ChatGPT, Copilot, Cursor, and more) control your Tuya / Smart Life smart home devices.
Mcp Server Tuya is an MCP project maintained in the juanmartinsantos/mcp-server-tuya repository. The maintainer describes its purpose as “A Model Context Protocol (MCP) server that lets AI assistants (Claude, ChatGPT, Copilot, Cursor, and more) control your Tuya / Smart Life smart home devices”. Read the project documentation for the complete scope.
The documented pypi package is mcp-server-tuya. The configuration below comes from the maintainer’s example; adapt its paths and account values to your environment.
The example declares TUYA_ACCESS_ID, TUYA_ACCESS_KEY, TUYA_API_ENDPOINT. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.
Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.
Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.
| Tool | What it does |
|---|---|
| tuya_list_devices | List all devices with IDs, names, categories, and online status |
| tuya_get_device_status | Get current device state (power, brightness, temperature, etc.) |
| tuya_get_device_info | Get detailed device info (model, firmware, capabilities) |
| tuya_turn_on_device | Turn on a device (supports multi-switch devices) |
| tuya_turn_off_device | Turn off a device (supports multi-switch devices) |
| tuya_toggle_device | Toggle device on/off |
| tuya_set_brightness | Set light brightness (0-1000) |
| tuya_set_color_temperature | Set color temperature: warm (0) to cool (1000) |
| tuya_set_color | Set RGB color using HSV values |
| tuya_send_command | Send any custom command to a device |
{
"mcpServers": {
"tuya": {
"command": "uvx",
"args": [
"mcp-server-tuya"
],
"env": {
"TUYA_ACCESS_ID": "your_access_id",
"TUYA_ACCESS_KEY": "YOUR_TUYA_ACCESS_KEY",
"TUYA_API_ENDPOINT": "https://openapi.tuyaeu.com"
}
}
}
}From the project documentation. Replace placeholders and example paths before connecting.
| Variable | Description | Required |
|---|---|---|
| TUYA_ACCESS_ID | Declared in the maintainer’s client configuration. | Yes |
| TUYA_ACCESS_KEY | Declared in the maintainer’s client configuration. | Yes |
| TUYA_API_ENDPOINT | Declared in the maintainer’s client configuration. | Optional |
Enables natural language interaction with Home Assistant entities using the Model Context Protocol.
Integrates with Home Assistant to provide smart home control capabilities via Model Context Protocol (MCP).
A Model Context Protocol (MCP) server that enables AI agents to interact with the 1NCE IoT connectivity management platform through natural language.
Agriculture Robotics tools for AI agents. Capabilities: robot safety check, spray plan calcu...
Amazon Alexa for Claude — Echo devices, announcements, routines, smart home, lists
Connect Claude, Cursor, Codex, and other AI tools to your robotics mission data.