Keep Codex.
Give it your machines.

AI Commander is not an alternative to Codex, ChatGPT, Claude Code, Cursor, or Grok. It is the remote-machine harness those tools plug into over MCP: outbound-only shell, detached jobs that outlive the chat, and file transfer on hardware you already own or rent, from a dev box under your desk to a VPS.

Quick start:
  1. Install the host agent on the machine you want your AI to control. It shows a private machine code.
  2. Connect your AI: paste this prompt, then replace AIC-… with your code — Help me connect this AI client to AI Commander using https://aicommander.dev/start.md. Then check the status of my machine: AIC-… — or add the connector URL https://aicommander.dev/mcp and sign in with an email code (per-client steps).
Positioning in one line: Codex stays the brain; AI Commander is the hands on the box — servers, GPU rigs, NAS, laptops — with no inbound ports and no exposed SSH.

Sibling harness pages: Claude Code · Cursor · Grok · ChatGPT · Roo Code · Zed · OpenCode · Qwen Code · Continue · Gemini.

Connect Codex (HTTP MCP)

Codex talks to AI Commander over remote HTTP MCP. One command — pass --url before the address:

codex CLI
$ codex mcp add aicommander --url https://aicommander.dev/mcp

Prefer a local stdio bridge? Add this to ~/.codex/config.toml:

~/.codex/config.toml
[mcp_servers.aicommander]
command = "npx"
args = ["-y", "@aicommander/mcp"]
env = { AICOMMANDER_SERVER = "https://aicommander.dev" }

On Windows use command = "npx.cmd" for the stdio variant. Full client matrix (Codex, ChatGPT, Claude Code, Cursor, Grok, REST): Connect your AI client.

codex mcp add opens the one-time browser sign-in itself (OAuth Dynamic Client Registration; you sign in with an email code). Run codex mcp login aicommander only if you need to sign in again. For a code-only first hour without that flow, append ?anonymous=1 to the MCP URL where your client supports it.

AI Commander tools disappeared from Codex? Its sign-in was most likely ended because an old sign-in token was reused, which can happen when several Codex sessions run at once. Codex may keep retrying without asking you to sign in again. Update Codex, then run codex mcp login aicommander. AI Commander emails you when this happens, at most once every 48 hours.

Codex Remote SSH, mobile and AI Commander

Two options OpenAI documents for working with Codex away from the computer in front of you (checked 2026-10-23): Remote SSH, generally available since May 14, 2026 (OpenAI: Work with Codex from anywhere), lets the desktop app detect hosts from ~/.ssh/config, start the remote Codex app server over SSH, and run project chats that read, write and execute on that host. codex must be installed, authenticated and on the remote user's PATH. OpenAI advises not exposing the remote app-server transports directly on a shared or public network, and using a VPN or mesh network to reach machines outside your network (ChatGPT docs: Remote connections). Codex on mobile, launched as a preview in the ChatGPT app for iOS and Android on May 14, 2026, controls chats that keep running on a paired host: you pair the phone by QR code with a host running the ChatGPT desktop app (the current docs list macOS and Windows hosts; availability can vary by rollout); a secure relay keeps that host reachable without exposing it directly to the public internet, and from the phone you can start or continue chats, approve commands and review diffs and terminal output. The host has to stay awake and online.

Those features run or steer the Codex session itself. AI Commander works alongside them: Codex still decides what to do, and AI Commander gives it MCP tools to reach your other machines — servers, GPU rigs, NAS, Windows boxes — through a host agent that only connects outbound, with no SSH keys or open ports, plus detached jobs that keep running after the chat ends.

What you get that the chat alone cannot

Not a replacement — a multiplier

You already useAI Commander adds
Codex CLIcodex mcp add aicommander --url … → remote exec + jobs
ChatGPT / OpenAICustom MCP connector or plain REST /api/v1/exec
Grok / grok CLIgrok mcp add --transport http … → remote exec + jobs
Claude CodeMCP remote exec + jobs on your fleet
Cursornpx @aicommander/mcp stdio bridge → remote exec + jobs

FAQ

Is AI Commander an alternative to Codex?
No. AI Commander is a remote-machine harness. You keep Codex (or ChatGPT, Claude Code, Cursor, Grok) as the AI. AI Commander gives those tools secure remote shell, detached jobs, and file transfer on machines you own — over MCP or REST.
How do I connect Codex to AI Commander?
Run: codex mcp add aicommander --url https://aicommander.dev/mcp — pass --url before the address. The add command opens a one-time browser sign-in itself; codex mcp login aicommander is only needed to sign in again. Prefer a local stdio bridge? Add [mcp_servers.aicommander] to ~/.codex/config.toml with npx -y @aicommander/mcp and AICOMMANDER_SERVER=https://aicommander.dev. On Windows use npx.cmd. Use ?anonymous=1 for a code-only first hour.
Why did AI Commander tools disappear from Codex?
Its sign-in was most likely ended because an old sign-in token was reused, which can happen when several Codex sessions run at once. Codex may keep retrying without asking you to sign in again. Update Codex, then run codex mcp login aicommander. AI Commander emails you when this happens, at most once every 48 hours.
Can Codex work on a remote machine over SSH or from my phone?
Yes, in OpenAI's own apps (checked 2026-10-23). Remote SSH has been generally available since May 14, 2026: the desktop app reads host aliases from ~/.ssh/config, starts the Codex app server on the host over SSH, and runs project chats against that host's files and shell; codex must be installed, authenticated and on PATH there. Separately, Codex in the ChatGPT mobile app (launched as a preview on iOS and Android on May 14, 2026) lets you control chats that keep running on a paired host: OpenAI's current docs list Mac and Windows hosts running the ChatGPT desktop app, with availability varying by rollout, reached through OpenAI's secure relay, so you can steer threads, approve commands and review diffs from your phone. Those features run or steer the Codex session itself. AI Commander is different: it gives Codex MCP tools to run shell commands, detached jobs and file transfer on your other machines, through an agent that only connects outbound, with no SSH keys or open ports.
How is this different from Codex running locally only?
Local Codex is the brain on your laptop. AI Commander adds hands on servers, GPU rigs, NAS, and other laptops you own — outbound-only, no inbound ports, no exposed SSH — so Codex can run shell, detached jobs, and file transfer on those machines over MCP.

Also see the agent stack for Claude Code, Codex & Grok users — AI Commander plus PLAI.chat, MCPfinder and cnvs.app, each priced separately (no bundle). The three MCP servers for Codex with exact commands: MCP stack for Codex.

Next steps

Install the agent on a machine you control, connect Codex via codex mcp add, then ask for a real task on a remote box.