---
title: Remote MCP
description: Hostino Remote MCP server — URL, authentication, tools and example input/output
sidebar:
  order: 3
  badge:
    text: Alpha
    variant: success
---

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

| Item | Value |
|---|---|
| URL | `https://mcp.hostino.ai/mcp` |
| Transport | Streamable HTTP (session via the `Mcp-Session-Id` header) |
| Protocol version | `2025-06-18` and compatible versions |
| Protected Resource Metadata | `https://mcp.hostino.ai/.well-known/oauth-protected-resource` |
| Authorization server | `https://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](/en/ai-mcp/authentication/).

## Tools

### `list_services`

Your services with status, billing cycle and **due date**.

| Input | Type | Description |
|---|---|---|
| `status` | string (optional) | Status filter, e.g. `Active`, `Suspended`, `Pending`, `Cancelled` |

| Item | Value |
|---|---|
| Required scope | `services:read` |
| Kind | Read-only (`readOnlyHint: true`) |

Example output:

```json
{
  "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](/en/api/services/#fields).

### `list_domains`

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

| Input | Type | Description |
|---|---|---|
| `domain` | string (optional) | Only this domain, e.g. `example.com` |
| `status` | string (optional) | Status filter, e.g. `Active`, `Pending`, `Expired`, `Cancelled` |

| Item | Value |
|---|---|
| Required scope | `domains:read` |
| Kind | Read-only (`readOnlyHint: true`) |

Example output:

```json
{
  "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](/en/api/domains/#fields).

:::note[If `list_domains` says "Missing permission"]
Connections made before this tool existed don't have `domains:read`. Re-authenticate once (in Claude Code: `/mcp` → `hostino` → Re-authenticate) and approve both permissions on the consent page.
:::

### `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.

| Input | Type | Description |
|---|---|---|
| `status` | string (optional) | `Unpaid`, `Paid`, `Overdue`, `Cancelled`, … |
| `invoice_id` | number (optional) | Only this invoice, with line items |

Scope: `invoices:read` · read-only. Amounts in IRR with Toman equivalents (`*_toman`). Details: [Billing API](/en/api/billing/).

### `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](/en/ai-mcp/changelog/).

## 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](/en/api/purchases/).

| Tool | Scope | What it does |
|---|---|---|
| `list_plans` | `orders:read` | Purchasable plans (category, use case, location, price per cycle); inputs: `category`, `location` |
| `prepare_order` | `orders:read` | Pre-invoice (price, estimated VAT, credit check); inputs: `pid`, `billing_cycle`, `domain` |
| `request_order` | `orders:write` (+ `billing:pay` for credit) | Creates a purchase **request** and returns `approval_url`; inputs: the above + `pay_with` (`invoice` or `credit`) |
| `check_subdomain` | `orders:read` | Check whether a free `<name>.hostino.cloud` subdomain is available |
| `confirm_order` | `orders:confirm` | Confirm a purchase with a phrase **you** typed → issues the invoice (no charge) |
| `pay_with_credit` | `orders:confirm` + `billing:pay` | Pay the invoice from credit with a phrase naming the exact invoice amount |
| `get_order_status` | `orders:read` | Status: `pending_approval`, `awaiting_payment`, `completed`, … plus invoice and service |
| `prepare_invoice_payment` | `orders:confirm` + `billing:pay` | Pay an **existing** invoice (e.g. a renewal) from credit, step 1: exact amount and confirmation phrase; no money moves |
| `pay_invoice_with_credit` | `orders:confirm` + `billing:pay` | Step 2: pay with the phrase **you** typed |
| `service_upgrade_options` | `services:read` | Higher plans of the same group the service can move to, priced for its own billing cycle |
| `service_upgrade` | `orders:write` | Upgrade step 1: exact prorated amount and confirmation phrase; nothing changes yet |
| `service_upgrade_confirm` | `orders:write` + `orders:confirm` | Upgrade 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](/en/ai-mcp/upgrades/).

**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](/en/ai-mcp/ai-deploy/).

| Tool | Scope | What it does |
|---|---|---|
| `list_deploy_targets` | `deploy:read` | Node.js hosting you can deploy to, and the apps on each |
| `get_service` | `services:read` | One service's details, deploy capability and cPanel login |
| `create_deployment` | `deploy:write` | Start a deployment and get a single-use upload link |
| `get_deployment_status` / `get_deployment_logs` | `deploy:read` | Status and install/build/runtime logs; for a failed deploy the status includes `diagnosis` |
| `analyze_deployment` | `deploy:read` | Why a deploy failed: cause, evidence from the logs and a concrete fix (read-only) |
| `list_apps` | `deploy:read` | Apps and environment variable names |
| `create_app_database` | `deploy:write` | Create 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_app` | `deploy:write` | Env vars, rollback and restart |
| `open_cpanel` | `hosting:login` | Short-lived direct cPanel login link |

## Hosting

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

| Tool | Scope | What it does |
|---|---|---|
| `hosting_overview` / `hosting_resource_usage` | `hosting:read` | Domains, disk, PHP per domain, database and cron job counts; usage against the plan limits |
| `hosting_site_doctor` | `hosting:read` | One diagnosis of a site (reachability, SSL, errors, resources, PHP) with findings ordered by severity and fixes |
| `hosting_error_log` | `hosting:read` | Latest web server / PHP errors of a domain |
| `hosting_list_databases` | `hosting:read` | MySQL databases and users |
| `hosting_create_database` / `hosting_reset_database_password` / `hosting_delete_database` | `hosting:write` | Create database + user, new password, delete (`confirm_name`) |
| `hosting_list_cron_jobs` | `hosting:read` | Cron jobs |
| `hosting_add_cron_job` / `hosting_delete_cron_job` | `hosting:write` | Add (max 20), delete (`confirm_id`) |
| `hosting_list_subdomains` | `hosting:read` | Subdomains |
| `hosting_create_subdomain` / `hosting_delete_subdomain` | `hosting:write` | Create, delete (`confirm_subdomain`; files kept) |
| `hosting_list_redirects` | `hosting:read` | Redirects |
| `hosting_add_redirect` / `hosting_delete_redirect` | `hosting:write` | Add a 301/302, delete (`confirm_path`) |
| `hosting_get_php` / `hosting_php_settings` | `hosting:read` | PHP version per domain; PHP settings and `.htaccess` overrides |
| `hosting_set_php_version` / `hosting_set_php_settings` | `hosting:write` | Change the PHP version; change `memory_limit`, `upload_max_filesize` and other allowed settings |
| `hosting_email_accounts` | `hosting:read` | Mailboxes, forwarders, autoresponders and catch-all |
| `hosting_manage_email` | `hosting:write` | Create/delete/reset mailboxes, forwarders, autoresponders and catch-all |
| `hosting_manage_domains` | `hosting:write` | Add/remove addon and parked domains (plan limit: `plan_limit_reached`) |
| `hosting_ssl_status` / `hosting_run_autossl` | `hosting:read` / `hosting:write` | Certificates and AutoSSL problems; run AutoSSL |
| `hosting_ftp_accounts` / `hosting_manage_ftp` | `hosting:read` / `hosting:write` | FTP accounts; create, reset password and delete |
| `hosting_list_files` / `hosting_read_file` | `hosting:read` | List files and read a text file up to 256 KB (read-only) |

## WordPress

Full details in [WordPress with AI](/en/ai-mcp/wordpress/).

| Tool | Scope | What it does |
|---|---|---|
| `wordpress_list_sites` / `wordpress_site_info` | `wordpress:read` | Sites, versions and pending updates |
| `wordpress_update` | `wordpress:write` | Update core, plugins or the theme |
| `wordpress_install_plugin` | `wordpress:write` | Install and activate a plugin |
| `wordpress_install` / `wordpress_install_status` | `wordpress:write` / `wordpress:read` | Install a fresh WordPress and follow it |
| `wordpress_login_link` | `hosting:login` | One-time wp-admin login |
| `wordpress_plugins` / `wordpress_themes` / `wordpress_settings` / `wordpress_admins` | `wordpress:read` | Installed plugins and themes, settings, administrator accounts |
| `wordpress_plugin_manage` / `wordpress_theme_manage` / `wordpress_update_settings` | `wordpress:write` | Activate/deactivate/delete a plugin, install/activate a theme, change title, tagline, search-engine visibility, timezone, permalinks |
| `wordpress_maintenance` / `wordpress_cache_flush` | `wordpress:write` | Maintenance mode on/off, flush caches |
| `wordpress_security_scan` | `wordpress:read` | Core and plugin files compared with the official checksums |
| `wordpress_optimize` / `wordpress_job_status` | `wordpress:write` / `wordpress:read` | Optimize PHP, database, JS, CSS and images, and follow the job |
| `wordpress_backup_status` / `wordpress_backup_create` / `wordpress_backup_restore` | `wordpress:read` / `wordpress:write` | Latest backup, new backup, restore |
| `wordpress_debug_log` / `wordpress_set_debug` | `wordpress:read` / `wordpress:write` | `debug.log` and PHP error log; turn error logging on/off |
| `wordpress_users` / `wordpress_manage_user` | `wordpress:read` / `wordpress:write` | Users and roles; create, reset password and delete a user (administrators need `confirm_role`) |
| `wordpress_search_replace` | `wordpress:write` | Change a URL or domain in the database (dry run first, apply with `confirm_from`) |
| `wordpress_search_directory` | `wordpress:read` | Search wordpress.org plugins and themes |
| `wordpress_cron` | `wordpress:write` | wp-cron status, switch to the hosting cron or back |
| `wordpress_staging` | `wordpress:write` | Create, 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](/en/ai-mcp/seo-site-health/).

| Tool | Scope | What it does |
|---|---|---|
| `seo_check` | `services:read` | Title, description, canonical, noindex, H1, robots.txt, sitemaps, Open Graph, HTTPS redirect, with a score and issues |
| `site_audit` | `services:read` | Lighthouse: performance, SEO, accessibility, best practices, Core Web Vitals |
| `site_health` | `services:read` | HTTP from Iran and Germany, ping, ports, mail DNS, latest backup |

## GPU cloud

Full details in [GPU cloud with AI](/en/ai-mcp/gpu/).

| Tool | Scope | What it does |
|---|---|---|
| `gpu_catalog` / `gpu_list_pods` / `gpu_pod_status` | `gpu:read` | GPU prices and availability, your pods, live utilization and hourly cost |
| `gpu_list_volumes` / `gpu_usage` | `gpu:read` | Network volumes, spending per day and pod |
| `gpu_pod_stop` / `gpu_pod_restart` | `gpu:write` | Stop (GPU billing ends) or restart a running pod |
| `gpu_deploy_pod` / `gpu_pod_start` / `gpu_pod_terminate` | `gpu:write` | Step 1: hourly cost and confirmation phrase (nothing happens yet) |
| `gpu_confirm` | `gpu:write` + `orders:confirm` | Step 2: create, start or delete with the phrase **you** typed |

## One-click apps (n8n, PostgreSQL)

Full details in [n8n and PostgreSQL with AI](/en/ai-mcp/oneclick-apps/).

| Tool | Scope | What it does |
|---|---|---|
| `app_list` | `apps:read` | Your n8n and PostgreSQL apps with status, plan and URL |
| `app_access` | `apps:read` | n8n address or PostgreSQL connection details (password only on request) |
| `app_control` | `apps:write` | Start, stop or restart |
| `app_logs` | `apps:read` | Last log lines, secrets masked |

## Domains

| Tool | Scope | What it does |
|---|---|---|
| `domain_check` | `domains:read` | Availability and register/renew/transfer price (toman, 1–10 years); .ir too |
| `domain_info` | `domains:read` | Nameservers, lock state, WHOIS privacy and registrant verification of your domain |
| `domain_set_nameservers` | `domains:write` | Set 2–4 nameservers (Webnic for international, IRNIC for .ir) |
| `domain_set_lock` | `domains:write` | Transfer lock on or off (international domains) |
| `domain_renew` | `domains:write` | Renewal price and confirmation phrase (nothing happens yet) |
| `domain_renew_confirm` | `domains:write` + `orders:confirm` | Renew 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](/en/ai-mcp/dns-ssl-support/).

| Tool | Scope | What it does |
|---|---|---|
| `dns_list_zones` / `dns_list_records` | `dns:read` | DNS zones and records |
| `dns_set_record` / `dns_delete_record` | `dns:write` | Add, replace or delete records |
| `dns_add_zone` / `dns_zone_status` | `dns:write` / `dns:read` | Add a domain to free DNS and check its nameservers |
| `dns_list_snapshots` / `dns_snapshot_diff` | `dns:read` | Zone snapshots and restore preview |
| `dns_create_snapshot` / `dns_restore_snapshot` | `dns:write` | Take a snapshot and restore the zone (a snapshot is taken automatically before every change) |
| `dns_check_propagation` / `dns_export_zone` | `dns:read` | What Hostino's and public resolvers answer for a record; BIND export |
| `dns_apply_template` / `dns_delete_zone` | `dns:write` | Email / site-host / DMARC templates (preview, then apply); remove a zone |
| `ssl_list_certificates` / `ssl_certificate_status` | `ssl:read` | Certificates and issuance status |
| `ssl_issue_certificate` / `ssl_verify_certificate` | `ssl:write` | Issue free SSL and retry validation |
| `ssl_check_site` / `ssl_download_certificate` | `ssl:read` | Live certificate check of a public site; PEM of an issued certificate (no private key) |
| `ssl_renew_certificate` / `ssl_cancel_order` | `ssl:write` | Renew with the same names; cancel an unfinished order |
| `support_list_tickets` / `support_get_ticket` / `support_list_departments` | `tickets:read` | Tickets, full text and departments |
| `support_open_ticket` / `support_reply_ticket` | `tickets:write` | Open 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

```bash
# 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](/en/api/getting-started/).
