Claude Code
Use VibeHost from inside Claude Code with the vibehost-deploy skill + MCP server.
Claude Code has two ways to talk to VibeHost: the MCP server (OAuth, recommended for interactive use) and the vibehost-deploy skill (CLI-driven, recommended for repeatable workflows).
Both can coexist.
Option 1: MCP server (recommended)
claude mcp add vibehost https://api.vibehost.com/mcp --transport httpThe first tool call triggers an OAuth flow in your browser. After approval, Claude Code has 46 tools available: deploy, promote, rollback, list logs, manage custom domains, etc.
Best for:
- Interactive sessions ("ship this to production")
- Cross-app operations ("rollback the staging channel on my-app")
- One-off admin tasks ("add teammate@x.com as a deployer on hello-app")
Option 2: vibehost-deploy skill
The vibehost-deploy skill is a Claude Code skill that wraps the CLI. Install with:
claude skill add Dcard/VibeHost/skills/vibehost-deployOr copy from the skills/vibehost-deploy directory in the VibeHost repo into your project's .claude/skills/.
The skill knows:
- The CLI command names + flags
- The auth flow (
vibehost loginifwhoamireturnsUNAUTHENTICATED) - Which deploy path to pick for static vs Next.js
- How to read CLI JSON output and recover from common errors
Best for:
- Repeatable workflows (the skill activates automatically when you say "deploy this to VibeHost")
- CI-style automation in Claude Code
- Cases where you want stdout/stderr from the CLI, not abstracted tool calls
When to pick which
| Situation | Use |
|---|---|
| First-time setup | MCP (OAuth is one-click) |
| Daily deploys from your editor | Either — both work fine |
| Cross-machine or CI | Skill + a PAT (see Personal access tokens) |
| You want Claude to read deploy logs interactively | MCP (get_deployment_logs tool) |
| You want Claude to build, then deploy in one shell session | Skill (it can run npm run build first) |
Common prompts
Deploy this project
"Deploy this directory to VibeHost as a new static site called hello-mintlify."
Promote staging to production
"Promote my-app's staging channel to production."
Add a custom domain
"Add www.example.com as a custom domain on my-app and tell me what DNS record to add."
Tail logs
"Stream the latest logs for my-app's production channel."