Grok Bot + xCloud
Manage SSL and domains with Grok Bot on xCloud
Managing SSL and domains with Grok Bot means asking an always-on Bot to read each site's certificate and DNS on xCloud, warn you before one expires, and install or renew HTTPS after you approve, leaving domain edits to the dashboard.
- Skill: xcloud:ssl
- Toolsets: ssl-certificates, sites, integrations
- Free with every xCloud account
You@xcloud Check the certificate on shop.example.com and renew it if it is close to expiry.
sites_sslread-only
servers_dns_checkread-only
AgentThe Let's Encrypt certificate on shop.example.com expires in 5 days and DNS points at the server. Renew it now?
YouYes.
sites_ssl_renewneeds approval
sites_sslread-only
AgentRenewed. I re-read the certificate: it is active with a later expiry, and https://shop.example.com loads without a warning.
. Keep a human in the loop: xCloud stops and asks before anything that creates, deploys, updates, reboots, deletes or buys.
Setup
How Do You Set Up Grok Bot to Manage SSL and domains on xCloud?
Connect Grok Bot once; every job on this account uses the same connection. Then ask in plain words.
Ask a Bot to add xCloud as a Remote HTTPS MCP server
In the Grok Bot desktop app, open any Bot's chat and ask it to add a custom MCP server of the Remote HTTPS kind, named xcloud, with this URL. The Bot adds it as a personal plugin from your own chat; the Marketplace in the sidebar only lists catalog connectors. The owner of a Team Bot adds the same kind of server from the Plugins card in the Bot's Setup panel instead. When the browser opens, sign in with xCloud, tick the teams the Bot may act on and choose Read-only or Full access.
https://app.xcloud.host/mcpAttach it to a task and check it works
In a Bot chat, type @ and pick xcloud to attach the connector to the task, then ask. A plugin you added from your own chat is personal and account-wide, so every Bot on your account can use it; a plugin added from a Team Bot's Setup panel belongs to that Team Bot, so check it in that Bot's chat. Put a standing boundary in the description of each Bot that may touch hosting, for example: never change production without approval.
@xcloud Who am I on xCloud, and which servers and sites do I have?Team Bot without sign-ins? Use an API key
A Remote HTTPS server added from the Plugins card in a Team Bot's Setup panel can run on the Bot's own credential instead of each person's sign-in, which suits a Team Bot that answers hosting questions for everyone. 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 give the plugin this header where its form asks for one. Everyone who talks to that Bot then acts with the token's access, so keep it read-only unless the team should change things.
Authorization: Bearer YOUR_TOKENCheck it worked
Then ask Grok Bot for the job itself, for example:
@xcloud Which of my sites have an SSL certificate that expires in the next 30 days? Give me the site, the provider and the expiry date.
In practice
How Does SSL and domains Work from Grok Bot?
Certificates fail quietly, which makes them a good fit for a Bot that checks without being asked. Ask a Grok Bot which of your sites have a certificate that expires in the next 30 days and it reads sites_index, then sites_ssl and sites_sslCertificates for each site, and answers with the provider, the status and the expiry date. For a single site it adds servers_dns_check, one lookup that says whether the domain's record points at your server and whether the Cloudflare proxy is on. A proxied record on a site that xCloud manages through Cloudflare is the finished state, so a good answer says that instead of calling it a fault. Everything here is a read and runs without a prompt, so it works on a routine.
The routine is the main reason to do this from Grok Bot. Ask the Bot: every Monday at 8:00 AM, check every site's certificate and DNS and post anything that expires within 30 days or whose record no longer points at the server. The Bot creates it, shows its next run and lets you Test run it. Because a routine runs on the Bot's cloud computer, it carries on with your laptop closed. What it cannot do alone is renew. Installing, renewing, switching or deleting a certificate stops for your approval, and a normal renewal only fires within seven days of expiry unless you ask for a forced one. So the report arrives in the conversation and you answer with a yes, which the Bot turns into sites_ssl_renew and then polls until the certificate settles. It loads the site over HTTPS before it says done.
Domains are where you will hear no. Adding, changing or removing a domain on an existing site is dashboard-only, under Site, Domain, and a staging site goes live under Site, Domain, Go Live. When you ask, the Bot reads the primary and additional domains through sites_domains, tells you what is set and gives you the path and the site's dashboard link. It does not improvise a workaround, and it will not replace a working certificate with a different provider without telling you first.
Grok Bot specific: Your DNS provider is not part of the connection. xCloud writes the DNS record and the certificate itself only at site creation, when the domain's zone is on a Cloudflare account you connected to xCloud. Everywhere else the Bot can check a record but not change it, so a report that DNS has not propagated is a message to you to fix the record at your registrar. Do not turn the propagation wait into a routine. Ask the Bot to check once, wait, and ask it again later, because each check is a single lookup. Tell the Bot which error visitors see as well: a Cloudflare 526 is an SSL fault, while a 522 usually means ports 80 and 443 are blocked at the origin, and the two need different checks.
What xCloud does for ssl and domains
xCloud lets the agent read a site's certificate status, domains and DNS, then install or renew a certificate from xCloud (Let's Encrypt), your own files or a connected Cloudflare account. Adding or changing a domain on an existing site stays in the dashboard, and the agent gives you the path.
- Find the site and read its SSL. The agent resolves the site by name or domain, then reads its current SSL state and the list of certificates before it changes anything. That shows the provider, the status and the expiry date.
- Check the domain and DNS. It reads the site's primary and additional domains and asks xCloud whether the domain's DNS record points at the server. Each check is one lookup, so the agent repeats it while a record propagates. A record behind Cloudflare's proxy is reported separately.
- Choose the certificate source. You pick xCloud's free Let's Encrypt certificate, your own certificate, or the team's Cloudflare integration. If the site already uses a different provider, the agent tells you that switching needs an explicit override and asks first.
- Install or renew, once you approve. The agent restates the site and the provider, then installs or renews the certificate. A renewal only runs when the certificate is within seven days of expiry unless you ask for a forced renewal. For a WordPress site turning on HTTPS for the first time, it asks whether to run the database search-and-replace.
- Poll to issuance and verify. Install and renew report success before issuance completes. The agent polls the certificate status until it settles, then checks the site over HTTPS before it calls the job done.
- Hand off domain changes. If you want to add, change or remove a domain on an existing site, the agent gives you the dashboard path (Site > Domain) and the site's dashboard link, because the API only reads domains after creation.
Reference
SSL and domains Settings and Limits on xCloud
The facts Grok Bot works within when it manages SSL and domains. Where a row names the dashboard, that step stays yours to take there.
| Setting or limit | What applies |
|---|---|
| Certificate status | A site's SSL state, its certificate list and one certificate's detail and status are all readable |
| xCloud certificate | Free Let's Encrypt certificate issued and renewed by xCloud. The domain's DNS should already point at the server before you ask |
| Custom certificate | You supply the PEM certificate and its private key. The key is a secret and is never returned by a read |
| Cloudflare certificate | Uses the team's connected Cloudflare account. When the zone is connected, xCloud writes the DNS record and the certificate itself at site creation |
| Switching provider | Needs an explicit force when another provider is already configured, so the agent asks before it replaces a working certificate |
| Renewal rule | A renewal does nothing unless the certificate is within seven days of expiry; a forced renewal skips that guard. Renewing needs the site SSL permission on your team role |
| WordPress first HTTPS | An optional database search-and-replace moves existing http:// URLs to https:// when a WordPress site adopts HTTPS for the first time |
| DNS check | One lookup per call. A proxied Cloudflare record is flagged, and on a Cloudflare-managed site the proxied record is the finished state, not a fault |
| Domains (read) | The primary domain, additional domains and the domain update status are readable through the API |
| Domains (write) | Adding, changing or removing a domain on an existing site is dashboard-only: Site > Domain. A staging site goes live under Site > Domain > Go Live |
| Deleting a certificate | Available through the API, but it can take a site off HTTPS, so the agent restates the target and waits for your approval |
| Cloudflare 526 errors | A 526 or a certificate warning is an SSL problem, so the agent reads the certificate first. A 522 is different: it usually means ports 80 and 443 are blocked at the origin |
Rules Grok Bot has to follow
- Installing, renewing, switching or deleting a certificate stops for your approval, and the agent names the site and the provider before it asks.
- A success response means xCloud accepted the work, not that the certificate was issued: the agent polls the status and checks the live HTTPS URL.
- The agent never replaces a working certificate with a different provider without telling you, and it never turns off the Cloudflare proxy on a site xCloud manages through Cloudflare.
- Changing a domain on an existing site is a dashboard step; the agent gives you the path and the dashboard link xCloud returned, not a made-up workaround.
- A custom certificate's private key is a secret: it is never returned by a read and should not be pasted into a shared channel.
Example prompts
What Can You Ask Grok Bot to Do for SSL and domains?
Type these as written and swap in your own repository, 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.
@xcloud Which of my sites have an SSL certificate that expires in the next 30 days? Give me the site, the provider and the expiry date.@xcloud Is the DNS record for example.com pointing at my Frankfurt server yet? Tell me if the Cloudflare proxy is on. Check once and wait for me.Every Monday at 8:00 AM, use @xcloud to check the certificate and DNS of every site and post anything expiring within 30 days. Renew nothing.Check the SSL certificate on shop.example.com and tell me when it expires.Is the DNS A record for example.com pointing at my Frankfurt server yet? Tell me if the Cloudflare proxy is on.Issue a free SSL certificate for example.com once DNS resolves, then confirm the site loads over HTTPS.Renew the certificate on the shop site and tell me the new expiry date.List every domain and additional domain on the shop site and say which is primary.Which of my sites have a certificate that expires in the next 30 days?Use my connected Cloudflare account for the certificate on shop.example.com, and show me what will change first.Visitors get a Cloudflare 526 error on shop.example.com. Check the certificate and tell me what is wrong.Grok Bot and SSL and domains: Frequently Asked Questions
What people ask before they let Grok Bot manage SSL and domains through xCloud.
Can a Grok Bot renew my SSL certificate on a schedule?
It can check on a schedule, but renewing needs your approval. A routine reports which certificates are close to expiry and you reply with a yes. xCloud only renews within seven days of expiry unless you ask for a forced renewal, so an early renewal is a request you make.
Can a Grok Bot add a domain to a site I already created?
No. The Bot can read a site's primary and additional domains, but adding, changing or removing one on an existing site is a dashboard step under Site, Domain. It tells you what is set now and gives you the path and the site's dashboard link.
Can an AI agent add a domain to an existing site?
No. The API reads a site's domains, additional domains and domain update status, but adding, changing or removing a domain on an existing site is a dashboard step under Site > Domain. A domain is chosen when the site is created. The agent can tell you what is currently set and give you the path.
Which certificate options can the agent install?
Three: xCloud's free Let's Encrypt certificate, a custom certificate you supply, and a certificate through your connected Cloudflare account. The agent checks the current state first and asks before it changes anything. Switching a site from one provider to another needs an explicit override.
Why did the agent say a renewal did nothing?
A normal renewal only fires when the certificate is within seven days of expiry. If you need it earlier, ask for a forced renewal and the agent will confirm before it runs. Renewing also needs the site SSL permission on your team role.
Does the agent set up my DNS records?
It reads and checks them rather than writing them. It can tell you whether a domain's record points at your server and whether the Cloudflare proxy is on. DNS and the certificate are written for you only at site creation, when the domain's zone is on a Cloudflare account you connected to xCloud.
What does the agent do about a Cloudflare 526 error?
It treats it as an SSL problem. It reads the site's certificate status and expiry, and fixes it with an installation or renewal after your approval. A 522 is a different fault, usually closed ports 80 and 443 on the origin, so it is checked against the firewall instead.
Other agents
SSL and domains with Other Agents
The same job, the same xCloud tools, a guide for each client.
- Manage SSL and domains with Claude CodeAnthropic's terminal coding agent. One claude mcp add command, plus the xCloud skills plugin with nine skills on top.
- Manage SSL and domains with ClaudeAnthropic's chat assistant on the web and desktop. Add xCloud as a custom connector, no terminal needed.
- Manage SSL and domains with Claude CoworkAnthropic's desktop agent for delegated work. Add the xCloud connector, then hand off hosting jobs.
- Manage SSL and domains with CursorThe AI code editor. One mcp.json entry with the compact URL, because Cursor stops at 40 tools.
- Manage SSL and domains with CodexOpenAI's coding agent for the terminal. A codex mcp add command or a config.toml entry, then codex mcp login.
- Manage SSL and domains with OpenCodeThe open-source terminal coding agent. One remote MCP entry, then opencode mcp auth xcloud.
- Manage SSL and domains with Hermes AgentNous Research's agent with memory and a built-in scheduler. An mcp_servers entry in config.yaml and one login.
- Manage SSL and domains with OpenClawThe open-source agent runtime with chat apps and automations. ClawHub skill plus the MCP client.
- Manage SSL and domains with WindsurfThe Cognition editor, now Devin Desktop. devin mcp add for the Devin Local agent, a serverUrl entry for legacy Cascade.
- Manage SSL and domains with GitHub CopilotCopilot agent mode in VS Code. One .vscode/mcp.json entry, or the Agent Plugins package.
- Manage SSL and domains with Gemini CLIGoogle's terminal agent. One gemini mcp add command, OAuth found automatically.
- Manage SSL and domains with ChatGPTOpenAI's chat assistant. A developer-mode app with the xCloud MCP URL and OAuth.
- Manage SSL and domains with ChatGPT dotsOpenAI's always-on agent in ChatGPT. Uses the xCloud MCP plugin you add in ChatGPT, with custom rules and scheduled tasks.
- Manage SSL and domains with GrokxAI's terminal agent, Grok Build. One grok mcp add command or a config.toml entry.
- Manage SSL and domains with KiroAWS's agentic IDE. One url entry in .kiro/settings/mcp.json, plus the portable xCloud Agent Plugins package.
- Manage SSL and domains with AntigravityGoogle's agentic IDE. One serverUrl entry in mcp_config.json and a browser sign-in.
- Manage SSL and domains with ZedThe Zed editor's Agent Panel. One context_servers entry in settings.json and a browser sign-in.
More Grok Bot guides
- Grok Bot and xCloud overview
- Deploy from Git with Grok Bot
- Run Docker apps with Grok Bot
- Install one-click apps with Grok Bot
- Manage WordPress with Grok Bot
- Back up and stage sites with Grok Bot
- Manage servers with Grok Bot
- Troubleshoot a broken site with Grok Bot
- Speed up a slow site with Grok Bot
- Secure sites and servers with Grok Bot
Run Your Hosting from Grok Bot
xCloud MCP, the Agent Skills and the Public API are free with every account. Connect once and ask.