tuya_configure
Configure Tuya Smart Home API credentials, cloud region, and device IDs to enable controlling Tuya devices through an MCP server.
Instructions
Configure Tuya Smart Home credentials. Get these from the Tuya IoT Platform (iot.tuya.com).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"clientId": "<clientId>",
"clientSecret": "<clientSecret>",
"region": "<region>",
"deviceIds": "<deviceIds>"
},
"name": "tuya_configure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| region | Yes | Tuya cloud region | |
| clientId | Yes | Tuya API client ID | |
| deviceIds | Yes | Array of Tuya device IDs to control | |
| clientSecret | Yes | Tuya API client secret |