yandex-iot-mcp
MCP server for Yandex Smart Home with Alice: list devices, switch them on and off, power-cycle sockets and run scenarios
Install
claude mcp add yandex-iot --env YANDEX_IOT_TOKEN=<token> -- uvx yandex-iot-mcpRequires uv. Replace <token> with an OAuth token that has iot:view and iot:control.
This is third-party code. Review the repository files before installing.
What it does
The server connects an agent to the Yandex Smart Home IoT API using the user's OAuth token. The agent sees devices with rooms, types, capabilities and sensor readings, device groups and the full state of a single device, including whether it is online. It can turn sockets, lights and switches on or off and perform any device capability such as brightness, mode or color. A dedicated power-cycle tool switches a socket off, waits a set number of seconds and switches it back on. Scenarios from the Yandex Home app can be listed and triggered.
Who it is for. For Yandex Smart Home owners who want to control their devices from Claude Code or Claude Desktop.
Good fit when
- A frozen device behind a smart socket needs a hard restart from an agent chat
- You want sensor readings and a list of devices that are offline
- You want to trigger an Alice scenario as part of an automation
Not a fit when
- Your devices run on a platform other than Yandex Smart Home
- The agent must not be able to switch off physical equipment without confirmation
Example request
The router is frozen again, power-cycle the socket it is plugged into with a ten second pauseLimitations
You obtain the token yourself: create an app at oauth.yandex.ru with the iot:view and iot:control permissions and copy access_token from the address bar. The server can only do what the Yandex IoT API exposes and does not replace the Yandex Home app for adding devices. The project is young and maintained by one person.
How to disable. Run claude mcp remove yandex-iot or delete the yandex-iot block from the Claude Desktop config. The token can be revoked at oauth.yandex.ru.
MCP
- Transport
- stdio
- Authentication
- API key
| Environment variables | |
|---|---|
| YANDEX_IOT_TOKEN required, secret | Yandex OAuth token with iot:view and iot:control permissions |
Security check
- The agent can switch real devices and sockets on and off
- Running scenarios changes the home state without the user present
- The token grants full control of the smart home
README in short
The README lists the server tools: device and group lists, device state, on, off, socket power-cycle, arbitrary capability actions and scenarios. It walks through getting an OAuth token from Yandex. It gives a uvx command for Claude Code, a Claude Desktop config block and a way to run straight from the repository. The package is published on PyPI under the MIT license.
FAQ
Where do I get the token?
Create a web services app at oauth.yandex.ru with redirect URI https://oauth.yandex.ru/verification_code, grant the smart home permissions iot:view and iot:control, open the authorize link and copy access_token from the address bar.
Can I allow read access only?
The README uses both permissions. If the app only has iot:view, control calls will most likely be rejected by the API.
Related
An MCP server with n8n node and template knowledge: the agent picks nodes, validates configs and, with API access, creates workflows in your n8n
Zapier's official MCP plugin: the agent gets actions across thousands of apps through your Zapier account
Awesome Claude Skills by Composio
Awesome Claude Skills
A curated list of Claude skills and plugins, plus Composio's own automation skills for 78 SaaS apps
A plugin and CLI catalog for agents: generates command-line interfaces for GUI apps like GIMP and Blender and installs ready ones via CLI-Hub