Loxone Miniserver MCP
MCP server for Loxone Miniserver - expose smart-home rooms, controls, and commands to Claude and other AI assistants
README
loxone-mcp
An MCP (Model Context Protocol) server that connects AI assistants to a Loxone Miniserver smart home system.
Lets Claude (or any MCP-compatible AI) list rooms, query live sensor/actuator states, search devices, and send commands.
Features
list_rooms— all rooms with their controlslist_controls— all controls (name, type, UUID, room)find_control— keyword search across name/room/typeget_status— live sensor and actuator values (optional room filter)control_device— send commands (On/Off, dimmer %, blinds, HVAC, audio)
Requirements
- Loxone Miniserver with Cloud Connect enabled
- Node.js 20+ (or Docker)
Installation
npm
npm install -g @syntropic/loxone-mcp
Then run with environment variables set:
LOXONE_SERIAL=XXXXXXXXXXXX \
LOXONE_USER=admin \
LOXONE_PASS=yourpass \
MCP_API_KEY=$(openssl rand -hex 32) \
loxone-mcp
From source
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
The server listens on http://localhost:3000. The MCP endpoint is POST /mcp.
Docker
docker build -t loxone-mcp .
docker run -p 3000:3000 --env-file .env loxone-mcp
Configuration
| Variable | Required | Description |
|---|---|---|
LOXONE_SERIAL |
Yes | 12-char Miniserver serial (from Loxone Config → Miniserver) |
LOXONE_USER |
Yes | Miniserver username |
LOXONE_PASS |
Yes | Miniserver password |
MCP_API_KEY |
Yes | Bearer token for MCP endpoint auth (openssl rand -hex 32) |
PORT |
No | HTTP port (default: 3000) |
Connecting to Claude
Add to your Claude MCP configuration:
{
"mcpServers": {
"loxone": {
"url": "https://your-server/mcp",
"headers": {
"Authorization": "Bearer YOUR_MCP_API_KEY"
}
}
}
}
Supported commands by device type
| Type | Commands |
|---|---|
| Switch / Light | On, Off, pulse |
| Dimmer | On, Off, value/50 (0–100%), Up, Down |
| Jalousie (blinds) | Up, Down, Stop, FullUp, FullDown, shade |
| Gate | Open, Close, Stop |
HVAC (IRoomControllerV2) |
setComfortTemperature/21.5, override/1/22/3600 |
| AudioZone | play, pause, stop, volume/50 |
Architecture
- Stateless HTTP server — each POST /mcp creates a fresh transport (no session state)
- Loxone Cloud Connect: resolves current tunnel URL via
dns.loxonecloud.comon every request - Structure cache: Loxone app structure (
LoxAPP3.json) cached for 60 seconds
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.