/xcloud:serversfrom xcloud
Manages xCloud servers: list, inspect, buy, monitor, configure services, firewall, fail2ban, cron, snapshots, sudo users, DNS checks, and reboots. For server-level infrastructure and security tasks.
Ships in xcloud. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Packaged REST boundary:
xcloud.shenforces GET-only requests with no body and has no write override. Non-GET examples below describe upstream API operations, not executable commands for this fallback. For mutations, use the corresponding connected xCloud MCP tool only after the required concrete user approval and server confirmation. If that tool/confirmation is unavailable, stop and direct the user to the dashboard; do not bypass this boundary with direct curl, SDKs, alternate scripts or by editing the wrapper. Configure REST credentials with read-only scopes.
Owns server infrastructure and server-level security. Read the shared layer first for auth, base URL, envelope, pagination, and rate limits:
${CLAUDE_PLUGIN_ROOT}/reference/auth.md${CLAUDE_PLUGIN_ROOT}/reference/conventions.md${CLAUDE_PLUGIN_ROOT}/reference/mcp.md — prefer mcp__xcloud__servers_*
tools when connected (e.g. servers_index, servers_show,
servers_plans, servers_store, servers_reboots_store,
servers_services_install, servers_dns_check); the $XC calls below are
the REST fallback.XC="${CLAUDE_PLUGIN_ROOT}/scripts/xcloud.sh"
Scopes: reads need read:servers, writes need write:servers.
Brand every user-facing reply (see reference/conventions.md →
Response format): open with ☁️ **xCloud · Servers** — <server>, give the
trimmed result, and close with a _via xcloud:servers_ line.
Narrate each call (see Progress narration): before every $XC call print one
line of what xCloud is doing, e.g. ☁️ xCloud is fetching server \`…; the first call of a task opens with ☁️ xCloud is starting a session…. **Every progress line and every action sentence must start with xCloudas the actor — never a bare verb like "Creating…" or "Provisioning…". SayxCloud is creating…`.**
On the first xcloud reply in a conversation, lead with the xCloud startup
banner (see reference/conventions.md → Startup banner) in a fenced code
block — once per conversation.
Big domain — detailed per-sub-resource guidance lives in reference/:
| Sub-resource | Reference file |
|---|---|
| Buying a server: plans, prices, regions, provisioning progress | reference/provisioning.md |
| PHP versions (install, default, opcache, patch) | reference/php-versions.md |
| Server cron jobs (CRUD, execute, output) | reference/cron-jobs.md |
| Databases & database users | reference/databases.md |
| Firewall rules, fail2ban, IP whitelisting | reference/firewall.md |
| Sudo users | reference/sudo-users.md |
| Operation | Method + path |
|---|---|
| List servers | GET /servers |
| Get server | GET /servers/{uuid} |
| Buy a new server (billable) | POST /servers — see reference/provisioning.md |
| Plans this team can buy | GET /servers/plans |
| Provisioning progress | GET /servers/{uuid}/provisioning-progress |
| List sites on server | GET /servers/{uuid}/sites |
| Monitoring (+ history) | GET /servers/{uuid}/monitoring[/history] |
| Services | GET /servers/{uuid}/services |
| Install / enable / restart / disable a service | POST /servers/{uuid}/services/{install,enable,restart,disable} |
| Node.js versions (read, change default) | GET /servers/{uuid}/node-versions · POST /servers/{uuid}/node-versions/{version}/default |
| Recent tasks | GET /servers/{uuid}/tasks |
| Snapshots | GET /servers/{uuid}/snapshots |
| Supervisor processes | GET /servers/{uuid}/supervisor-processes |
| Verified reboot (preferred) | POST /servers/{uuid}/reboots → GET /servers/{uuid}/reboots/{operationUuid} |
| Recheck an unconfirmed reboot | POST /servers/{uuid}/reboots/{operationUuid}/check |
| Reboot (legacy, fire-and-forget) | POST /servers/{uuid}/reboot |
| Does a domain resolve to this server? | POST /servers/{server}/dns/check |
| Create sites on this server (WordPress, Git, Docker, one-click) | owned by xcloud:deploy |
| Staging hostname a create would mint | GET /servers/{uuid}/staging-hostname?label=… |
| Deploy keys for private repositories | GET /servers/{uuid}/git/deploy-keys · POST /servers/{uuid}/git/deploy-keys |
Not here: creating and deploying sites → xcloud:deploy; site settings →
xcloud:sites; SSL → xcloud:ssl; WordPress plugins/themes/updates →
xcloud:wordpress; invoices and prices → xcloud:billing.
List servers:
"$XC" GET "/servers?per_page=100" \
| jq '(.data.items // .data.data // []) | map({uuid, name, status, status_readable, stack, ip: (.ip_address // .ip)})'
One server + its monitoring:
SERVER_UUID='replace-me'
"$XC" GET "/servers/$SERVER_UUID" | jq '.data'
"$XC" GET "/servers/$SERVER_UUID/monitoring" | jq '.data'
Fleet check ("flag any server above 80% disk"): list servers, read each one's
monitoring, and report one line per server. status_readable values such as
Low disk space or Reboot Required are worth surfacing on their own.
Recent tasks (use after any async write to confirm progress):
"$XC" GET "/servers/$SERVER_UUID/tasks" | jq '(.data.items // .data) | map({uuid, type, status, created_at})'
Is shop.example.com pointing at this server yet?
# Read-only POST: changes nothing. Target shown to the user first: server "$SERVER_NAME".
jq -n --arg d "shop.example.com" '{domain:$d}' \
| "$XC" POST "/servers/$SERVER_UUID/dns/check" - | jq '.data'
It makes one lookup per call — poll while a record propagates. A record behind
Cloudflare's proxy is reported separately (cloudflare_proxy: true); relay
next_actions. On a site xCloud manages through Cloudflare
(cloudflare_managed: true) the proxied record is the finished state — never
tell the user to turn the proxy off there.
Verified reboot — records one reboot operation, then confirms the machine came back with a new boot identity (a repeat while one is unresolved returns the same operation instead of rebooting twice):
# Preview, then confirm: show the user what will change on server "$SERVER_NAME" and wait for a yes.
# Target named: server "$SERVER_NAME".
OP=$("$XC" POST "/servers/$SERVER_UUID/reboots" | jq -r '.data.uuid')
"$XC" GET "/servers/$SERVER_UUID/reboots/$OP" | jq '.data'
Install and enable a service (e.g. Redis), then restart one:
# Preview, then confirm: show the user what will change on server "$SERVER_NAME" and wait for a yes.
# Target named: server "$SERVER_NAME".
"$XC" POST "/servers/$SERVER_UUID/services/install" '{"service":"redis"}' | jq '.message'
# Preview, then confirm: show the user what will change on server "$SERVER_NAME" and wait for a yes.
# Target named: server "$SERVER_NAME".
"$XC" POST "/servers/$SERVER_UUID/services/enable" '{"service":"redis"}' | jq '.message'
# Preview, then confirm: show the user what will change on server "$SERVER_NAME" and wait for a yes.
# Target named: server "$SERVER_NAME".
"$XC" POST "/servers/$SERVER_UUID/services/restart" '{"service":"nginx"}' | jq '.message'
Disable a service (synchronous; can take a service offline):
# Preview, then confirm: show the user what will change on server "$SERVER_NAME" and wait for a yes.
# Target named: server "$SERVER_NAME".
"$XC" POST "/servers/$SERVER_UUID/services/disable" '{"service":"redis"}' | jq '.message'
Before any service change, xCloud must confirm the exact server, service name,
and impact with the user. Accepted service values include mysql, mariadb,
postgresql, nginx, redis, php, ssh, supervisor, docker, lsws,
nodejs, openclaw, paperclip, hermes, and deepseek_harness. For PHP
services, pass version when the server has multiple PHP versions.
Change the server's default Node.js (affects every Node site on the server — say so before asking):
"$XC" GET "/servers/$SERVER_UUID/node-versions" | jq '.data'
# Preview, then confirm: show the user what will change on server "$SERVER_NAME" and wait for a yes.
# Target named: server "$SERVER_NAME".
"$XC" POST "/servers/$SERVER_UUID/node-versions/22/default" | jq '.message'
Sites are created on a server through xcloud:deploy (Git repositories, Docker
Compose apps, WordPress, one-click apps): it runs the detection, dry-run preview,
approval, polling, and failure recovery.
GET /servers/{uuid}/tasks (or the reboot operation / provisioning progress).ssh, nginx, database, runtime, agent, or queue services can cause
lockout or downtime. Require explicit confirmation immediately before calling
POST /servers/{uuid}/services/disable.POST /servers buys a server and charges the team's default card — never
without an approved plan, region and price (reference/provisioning.md).
Connecting a server from the user's own cloud account is dashboard-only.setting default PHP and patching PHP do not enforce a write:servers
scope line in the docs but still require server write permission in practice.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
9 skills in this plugin
/accountxCloud account, teams, and org-level reads — current user, the teams this connection may act on (multi-team), incident alerts (list, read, mark as read), API token listing and revocation, connected Git providers and their repositories, Cloudflare integrations, WordPress blueprints, and API health. Use for "who am I", "which teams can you see", "switch to the Acme team", "any open alerts?", "mark resolved alerts as read", token management, or checking integrations. NOT server or site operations (see xcloud:servers / xcloud:sites), NOT billing (see xcloud:billing)./billingxCloud billing, pricing and paid add-ons — current plan, billing overview, invoices, bills, subscriptions, purchased packages and products, payment methods on file, paying an outstanding invoice, public hosting prices and app requirements, and buying or managing email add-ons (branded mailboxes with DNS verification and IMAP/POP/SMTP settings, and mail-delivery SMTP subscriptions). Use for "what plan am I on", "show last month's invoice", "how much would a server for X cost", "pay invoice 1234", "buy a mailbox for example.com", "verify the mailbox DNS", or "give me the SMTP settings". NOT creating a server (see xcloud:servers), NOT deploying apps (see xcloud:deploy).Other plugins' skills for the same job
/deployDeploy anything to xCloud from one plain request — a GitHub, GitLab or Bitbucket URL (or owner/repo), a Docker Compose or Dockerfile app, a Git-backed staging environment from a branch, a one-click app (Ghost, Uptime Kuma, Vaultwarden…), or a new WordPress site — end to end, with repository detection, a dry-run preview, one approval, provisioning, polling, a live check, and automatic diagnosis and retry when a deploy fails. Use whenever the user pastes a repository URL, says deploy / ship / host / launch / put this app online, asks for a staging copy of a Git site, asks to install a one-click app, asks to ship the latest commit, or says a deploy failed. NOT day-2 site settings (see xcloud:sites), NOT buying a server (see xcloud:servers).npx claudepluginhub xclouddev/xcloud-agent-skills --plugin xcloud