acinfinity-mcp
The server is an MCP bridge to AC Infinity UIS grow controllers that lets AI clients read tent/room climate, monitor ports and automations, and change device settings through natural language after explicit user authorization.
Read controllers & sensors: list controllers with tent/ambient climate, VPD, per-port status, power, mode, and raw sensor readings.
Inspect port & device settings: decoded mode configuration (power, Auto/VPD triggers, timers, cycles, schedules) and raw/advanced settings for calibration, load type, etc.
View history & event logs: aggregate 1-minute sensor/port history, plus AI actions, alerts, and controller notices from the app's Logs tab.
Manage automations: list, decode, and rename Advance Automation programs/rules, and get raw rule/alarm objects.
Backup / compare / restore: save full controller configuration to JSON, list backups, diff against the device, and restore changed ports/rules.
Control ports: set mode, on/off power, countdown timers, cycling intervals, daily schedules, and Auto/VPD threshold triggers.
Rename ports: change the label shown in the AC Infinity app.
Writes are gated: every mutating tool requires
user_authorized: true, so the assistant must ask the user before touching a device.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@acinfinity-mcp What's the current temperature and humidity in my tent?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
acinfinity-mcp
MCP server for AC Infinity UIS grow controllers (Controller 69 Pro / Pro+, AI+, Outlet AI). Lets Claude Code, Claude Desktop, Codex or any other MCP client read your tent's climate and change port settings through natural language.
"How is the tent doing?" → 26.5 °C / 57 % / 1.49 kPa, exhaust fan at level 3 driven by automation Automatisierung 1 …
Uses the same unofficial cloud API as the AC Infinity app, so the controller must be connected to Wi‑Fi (Bluetooth-only models such as Controller 67 are not supported). Not affiliated with AC Infinity.
Status
Area | State |
Reading controllers, sensors, port settings, automations | ✅ verified live on a Controller AI+ (CTR89Q) and a 69 Pro |
History (1-min rows, ≥ 90 days) and event log | ✅ verified live, rate-limit aware |
Writing port modes / power / timers / triggers | ✅ verified live on the AI+ (mode + timer round trip); standard family follows the Home Assistant integration's proven path |
Backup / compare / restore of the whole configuration | ✅ ports and automation rules; controller record is reported, not written |
Renaming ports | ✅ verified live on the AI+ (ports with nothing plugged in are rejected by the controller) |
Writing advanced settings (calibration, load type, …) | ⚠️ implemented on both families exactly like the app does it (decompiled 2.0.8); not yet exercised on hardware |
API coverage | ✅ complete — all 179 endpoint declarations of the Android app are inventoried in |
Creating / editing automations | 🚧 in-place rule edits and enable/disable are wired (used by restore); create/delete next — see |
Related MCP server: bhyve-mcp
Tools
Tool | What it does |
| All controllers with |
| Decoded mode configuration of one port: on/off power, auto & VPD triggers, timers, cycle, schedule |
| Unmodified API object incl. advanced settings ( |
| Advanced settings (calibration, load type, dynamic response, …) |
| Sensor & port history (1-minute cloud rows, months of retention) aggregated to any resolution with min/avg/max |
| The app's Logs tab: AI control actions per port with reason, AI mode events, user actions, alerts, controller notices |
| Advance Automation programs: rules per port with mode, power, time window, days, thresholds — the real configuration on AI+ controllers |
| Unmodified automation rules + alarms |
| Save every port's mode settings, the controller record, all automation rules and alarms to a local JSON file |
| List saved backups; show every field that differs between a backup and the device now |
| Write a backup back (changed ports and automation rules), then re-read and report anything still different |
| Change the port label shown in the app |
| Rename an Advance Automation program (rewrites each of its rules in place) |
| Switch a port to Off / On / Auto / Timer / Cycle / Schedule / VPD / … |
| On/off power level 0–10 |
| Countdown to on / to off |
| Repeating on/off minutes |
| Daily HH:MM on/off window |
| Auto-mode temperature / humidity thresholds |
| VPD-mode thresholds |
Every set_* tool refuses to run unless it is called with user_authorized: true, so the assistant has to ask you
before touching a device.
Install
Requires Python ≥ 3.12 and uv.
uvx acinfinity-mcp # once published to PyPI
# or from a checkout:
uv run acinfinity-mcpCredentials are passed as environment variables — the e‑mail and password of your AC Infinity app account:
Variable | Required | Description |
| yes | App login e‑mail |
| yes | App password (only the first 25 characters are used — that's an API limitation) |
| no |
|
| no | Where |
Client configuration
Claude Code
claude mcp add acinfinity -e ACINFINITY_EMAIL=you@example.com -e ACINFINITY_PASSWORD=secret -- uvx acinfinity-mcpor in .mcp.json / ~/.claude.json:
{
"mcpServers": {
"acinfinity": {
"command": "uvx",
"args": ["acinfinity-mcp"],
"env": {
"ACINFINITY_EMAIL": "you@example.com",
"ACINFINITY_PASSWORD": "secret"
}
}
}
}Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or
%APPDATA%\Claude\claude_desktop_config.json (Windows). Use an absolute path to uvx if it is not on Claude's PATH.
{
"mcpServers": {
"acinfinity": {
"command": "uvx",
"args": ["acinfinity-mcp"],
"env": {
"ACINFINITY_EMAIL": "you@example.com",
"ACINFINITY_PASSWORD": "secret"
}
}
}
}OpenAI Codex
~/.codex/config.toml:
[mcp_servers.acinfinity]
command = "uvx"
args = ["acinfinity-mcp"]
[mcp_servers.acinfinity.env]
ACINFINITY_EMAIL = "you@example.com"
ACINFINITY_PASSWORD = "secret"Development
uv sync # deps into .venv
cp .env.example .env # local creds (git-ignored)
uv run --env-file .env acinfinity-mcp # run over stdio
uv run --env-file .env mcp dev src/acinfinity_mcp/server.py # MCP Inspector
uv run pytest # tests (no live API calls)
uv run ruff check . && uv run ruff format .The API is undocumented; everything known about it lives in docs/api/.
Writes are full read‑modify‑write round trips; standard and AI controllers use different endpoints
(see docs/api/endpoints.md).
Security
Your AC Infinity credentials only ever go to
www.acinfinityserver.com(the same host the app uses) and are never logged.Every mutating tool requires
user_authorized: true; the server never changes a device on its own initiative.Tool annotations mark reads as
readOnlyHintso clients can auto-approve them and prompt for writes.
Contributing
Issues and PRs are welcome — especially captures from other controller models (Outlet AI, 69 Pro+) and help
decoding the remaining sensorModeData fields. Run uv run pytest and uv run ruff check . before opening a PR;
never include real device ids, MAC addresses or account data in fixtures.
Credits
API knowledge reverse-engineered from dalinicus/homeassistant-acinfinity, ober37/ac-infinity-mcp and keithah/homebridge-acinfinity.
License
Available Tools
18 toolsbackup_settingsBackup settingsA
Save the complete configuration of a controller (every port's mode settings, the controller record, all Advance Automation rules and alarms) to a local JSON file. Nothing on the device changes. Do this before any set_* call; restore_settings undoes changes.
Inputs: controller_id (required), label. Returns: path, label, ports, backup_id, +4 more
compare_backupCompare backupARead-onlyIdempotent
Show every configuration field that differs between a backup and the device right now (per port and per automation rule), without changing anything. Use it after write experiments to verify the device is back in its original state.
Inputs: backup_id (required). Returns: changes, backup_id, new_rules, controller_id, +1 more
get_automations_rawGet raw automationsARead-onlyIdempotent
Unmodified Advance Automation rule objects (getGroups) plus alarms (getAlarms) for a controller, in API units. Use list_automations for the decoded view.
Inputs: controller_id (required). Returns: object
get_device_settingsGet advanced device settingsARead-onlyIdempotent
Return the advanced settings object (getDevSetting) for a port, or for the controller when
port=0: temperature unit, calibration offsets, load type, dynamic response, sunrise timer,
display options. Values are in API units. Works on both controller families; on AI
controllers the same data is also nested as devSetting in get_port_settings_raw.
Inputs: port (required), controller_id (required). Returns: object
get_port_settingsGet port settingsARead-onlyIdempotent
Get the mode configuration of one port: active mode, on/off power, auto temperature and humidity triggers (°C / %), VPD triggers (kPa), timer and cycle durations (minutes) and the schedule window (HH:MM). Units are already converted; nothing is scaled.
Inputs: port (required), controller_id (required). Returns: Decoded mode settings of one port (from getdevModeSettingList).
get_port_settings_rawGet raw port settingsARead-onlyIdempotent
Return the unmodified API object for a port (getdevModeSettingList) including the nested
devSetting advanced settings. Port 0 = controller-level settings. Values are in API units
(see docs/api/controls-and-settings.md); use get_port_settings for converted values.
Inputs: port (required), controller_id (required). Returns: object
list_automationsList automationsARead-onlyIdempotent
List the Advance Automation programs of a controller (the app's "Automations" tab).
A program is a named set of rules; each rule governs one or more ports with a mode (On/Off/Auto/Cycle/VPD), on/off power, a schedule and, for Auto/VPD, sensor thresholds. These rules override the per-port mode from get_port_settings while they run — on AI controllers this is where the real configuration lives.
Use schedule/continuous for when a rule applies: continuous=true means the app's
24/7 switch is on and the rule runs at all times (window/days are then null/empty).
Thresholds: low/high are null when that trigger is not set; the underlying record
is only partially reverse-engineered (see raw), so report values as decoded from the
device rather than as guaranteed.
Inputs: controller_id (required). Returns: rules, programs, controller_id
list_backupsList backupsARead-onlyIdempotent
List saved backups (newest first) with their ids for restore_settings/compare_backup.
Inputs: no named parameters. Returns: backups, backup_dir
list_controllersList controllersARead-onlyIdempotent
List all AC Infinity controllers on the account with current readings and port status.
tent is the climate inside the grow tent (external probe: temperature °C, humidity %,
VPD kPa) — use this when the user asks how the tent is doing. ambient (AI controllers
only) is the onboard sensor in the controller housing, i.e. the room outside the tent.
Also returns every port with name, power level (0-10), on/off state and active mode, and
on AI controllers every individual sensor reading. Readings are null while offline.
A port whose mode is 'Off' but whose power is > 0 is being driven by an Advance Automation program — call list_automations to see the rules governing it.
Inputs: no named parameters. Returns: controllers
rename_portRename portAIdempotent
Rename a port (the label shown in the AC Infinity app). Does not change any mode or power.
Inputs: name (required), port (required), controller_id (required), user_authorized. Returns: ok, port, changed, controller_id
restore_settingsRestore settingsAIdempotent
Write a backup back to the device: each changed port's full mode settings and each
changed automation rule (in place, by id). The controller record (port 0) and rules that
no longer exist are skipped and reported. Afterwards the device is re-read and any
remaining differences are returned — an empty remaining_changes means fully restored.
Inputs: backup_id (required), ports, automations, only_changed, +1 more. Returns: skipped, backup_id, controller_id, ports_restored, +2 more
set_auto_triggersSet auto triggersAIdempotent
Configure Auto-mode temperature/humidity triggers. Each trigger has a value and an enabled flag; pass only what should change. Temperatures are °C (the °F twin is derived).
Inputs: port (required), controller_id (required), activate, temp_low_c, +8 more. Returns: ok, port, changed, controller_id
set_port_cycleSet port cycleAIdempotent
Configure Cycle mode: repeat on_minutes on, then off_minutes off.
Inputs: port (required), on_minutes (required), off_minutes (required), controller_id (required), +2 more. Returns: ok, port, changed, controller_id
set_port_modeSet port modeAIdempotent
Switch the active mode of a port (e.g. Off, On, Auto, Schedule). The mode's parameters (power, triggers, timers) keep their current values — set them first with the other tools.
Inputs: mode (required), port (required), controller_id (required), user_authorized. Returns: ok, port, changed, controller_id
set_port_powerSet port powerAIdempotent
Set the power levels (0-10) a port uses in its on and/or off state. Applies to every mode;
in On mode on_power is the running level. Pass only the values you want to change.
Inputs: port (required), controller_id (required), on_power, off_power, +1 more. Returns: ok, port, changed, controller_id
set_port_scheduleSet port scheduleAIdempotent
Configure Schedule mode: on at start, off at end (controller local time). A window
crossing midnight (e.g. 18:00 → 06:00) is allowed. Null disables that edge (API value 65535).
Inputs: end (required), port (required), start (required), controller_id (required), +2 more. Returns: ok, port, changed, controller_id
set_port_timerSet port timerAIdempotent
Configure a countdown timer: the port turns on (to_on) or off (to_off) after minutes.
Inputs: port (required), minutes (required), direction (required), controller_id (required), +2 more. Returns: ok, port, changed, controller_id
set_vpd_triggersSet VPD triggersAIdempotent
Configure VPD-mode high/low triggers in kPa (one decimal). Pass only what should change.
Inputs: port (required), controller_id (required), activate, vpd_low_kpa, +4 more. Returns: ok, port, changed, controller_id
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 18 tools
Most tools are clearly distinct: list_*, get_*, set_*, and backup/restore operations each target specific resources. The main potential confusion is between get_port_settings_raw and get_device_settings, which both expose raw device data, but the descriptions clarify their different scopes.
Tool names follow a consistent verb_noun pattern: list_*, get_*, set_*, backup_settings, restore_settings, compare_backup. The only minor inconsistency is list_backups vs compare_backup (plural vs singular), but this does not hurt predictability.
With 18 tools, the server is slightly above the ideal 3-15 range, but every tool addresses a distinct configuration aspect of AC Infinity controllers. The count feels justified rather than bloated.
The set covers reading and writing port modes, timers, schedules, triggers, and backups well. However, there are notable gaps: no create/update/delete operations for automation programs, and no setter for device-level settings (e.g., temperature unit, calibration), limiting full lifecycle management.
Maintenance
Related MCP Connectors
Control your existing Philips lights, Sonos speakers, Roborock vacuums and other supported devices through Port OS cloud. Give ChatGPT, Claude and other MCP-compatible assistants access to the devices you connect. Turn off the living room lights, play music on your speakers, adjust the thermostat, run a vacuum in a room, check a camera snapshot or find a connected tracker. Available actions depend on your linked provider accounts and each device’s supported capabilities. Port OS runs in the cloud; no local server is required. You choose the account, device and capability permissions each assistant receives. Device operations require user OAuth; public tool discovery does not grant device access. Port OS is in alpha. Setup: https://portoperatingsystem.com/docs/getting-started/ Support: https://portoperatingsystem.com/contact/
Manage Superlist tasks and lists in plain language from any MCP-compatible AI agent.
Automate 1,000+ services from any MCP-compatible AI agent: build Applets, run actions and queries.
MCP connector that lets ChatGPT list, search, and run your Apple Shortcuts via a local Mac agent
Related MCP Servers
- AlicenseAqualityCmaintenanceac-infinity-mcp is an MCP server that connects Claude (and other AI assistants) directly to your AC Infinity controllers — so you can read live sensor data, run analytics, and adjust fan speeds or port states using natural language, without opening the AC Infinity app.2511MIT
- FlicenseAqualityDmaintenanceQuery and control Orbit B-Hyve irrigation systems from MCP-compatible clients like Claude Code and Cursor.121-
- AlicenseNot gradedqualityDmaintenanceControl and monitor your AC Infinity grow environment through Claude and any MCP-compatible AI assistant. It provides live sensor data, analytics, and the ability to adjust fan speeds or port states using natural language.MIT
- AlicenseNot gradedqualityDmaintenanceEnables MCP-compatible AI clients to safely control Home Assistant devices and query MQTT sensors through natural language, using allowlist-guarded actions and pre-defined automations.MIT