SMART HOME / HM-SH-059
HM-SH-059 · datasheet

mcp-server-tuya

Control Tuya / Smart Life devices via MCP

01 · What it does

  • 10 tools for complete device control (on/off, brightness, color, temperature, custom commands)
  • Device name resolution: use friendly names like "Living Room Light" instead of IDs
  • Intelligent caching: configurable TTL to reduce API calls
  • All Tuya regions: EU, US, CN, IN
  • Zero config files: credentials via environment variables

02 · Install

$ claude mcp add tuya -- uvx mcp-server-tuya
$ uvx mcp-server-tuya
$ pip install mcp-server-tuya
$ pip install git+https://github.com/juanmartinsantos/mcp-server-tuya.git

03 · Client config (Claude Desktop / Cursor, from README)

{
  "mcpServers": {
    "tuya": {
      "command": "uvx",
      "args": ["mcp-server-tuya"],
      "env": {
        "TUYA_ACCESS_ID": "your_access_id",
        "TUYA_ACCESS_KEY": "your_access_key",
        "TUYA_API_ENDPOINT": "https://openapi.tuyaeu.com"
      }
    }
  }
}

Commands copied from the project README. Placeholders are the maintainer's. Not bench-tested by HardwareMCP yet.

Weekly bulletin

New hardware MCP servers and setups that actually worked on a bench. One email, Fridays.