Skip to content

AI & MCP

Remote MCP

Copy page

Hostino Remote MCP server — URL, authentication, tools and example input/output

Hostino’s MCP server is hosted on Hostino infrastructure; nothing needs to be installed on your machine.

ItemValue
URLhttps://mcp.hostino.ai/mcp
TransportStreamable HTTP (session via the Mcp-Session-Id header)
Protocol version2025-06-18 and compatible versions
Protected Resource Metadatahttps://mcp.hostino.ai/.well-known/oauth-protected-resource
Authorization serverhttps://auth.hostino.ai

Tool areas

To load only some tools, add areas to the URL: https://mcp.hostino.ai/mcp/dns,ssl or https://mcp.hostino.ai/mcp?areas=deploy. Areas: account (always), billing, orders, domains, deploy, wordpress, seo, hosting, gpu, apps, dns, ssl, support. An unknown area returns 400 with the list of areas.

How authentication works

  1. The client calls without a token and gets 401 with a WWW-Authenticate header pointing to the metadata.
  2. The client discovers the authorization server from the metadata and registers itself (DCR).
  3. A browser opens for sign-in and consent; the client receives a token and refreshes it automatically every hour.

All of this is automatic in MCP clients. Details: Authentication & permissions.

Tools

list_services

Your services with status, billing cycle and due date.

InputTypeDescription
statusstring (optional)Status filter, e.g. Active, Suspended, Pending, Cancelled
ItemValue
Required scopeservices:read
KindRead-only (readOnlyHint: true)

Example output:

{
"count": 1,
"services": [
{
"id": 150,
"product": "WP-Plus-IR",
"domain": "example.com",
"status": "Active",
"billing_cycle": "Monthly",
"registered_on": "2026-06-01",
"next_due_date": "2026-12-31",
"days_until_due": 71
}
]
}

A negative days_until_due means overdue. All fields: Services API.

list_domains

Your domains with status, expiry date and days remaining, or the status of one domain.

InputTypeDescription
domainstring (optional)Only this domain, e.g. example.com
statusstring (optional)Status filter, e.g. Active, Pending, Expired, Cancelled
ItemValue
Required scopedomains:read
KindRead-only (readOnlyHint: true)

Example output:

{
"count": 1,
"domains": [
{
"id": 136,
"domain": "example.com",
"status": "Active",
"registered_on": "2026-06-03",
"expires_on": "2027-05-16",
"days_until_expiry": 207,
"expired": false,
"next_due_date": "2027-05-16",
"period_years": 1,
"auto_renew": true,
"type": "international"
}
]
}

All fields: Domains API.

list_invoices

Your invoices with number, status, issue and due dates, amounts and balance due. Pass invoice_id for one invoice with its line items.

InputTypeDescription
statusstring (optional)Unpaid, Paid, Overdue, Cancelled, …
invoice_idnumber (optional)Only this invoice, with line items

Scope: invoices:read · read-only. Amounts in IRR with Toman equivalents (*_toman). Details: Billing API.

get_credit_balance

Account credit balance in IRR and Toman. Scope: billing:read · read-only.

changelog_list

Recent changes to the API and MCP tools (newest first, with Persian and English titles). Optional input: limit (1–50). No scope needed · read-only. Details: What’s new.

Buying services

These tools make up the purchase flow. Nothing is bought without your approval. You can approve in two ways:

  1. Approval link: request_order returns an approval_url that you open in your browser and approve on auth.hostino.ai.
  2. In the chat (with the orders:confirm permission): the tool shows a preview (plan, cycle, domain, amount) and asks you to type a confirmation phrase yourself, e.g. confirm purchase 108,900 toman code 4821. That issues the invoice; no money is taken yet.
    • If your account credit covers it: you’re shown the exact invoice amount, and typing a second phrase (confirm paying … toman from credit code …) pays it from credit. If the amount changes in the meantime, the old phrase is refused and a new one is shown.
    • If credit doesn’t cover it: the invoice is issued in the panel; pay it there and tell the tool, which checks with get_order_status.

Phrases carry a one-time code and the exact amount, accept Persian or English digits, expire with the request (about 15 minutes) and lock after 5 wrong attempts. The tool must never type a phrase itself. Details and safeguards: Purchases API.

ToolScopeWhat it does
list_plansorders:readPurchasable plans (category, use case, location, price per cycle); inputs: category, location
prepare_orderorders:readPre-invoice (price, estimated VAT, credit check); inputs: pid, billing_cycle, domain
request_orderorders:write (+ billing:pay for credit)Creates a purchase request and returns approval_url; inputs: the above + pay_with (invoice or credit)
check_subdomainorders:readCheck whether a free <name>.hostino.cloud subdomain is available
confirm_orderorders:confirmConfirm a purchase with a phrase you typed → issues the invoice (no charge)
pay_with_creditorders:confirm + billing:payPay the invoice from credit with a phrase naming the exact invoice amount
get_order_statusorders:readStatus: pending_approval, awaiting_payment, completed, … plus invoice and service
prepare_invoice_paymentorders:confirm + billing:payPay an existing invoice (e.g. a renewal) from credit, step 1: exact amount and confirmation phrase; no money moves
pay_invoice_with_creditorders:confirm + billing:payStep 2: pay with the phrase you typed
service_upgrade_optionsservices:readHigher plans of the same group the service can move to, priced for its own billing cycle
service_upgradeorders:writeUpgrade step 1: exact prorated amount and confirmation phrase; nothing changes yet
service_upgrade_confirmorders:write + orders:confirmUpgrade step 2: with the phrase you typed, an unpaid invoice is issued; the plan switches once it is paid

Example: “Find a suitable Iran-hosted plan for my Next.js project, tell me the price, and after I agree request it with an invoice.” The tool shows you the approval link; nothing is ordered until you approve it.

Plan upgrades: the rule and the full flow are in Plan upgrades with AI.

Free subdomain: instead of your own domain, pass just subdomain (e.g. myshop) to prepare_order and request_order to get hosting on myshop.hostino.cloud; its DNS is set up automatically once the service is active, and get_order_status reports it.

Deploy and hosting

Full details in AI Deploy.

ToolScopeWhat it does
list_deploy_targetsdeploy:readNode.js hosting you can deploy to, and the apps on each
get_serviceservices:readOne service’s details, deploy capability and cPanel login
create_deploymentdeploy:writeStart a deployment and get a single-use upload link
get_deployment_status / get_deployment_logsdeploy:readStatus and install/build/runtime logs; for a failed deploy the status includes diagnosis
analyze_deploymentdeploy:readWhy a deploy failed: cause, evidence from the logs and a concrete fix (read-only)
list_appsdeploy:readApps and environment variable names
create_app_databasedeploy:writeCreate a MySQL database for an app; connection details are set on the app as encrypted DATABASE_URL and DB_*
set_app_env / rollback_deployment / restart_appdeploy:writeEnv vars, rollback and restart
open_cpanelhosting:loginShort-lived direct cPanel login link

Hosting

Tools for your own cPanel hosting (Linux, WordPress and Node.js). Full details in Hosting with AI. Deletes only run with confirm_* equal to the exact item name, and passwords are returned once.

ToolScopeWhat it does
hosting_overview / hosting_resource_usagehosting:readDomains, disk, PHP per domain, database and cron job counts; usage against the plan limits
hosting_site_doctorhosting:readOne diagnosis of a site (reachability, SSL, errors, resources, PHP) with findings ordered by severity and fixes
hosting_error_loghosting:readLatest web server / PHP errors of a domain
hosting_list_databaseshosting:readMySQL databases and users
hosting_create_database / hosting_reset_database_password / hosting_delete_databasehosting:writeCreate database + user, new password, delete (confirm_name)
hosting_list_cron_jobshosting:readCron jobs
hosting_add_cron_job / hosting_delete_cron_jobhosting:writeAdd (max 20), delete (confirm_id)
hosting_list_subdomainshosting:readSubdomains
hosting_create_subdomain / hosting_delete_subdomainhosting:writeCreate, delete (confirm_subdomain; files kept)
hosting_list_redirectshosting:readRedirects
hosting_add_redirect / hosting_delete_redirecthosting:writeAdd a 301/302, delete (confirm_path)
hosting_get_php / hosting_php_settingshosting:readPHP version per domain; PHP settings and .htaccess overrides
hosting_set_php_version / hosting_set_php_settingshosting:writeChange the PHP version; change memory_limit, upload_max_filesize and other allowed settings
hosting_email_accountshosting:readMailboxes, forwarders, autoresponders and catch-all
hosting_manage_emailhosting:writeCreate/delete/reset mailboxes, forwarders, autoresponders and catch-all
hosting_manage_domainshosting:writeAdd/remove addon and parked domains (plan limit: plan_limit_reached)
hosting_ssl_status / hosting_run_autosslhosting:read / hosting:writeCertificates and AutoSSL problems; run AutoSSL
hosting_ftp_accounts / hosting_manage_ftphosting:read / hosting:writeFTP accounts; create, reset password and delete
hosting_list_files / hosting_read_filehosting:readList files and read a text file up to 256 KB (read-only)

WordPress

Full details in WordPress with AI.

ToolScopeWhat it does
wordpress_list_sites / wordpress_site_infowordpress:readSites, versions and pending updates
wordpress_updatewordpress:writeUpdate core, plugins or the theme
wordpress_install_pluginwordpress:writeInstall and activate a plugin
wordpress_install / wordpress_install_statuswordpress:write / wordpress:readInstall a fresh WordPress and follow it
wordpress_login_linkhosting:loginOne-time wp-admin login
wordpress_plugins / wordpress_themes / wordpress_settings / wordpress_adminswordpress:readInstalled plugins and themes, settings, administrator accounts
wordpress_plugin_manage / wordpress_theme_manage / wordpress_update_settingswordpress:writeActivate/deactivate/delete a plugin, install/activate a theme, change title, tagline, search-engine visibility, timezone, permalinks
wordpress_maintenance / wordpress_cache_flushwordpress:writeMaintenance mode on/off, flush caches
wordpress_security_scanwordpress:readCore and plugin files compared with the official checksums
wordpress_optimize / wordpress_job_statuswordpress:write / wordpress:readOptimize PHP, database, JS, CSS and images, and follow the job
wordpress_backup_status / wordpress_backup_create / wordpress_backup_restorewordpress:read / wordpress:writeLatest backup, new backup, restore
wordpress_debug_log / wordpress_set_debugwordpress:read / wordpress:writedebug.log and PHP error log; turn error logging on/off
wordpress_users / wordpress_manage_userwordpress:read / wordpress:writeUsers and roles; create, reset password and delete a user (administrators need confirm_role)
wordpress_search_replacewordpress:writeChange a URL or domain in the database (dry run first, apply with confirm_from)
wordpress_search_directorywordpress:readSearch wordpress.org plugins and themes
wordpress_cronwordpress:writewp-cron status, switch to the hosting cron or back
wordpress_stagingwordpress:writeCreate, check, push to live (with a restore point) and delete a staging copy

SEO and site health

Full details in SEO and site health with AI.

ToolScopeWhat it does
seo_checkservices:readTitle, description, canonical, noindex, H1, robots.txt, sitemaps, Open Graph, HTTPS redirect, with a score and issues
site_auditservices:readLighthouse: performance, SEO, accessibility, best practices, Core Web Vitals
site_healthservices:readHTTP from Iran and Germany, ping, ports, mail DNS, latest backup

GPU cloud

Full details in GPU cloud with AI.

ToolScopeWhat it does
gpu_catalog / gpu_list_pods / gpu_pod_statusgpu:readGPU prices and availability, your pods, live utilization and hourly cost
gpu_list_volumes / gpu_usagegpu:readNetwork volumes, spending per day and pod
gpu_pod_stop / gpu_pod_restartgpu:writeStop (GPU billing ends) or restart a running pod
gpu_deploy_pod / gpu_pod_start / gpu_pod_terminategpu:writeStep 1: hourly cost and confirmation phrase (nothing happens yet)
gpu_confirmgpu:write + orders:confirmStep 2: create, start or delete with the phrase you typed

One-click apps (n8n, PostgreSQL)

Full details in n8n and PostgreSQL with AI.

ToolScopeWhat it does
app_listapps:readYour n8n and PostgreSQL apps with status, plan and URL
app_accessapps:readn8n address or PostgreSQL connection details (password only on request)
app_controlapps:writeStart, stop or restart
app_logsapps:readLast log lines, secrets masked

Domains

ToolScopeWhat it does
domain_checkdomains:readAvailability and register/renew/transfer price (toman, 1–10 years); .ir too
domain_infodomains:readNameservers, lock state, WHOIS privacy and registrant verification of your domain
domain_set_nameserversdomains:writeSet 2–4 nameservers (Webnic for international, IRNIC for .ir)
domain_set_lockdomains:writeTransfer lock on or off (international domains)
domain_renewdomains:writeRenewal price and confirmation phrase (nothing happens yet)
domain_renew_confirmdomains:write + orders:confirmRenew with the phrase you typed; the registrar renews immediately and an invoice is issued

Renewal happens at the registrar right away, so it only runs with a confirmation phrase containing the exact amount that you type yourself (API tokens don’t have this permission). Pay the issued invoice from credit with prepare_invoice_payment or in the panel.

DNS, SSL and support

Full details in DNS, SSL and support with AI.

ToolScopeWhat it does
dns_list_zones / dns_list_recordsdns:readDNS zones and records
dns_set_record / dns_delete_recorddns:writeAdd, replace or delete records
dns_add_zone / dns_zone_statusdns:write / dns:readAdd a domain to free DNS and check its nameservers
dns_list_snapshots / dns_snapshot_diffdns:readZone snapshots and restore preview
dns_create_snapshot / dns_restore_snapshotdns:writeTake a snapshot and restore the zone (a snapshot is taken automatically before every change)
dns_check_propagation / dns_export_zonedns:readWhat Hostino’s and public resolvers answer for a record; BIND export
dns_apply_template / dns_delete_zonedns:writeEmail / site-host / DMARC templates (preview, then apply); remove a zone
ssl_list_certificates / ssl_certificate_statusssl:readCertificates and issuance status
ssl_issue_certificate / ssl_verify_certificatessl:writeIssue free SSL and retry validation
ssl_check_site / ssl_download_certificatessl:readLive certificate check of a public site; PEM of an issued certificate (no private key)
ssl_renew_certificate / ssl_cancel_orderssl:writeRenew with the same names; cancel an unfinished order
support_list_tickets / support_get_ticket / support_list_departmentstickets:readTickets, full text and departments
support_open_ticket / support_reply_tickettickets:writeOpen and reply to tickets

Example prompts

  • “List my services with due dates and flag anything due within 30 days.”
  • “Which of my services are overdue?”
  • “What’s the status and expiry date of example.com?”
  • “Show domains that don’t have auto-renew.”
  • “Which of my invoices are unpaid and what’s the total?”
  • “What’s my account credit?”
  • “Create a CNAME record for www.example.com pointing to myapp.vercel.app.”
  • “Show my open tickets and summarize the latest reply from support.”

Test directly with curl

Terminal window
# no token → 401 with WWW-Authenticate
curl -si -X POST https://mcp.hostino.ai/mcp -H 'Content-Type: application/json' -d '{}'
# with a token (see Quickstart for how to get one)
curl -s -X POST https://mcp.hostino.ai/mcp \
-H "Authorization: Bearer $TOKEN" \
-H 'Content-Type: application/json' -H 'Accept: application/json, text/event-stream' \
-d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-06-18","capabilities":{},"clientInfo":{"name":"curl","version":"1"}}}'

How to get a token: Quickstart & testing.