Skip to contentcloudvix
cloudvix
AI assistants

Host WordPress on a VPS with an AI assistant

An assistant with its own terminal installs WordPress on a Cloudvix server, with a database and Caddy in front, and keeps it updated. You answer about the price and the domain, then finish the site in WordPress.

Updated 23 Nov 20268 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 WordPress 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.
  • A domain for the site. If you move an existing site, have its files and a database export ready.

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: WordPress with PHP-FPM and MariaDB started in about half a minute and the install page opened from the internet, while the database and PHP ports stayed closed from outside. We did not finish the install or try updates, plugins or a backup. Docker with Caddy is a suggestion, not a requirement. The usual shape: the official WordPress image with PHP-FPM, a MariaDB or MySQL database on a private network, and Caddy in front as the only thing published to the internet. The assistant checks the current versions on the day it installs and pins their numbers. Database passwords are generated on the server and never printed. A sketch:

    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
          - wp_files:/var/www/html:ro
      wordpress:
        image: wordpress:php-fpm
        restart: unless-stopped
        env_file: .env
        volumes:
          - wp_files:/var/www/html
      db:
        image: mariadb:<major version>
        restart: unless-stopped
        env_file: .env.db
        volumes:
          - db_data:/var/lib/mysql
    volumes:
      caddy_data:
      caddy_config:
      wp_files:
      db_data:
    Caddyfilecaddy
    example.org {
        root * /var/www/html
        encode zstd gzip
        php_fastcgi wordpress:9000
        file_server
    }
  4. Step 4: Your content stays safe

    The database dump runs every night on the server, seven daily and four weekly dumps are kept, and the assistant pulls the latest dump to your computer when it visits. It takes a snapshot before risky work. A snapshot lives with the server and is deleted with it, so it is not a backup.

  5. Step 5: 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.

  6. Step 6: Updates and plugins

    WordPress core updates itself; the assistant makes sure automatic updates are on. Keep the plugin list short: every plugin is a door. On a visit the assistant updates plugins after a snapshot and a dump, and keeps PHP on a version your plugins support; a new PHP release waits until they do. It also limits how often the login page and xmlrpc.php can be called.

  7. Step 7: 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.
  8. Step 8: 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

A plugin update broke the site

The assistant can switch the plugin off in the files on the server, which brings the site back. If you want the whole server back at an earlier state, restoring a snapshot is something you confirm yourself in the dashboard.

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.

The login page gets many requests

That is common for WordPress: bots try the login page and xmlrpc.php. The assistant limits how often they can be called. Use a long, unique password and avoid the user name admin.

Create your first server

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

Create server