Skip to content

AI & MCP

Authentication & permissions

Copy page

Sign-in, consent, scopes, refresh and revoking AI tool access to Hostino

AI tools connect to Hostino with OAuth 2.1. You never copy a key: the tool opens a browser, you sign in to your Hostino account and approve the permissions.

Sign-in steps

  1. Sign in with your Hostino panel email and password. If 2FA is enabled you’ll be asked for the 6-digit code.
  2. Consent: a page shows the app’s name and the permissions requested. Approve with “Allow” or cancel with “Deny”.
  3. Back to the app: the app receives a token and renews it automatically from then on.

Permissions (scopes)

ScopeOn the consent pageTool
services:readView services, status and due dateslist_services, service_upgrade_options
domains:readView domains, status and expiry dateslist_domains
invoices:readView invoices, amounts and payment statuslist_invoices
billing:readView the account credit balanceget_credit_balance
orders:readView plans, prices and order statuslist_plans, prepare_order, get_order_status
orders:writeCreate purchase requestsrequest_order, service_upgrade
billing:payPay an order from credit (after your approval)request_order with pay_with: credit
orders:confirmConfirm purchases in the chat by typing a confirmation phrase (issue the invoice, pay from credit with the exact amount)confirm_order, pay_with_credit, service_upgrade_confirm
deploy:readView apps, deployment status and logslist_deploy_targets, list_apps, get_deployment_status, get_deployment_logs, analyze_deployment
deploy:writeDeploy, roll back, restart and set env vars on your own Node.js hostingcreate_deployment, rollback_deployment, set_app_env, restart_app
hosting:loginCreate a short-lived direct cPanel login link (shown with a warning; AI Deploy)open_cpanel, wordpress_login_link
hosting:readView your own hosting: databases, cron jobs, subdomains, redirects, PHP settings and version, email, FTP, SSL, resource usage, error log and files (read-only)The read-only hosting_* tools (e.g. hosting_overview, hosting_site_doctor, hosting_error_log; list)
hosting:writeChange your own hosting: create and delete databases, cron jobs, subdomains, redirects, email, FTP and extra domains, change PHP settings and version, run AutoSSL (shown with a warning)The hosting_* tools that change things (e.g. hosting_create_database, hosting_set_php_settings, hosting_manage_email)
wordpress:readView WordPress sites, versions and pending updateswordpress_list_sites, wordpress_site_info, wordpress_debug_log, wordpress_users and the other read-only WordPress tools
wordpress:writeUpdate WordPress, plugins and theme; install plugins and fresh WordPresswordpress_update, wordpress_install_plugin, wordpress_install, wordpress_manage_user, wordpress_staging and the other WordPress tools that change things

Read permissions change nothing. Write permissions are separate and you approve each one on the consent screen. No purchase or charge happens without your approval: either with the approval link on auth.hostino.ai, or (with orders:confirm) by typing a phrase that names the exact amount. Each tool works only with its own scope.

The consent screen shows a separate warning for hosting:write: with it an app can delete databases and subdomains and create cron jobs (scheduled commands) on your hosting. Deletes only happen when the exact item name is repeated (Hosting with AI).

The full scope of every tool is listed in Remote MCP.

Terminal and browser on different machines

Tools like Claude Code wait for the sign-in result on localhost of their own machine. If the tool runs on a server and your browser is on your laptop:

  • After sign-in, Hostino does not jump to localhost; it shows a ”✅ Signed in” page on auth.hostino.ai.
  • If the app is on the same machine as the browser, click Continue (same machine).
  • If it’s on another machine, click Copy command and run the curl command on the app’s machine. The code is valid for 5 minutes.

Showing this code is safe: PKCE binds it to the app that started the sign-in, so no other app can use it.

Lifetime and renewal

  • Access tokens last 1 hour and the client renews them automatically with a refresh token.
  • Refresh tokens last 14 days; after that you sign in again once.
  • Connections survive restarts and updates of Hostino’s servers.

Connected apps

At auth.hostino.ai/app → “Connected apps” you see every tool that signed in with your account (Claude, Cursor, ChatGPT…) with its permissions and last use. Disconnect revokes all of that app’s tokens immediately; it has to sign in again to be used. For security the page asks for a fresh sign-in every time.

API tokens (personal access tokens)

For scripts, CI (e.g. GitHub Actions) and model APIs such as OpenAI Responses and Anthropic Messages that don’t do OAuth themselves, create a token on the same page → “API tokens”:

  1. Pick a name (e.g. GitHub Actions), a lifetime (7, 30, 90 or 365 days) and only the permissions you need.
  2. The hst_pat_… token is shown once; store it somewhere safe (e.g. your CI secrets).
  3. Send it with every request: Authorization: Bearer hst_pat_… on https://api.hostino.ai or https://mcp.hostino.ai/mcp.
Terminal window
curl -s https://api.hostino.ai/v1/services -H "Authorization: Bearer $HOSTINO_TOKEN"
  • billing:pay, orders:confirm and hosting:login are not allowed in API tokens: paying and confirming purchases is always the account owner’s own action, and direct cPanel login is only granted through OAuth. That is why confirming purchases, domain renewals and plan upgrades is not possible with an API token. hosting:read and hosting:write are allowed in API tokens.
  • Revoke a token on the same page whenever needed; it stops working at once. Each token’s last use is shown too.
  • At most 20 active tokens per account.

Revoking access

  • From the account page: revoke connected apps and API tokens at auth.hostino.ai/app.
  • From the tool: remove the MCP server (e.g. claude mcp remove hostino). The remaining access token expires within 1 hour.
  • Immediately: the app can revoke its token at https://auth.hostino.ai/token/revocation (details).

Technical details

For endpoints, the resource parameter and OAuth flows see Authentication in the API reference.