yandex-iot-mcp

v0.1.1
yandex-iot-mcp Checked 5 hours ago Published 5 months ago

MCP server for the Yandex Smart Home (IoT) API: list and control devices, run scenarios, power-cycle smart sockets

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_devices

List all Smart Home devices: IDs, names, rooms, capabilities, sensors. Device IDs returned here are what every other tool takes as device_id. Online/offline status is not included; use get_device for that.

get_device

Get the full current state of one device, including online/offline. device_id: UUID from list_devices.

ParameterTypeDescription
device_id *string

list_groups

List device groups (as configured in the Yandex Home app).

turn_on

Turn a device on (sockets, lights, switches...). device_id: UUID from list_devices; device must have the on_off capability.

ParameterTypeDescription
device_id *string

turn_off

Turn a device off (sockets, lights, switches...). device_id: UUID from list_devices; device must have the on_off capability.

ParameterTypeDescription
device_id *string

power_cycle

Turn a device off, wait, then turn it back on. Hard-resets equipment plugged into a smart socket (routers, servers...). device_id: UUID from list_devices; device must have the on_off capability. The turn-on step is retried several times; if it still fails, the device is left POWERED OFF and the error says so — recover with turn_on.

ParameterTypeDescription
device_id *string
off_secondsintegerHow long to keep power off (1-300 s)

device_action

Send an arbitrary capability action to a device. device_id: UUID from list_devices. capability_type: e.g. devices.capabilities.on_off, .range, .mode, .toggle, .color_setting. instance: capability instance, e.g. "on", "brightness", "temperature". value: JSON-encoded value, e.g. "true", "50", "\"eco\""; for color_setting rgb use an integer like "16711680".

ParameterTypeDescription
capability_type *string
device_id *string
instance *string
value *string

list_scenarios

List Smart Home scenarios (IDs usable with run_scenario).

run_scenario

Run (activate) a Smart Home scenario. scenario_id: ID from list_scenarios.

ParameterTypeDescription
scenario_id *string