ign — operate Ignition 8.3+ gateways from the terminal
Documentation · Releases · Issues
One binary that lets a developer (or an AI agent) fully operate and inspect an
Ignition 8.3+ gateway — health, projects, tags, rigs — without opening the
gateway webpage or Designer. Every subcommand is non-interactive by default
and scriptable with JSON output; ign tui (below) is the interactive
cockpit over the same actions layer. v1.1 completes the agent surface end
to end: ign api call passthrough + curated daily checks, guarded EAM
write lifecycle with blast-radius preview, byte-faithful XML/CSV tag
transfer, a workspace checkout / ign edit round-trip, and protocol
transports — MCP (ign mcp serve) and LSP (ign lsp) — so agents and
editors drive the same binary humans do.
Watch it in use
Ignition CLI
Gateway inspection, project discovery, and batch tag reads.

Ignition CLI TUI
Explore gateway health, browse tags, and inspect projects from the keyboard.

Open the recordings with playback controls and written summaries. Recorded against a fictional batch process; playback runs at 1.2×.
Install
cargo install ignition-cli
(or grab a prebuilt binary from the
releases —
macOS arm64/x86_64, Linux x86_64/arm64). Requires Rust 1.88+ when building
from source. The binary is ign.
Agent harnesses can also install the playbook: the
ignition-ops skills (5 SKILL.md files —
contract, gateway, tags, workspace, rigs) ride any
skills-CLI-compatible
agent:
npx skills add TheThoughtagen/ignition-cli -g
Claude Code can alternatively load them as a plugin (see
Agent transports
below).
Output contract (for agents)
Success prints a stable envelope on stdout; errors go to stderr in
both modes (exit code carries the same signal):
- Success:
{"ok": true, "profile": <name|null>, "data": {...}}
- Failure:
{"ok": false, "profile": <name|null>, "error": {"code": "<slug>", "message": "...", "endpoint": <url|null>, "hint": "..."}}
--compact implies --json and renders the same envelope on a single line.
Two documented exceptions: clap usage errors exit 2 and are rendered by clap
itself (not JSON); the exit-2 class also covers destructive operations run
without --yes.
One success-path exception: ign completions <SHELL> writes the raw
completion script to stdout regardless of --json — shells source its
output directly, so it is never JSON-wrapped.
The ign api call contract exception
ign api call is the one documented exception on the SUCCESS side:
its data.result.data is the gateway's OWN JSON — gateway-verbatim
(no field dropped, no value coerced, key order preserved), not a
curated model. A 2xx answer with a non-JSON body refuses exit 1
internal with an explanatory message — binary endpoints belong to
the logs/backup download pipelines, never this command. Gateway error
bodies on the api-call path ride the error envelope's message
verbatim, truncated at 4 KiB with an explicit ... [truncated]
marker. Auth-pattern headers (Authorization, X-Ignition-API-Token,
Cookie — case-insensitive) are refused exit 2 BEFORE any request:
credentials come from the profile, full stop.
The MCP refusal-prose exception (2026-09-16)
The frozen envelope governs the CLI's own stdout/stderr only —
byte-for-byte, always. Over the MCP transport (ign mcp serve), a
confirmation_required refusal is the SECOND dated envelope-transport
exception (alongside ign api call above): its message/hint PROSE
adapts to the transport — the JSON names confirm: true (the
MCP-native confirmation) and marks --yes/IGNITION_YES=1 CLI-only —
while the shape stays byte-stable (same keys, same order,
ok:false/code/profile:null/endpoint:null untouched). The MCP
input schema correspondingly keeps confirm OUT of required for
guarded verbs: schema-required would invite agents to auto-fill
confirm:true, so omission is legal and answered by the refusal.
The deploy verify verdict exception (2026-10-14)