AC Infinity MCP
What is this?
ac-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.
Built with FastMCP and the AC Infinity cloud API.
Example prompts
"What's the VPD trend in my tent over the last 7 days?" "Is my environment in the right range for late flower?" "Turn off port 3 on my 69 Pro controller — dry run first." "Show me which ports have been running the most this week." "Apply the veg stage template to port 1 — dry run first so I can see the settings." "My VPD is too high — what should I adjust?"
Compatible hardware
Controller | Reads | Writes | Notes |
UIS Controller 69 Pro | ✅ | ✅ | Legacy protocol |
UIS Controller 69 Pro+ | ✅ | ✅ | Legacy protocol |
UIS Controller 89 AI+ | ✅ | ⚠️ v1 read-only | New AI+ protocol — write support planned for v2 |
Tools
Category | Tool | What it does |
🔍 Discovery |
| List all your controllers and ports |
🌡️ Readings |
| Live temp, humidity, VPD, and port states for one device |
🌡️ Readings |
| Same, for all devices at once |
🌡️ Readings |
| Time-series data with optional bucketing (raw, 15m, 1h, 1d, …) |
📊 Analytics |
| VPD target compliance check for your current grow stage |
📊 Analytics |
| Composite health score (0–100, A–F) across temp, humidity, VPD |
📊 Analytics |
| Linear trend + 7-day projection per metric |
📊 Analytics |
| Per-port on/off hours, uptime %, and peak activity hour |
🔎 Port Status |
| Live port power level, load detection, active mode, and timer countdown |
🔎 Port Status |
| Full automation config: mode, VPD target, temp/humidity thresholds, schedule, cycle |
🔌 Write |
| Set fan or pump speed 1–10 ( |
🔌 Write |
| Turn a port fully on ( |
🔌 Write |
| Turn a port fully off ( |
⚙️ Automation |
| Enable VPD mode with a kPa target using built-in sensors ( |
⚙️ Automation |
| Enable AUTO mode with min/max °C thresholds ( |
⚙️ Automation |
| Enable AUTO mode with min/max % RH thresholds ( |
⚙️ Automation |
| Switch to any mode: OFF, ON, AUTO, VPD, CYCLE, SCHEDULE, TIMER_TO_ON, TIMER_TO_OFF ( |
🌱 Intelligence |
| One-click VPD + temp + humidity automation for a named grow stage ( |
🤖 Advance Automation |
| List all named Advance Automation programs on a device |
🤖 Advance Automation |
| Get full detail (schedule, port groups, run state) for one automation |
🤖 Advance Automation |
| Enable a disabled automation — reads state first, no-ops if already enabled ( |
🤖 Advance Automation |
| Disable an enabled automation — reads state first, no-ops if already disabled ( |
🤖 Advance Automation |
| Create a new named automation with speed, schedule, and threshold settings ( |
🤖 Advance Automation |
| Delete an automation (disables first if active) ( |
🤖 Advance Automation |
| Safely break a port out of automation control and lock co-governed ports to manual speed ( |
✦ All write tools (Write, Automation, and Intelligence categories) default to
dry_run=True— they return the exact payload they would send without making any changes to your equipment. Passdry_run=Falseonly when you're ready to execute.
📖 For a complete grower's guide with conversation examples for every tool, see docs/GUIDE.md.
MCP Prompts
Three built-in prompts are registered alongside the tools. In Claude Desktop and other MCP clients, these appear as slash commands or prompt suggestions.
Prompt | What it does |
| Step-by-step guide: diagnose HIGH or LOW VPD and which tools to call to fix it |
| Onboarding walkthrough: discover devices → apply a stage template → check your health score |
| How to read |
Quick start
Option 1: pip (simplest)
pip install git+https://github.com/ober37/ac-infinity-mcp.gitRequires Python 3.11+.
Option 2: isolated venv (recommended)
python3 -m venv ~/.venvs/ac-infinity-mcp
source ~/.venvs/ac-infinity-mcp/bin/activate
pip install git+https://github.com/ober37/ac-infinity-mcp.git
which ac-infinity-mcp # copy this path — you'll need it belowOption 3: uvx (no install)
uvx --from git+https://github.com/ober37/ac-infinity-mcp.git ac-infinity-mcpMCP client configuration
Claude Desktop
Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or
%APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"ac-infinity": {
"command": "/path/to/ac-infinity-mcp",
"env": {
"AC_INFINITY_EMAIL": "you@example.com",
"AC_INFINITY_PASSWORD": "yourpassword"
}
}
}
}Replace /path/to/ac-infinity-mcp with the path printed by which ac-infinity-mcp.
Cursor / Windsurf
Add to your MCP settings:
{
"ac-infinity": {
"command": "/path/to/ac-infinity-mcp",
"env": {
"AC_INFINITY_EMAIL": "you@example.com",
"AC_INFINITY_PASSWORD": "yourpassword"
}
}
}Docker
cp .env.example .env
# fill in AC_INFINITY_EMAIL and AC_INFINITY_PASSWORD
docker compose up --buildThe container runs over stdio. Connect via a stdio bridge such as mcp-proxy.
Credentials are injected at runtime via
env_file— never baked into the image.
Environment variables
Variable | Required | Description |
| Yes | Your AC Infinity account email |
| Yes | Your AC Infinity account password |
⚠️ HTTP-only upstream: The AC Infinity cloud API does not support HTTPS. Credentials and sensor data traverse the network in plain text. This is an upstream limitation — see docs/API.md Quirk 8. Avoid running this server on untrusted networks.
Development
git clone https://github.com/ober37/ac-infinity-mcp.git
cd ac-infinity-mcp
python3 -m venv .venv && source .venv/bin/activate
pip install -e ".[dev]"
cp .env.example .env # fill in credentials
# Lint + type-check
ruff check src/ tests/
mypy src/ac_infinity_mcp/
# Tests (unit + integration)
pytest tests/ -v
# Security audit
pip-auditSecurity
Vulnerabilities should be reported via GitHub Private Vulnerability Reporting. See SECURITY.md for the full disclosure policy, scope, and known limitations (including the HTTP-only upstream API). Accepted dependency CVEs are tracked in docs/SECURITY-RISKS.md.
License
MIT
Maintenance
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ober37/ac-infinity-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server