Moli OS — MCP server for Claude Code and Codex
A Rust home automation hub with MCP access that lets Claude Code and Codex agents operate a smart home across 24 integrations.
Install in Claude Code, Codex and SourceCraft
Manual install
git clone https://github.com/rudy-io/moli-os && cd moli-osThe first line of the README Run section. Then `docker compose up -d --build`; with an agent the `installer-moli` skill drives the installation.
Access and checks
How we reviewBroad access. The tool can change data, run commands or handle secrets.
- Agent commands operate real devices: cameras, heating and lights in an occupied home.
- The README does not describe MCP authentication, so an exposed port would grant access to home control.
This is third-party code. Review the repository files before installing.
What it does
Moli OS is a lightweight home automation system in Rust designed so that an AI agent configures and maintains devices while staying out of the control loop itself: the binary is deterministic. An agent connects over MCP (`http://<host>:8790/mcp`, streamable HTTP) or through REST and SSE on the same port. The hub ships 24 integrations, including Zigbee2MQTT, Hue, Sonos, Tuya, Reolink, Frigate, Philips TV, Bambu Lab, Klipper and Tapo, plus a web dashboard, a journal of every write and an encrypted secret store. An agent command in a protected room or during quiet hours becomes a request a human must approve. Automations written by an agent stay drafts until a human validates them. The repository includes an `installer-moli` skill that walks through installation.
Who it is for. Smart home owners who want an agent to handle device and scenario setup without giving it real-time control.
Good fit when
- The home has Zigbee lamps, Reolink cameras and printers that take long to configure.
- An agent draws the automation and it runs only after a manual check.
- A lightweight hub in a container using about 6 MB of memory is wanted instead of a heavy system.
- An agent must read room and sensor state over MCP.
- Protected rooms, such as a child's room, must be closed to agent commands without approval.
Not a fit when
- Compatibility with thousands of Home Assistant integrations is needed, while Moli has 24.
- The household has no Docker and no wish to read French documentation.
- An agent is to receive switches in protected rooms without approval.
Example request
Show the living room state over MCP and propose a lighting automation as a draft without activating it.MCP
- Transport
- http
- Authentication
- not required
Limitations
The project began as one family's home automation and is shared as is; the author promises no support. Core documentation is in French, while the interface is in French and English. Running it needs Docker, and the README does not describe MCP authentication, so expose port `8790` only on the home network. Device commands change a real home: cameras, heating and lights. The memory and CPU comparison with Home Assistant in the README comes from the author's measurements dated 4 October 2026.
How to disable. Stop the container with `docker compose down`, remove the MCP entry from the agent and close port `8790`. The `data/` directory holds configuration and secrets; wipe it once the hub is no longer needed.
FAQ
How do I connect an agent?
After the hub starts, point the MCP client at `http://<host>:8790/mcp`. To work on the code with an agent, open the repository in Claude Code; other agents read `AGENTS.md`.
What does room protection mean?
An agent command in a protected room or during quiet hours does not run at once: it becomes a request with status 202 that a human approves manually.
What does it take to run?
Docker Compose: `docker compose up -d --build`, then open `http://<host>:8790` and type the installation code from the container logs. Devices are added in `data/moli.toml`.
Does it replace Home Assistant?
It is an independent implementation with no Home Assistant code and 24 integrations. Import tools can read an existing Home Assistant installation.
What license does it use?
Apache-2.0. The author shares the project as is and promises no support, but welcomes issues and pull requests.
How do I install Moli OS?
Run git clone https://github.com/rudy-io/moli-os && cd moli-os in a terminal.
Discussion
No questions or reviews yet.
Comparison with similar tools
Cards that share the main search query, and how they differ.
| Tool | Official | Authentication | Repository stars | Main difference |
|---|---|---|---|---|
| Moli OS (this card) | no | not required | 140 | |
| homeassistant-mcp | no | API key | 573 | an MCP for an existing Home Assistant installation; Moli OS is a standalone hub with its own integrations |
| Home Assistant best practices | no | 1,021 | skills for working with Home Assistant; this is a separate Rust hub |
README in short
The hub is built so AI creates and explains while a deterministic engine executes. Every write is journaled and automations act only after a human validates the exact version.