1. Conduid
  2. Science
  3. Lox
MCP server · Science

Lox

Rust CLI, TUI and MCP server for Loxone Miniservers: control, live state streams, statistics, energy flow, OpenTelemetry, git-versioned backups and a config-as-code language (Lox Logic).

46Fair

Scored 21 hours ago · breakdown

About Lox

Lox is an MCP server published by discostu105 in the Science category: rust CLI, TUI and MCP server for Loxone Miniservers: control, live state streams, statistics, energy flow, OpenTelemetry, git-versioned backups and a config-as-code language (Lox Logic). Conduid read 38 tools from its source: access_check, access_log, alarm, assign_nfc_tag, blind, config_push_dry_run and 32 more. No package is published for it, so it installs from a source checkout.

The repository has 41 stars and 5 forks, and its last commit was on 25 Nov 2026. Conduid has no tagged release on record for it. Its topics include cli, loxone, loxone-config, loxone-miniserver and tui.

Install

From source
git clone https://github.com/discostu105/lox

Tools (38)

access_checkWhy may (or may not) a user open an NFC Code Touch? Checks the live user against the access rights in the Loxone Config program. Verdict per Code Touch: granted, no-access-right, no-credential, user-disabled or unknown-full-access. Warnings flag where the program file and the live state disagree.
access_logAccess log of an NFC Code Touch: who opened when with which NFC tag, code or the app, and denied attempts. Returns the newest entries, oldest first, in local time.
alarmArm, arm in home mode, disarm, or acknowledge (quit) the burglar alarm. All but quit are high-risk: the user is asked to confirm.
assign_nfc_tagPair an NFC tag (ID from learn_nfc_tag) with a user under a name. Refuses a tag the user has already. The change may live only in the Miniserver's custom changes until Loxone Config saves the program. High-risk: the user is asked to confirm.
blindMove a blind/shade (Jalousie). 'up'/'down' travel all the way to the end position (FullUp/FullDown), 'stop' stops it. Position and slats are 0-100 where 100 is fully closed/down. 'shade' starts automatic shading.
config_push_dry_runPrepare a push of the project without uploading: download the live config, check for drift, custom changes, user changes and rules changed in the app, compile against it and stage the upload ZIP. Returns what the push would change and why it would refuse. The upload itself is for the user to run (`lox config push --force`); this tool never uploads. Keeps the downloads and the staged ZIP in the project's backups/ folder.
config_syncDo the project and the Miniserver agree, as right after a verified push? Checks that the live config is the base, the module compiles to the base without changing the lockfile, and the Automatic Designer's rules did not change since the last push. As `lox config sync`; exit code 1 when a check fails. Downloads the config (read-only FTP).
doorLock, unlock or open a door lock. High-risk: the user is asked to confirm.
gateOpen, close or stop a gate or garage door. open and close are high-risk: the user is asked to confirm.
get_controlRead the live state of one control: main value, state attributes such as blind position, and named outputs.
get_energy_flowThe house's energy flow now: production (PV), consumption, grid import/export, battery charge/discharge and state of charge, per energy flow monitor node. With `top`, also the meters ranked by current power.
get_userOne user's details: state and validity, groups, NFC tags (name and ID) and the number of access codes (the codes themselves are stored hashed).
get_wiringWhy does a control behave the way it does? Shows the Loxone Config logic around a control or logic block: what feeds its inputs and outputs, and its non-default parameters. `trace` follows the path up to the sensors or down to the actuators. `live` adds the current value on each wire where one is streamed. Read-only.
hw_statusCompare the devices the Miniserver reports (Tree, Air, extensions, network and 1-Wire devices) with the hardware in the Loxone Config program. Status per device: serial-changed (replaced: same name, other serial), missing (in the program, not reported), not-in-program, offline, ok. Read-only.
learn_nfc_tagRead an NFC tag's ID at an NFC Code Touch. Before calling, tell the user to have the tag or unlocked phone ready to hold to the reader. It waits timeout_secs (default 60). Returns the ID and, for a known tag, its name and user. A tag that is already paired opens the door instead. Pair it with assign_nfc_tag. A secured Code Touch needs LOX_VISU_PASSWORD or visu_password_file. Never ask the user for it. High-risk: the user is asked to confirm.
lightChange a light: switch a lighting controller's mood (plus, minus, off, or a mood ID from list_light_moods), dim a dimmer (0-100), or set a color (#RRGGBB, hsv(h,s,v), or temp(brightness,kelvin)) on a color picker.
list_controlsList controls (lights, blinds, switches, sensors, …) with type, room, category and UUID. Filters are case-insensitive substrings and can be combined. Each control names the `tool` that operates it.
list_light_moodsList the moods (scenes) of a lighting controller with their numeric IDs, for use with the `light` tool (action=mood).
list_roomsList all rooms of the Loxone installation with the number of controls in each.
list_scenesList the user's lox scenes (named multi-step command sequences) for `run_scene`.
list_sensorsCurrent readings of sensors: temperature, door/window contacts, motion/presence, smoke, or energy meters.
list_usersList the Miniserver's users with their state (enabled, disabled, enabled until/from …) and admin flag. Needs a connection user with the right to manage users.
logic_checkConfig as code: check the project's Lox Logic module for errors (syntax, references, block types, ports, wire directions), as `lox logic check --json`. No base config needed. Read-only.
logic_compileCompile the project's module into its base, writing the config and a copy of the lockfile to a scratch directory: the project stays as it is. Returns the compile's report, the scratch config's path (`out`) and the diff from the base to it. Nothing goes to the Miniserver.
logic_coverageHow much of the project's config the module manages: objects per type as managed, extern or untouched, whether Lox Logic can manage each type, and the blocks it could adopt next. Read-only.
logic_decompilePrint a .Loxone config as Lox Logic, one `page` section per page, for reading. `managed_only` shows only the blocks the module manages. Read-only.
logic_diffWhat changed between two .Loxone configs: objects, parameters, rooms, categories, schedules, wires, users and access rights (codes as hashes). As `lox logic diff --json`; exit code 1 when they differ. Read-only.
logic_driftDid a config change since the project's last compile (saved from Loxone Config or the app)? Exit code 0 in sync, 1 on drift. Checks the project's base unless `config` names another file, such as a fresh download. Read-only.
logic_lintUnused and dead parts of the project's module: unused externs and constants, values outside a port's range, blocks whose outputs feed nothing, Touch Pure Flex commands that reach no block, users whose tag opens no door. Exit code 1 on findings. Read-only.
logic_testRun the test scenarios of the project's module in the built-in simulator. The module is compiled in memory and nothing is written. Exit code 1 when a test fails.
logic_typesThe block types Lox Logic can create. Without arguments one line per type; `search` filters by name or purpose; `type` gives one type's purpose, documentation page and ports (direction, unit, range, default). Read-only.
remove_nfc_tagRemove one of a user's NFC tags, by ID or name. The change may live only in the Miniserver's custom changes until Loxone Config saves the program. High-risk: the user is asked to confirm.
run_sceneRun one of the user's lox scenes (see list_scenes). Steps run in order with their configured delays; progress is reported per step and the run stops when the request is cancelled.
send_commandSend a raw Loxone command string to a control (/jdev/sps/io/{uuid}/{command}), e.g. 'on', 'FullUp', 'setComfortTemperature/21'. Prefer the typed tools.
set_access_codeSet a user's access code for NFC Code Touch keypads (2-8 digits), replacing the current one. The code never appears in results or errors. Fails with code_in_use when another user has it. The change may live only in the Miniserver's custom changes until Loxone Config saves the program. High-risk: the user is asked to confirm.
switchTurn a control on or off, or send a pulse (push-button). Works for switches, lighting controllers and most digital controls.
system_statusMiniserver firmware version, PLC state and memory usage.
thermostatSet a room controller: comfort temperature (temp, °C), operating mode (mode: auto, auto-heat, auto-cool, manual, manual-heat, manual-cool), or a temporary override temperature (override, °C, for `minutes`, default 60).

Security checks

6 checks have not been run yet.

Questions

About Lox

How do I install Lox?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Lox safe to use with an AI agent?

Its trust score is 46 out of 100 (fair). Conduid hasn't run static security checks on this repository yet, so review the source yourself before granting it credentials. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Lox still maintained?

Yes — the last commit was 7 days ago. The repository has 41 stars and 5 forks.

What tools does Lox provide?

Conduid read 38 tools from the source: access_check, access_log, alarm, assign_nfc_tag, blind, config_push_dry_run, config_sync, door and 30 more.