Loxone Miniserver MCP
loxone-mcp
一个将 AI 助手连接到 Loxone Miniserver 智能家居系统的 MCP(模型上下文协议)服务器。
允许 Claude(或任何兼容 MCP 的 AI)列出房间、查询实时传感器/执行器状态、搜索设备并发送命令。
功能
list_rooms— 所有房间及其控件list_controls— 所有控件(名称、类型、UUID、房间)find_control— 跨名称/房间/类型的关键字搜索get_status— 实时传感器和执行器值(可选房间过滤器)control_device— 发送命令(开/关、调光百分比、百叶窗、暖通空调、音频)
Related MCP server: Loxone MCP Server
要求
已启用 Cloud Connect 的 Loxone Miniserver
Node.js 20+(或 Docker)
安装
npm
npm install -g @syntropic/loxone-mcp然后设置环境变量并运行:
LOXONE_SERIAL=XXXXXXXXXXXX \
LOXONE_USER=admin \
LOXONE_PASS=yourpass \
MCP_API_KEY=$(openssl rand -hex 32) \
loxone-mcp从源码安装
git clone https://github.com/syntropicsignal-ai/loxone-mcp.git
cd loxone-mcp
cp .env.example .env
# edit .env with your Miniserver serial, credentials, and a random API key
npm install
npm run build
npm start服务器监听 http://localhost:3000。MCP 端点为 POST /mcp。
Docker
docker build -t loxone-mcp .
docker run -p 3000:3000 --env-file .env loxone-mcp配置
变量 | 必需 | 描述 |
| 是 | 12 位 Miniserver 序列号(来自 Loxone Config → Miniserver) |
| 是 | Miniserver 用户名 |
| 是 | Miniserver 密码 |
| 是 | MCP 端点认证的 Bearer 令牌 ( |
| 否 | HTTP 端口(默认:3000) |
连接到 Claude
添加到您的 Claude MCP 配置中:
{
"mcpServers": {
"loxone": {
"url": "https://your-server/mcp",
"headers": {
"Authorization": "Bearer YOUR_MCP_API_KEY"
}
}
}
}按设备类型支持的命令
类型 | 命令 |
开关 / 灯光 |
|
调光器 |
|
百叶窗 (Jalousie) |
|
大门 |
|
暖通空调 ( |
|
音频区域 (AudioZone) |
|
架构
无状态 HTTP 服务器 — 每个 POST /mcp 都会创建一个新的传输(无会话状态)
Loxone Cloud Connect:在每次请求时通过
dns.loxonecloud.com解析当前的隧道 URL结构缓存:Loxone 应用结构 (
LoxAPP3.json) 缓存 60 秒
许可证
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Control a Loxone Miniserver smart home: lights, blinds, climate, scenes and energy.
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
MCP server unifying ERPs, CRMs, APIs and knowledge base for Claude, ChatGPT and Gemini.
Related MCP Servers
- AlicenseAqualityAmaintenanceMCP server for Home Assistant — 202 tools across 21 domains; full control of your smart home from Claude / Cursor / VS Code / any MCP client32315MIT
- AlicenseNot gradedqualityDmaintenanceEnables natural language control of Loxone smart home systems, including lighting, audio, climate, and environmental monitoring, through MCP-compatible clients.13 npm2AGPL 3.0
- AlicenseAqualityDmaintenanceAn unofficial MCP (Model Context Protocol) server that exposes a Vaillant heat pump's data to AI assistants like Claude. Query outdoor and room temperatures, hot water status, energy consumption, COP estimates, schedules, and diagnostics through natural conversation.4MIT
- AlicenseNot gradedqualityDmaintenanceA zero-dependency local proxy that provides a stable, headless connection to a Loxone Miniserver's MCP Server, enabling control and monitoring of Loxone smart home via natural language.3MIT