The Home Assistant MCP provides AI assistants with direct control over smart home devices through the Home Assistant API. It enables searching for entities using natural language descriptions, controlling device states (on/off), and managing light colors and brightness levels. Built with Python and FastMCP, it securely handles authentication via long-lived access tokens and exposes three main tools: searching entities, controlling devices, and setting light colors. This implementation is particularly valuable for users wanting to control their smart home through conversational AI without leaving their assistant interface.
暂无评论. 成为第一个评论的人!
登录以参与讨论
Search for entities in your Home Assistant instance using natural language.
Control devices by turning them on or off.
Set the color of compatible lights using RGB values (0-255 for each component). Example: set_device_color('light.living_room', 255, 0, 0) for red.
Adjust the brightness of lights. This can be combined with color changes. Example: set_device_color('light.dining_room', 0, 0, 255, brightness=128) for medium-bright blue.