Claude Code + xCloud

Manage Your Hosting from Claude Code with xCloud

Claude Code is Anthropic's agentic coding tool that runs in your terminal. Connected to xCloud through the MCP server, with the xCloud skills plugin layered on top, it deploys repositories, takes backups, updates WordPress, renews SSL and diagnoses failures from the same session you write code in.

  • One command: claude mcp add
  • Nine xCloud skills as a Claude Code plugin
  • Free with every xCloud account

YouDeploy github.com/acme/shop to my Frankfurt server on a staging hostname.

git_detectread-only

AgentNode.js app on main, build npm run build, start npm start. Dry run passed. Create shop-staging on Frankfurt?

YouYes.

servers_sites_git_createneeds approval

AgentDeployed. SSL issued, https://shop-staging.acme.xcloud.site answers 200.

. Keep a human in the loop: xCloud stops and asks before anything that creates, deploys, updates, reboots, deletes or buys.

Setup

How Do I Connect Claude Code to xCloud?

Point Claude Code at the xCloud MCP server, approve access in your browser, then ask. The whole thing takes a couple of minutes. The xCloud Agent Skills are an optional layer on top of that connection: they teach the agent the workflows, they do not replace it.

  1. Add the xCloud MCP server

    Run this in your terminal, then type /mcp inside Claude Code, pick xcloud and choose Authenticate. The browser opens on the xCloud approval screen, where you tick the teams and choose Read-only or Full access.

    Terminal
    claude mcp add xcloud --transport http https://app.xcloud.host/mcp
  2. Install the xCloud skills plugin

    Optional but recommended. Inside Claude Code, add the xCloud marketplace, install the plugin and reload. The nine skills teach Claude Code which tool to reach for, how to dry-run and confirm, how to poll a long job and how to diagnose a failed deploy.

    Terminal
    /plugin marketplace add xCloudDev/xcloud-agent-skills
    /plugin install xcloud@xcloud-agent-skills
    /reload-plugins
  3. No browser? Use an API key

    For a headless or CI machine, create a token with the mcp:invoke scope plus the read abilities for the areas it will use (read:servers and read:sites, with read:billing and read:addons for billing and add-on tools) and the matching write: abilities if it should change things in Settings, Developers, API Tokens and pass it as a header. Keep the single quotes: xCloud tokens contain a pipe character.

    Terminal
    claude mcp add xcloud --transport http https://app.xcloud.host/mcp \
      --header 'Authorization: Bearer YOUR_TOKEN'
  4. Check it worked

    The /mcp authenticate flow signs you in with OAuth, so there is no token to paste; Claude Code stores the credentials it receives securely, refreshes them itself and clears them when you log out from /mcp. A headless machine passes an API key that carries the mcp:invoke scope and the read or write abilities it needs as an Authorization header.

    Prompt
    Who am I on xCloud?

Three surfaces

Which Way Should I Connect Claude Code to xCloud?

The MCP server exposes one tool per customer-facing xCloud operation and leaves out eleven internal ones that only the Public API carries; the skills add workflow know-how on top of an MCP connection and, on their own, only read access. All three are free with every account and differ in what you set up and what holds the credentials.

xCloud MCP serverxCloud Agent SkillsPublic API
Terminal neededNo (recommended for Claude Code)Yes for the plugin or ClawHub installYes
AuthenticationOAuth sign-in, or an API key with mcp:invoke plus read or write abilities (recommended for Claude Code)The MCP connection, or a read-scoped API tokenAPI token with scoped abilities
What it addsOne tool per customer-facing xCloud operation (188 today) (recommended for Claude Code)Workflow know-how: routing, dry run, confirm, poll, diagnoseRaw REST for your own code
Changes to your infrastructureYes, after confirmation (recommended for Claude Code)Only through a connected MCP tool, after confirmationYes, with write scopes
Best forMost people; every MCP client (recommended for Claude Code)Agents that run shell commands and read skillsCI jobs, dashboards and long-running loops

Background

What Is Claude Code?

Claude Code is Anthropic's agentic coding tool. It runs in the terminal, reads and edits the files in your project, runs commands and works through multi-step tasks on its own, pausing to ask when a step needs your decision. It also runs inside VS Code and JetBrains, in Anthropic's desktop app and on the web.

Claude Code speaks the Model Context Protocol, so it can use remote tool servers such as xCloud MCP, and it loads plugins and skills: Markdown files that teach it how a particular product's workflows go. xCloud ships both: the MCP server gives Claude Code one tool per customer-facing xCloud operation, and the skills plugin adds the judgement about when to use which.

Because it lives in the same terminal as your code, a deploy no longer means switching to a dashboard. You push, ask Claude Code to deploy, and it detects the app, previews the site, waits for your approval and checks the live URL before it reports back.

Why Claude Code with xCloud?

Deploy from where the code is

Claude Code already knows your repository. Ask it to deploy and it hands the URL, branch and build settings to xCloud, dry-runs the site and asks once before creating anything.

Skills, not guesswork

The xCloud plugin's nine skills route each request to the right area, insist on a backup before an update, poll long jobs to completion and diagnose a failed deploy instead of reporting that it started.

Headless and scriptable

Claude Code runs non-interactively too. With an API key that carries the mcp:invoke scope and the read or write abilities it needs, a CI job or a cron task can run read-only checks and reports through the same connection.

Guides

What Can Claude Code Do on xCloud?

One guide per hosting job, each with the Claude Code setup, the xCloud tools involved, a settings reference, example prompts and the limits that apply.

Example prompts

What Can You Ask Claude Code to Do on xCloud?

Type these as written and swap in your own site and server names. Reads and routine actions such as backups, cache purges, PageSpeed scans and vulnerability scans run straight away; creating, deploying, updating, rebooting, deleting, buying or starting a broken-link scan stops and asks first.

Prompt
Deploy https://github.com/acme/shop to my Frankfurt server and show me the dry run before you create anything.
Prompt
Update all plugins on example.com, but take a backup first and confirm the homepage still loads afterwards.
Prompt
The last deploy of the API site failed. Diagnose it, fix the build command and retry on the same site.
Prompt
Renew the SSL certificate for shop.example.com and tell me when it expires now.
Prompt
Audit example.com: is it up, is SSL healthy, any vulnerabilities, and how is performance?

Good to know

  • After claude mcp add, the xCloud tools appear only once you have run /mcp and authenticated. If no xCloud tools show up, restart Claude Code.
  • The plugin's REST fallback is GET-only in v4.4.2. Changes go through the MCP connection after your confirmation, which is why the MCP step comes first.
  • Put an API token in ~/.claude/settings.json or a project-local .claude/settings.local.json kept out of git, never in a chat message.

More prompts, grouped by job: What you can ask xCloud MCP to do.

Claude Code and xCloud: Frequently Asked Questions

Short answers about connecting Claude Code, what it may change and what it costs.

How do I connect Claude Code to xCloud?

Run claude mcp add xcloud --transport http https://app.xcloud.host/mcp in your terminal, then type /mcp inside Claude Code, pick xcloud and choose Authenticate. Approve the access level in the browser tab that opens, and ask who am I on xCloud to confirm the connection.

Do I need the xCloud skills plugin if I have the MCP connection?

No. The MCP connection alone gives Claude Code every xCloud tool. The plugin is an optional layer that teaches it xCloud's workflows: which tool to reach for, how to preview and confirm, how to poll a long job and how to diagnose and retry a failed deploy.

Does Claude Code need an xCloud API key?

Not when you sign in with OAuth through /mcp. An API key is only for machines without a browser, such as a CI runner. Create one with the mcp:invoke scope plus the read abilities for the areas it will use (read:servers and read:sites, with read:billing and read:addons for billing and add-on tools) and the matching write: abilities if it should change things and pass it as an Authorization header on the claude mcp add command.

Can Claude Code change my servers without asking?

Not for the operations xCloud gates. Reads run straight away, and routine actions such as cache purges, backups, PageSpeed and vulnerability scans run without a prompt. Creating a site or server, deploying, updating plugins, rebooting, deleting or buying is refused by xCloud unless the call carries an explicit confirmation, and the tool tells Claude Code to ask you first.

Which xCloud skills does the Claude Code plugin include?

Nine: deploy, troubleshoot, performance, servers, sites, wordpress, ssl, billing and account. You never name them; Claude Code picks the right one from what you ask. If it reaches for the wrong area, say so, for example: using xcloud:ssl, renew the certificate for example.com.

Can Claude Code work across several xCloud teams?

Yes. On the approval screen you tick every team the connection may act on, and Claude Code names the team per request. A site on a team you did not tick comes back as not found; reconnect and tick that team.

Is it free to use Claude Code with xCloud?

The xCloud side is free: the MCP server, the skills plugin and the Public API are included with every xCloud account, including the free plan. Claude Code itself is billed by Anthropic under your Claude plan or API usage.

Other agents

Also Works With

The same xCloud account, the same operations, a guide for each client.

Run Your Hosting from Claude Code

xCloud MCP, the Agent Skills and the Public API are free with every account. Connect once and ask.