AM 

avrabe/mcp-loxone 是从 https://github.com/avrabe/mcp-loxone. 导入的 MCP 服务器候选。
概览
avrabe/mcp-loxone 是从 https://github.com/avrabe/mcp-loxone. 导入的 MCP 服务器候选。
概述(AI 翻译)
通过模型上下文协议控制您的Loxone智能家居
一个异步的Rust MCP服务器,将AI助手与Loxone迷你服务器连接起来。通过标准化的MCP工具和资源,控制灯光、百叶窗、气候、安全、音频等。
[!注] 基于 PulseEngine MCP 框架 v0.17.0 构建,用于标准化协议处理、认证和传输层。
特色
- 🔌 17 个 MCP 工具 — 控制灯具、百叶窗、暖通空调、安全、音频、门锁、对讲机和场景——全部连接到真实的 Miniserver 命令
- 📊 25+ MCP 资源 — 仅读访问房间、设备、传感器、能源、天气和系统状态,状态为实时状态
- 🚀 三种传输 — stdio(Claude 桌面)、HTTP/SSE(n8n,网页客户端)和可流式 HTTP
- 🔐 默认安全 — SSL验证开启,UUID验证,速率限制,输入净化,开发模式仅限于本地主机
- ⚡ 异步Rust — 连接池、智能缓存、批处理操作
- 🧊 Nix Flake — 可重复构建,集成 OpenClaw 插件
- 🔑 凭证管理 — 凭证ID系统、环境变量或Infisical保险库
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
An async Rust MCP server that connects AI assistants to Loxone Miniservers. Control lights, blinds, climate, security, audio, and more — all through standardized MCP tools and resources.
[!NOTE] Built on the PulseEngine MCP framework v0.17.0 for standardized protocol handling, authentication, and transport layers.
Features
- 🔌 17 MCP Tools — Control lights, blinds, HVAC, security, audio, door locks, intercoms, and scenes — all wired to real Miniserver commands
- 📊 25+ MCP Resources — Read-only access to rooms, devices, sensors, energy, weather, and system status with live state
- 🚀 Three Transports — stdio (Claude Desktop), HTTP/SSE (n8n, web clients), and Streamable HTTP
- 🔐 Security by Default — SSL verification on, UUID validation, rate limiting, input sanitization, dev-mode restricted to localhost
- ⚡ Async Rust — Connection pooling, intelligent caching, batch operations
- 🧊 Nix Flake — Reproducible builds with OpenClaw plugin integration
- 🔑 Credential Management — Credential ID system, environment variables, or Infisical vault
Quick Start
# Build
cargo build --release
# Setup credentials
cargo run --bin loxone-mcp-setup -- --generate-id --name "My Home"
# Run with Claude Desktop
cargo run --bin loxone-mcp-server -- stdio --credential-id
Installation
From Source
git clone https://github.com/avrabe/mcp-loxone
cd mcp-loxone
cargo build --release
Nix Flake
nix build github:avrabe/mcp-loxone
# Or run directly
nix run github:avrabe/mcp-loxone
Docker
docker build -t loxone-mcp .
docker run -e LOXONE_HOST=192.168.1.100 \
-e LOXONE_USER=admin \
-e LOXONE_PASS=secret \
-p 3001:3001 loxone-mcp
Configuration
Credential ID (Recommended)
# Interactive setup — generates a unique credential ID
cargo run --bin loxone-mcp-setup -- --generate-id --name "Main House"
# Or store manually
cargo run --bin loxone-mcp-auth -- store \
--name "Office" --host 192.168.1.100 \
--username admin --password secure123
# Manage credentials
cargo run --bin loxone-mcp-auth -- list
安装
docker run -e LOXONE_HOST=192.168.1.100 \配置
{
"mcpServers": {
"loxone": {
"command": "loxone-mcp-server",
"args": ["stdio", "--credential-id", "abc123def-456-789"]
}
}
}