Deploy from Antigravity CLI
Use VibeHost from inside Google's Antigravity CLI. MCP server or the vibehost CLI as a tool.
Antigravity CLI is Google's open-source terminal coding agent and the CLI sibling of the Antigravity IDE. It can call VibeHost tools natively over MCP, or shell out to the vibehost CLI when scripted control is better.
Option 1: MCP server (recommended for interactive use)
Edit ~/.gemini/config/mcp_config.json and add the vibehost entry:
{
"mcpServers": {
"vibehost": {
"serverUrl": "https://api.vibehost.com/mcp"
}
}
}If you already have other MCP servers, add only the vibehost entry under the existing mcpServers object.
Now authenticate from inside Antigravity CLI:
- Start
agy. - Run
/mcp. - Move the cursor to the
vibehostrow and pressEnter. - Select Authenticate. A browser tab opens; approve the request.
- Verify with a prompt:
List my VibeHost workspaces.
From here you can ask for full flows:
Build this directory and deploy it to VibeHost as a new app called my-antigravity-app.
Option 2: CLI through shell commands (recommended for scripts)
Install the CLI:
curl -fsSL -o vibehost-install.sh https://vibehost.com/install.sh
cat vibehost-install.sh
sh vibehost-install.sh && rm vibehost-install.shSign in:
vibehost login
vibehost whoami --jsonFor CI or unattended scripts, use a Personal Access Token instead:
export VIBEHOST_TOKEN="<your-personal-access-token>"
vibehost whoami --jsonAntigravity CLI can now call vibehost deploy ./dist, vibehost app inspect, etc. through its shell interface. See the CLI reference.
When to pick which
| Situation | Use |
|---|---|
| First-time setup | MCP (browser sign-in, no token to paste) |
| Interactive deploys from Antigravity CLI | MCP |
| Local shell-driven deploys | CLI after vibehost login |
| CI / unattended workflows | CLI + VIBEHOST_TOKEN secret |
| You want Antigravity-managed approval prompts | MCP |
| You want raw stdout / stderr from the deploy step | CLI |
Both can coexist.
See also
- Antigravity IDE is the GUI version of the same product.
- MCP server lists every tool and explains authentication.
- Personal access tokens covers PAT setup for CI and scripts.
- Sibling coding agents: Claude Code, Codex CLI, Cursor, Antigravity, Windsurf, OpenCode, Copilot CLI, Hermes Agent, Grok Build