VibeHost
Guides

Deploy from GitHub Copilot CLI

Use VibeHost from inside GitHub Copilot CLI (15M+ developers). Connect via MCP or the vibehost CLI as a tool.

GitHub Copilot CLI brings Copilot to the terminal. It speaks MCP, so it can call VibeHost tools directly. It can also shell out to vibehost when a script gives better control than tool calls.

Copilot CLI reads MCP servers from ~/.copilot/mcp-config.json:

{
  "mcpServers": {
    "vibehost": {
      "url": "https://api.vibehost.com/mcp",
      "type": "http"
    }
  }
}

Restart Copilot CLI. First tool call opens your browser for OAuth. After approval, Copilot has access to every VibeHost tool, so it can deploy, promote, roll back, read logs, and manage custom domains.

In a Copilot session:

Deploy this directory to VibeHost as a new app called my-copilot-app.

Copilot creates the app, uploads the files, deploys them and returns the live URL. The tool calls behind that are described once, in Choosing an upload path.

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.sh

Authenticate with a Personal Access Token:

export VIBEHOST_TOKEN=$(pass vibehost/pat)
vibehost whoami --json

Copilot CLI can shell out to vibehost deploy ./dist etc. Every command takes --json and returns {ok, data | error}, which an agent can parse without reading prose. See the CLI reference.

When to pick which

SituationUse
First-time setupMCP (browser sign-in, no token to paste)
Interactive deploys from CopilotMCP
Scripted / unattended workflowsCLI + PAT
You want every write to prompt for confirmationMCP
You want raw stdout / stderr from the deployCLI

Both can coexist.

See also

On this page