Supports containerized deployment of the MCP server through Docker, allowing for isolated and consistent execution environments.
Connects to a Home Assistant instance to control smart home devices, serving as a bridge between the MCP server and smart home endpoints.
Enables control of Xiaomi smart devices including the Mi Air Purifier 4 Lite and Xiaomi AI Speaker, with capabilities to manage power, modes, and other device-specific functions.
Jenius 支持的智能家居控制工具
Jenius 是由 天聚地合(苏州)科技股份有限公司 自主研发的 通用多智能体 AI Agent,通过深度融合多智能体协作架构与实时数据服务能力,致力于实现从 “需求理解” 到 “精准执行” 的全链路闭环。Jenius 独创 “数据+智能体+RPA” 三角引擎,依托天聚地合旗下聚合数据平台的海量资源与自研RPA技术,专注于解决复杂场景的深度服务需求,尤其在旅游行程规划、营销活动生成、报表分析等垂直领域展现惊艳的执行力。
项目结构
使用流程
搭建 Home Assistant 控制中心
我们建议使用 Home Assistant 作为连接MCP服务器和智能家居终端的桥梁。通过把智能家居设备接入 Home Assistant,并配置智能家居控制中心 URL 和密钥,即可快速实现 MCP 服务器对智能家居设备的远程控制。具体操作请参考以下文档:
配置环境
MCP 服务器环境配置:
Home Assistant 控制中心环境配置:
智能终端环境配置:
控制中心的URL YOUR_HOME_ASSISTANT_BASE_URL
和密钥 YOUR_HOME_ASSISTANT_API_KEY
可以参考 Home Assistant 搭建指南 的 第三 和 第四 部分获取。
安装 UV
uv
是一个 Python 环境管理工具,是 MCP 官方推荐的 Python 项目管理工具,安装方式见:
启动 MCP 服务器
如果没有安装依赖包,可进入项目根目录执行命令进行同步:
STDIO协议启动(默认):
可自由配置启动参数,例如:
客户端配置
可以使用例如 Cline
, Claude Desktop
等客户端方便地进行 MCP 服务器配置,配置案例如下:
已支持的终端
- 米家空气净化器4 Lite
- 小米AI音箱
米家空气净化器4 Lite 和 小米AI音箱 可通过在环境配置文件中简单替换您的设备实体标识符进行快速接入。设备实体标识符的获取请参考 Home Assistant 搭建指南 的 第四 部分。
- 智能插座 SmartHW MF287
智能插座 的配置可参考您设备的使用说明书。智能插座有其独立的IP地址和端口,可通过在环境配置文件中添加您的设备IP、端口等信息进行接入,同时根据您插座连接的家具类型修改MCP服务器的提示词内容和函数命名规则,以便大模型更好地理解并调用。
开源协议
This project is licensed under the Apache License 2.0.
A server that enables control of smart home devices through the Jenius AI agent system, connecting to Home Assistant to manage devices like Xiaomi air purifiers and smart speakers.
Related MCP Servers
- AsecurityAlicenseAqualityEnables AI assistants to control SwitchBot devices, providing functionalities like device management, scene execution, and sensor information monitoring through the SwitchBot API.Last updated -33JavaScriptISC License
- AsecurityAlicenseAqualityA server that enables interaction with Home Assistant devices and automations through the Model Context Protocol, allowing users to monitor device states, control devices, trigger automations, and list entities.Last updated -443JavaScriptMIT License
ThingsPanel MCPofficial
-securityAlicense-qualityAn integration server that connects AI models with ThingsPanel IoT platform, allowing AI assistants to interact with IoT devices through natural language for device control, data retrieval, and management operations.Last updated -32PythonApache 2.0- AsecurityAlicenseAqualityProvides tools for AI assistants to interact with smart home devices through Home Assistant, allowing operations like checking entity states and calling services.Last updated -31TypeScriptMIT License