Skip to contentcloudvix
cloudvix
AI assistants

Deploy a static site on a VPS with an AI assistant

An assistant with its own terminal puts your static site on a Cloudvix server: it orders the server, serves the files with Caddy and gets the HTTPS certificate. You answer about the price and the domain.

Updated 23 Nov 20267 stepsTested on 23 Nov 2026

Tell your assistant

Copy this one sentence into an assistant with its own terminal. It adds the Cloudvix server itself with its own command, you approve the access once in your browser, and it then sets up the project. A chat app without a terminal cannot add a connector itself: you add the address once as the steps below show, and it can then order and manage servers but not set one up over SSH.

Sentence for your assistanttext
Connect the Cloudvix MCP server at https://mcp.cloudvix.com/mcp to yourself with your own MCP command (I approve the access in my browser), then set up my static site on a Cloudvix server: start with help_get ssh_for_ai, decide the technical details yourself (Docker with Caddy is a suggestion), ask me only about the price, the domain and things only I can know, and give me one short report at the end.

Server address

MCP server addresstext
https://mcp.cloudvix.com/mcp

Transport: Streamable HTTP. Sign-in: OAuth in your browser.

If your assistant cannot do it itself

The same connection, step by step, to do by hand.

Before you start

  • A Cloudvix account and an assistant with its own terminal and SSH, such as Claude Code, Codex, Cursor or VS Code, connected to Cloudvix as described in Connect an assistant. A chat without a terminal can only order and manage servers.
  • Your site as files in a folder (built, if you use a site generator) and, if you want one, a domain.

Steps

  1. Step 1: Give your assistant one sentence

    Copy the sentence into your assistant. It reads the Cloudvix help text ssh_for_ai for assistants, decides the technical details itself and asks you only about the price, the domain and things only you can know. At the end you get one short report.

    Prompttext
    Set up my project on a Cloudvix server. Start with help_get ssh_for_ai, decide the technical details yourself, ask me only about the price, the domain and things only I can know, and give me one short report at the end.
  2. Step 2: What the assistant does in the first hour

    Before any software of your project goes on, it sets the server up safely:

    • It creates a new SSH key for this one server and sends only the public half to Cloudvix. The private key stays on your computer.
    • It signs in as root with that key, turns off password sign-in and checks that with a command.
    • It closes all incoming ports except 22, 80 and 443.
    • It switches on automatic security updates; a restart, when one is needed, happens at 04:00 server time.
    • It writes notes about the server to the file /root/SERVER-NOTES.md on the server.
  3. Step 3: The setup it suggests

    We ran this setup on 23 November 2026 on a new Quartz server with Ubuntu 24.04: Caddy with the :80 Caddyfile and no domain answered from the internet a few seconds after docker compose up, and the server itself was ready about three minutes after the order. Docker with Caddy is a suggestion, not a requirement. For a static site the assistant needs one process: Caddy serves the files and gets and renews the HTTPS certificate itself. A sketch of the files it writes on the server, in a folder under /srv. Without a domain, the Caddyfile starts with :80 instead of the domain name.

    compose.yamlyaml
    services:
      caddy:
        image: caddy:2
        restart: unless-stopped
        ports: ["80:80", "443:443", "443:443/udp"]
        volumes:
          - ./Caddyfile:/etc/caddy/Caddyfile:ro
          - caddy_data:/data
          - caddy_config:/config
          - ./site:/srv:ro
    volumes:
      caddy_data:
      caddy_config:
    Caddyfilecaddy
    example.org {
        root * /srv
        encode zstd gzip
        file_server
    }
  4. Step 4: Point your domain at the server

    The assistant cannot change the DNS settings of your domain. It tells you the IP address of the server and one record to add: an A record for your domain. It checks the record before it asks for the certificate; Caddy then renews the HTTPS certificate itself. Without a domain, it starts the site on the IP address.

  5. Step 5: Publish changes

    Ask the assistant to publish the new version of the site. It copies the changed files into the site folder and checks the page from outside. Caddy serves new files without a restart.

  6. Step 6: Have it checked regularly

    Paste the second sentence once a week if the site is live, otherwise once a month. The assistant reads its notes, applies pending updates, fixes what is safe to fix and reports in a few lines: fine, fixed, needs your decision.

    Prompttext
    Check my Cloudvix server <name>. Follow help_get server_checkup: read the notes file on the server, apply pending updates, fix what is safe, and report in a few lines: fine, fixed, needs my decision.
  7. Step 7: What it costs while the server runs

    Before it orders, the assistant tells you the price per hour, per day and at most per month, excluding VAT, and waits for your yes. A stopped server is billed like a running one; only deleting ends the cost. Before it deletes anything the assistant asks you, and you name what is to be deleted.

If something goes wrong

The site opens on the IP address but not on the domain

The A record is probably not in place yet or points elsewhere. Ask the assistant to check the domain again; it looks the record up and tells you what it finds.

The browser warns about the certificate

Caddy asks for the certificate only once the domain points at the server. Once the record is visible, ask the assistant to check; it reads the Caddy log for that.

Create your first server

The order form takes five choices. Your server starts right after.

Create server