Sáltate la instalación. Funcionando en menos de 2 minutos.
Inicia una prueba gratuita en cloud.anythingmcp.com, añade Hostinger con un clic y apunta tu cliente de IA (Claude, ChatGPT, Copilot o Cursor) al endpoint MCP generado. Sin Docker, sin git clone, sin experiencia de desarrollo.
Resumen
Gestiona una cuenta de Hostinger a través de su API pública: encendido, métricas, backups, snapshots, proyectos Docker y firewalls de VPS, dominios, nameservers y zonas DNS con snapshots, suscripciones y el catálogo de precios, y sitios de hosting web, sitios WordPress, bases de datos y caché.
Prueba a pedir
Prompts de ejemplo para Hostinger
Haz clic en un prompt para copiarlo. Pégalo en Claude, ChatGPT, Cursor, Gemini, Copilot u OpenClaw para ejecutarlo contra este conector.
Claude es IA y puede equivocarse. Verifica siempre las respuestas.
💡 ¿Sin instalación? Usa cloud.anythingmcp.com directamente. Inicia sesión, pulsa Connectors → Hostinger, pega tus credenciales, genera una MCP API key y listo. Sin Docker, sin
git clone, sin servidor local.
Hostinger + Cursor
Gestiona una cuenta de Hostinger a través de su API pública: encendido, métricas, backups, snapshots, proyectos Docker y firewalls de VPS, dominios, nameservers y zonas DNS con snapshots, suscripciones y el catálogo de precios, y sitios de hosting web, sitios WordPress, bases de datos y caché.
Requisitos previos
Las instrucciones de configuración completas están incluidas en el conector (visibles en el store al seleccionarlo). Las variables de entorno requeridas:
HOSTINGER_API_TOKEN
Paso 1 — Obtener credenciales
La configuración lleva unos 2 minutos. Necesitas una cuenta de Hostinger con acceso a hPanel.
- Inicia sesión en hPanel y abre Account, luego API (https://hpanel.hostinger.com/profile/api), y crea un token nuevo. Elige una caducidad; el token tiene los mismos permisos que tu usuario de hPanel.
- Pégalo en
HOSTINGER_API_TOKEN. Se envía como token Bearer. - Instala el conector y ejecuta
hostinger_list_subscriptionspara comprobar el token.
Aquí no se compra nada: pedir planes VPS o dominios, cambiar métodos de pago y renovar suscripciones se queda en hPanel.
VPS: la IA lista las máquinas y lee una en detalle, con métricas de uso (CPU, memoria, disco, tráfico y uptime) de un periodo. Puede arrancar, detener y reiniciar un VPS y cambiar su hostname; cada una de estas operaciones responde con una acción, que la IA sigue hasta que termina con éxito o falla. Mientras un VPS está ocupado con una acción, se rechaza una nueva. Para la recuperación lista y restaura backups, y lee, crea o restaura el único snapshot de un VPS. También lee las claves SSH de root, las plantillas de sistema operativo y los centros de datos, y trabaja con los proyectos del gestor de Docker de Hostinger: contenedores, los últimos logs y un reinicio.
Firewalls: la IA lista los firewalls, crea uno, añade, cambia y borra reglas, después sincroniza el firewall para que las máquinas reciban las reglas nuevas, y lo activa o desactiva en un VPS. Un firewall descarta todo lo que ninguna regla acepta, así que la IA se asegura de que SSH (puerto 22) siga permitido antes de activarlo o sincronizarlo.
Dominios y DNS: la cartera de dominios con estado, caducidad, renovación, redirección y perfiles WHOIS, comprobaciones de disponibilidad con sugerencias y cambios de nameservers. Para los dominios con nameservers de Hostinger la IA lee la zona, prueba los cambios con hostinger_validate_dns_records, los aplica y borra conjuntos de registros completos. Cada cambio deja un snapshot, y restaurar un snapshot lo deshace. En una zona, name es relativo al dominio (@ para el propio dominio, www), los destinos CNAME y NS terminan en punto, y el contenido MX es la prioridad seguida del host.
Facturación y hosting web: suscripciones, métodos de pago guardados y el catálogo de precios, solo lectura. En hosting web y cloud: pedidos de hosting, sitios web, instalaciones de WordPress, bases de datos MySQL, cron jobs y vaciar la caché de un sitio web.
Confirma antes de escribir: los cambios de encendido, las restauraciones, los snapshots y los cambios de firewall, nameservers y DNS pueden dejar sin servicio sitios web, el correo o el acceso SSH. La IA nombra la máquina o el dominio y el efecto, muestra los registros o las reglas y espera tu sí. Restaurar un backup o un snapshot sobrescribe todos los datos del VPS y no se puede deshacer.
Formatos: los id de VPS, acciones, backups, firewalls y reglas son enteros. Las horas son ISO 8601 en UTC, y las métricas van indexadas por timestamps Unix. Los precios están en céntimos de currency_code (1799 es 17,99). La memoria, el disco y el ancho de banda de un VPS están en MB. Los contactos de dominio y los perfiles WHOIS contienen datos personales, y la IA muestra solo lo que necesita la tarea.
Límites: unas 90 solicitudes por minuto por token. Ante un 429 la IA espera los segundos que indica Retry-After, ya que los excesos repetidos pueden bloquear la IP durante un tiempo. Las listas paginadas devuelven meta con current_page, per_page y total; las listas de VPS, dominios, DNS y facturación lo devuelven todo de una vez.
Errores comunes: 401 significa un token incorrecto, revocado o caducado, 404 un id o dominio que no está en esta cuenta, 422 una entrada no válida (la respuesta nombra el campo), y 409 o una acción bloqueada significa que el VPS sigue ocupado con otra acción. Las respuestas de error llevan un correlation_id para el soporte de Hostinger.
Paso 2 — Instalar el adapter
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
Paso 3 — Añadir el conector en Cursor
La URL de tu servidor: en AnythingMCP abre MCP Servers → el servidor donde está este conector y copia su URL (
https://cloud.anythingmcp.com/mcp/…). Úsala donde esta guía muestraYOUR_SERVER_ID.
Cursor lee los servidores MCP de ~/.cursor/mcp.json. Añade esta entrada:
{
"mcpServers": {
"anythingmcp": {
"url": "https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID",
"headers": { "X-API-Key": "YOUR_MCP_API_KEY" }
}
}
}
- Crea una clave de API MCP en AnythingMCP en MCP Servers → tu servidor → API keys y pégala en lugar de
YOUR_MCP_API_KEY. - Guarda el archivo y reinicia Cursor.
- Abre Cursor → Settings → MCP y comprueba que
anythingmcpaparece en la lista y está conectado. - Empieza a chatear: el agente ya puede usar las herramientas de
Hostinger.
Herramientas disponibles
| Tool | What it does |
|---|---|
hostinger_list_virtual_machines | List every VPS (virtual machine) of the account: id, hostname, state (running, stopped, ...), plan, CPU count, memory and disk in MB… |
hostinger_get_virtual_machine | Read one VPS in detail: state, plan and resources, IP addresses, OS template, hostname, nameservers, data center, active firewall… |
hostinger_get_vm_metrics | Usage history of a VPS between two times: CPU, memory and disk usage, incoming and outgoing traffic, and uptime, as time series keyed by… |
hostinger_list_vm_actions | History of operations run on a VPS (start, stop, restart, backup restore, snapshot, OS change, ...), newest first, with name, state… |
hostinger_get_vm_action | Read one VPS action by id to see whether it is still running, succeeded or failed |
hostinger_start_vm | Power on a stopped VPS |
hostinger_stop_vm | Power off a VPS |
hostinger_restart_vm | Reboot a VPS (full stop and start; a stopped VPS is started) |
hostinger_set_vm_hostname | Change the hostname of a VPS |
hostinger_list_vm_backups | List the automatic backups of a VPS with their id, size, location and creation time |
hostinger_restore_vm_backup | Restore a VPS from one of its backups |
hostinger_get_vm_snapshot | Read the snapshot of a VPS (a VPS has at most one): id, creation time, expiry time and restore time |
hostinger_create_vm_snapshot | Take a snapshot of a VPS's current state |
hostinger_restore_vm_snapshot | Revert a VPS to its snapshot |
hostinger_list_vm_ssh_keys | List the SSH public keys of the root user on a VPS: key type, fingerprint data and comment name |
hostinger_list_vps_templates | List the OS templates a VPS can be installed with (Ubuntu, Debian, AlmaLinux, panels and app stacks): id, name and description |
hostinger_list_vps_data_centers | List Hostinger's VPS data centers: id, name, location code, city and continent |
hostinger_list_docker_projects | List the Docker Compose projects on a VPS that uses Hostinger's Docker manager: name, status, compose file path and containers with image… |
hostinger_get_docker_project_containers | List the containers of one Docker Compose project on a VPS with status, health, port mappings and CPU and memory stats |
hostinger_get_docker_project_logs | Read the latest log lines (up to 300 in total) of every service of a Docker Compose project on a VPS, grouped by service with timestamps |
hostinger_restart_docker_project | Restart all services of a Docker Compose project on a VPS (stop and start in dependency order; volumes are kept) |
hostinger_list_firewalls | List the VPS firewalls of the account: id, name, whether they are in sync with their machines, and their rules |
hostinger_get_firewall | Read one firewall with all its rules (protocol, port, source) and its sync state |
hostinger_create_firewall | Create an empty firewall |
hostinger_create_firewall_rule | Add an accept rule to a firewall |
hostinger_update_firewall_rule | Change a firewall rule |
hostinger_delete_firewall_rule | Delete a firewall rule |
hostinger_sync_firewall | Apply a firewall's current rules to every VPS it is activated on |
hostinger_activate_firewall | Activate a firewall on a VPS |
hostinger_deactivate_firewall | Deactivate a firewall on a VPS: all its ports are reachable again from everywhere |
hostinger_list_domains | List the domains in the account's portfolio: id, domain name, type (domain or free subdomain), status and creation and expiry dates |
hostinger_get_domain | Read one domain: status, nameservers, child nameservers, lock and privacy protection state, WHOIS contact profile ids and dates |
hostinger_get_domain_renewal | Read a domain's renewal information: status and current expiry date |
hostinger_check_domain_availability | Check whether a domain name is free to register in one or more TLDs |
hostinger_update_domain_nameservers | Point a domain to other nameservers (two to four) |
hostinger_get_domain_forwarding | Read the forwarding (redirect) of a domain: target URL, redirect type (301 or 302) and dates |
hostinger_list_whois_profiles | List the WHOIS contact profiles used to register domains: id, TLD, country, entity type and contact details |
hostinger_get_dns_records | Read the DNS zone of a domain managed by Hostinger nameservers: every record set with name, type, TTL and values |
hostinger_validate_dns_records | Check DNS record changes without applying them: answers success when hostinger_update_dns_records would accept them, or 422 with the… |
hostinger_update_dns_records | Add or change DNS records of a domain |
hostinger_delete_dns_records | Delete whole DNS record sets of a domain, selected by name and type |
hostinger_list_dns_snapshots | List the saved versions (snapshots) of a domain's DNS zone, taken before each change: id, reason and time |
hostinger_get_dns_snapshot | Read one DNS zone snapshot with all the records it contained, e.g. to compare with the current zone before restoring |
hostinger_restore_dns_snapshot | Restore a domain's DNS zone to a snapshot |
hostinger_list_subscriptions | List the account's subscriptions: id, name, status, billing period, currency, total and renewal price in cents, auto-renewal flag… |
hostinger_list_payment_methods | List the payment methods saved in the account: id, name, masked identifier, type, default, expired and suspended flags |
hostinger_get_catalog | List what can be ordered with prices: catalog items (VPS plans, domain TLDs, hosting, email) with their price items per billing period… |
hostinger_list_hosting_orders | List the web and cloud hosting orders (plans) the token can see, own and shared: order id, plan name, status, subscription id and creation… |
hostinger_list_websites | List the websites on web and cloud hosting: domain, hosting account user name, order id, root directory, whether it is enabled, and the… |
hostinger_list_wordpress_installations | List the WordPress installations on web and cloud hosting: id, user name, domain, title, URL, directory, admin login and email, and whether… |
hostinger_list_databases | List the MySQL databases of a hosting account: name, user, host and port, assigned domain, disk usage and size limit in MB, and dates |
hostinger_list_cron_jobs | List the cron jobs of a hosting account with their schedule and command |
hostinger_clear_website_cache | Clear the server-side cache of a website (and the Hostinger CDN cache when CDN is on), so updated content shows at once |
Ejemplos de prompts
- "Lista mis máquinas VPS con su estado, plan y direcciones IP."
- "¿Cuánta CPU y memoria ha usado mi VPS en los últimos 7 días?"
- "Muestra los registros DNS de example.com y luego apunta el registro A de www a 203.0.113.10 cuando lo confirme."
- "¿Cuáles de mis dominios caducan en los próximos 60 días, y tienen activada la renovación automática?"
- "Muestra los últimos logs del proyecto Docker de mi VPS y reinícialo si algún contenedor no está sano."
FAQ
¿Cursor admite servidores MCP personalizados en el plan gratuito? Sí, MCP está disponible en los planes Hobby, Pro y Business.
Siguientes pasos
- Página del conector
- Conectar a Claude
- Conectar a ChatGPT
- Conectar a Gemini
- Conectar a Meta Muse
- Conectar a Microsoft Copilot
¿Te ha sido útil esta guía?