Skip to content

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

ToolScopeWhat it does
dns_list_zonesdns:readFree DNS zones (with status) and the DNS of hosting and email domains
dns_list_recordsdns:readAll records of a zone
dns_set_recorddns:writeAdd or replace records
dns_delete_recorddns:writeDelete all records of one type and name (destructive; asks for confirmation first)
dns_add_zonedns:writeAdd a domain to Hostino free DNS
dns_zone_statusdns:readZone status and the nameservers the domain must use
dns_check_propagationdns:readWhat 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_templatedns:writeReady-made records: google-workspace, zoho-mail, microsoft-365, github-pages, vercel, netlify, dmarc; previews first, applies with apply: true
dns_export_zonedns:readThe whole zone as a BIND zone file (backup or moving to another provider)
dns_delete_zonedns:writeRemove a domain from free DNS; needs confirm_domain equal to the domain, keeps a snapshot

dns_set_record inputs:

InputDescription
domainThe domain, e.g. example.com
typeA, AAAA, CNAME, MX, TXT, NS, SRV, CAA or ALIAS
nameRelative to the zone: @ for the domain itself, or www, api, …
contentAdds one value; for multi-value types it is merged with the existing values of that name
contentsArray of all values; replaces the whole set
ttl60 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 a www CNAME to myuser.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.

TemplateRecordsInput
google-workspaceMX 1 smtp.google.com + SPF include:_spf.google.com—
zoho-mailMX mx.zoho.com, mx2, mx3 + SPF include:zoho.com—
microsoft-365MX <domain>.mail.protection.outlook.com, autodiscover CNAME + SPF—
github-pages4 apex A records + www CNAME to <user>.github.iogithub_user
vercelapex A 76.76.21.21 + www CNAME cname.vercel-dns.com—
netlifyapex A 75.2.60.5 + www CNAME <site>.netlify.appnetlify_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 www CNAME cannot sit next to other records, so any A/AAAA on www is 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:

ToolScopeWhat it does
dns_list_snapshotsdns:readThe zone’s snapshots, newest first (last 20, up to 30 days)
dns_create_snapshotdns:writeTake a snapshot now (e.g. before a series of changes)
dns_snapshot_diffdns:readPreview a restore: which record sets would be replaced and which deleted
dns_restore_snapshotdns:writeRestore 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

ToolScopeWhat it does
ssl_list_certificatesssl:readCertificates with domains, status and expiry
ssl_issue_certificatessl:writeIssue a Let’s Encrypt certificate; inputs: domains (up to 10 names, wildcards allowed), key_type (ec-256 default or rsa-2048)
ssl_certificate_statusssl:readStatus of one order: pending, validating, issued or failed
ssl_verify_certificatessl:writeRun validation again
ssl_check_sitessl:readLive 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_certificatessl:readPEM of an issued certificate: fullchain (default), cert or chain
ssl_renew_certificatessl:writeNew free certificate for the same names as an issued one
ssl_cancel_orderssl:writeDelete 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)

ToolScopeWhat it does
support_list_ticketstickets:readYour tickets with status and last update
support_get_tickettickets:readFull text of one ticket and its replies
support_list_departmentstickets:readSupport departments
support_open_tickettickets:writeOpen a new ticket; inputs: department_id, subject, message, priority (Low, Medium, High)
support_reply_tickettickets:writeReply 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):

ToolScopeWhat it does
prepare_invoice_paymentorders:confirm + billing:payThe exact invoice amount and, if the credit covers it, a confirmation phrase; no money moves yet
pay_invoice_with_creditorders:confirm + billing:payPay 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.