VibeHost
Guides

Deploy from Cursor — Ship to a Live URL Without Leaving the Editor

Connect Cursor to VibeHost via MCP and deploy to a live URL from inside the editor. No Vercel, no Netlify, no config.

Cursor speaks MCP natively. Once connected, you can describe what you want and Cursor calls the right VibeHost tools — deploy, promote, manage domains, etc.

Connect

One-click install

Install MCP Server

Manual setup

  1. ⌘ + Shift + J to open Cursor Settings.
  2. Select Tools & MCPs.
  3. Select New MCP Server.
  4. Paste the following configuration:
{
  "mcpServers": {
    "vibehost": {
      "url": "https://api.vibehost.com/mcp"
    }
  }
}

The first tool call triggers an OAuth flow in your browser. After approval, Cursor has the full VibeHost MCP tool surface. See the MCP guide for the tool cheatsheet.

First deploy

Open your project in Cursor, then in the chat panel (⌘ + L):

Deploy this directory to VibeHost as a new app called my-cursor-app. It's a Vite + React build.

Cursor:

  1. Reads your project (sees package.json, vite.config.ts).
  2. Asks you to confirm running npm install + npm run build.
  3. Calls create_app(name: my-cursor-app, runtime: static).
  4. Calls create_deployment(app: my-cursor-app, dir: ./dist).
  5. Returns the URL.

If you've never connected before, OAuth runs once (browser pop-up) between steps 2 and 3.

Common prompts

One-shot deploy

"Use VibeHost to deploy this Vite project as my-app." Cursor calls create_app then create_deployment via MCP.

Preview channels

"Deploy this to a pr-${number} channel on VibeHost so I can share the URL with my team."

Cross-app ops

"List all my VibeHost apps and tell me which ones haven't been deployed in the last 30 days."

Debug a failing deploy

"Look at the latest deployment logs for my-app and tell me why it's not serving traffic."

Make it shareable

"Set my-app to public and create a share link valid 7 days."

Custom domain

"Add www.example.com as a custom domain on my-app, tell me what CNAME to add, then verify it once I confirm DNS is set."

Gotchas

  • @VibeHost mention triggers tool routing reliably. If Cursor is calling a different tool than you expect, prefix your prompt with @VibeHost ... (the MCP server name).
  • YOLO mode (auto-run without confirmation) bypasses tool prompts. Useful for repetitive deploys, dangerous for destructive ops. Toggle in Settings → MCP.
  • Re-auth after long gaps. Refresh tokens are 30 days; after that you'll see UNAUTHENTICATED on the next tool call. Cursor re-prompts the OAuth flow.
  • --build server not needed. Cursor builds locally — your machine runs npm run build, MCP just receives the artifact.

Tips

  • Pin your default workspace in Cursor's chat by saying "From now on use my acme workspace on VibeHost" — Cursor will append workspaceId to subsequent tool calls.
  • Save common prompts as Cursor rules (.cursorrules or per-project) so "ship to staging" or "preview this PR" become one-shot.
  • Combine with vibehost doctor if a deploy hangs: ask Cursor to run vibehost doctor --json in a terminal — it diagnoses auth, API reachability, and config issues.

See also

On this page