server_provision
Provision a cloud server with Coolify, Dokploy, or as a generic VPS. Supports Hetzner, DigitalOcean, Vultr, Linode. Requires provider API token.
Instructions
Provision a new server on a cloud provider. Default: Coolify auto-install via cloud-init. Pass mode:'bare' for a generic VPS without Coolify (installs UFW and runs system updates only). Requires provider API token as environment variable (HETZNER_TOKEN, DIGITALOCEAN_TOKEN, VULTR_TOKEN, LINODE_TOKEN). WARNING: Creates a billable cloud resource. Blocked when KASTELL_SAFE_MODE=true. Server takes 3-5 minutes to fully initialize after provisioning.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| provider | No | Cloud provider to create server on. If omitted and client supports elicitation, a form will be shown. | |
| region | No | Region/location ID (e.g. 'nbg1' for Hetzner, 'fra1' for DigitalOcean, 'ewr' for Vultr, 'us-east' for Linode). Uses template defaults if omitted | |
| size | No | Server type/plan ID (e.g. 'cax11' for Hetzner, 's-2vcpu-2gb' for DigitalOcean). Uses template defaults if omitted | |
| name | No | Server hostname, 3-63 chars, lowercase, starts with letter, only alphanumeric and hyphens, ends with letter or number. If omitted and client supports elicitation, a form will be shown. | |
| template | No | Template for default region/size. 'starter' = cheapest, 'production' = more resources, 'dev' = development. Explicit region/size override template defaults. Default: starter | starter |
| mode | No | Server mode: 'coolify' installs Coolify, 'dokploy' installs Dokploy, 'bare' provisions generic VPS. Default: coolify | coolify |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |