Keep Gemini.
Give it your machines.
AI Commander is not an alternative to Gemini, ChatGPT, Claude Code, Cursor, Grok, or Codex. 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.
- Install the host agent on the machine you want your AI to control. It shows a private machine code.
- 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 URLhttps://aicommander.dev/mcpand sign in with an email code (per-client steps).
Sibling harness pages: Claude Code · Cursor · Grok · Codex · ChatGPT · Roo Code · Zed · OpenCode · Qwen Code · Continue.
Connect Gemini CLI (HTTP MCP)
Gemini CLI talks to AI Commander over remote Streamable HTTP MCP.
One command — pass --transport http and use user scope so it lands in ~/.gemini/settings.json:
Prefer a local stdio bridge? One command (or put the same block under mcpServers in ~/.gemini/settings.json):
Or set httpUrl / command+args under mcpServers.aicommander in ~/.gemini/settings.json.
Use httpUrl (not legacy SSE url) for Streamable HTTP.
Full client matrix (Gemini, Codex, ChatGPT, Claude Code, Cursor, Grok, REST):
Connect your AI client.
First connect may open a one-time browser sign-in (OAuth Dynamic Client Registration).
For a code-only first hour without that flow, append ?anonymous=1 to the MCP URL where your client supports it.
MCP stack for Gemini CLI
AI Commander is one of three MCP servers we add to Gemini CLI. The other two are
MCPfinder (MCP server discovery) and
cnvs.app (a shared whiteboard). The exact gemini mcp add commands,
what each server adds and what to check before you add it are on one page: MCP stack for Gemini CLI.
The same stack for other clients, plus PLAI.chat for second opinions from other models: Agent stack.
Antigravity CLI (agy)
Google’s Antigravity CLI keeps MCP servers in its own file, not in Gemini CLI’s settings.json:
~/.gemini/config/mcp_config.json for all projects, or .agents/mcp_config.json in one project.
Remote servers need serverUrl (url and httpUrl are not supported there).
Since 1.1.16, agy mcp add writes the user-level file for you
(Antigravity MCP docs,
1.1.16 release notes, checked 2026-10-19):
Pick one of the two. Flags such as --env go before the server name; an https:// URL is detected as HTTP automatically (checked against agy mcp add --help in 1.4.2). Then run agy mcp list, or /mcp inside the CLI, to check the server and its tools.
Editing the file by hand instead, the HTTP entry is:
{
"mcpServers": {
"aicommander": {
"serverUrl": "https://aicommander.dev/mcp"
}
}
}
What you get that the chat alone cannot
- Remote shell on Linux, macOS, and Windows — by session code or saved alias.
- Detached jobs for builds, training, and headless agents on the box that has the repo.
- Fleet list + GPU facts so Gemini picks the right machine before it burns an hour.
- File courier (Pro) for checkpoints and diffs up to 100 MiB.
Not a replacement — a multiplier
| You already use | AI Commander adds |
|---|---|
| Gemini CLI | gemini mcp add --transport http aicommander … → remote exec + jobs |
| Antigravity CLI | agy mcp add aicommander https://…/mcp → remote exec + jobs |
| Codex CLI | codex mcp add aicommander --url … → remote exec + jobs |
| ChatGPT / OpenAI | Custom MCP connector or plain REST /api/v1/exec |
Grok / grok CLI | grok mcp add --transport http … → remote exec + jobs |
| Claude Code | MCP remote exec + jobs on your fleet |
| Cursor | npx @aicommander/mcp stdio bridge → remote exec + jobs |
FAQ
agy mcp add aicommander https://aicommander.dev/mcp (Antigravity CLI 1.1.16 or later). It writes ~/.gemini/config/mcp_config.json, a separate file from Gemini CLI's settings.json; a remote entry there uses serverUrl, not url or httpUrl. For one project, put the entry in .agents/mcp_config.json. Check it with agy mcp list or /mcp./remote-control or agy --remote-control opens it for one CLI session and it closes when that session exits, while agy remote-control start installs a background service that stays reachable while the machine is on. AI Commander is an MCP server that lets the agent itself, in Gemini CLI, Antigravity CLI, Claude, Codex or Grok, run shell commands and detached jobs on other machines you own, each running a small agent that only dials out. Use Remote Control to follow an Antigravity session from your phone; add AI Commander when that session needs to reach a GPU box, a NAS or a VPS.Next steps
Install the agent on a machine you control, connect Gemini via gemini mcp add, then ask for a real task on a remote box.