AI & MCP
DNS, SSL and support with AI
Copy page
Manage DNS records and templates, check propagation, issue, check and renew free SSL, handle support tickets and pay renewal invoices from inside your AI tool
With these tools you can set your domains’ DNS, get free SSL, exchange tickets with support and pay renewal invoices from your account credit, all from inside Claude, Cursor, ChatGPT or any MCP client. They are the same features as in the Hostino panel, with the same rules and ownership checks: the tool can reach only your own domains, certificates and tickets.
DNS
| Tool | Scope | What it does |
|---|---|---|
dns_list_zones | dns:read | Free DNS zones (with status) and the DNS of hosting and email domains |
dns_list_records | dns:read | All records of a zone |
dns_set_record | dns:write | Add or replace records |
dns_delete_record | dns:write | Delete all records of one type and name (destructive; asks for confirmation first) |
dns_add_zone | dns:write | Add a domain to Hostino free DNS |
dns_zone_status | dns:read | Zone status and the nameservers the domain must use |
dns_check_propagation | dns:read | What Hostino’s two name servers (Iran, Germany) and Cloudflare, Google and Quad9 answer right now for one record, compared with the zone, plus the domain’s current nameservers |
dns_apply_template | dns:write | Ready-made records: google-workspace, zoho-mail, microsoft-365, github-pages, vercel, netlify, dmarc; previews first, applies with apply: true |
dns_export_zone | dns:read | The whole zone as a BIND zone file (backup or moving to another provider) |
dns_delete_zone | dns:write | Remove a domain from free DNS; needs confirm_domain equal to the domain, keeps a snapshot |
dns_set_record inputs:
| Input | Description |
|---|---|
domain | The domain, e.g. example.com |
type | A, AAAA, CNAME, MX, TXT, NS, SRV, CAA or ALIAS |
name | Relative to the zone: @ for the domain itself, or www, api, … |
content | Adds one value; for multi-value types it is merged with the existing values of that name |
contents | Array of all values; replaces the whole set |
ttl | 60 to 86400 seconds (optional) |
MX is written with its priority: "10 mail.example.com".
New domain: after dns_add_zone the zone is pending until you set the domain’s nameservers at your registrar to the ones dns_zone_status shows. If the domain is registered with Hostino, you can also do this from the panel.
Examples:
- “Show the DNS records of example.com.”
- “Point the domain to GitHub Pages: four A records for
@and awwwCNAME tomyuser.github.io, but leave the domain’s email alone.” - “Add the Google Search Console verification TXT record:
google-site-verification=…”
Templates
dns_apply_template sets up common services in one call. It first only previews: the response lists each change, with the records it replaces under from. The tool shows you the list and applies it with apply: true only after you agree. A snapshot is taken first.
| Template | Records | Input |
|---|---|---|
google-workspace | MX 1 smtp.google.com + SPF include:_spf.google.com | — |
zoho-mail | MX mx.zoho.com, mx2, mx3 + SPF include:zoho.com | — |
microsoft-365 | MX <domain>.mail.protection.outlook.com, autodiscover CNAME + SPF | — |
github-pages | 4 apex A records + www CNAME to <user>.github.io | github_user |
vercel | apex A 76.76.21.21 + www CNAME cname.vercel-dns.com | — |
netlify | apex A 75.2.60.5 + www CNAME <site>.netlify.app | netlify_site |
dmarc | _dmarc TXT v=DMARC1; p=none; rua=mailto:… | report_email |
- SPF is merged: if the domain already has an SPF record, the new
include:is added to it instead of creating a second SPF record (two SPF records break email). - A
wwwCNAME cannot sit next to other records, so any A/AAAA onwwwis removed (shown in the preview). - Email templates replace the domain’s MX records, so mail starts going to the new provider. Hosting email on Hostino stops receiving.
Propagation check
“I changed the record but my site still shows the old server”: dns_check_propagation asks Hostino’s name servers and three public resolvers at once. If Hostino’s servers have the new value but the public ones don’t, it’s only cache, which clears within the old TTL. If uses_hostino_dns is false, the domain’s nameservers at the registrar don’t point to Hostino yet (dns_zone_status shows what to set).
DNS snapshots and restore
Before every change the tool makes with dns_set_record or dns_delete_record, a snapshot of the whole zone is taken (its id is in the response). If a change was wrong, you can put the zone back exactly as it was:
| Tool | Scope | What it does |
|---|---|---|
dns_list_snapshots | dns:read | The zone’s snapshots, newest first (last 20, up to 30 days) |
dns_create_snapshot | dns:write | Take a snapshot now (e.g. before a series of changes) |
dns_snapshot_diff | dns:read | Preview a restore: which record sets would be replaced and which deleted |
dns_restore_snapshot | dns:write | Restore the zone to a snapshot (destructive; asks for confirmation first) |
- A safety snapshot of the current state is taken before restoring, so a restore can itself be undone.
- The SOA record and the domain’s own NS records are never changed.
- If the zone hasn’t changed since the latest snapshot, no duplicate is stored.
Example: “Undo the last DNS change on example.com; show me what will change first.”
Free SSL
| Tool | Scope | What it does |
|---|---|---|
ssl_list_certificates | ssl:read | Certificates with domains, status and expiry |
ssl_issue_certificate | ssl:write | Issue a Let’s Encrypt certificate; inputs: domains (up to 10 names, wildcards allowed), key_type (ec-256 default or rsa-2048) |
ssl_certificate_status | ssl:read | Status of one order: pending, validating, issued or failed |
ssl_verify_certificate | ssl:write | Run validation again |
ssl_check_site | ssl:read | Live check of any public site’s certificate: valid or not, issuer, names, expiry and days left, TLS version, chain, problems (expired, expiring within 15 days, name mismatch, not trusted) |
ssl_download_certificate | ssl:read | PEM of an issued certificate: fullchain (default), cert or chain |
ssl_renew_certificate | ssl:write | New free certificate for the same names as an issued one |
ssl_cancel_order | ssl:write | Delete a pending or failed order and its validation records |
Validation is automatic through Hostino DNS, so the domain must use Hostino DNS (an active free DNS zone or one of your hosting domains). The private key is never returned by the tools: download it from the SSL section of the panel. ssl_download_certificate only gives the public certificate.
Let’s Encrypt certificates are valid for 90 days. Renew about 30 days before expiry: “Check my certificates and renew any that expire within 30 days” runs ssl_list_certificates, then ssl_renew_certificate and ssl_certificate_status. After installing the new certificate, ssl_check_site confirms the site serves it.
ssl_check_site connects only to public addresses, on ports 443, 8443, 465, 993, 995, 2083, 2087 and 2096.
Examples:
- “Get an SSL certificate for example.com and *.example.com and keep checking until it is issued.”
- “When does the SSL of shop.example.com expire? Is it valid for www too?”
- “Give me the fullchain of my example.com certificate for my Nginx config.”
Support (tickets)
| Tool | Scope | What it does |
|---|---|---|
support_list_tickets | tickets:read | Your tickets with status and last update |
support_get_ticket | tickets:read | Full text of one ticket and its replies |
support_list_departments | tickets:read | Support departments |
support_open_ticket | tickets:write | Open a new ticket; inputs: department_id, subject, message, priority (Low, Medium, High) |
support_reply_ticket | tickets:write | Reply to an open ticket |
The tool shows you the ticket text before sending it. Don’t put passwords or other secrets in a ticket.
Example: “My last deploy failed at build. Read the logs and, if the problem is on the hosting side, open a ticket with technical support.”
Paying a renewal invoice from credit
For unpaid invoices that have already been issued (for example a hosting or domain renewal):
| Tool | Scope | What it does |
|---|---|---|
prepare_invoice_payment | orders:confirm + billing:pay | The exact invoice amount and, if the credit covers it, a confirmation phrase; no money moves yet |
pay_invoice_with_credit | orders:confirm + billing:pay | Pay from credit with the phrase you typed |
The tool shows the invoice and amount and asks you to type a phrase such as confirm paying 1,250,000 toman from credit code 4821 yourself (the Persian version is accepted too). If the invoice amount changes in the meantime, the old phrase is rejected and a new one is shown. If the credit is not enough, the invoice’s payment link in the panel is returned. The tool must never write the phrase itself.
Example: “Which of my invoices are unpaid? Pay the hosting renewal invoice for example.com from my credit.”
Databases for AI Deploy apps
create_app_database (scope deploy:write) creates a MySQL database and its user for an app you published with AI Deploy. The connection details are set on the app as encrypted environment variables DATABASE_URL, DB_HOST, DB_PORT, DB_NAME, DB_USER and DB_PASSWORD, and the app is restarted; the password is never shown in the output.
API
The same features are available through the API: DNS API, SSL API and Billing API.