LabStore
← All labs

Hostinger API

by docker ✓ verified ✓ Packaged by Docker

Interact with Hostinger services over the Hostinger API.

MCP server installable needs setup network: on runtime: sysbox

DevOps MCP Servers

Hostinger API MCP Server

Interact with Hostinger services over the Hostinger API.

What is an MCP Server?

MCP Info

Attribute Details
Docker Image mcp/api-mcp-server
Author hostinger
Repository https://github.com/hostinger/api-mcp-server

Image Building Info

Attribute Details
Dockerfile https://github.com/hostinger/api-mcp-server/blob/5a9123722ac4a4e7fabd13b71d9cc5394a1a9755/Dockerfile
Commit 5a9123722ac4a4e7fabd13b71d9cc5394a1a9755
Docker Image built by Docker Inc.
Docker Scout Health Score Docker Scout Health Score
Verify Signature COSIGN_REPOSITORY=mcp/signatures cosign verify mcp/api-mcp-server --key https://raw.githubusercontent.com/docker/keyring/refs/heads/main/public/mcp/latest.pub
Licence MIT License

Available Tools (118)

Tools provided by this Server Short Description
DNS_deleteDNSRecordsV1 Delete DNS records for the selected domain.
DNS_getDNSRecordsV1 Retrieve DNS zone records for a specific domain.
DNS_getDNSSnapshotListV1 Retrieve DNS snapshots for a domain.
DNS_getDNSSnapshotV1 Retrieve particular DNS snapshot with contents of DNS zone records.
DNS_resetDNSRecordsV1 Reset DNS zone to the default records.
DNS_restoreDNSSnapshotV1 Restore DNS zone to the selected snapshot.
DNS_updateDNSRecordsV1 Update DNS records for the selected domain.
DNS_validateDNSRecordsV1 Validate DNS records prior to update for the selected domain.
VPS_activateFirewallV1 Activate a firewall for a specified virtual machine.
VPS_attachPublicKeyV1 Attach existing public keys from your account to a specified virtual machine.
VPS_createFirewallRuleV1 Create new firewall rule for a specified firewall.
VPS_createNewFirewallV1 Create a new firewall.
VPS_createNewProjectV1 Deploy new project from docker-compose.yaml contents or download contents from URL.
VPS_createPTRRecordV1 Create or update a PTR (Pointer) record for a specified virtual machine.
VPS_createPostInstallScriptV1 Add a new post-install script to your account, which can then be used after virtual machine installation.
VPS_createPublicKeyV1 Add a new public key to your account.
VPS_createSnapshotV1 Create a snapshot of a specified virtual machine.
VPS_deactivateFirewallV1 Deactivate a firewall for a specified virtual machine.
VPS_deleteFirewallRuleV1 Delete a specific firewall rule from a specified firewall.
VPS_deleteFirewallV1 Delete a specified firewall.
VPS_deletePTRRecordV1 Delete a PTR (Pointer) record for a specified virtual machine.
VPS_deletePostInstallScriptV1 Delete a post-install script from your account.
VPS_deleteProjectV1 Completely removes a Docker Compose project from the virtual machine, stopping all containers and cleaning up associated resources including networks, volumes, and images.
VPS_deletePublicKeyV1 Delete a public key from your account.
VPS_deleteSnapshotV1 Delete a snapshot of a specified virtual machine.
VPS_getActionDetailsV1 Retrieve detailed information about a specific action performed on a specified virtual machine.
VPS_getActionsV1 Retrieve actions performed on a specified virtual machine.
VPS_getAttachedPublicKeysV1 Retrieve public keys attached to a specified virtual machine.
VPS_getBackupsV1 Retrieve backups for a specified virtual machine.
VPS_getDataCenterListV1 Retrieve all available data centers.
VPS_getFirewallDetailsV1 Retrieve firewall by its ID and rules associated with it.
VPS_getFirewallListV1 Retrieve all available firewalls.
VPS_getMetricsV1 Retrieve historical metrics for a specified virtual machine.
VPS_getPostInstallScriptV1 Retrieve post-install script by its ID.
VPS_getPostInstallScriptsV1 Retrieve post-install scripts associated with your account.
VPS_getProjectContainersV1 Retrieves a list of all containers belonging to a specific Docker Compose project on the virtual machine.
VPS_getProjectContentsV1 Retrieves the complete project information including the docker-compose.yml file contents, project metadata, and current deployment status.
VPS_getProjectListV1 Retrieves a list of all Docker Compose projects currently deployed on the virtual machine.
VPS_getProjectLogsV1 Retrieves aggregated log entries from all services within a Docker Compose project.
VPS_getPublicKeysV1 Retrieve public keys associated with your account.
VPS_getScanMetricsV1 Retrieve scan metrics for the Monarx malware scanner installed on a specified virtual machine.
VPS_getSnapshotV1 Retrieve snapshot for a specified virtual machine.
VPS_getTemplateDetailsV1 Retrieve detailed information about a specific OS template for virtual machines.
VPS_getTemplatesV1 Retrieve available OS templates for virtual machines.
VPS_getVirtualMachineDetailsV1 Retrieve detailed information about a specified virtual machine.
VPS_getVirtualMachinesV1 Retrieve all available virtual machines.
VPS_installMonarxV1 Install the Monarx malware scanner on a specified virtual machine.
VPS_purchaseNewVirtualMachineV1 Purchase and setup a new virtual machine.
VPS_recreateVirtualMachineV1 Recreate a virtual machine from scratch.
VPS_resetHostnameV1 Reset hostname and PTR record of a specified virtual machine to default value.
VPS_restartProjectV1 Restarts all services in a Docker Compose project by stopping and starting containers in the correct dependency order.
VPS_restartVirtualMachineV1 Restart a specified virtual machine by fully stopping and starting it.
VPS_restoreBackupV1 Restore a backup for a specified virtual machine.
VPS_restoreSnapshotV1 Restore a specified virtual machine to a previous state using a snapshot.
VPS_setHostnameV1 Set hostname for a specified virtual machine.
VPS_setNameserversV1 Set nameservers for a specified virtual machine.
VPS_setPanelPasswordV1 Set panel password for a specified virtual machine.
VPS_setRootPasswordV1 Set root password for a specified virtual machine.
VPS_setupPurchasedVirtualMachineV1 Setup newly purchased virtual machine with initial state.
VPS_startProjectV1 Starts all services in a Docker Compose project that are currently stopped.
VPS_startRecoveryModeV1 Initiate recovery mode for a specified virtual machine.
VPS_startVirtualMachineV1 Start a specified virtual machine.
VPS_stopProjectV1 Stops all running services in a Docker Compose project while preserving container configurations and data volumes.
VPS_stopRecoveryModeV1 Stop recovery mode for a specified virtual machine.
VPS_stopVirtualMachineV1 Stop a specified virtual machine.
VPS_syncFirewallV1 Sync a firewall for a specified virtual machine.
VPS_uninstallMonarxV1 Uninstall the Monarx malware scanner on a specified virtual machine.
VPS_updateFirewallRuleV1 Update a specific firewall rule from a specified firewall.
VPS_updatePostInstallScriptV1 Update a specific post-install script.
VPS_updateProjectV1 Updates a Docker Compose project by pulling the latest image versions and recreating containers with new configurations.
billing_deletePaymentMethodV1 Delete a payment method from your account.
billing_disableAutoRenewalV1 Disable auto-renewal for a subscription.
billing_enableAutoRenewalV1 Enable auto-renewal for a subscription.
billing_getCatalogItemListV1 Retrieve catalog items available for order.
billing_getPaymentMethodListV1 Retrieve available payment methods that can be used for placing new orders.
billing_getSubscriptionListV1 Retrieve a list of all subscriptions associated with your account.
billing_setDefaultPaymentMethodV1 Set the default payment method for your account.
domains_checkDomainAvailabilityV1 Check availability of domain names across multiple TLDs.
domains_createDomainForwardingV1 Create domain forwarding configuration.
domains_createWHOISProfileV1 Create WHOIS contact profile.
domains_deleteDomainForwardingV1 Delete domain forwarding data.
domains_deleteWHOISProfileV1 Delete WHOIS contact profile.
domains_disableDomainLockV1 Disable domain lock for the domain.
domains_disablePrivacyProtectionV1 Disable privacy protection for the domain.
domains_enableDomainLockV1 Enable domain lock for the domain.
domains_enablePrivacyProtectionV1 Enable privacy protection for the domain.
domains_getDomainDetailsV1 Retrieve detailed information for specified domain.
domains_getDomainForwardingV1 Retrieve domain forwarding data.
domains_getDomainListV1 Retrieve all domains associated with your account.
domains_getWHOISProfileListV1 Retrieve WHOIS contact profiles.
domains_getWHOISProfileUsageV1 Retrieve domain list where provided WHOIS contact profile is used.
domains_getWHOISProfileV1 Retrieve a WHOIS contact profile.
domains_purchaseNewDomainV1 Purchase and register a new domain name.
domains_updateDomainNameserversV1 Set nameservers for a specified domain.
hosting_createWebsiteV1 Create a new website for the authenticated client.
hosting_deployJsApplication Deploy a JavaScript application from an archive file to a hosting server.
hosting_deployStaticWebsite Deploy a static website from an archive file to a hosting server.
hosting_deployWordpressPlugin Deploy a WordPress plugin from a directory to a hosting server.
hosting_deployWordpressTheme Deploy a WordPress theme from a directory to a hosting server.
hosting_generateAFreeSubdomainV1 Generate a unique free subdomain that can be used for hosting services without purchasing custom domains.
hosting_importWordpressWebsite Import a WordPress website from an archive file to a hosting server.
hosting_listAvailableDatacentersV1 Retrieve a list of datacenters available for setting up hosting plans based on available datacenter capacity and hosting plan of your order.
hosting_listJsDeployments List javascript application deployments for checking their status.
hosting_listOrdersV1 Retrieve a paginated list of orders accessible to the authenticated client.
hosting_listWebsitesV1 Retrieve a paginated list of websites (main and addon types) accessible to the authenticated client.
hosting_showJsDeploymentLogs Retrieve logs for a specified JavaScript application deployment for debugging purposes in case of failure.
hosting_verifyDomainOwnershipV1 Verify ownership of a single domain and return the verification status.
reach_createANewContactSegmentV1 Create a new contact segment.
reach_createANewContactV1 Create a new contact in the email marketing system.
reach_createNewContactsV1 Create a new contact in the email marketing system.
reach_deleteAContactV1 Delete a contact with the specified UUID.
reach_getSegmentDetailsV1 Get details of a specific segment.
reach_listContactGroupsV1 Get a list of all contact groups.
reach_listContactsV1 Get a list of contacts, optionally filtered by group and subscription status.
reach_listProfilesV1 This endpoint returns all profiles available to the client, including their basic information.
reach_listSegmentContactsV1 Retrieve contacts associated with a specific segment.
reach_listSegmentsV1 Get a list of all contact segments.
v2_getDomainVerificationsDIRECT Retrieve a list of pending and completed domain verifications.

Tools Details

Tool: DNS_deleteDNSRecordsV1

Delete DNS records for the selected domain.

To filter which records to delete, add the name of the record and type to the filter. Multiple filters can be provided with single request.

If you have multiple records with the same name and type, and you want to delete only part of them, refer to the Update zone records endpoint.

Use this endpoint to remove specific DNS records from domains.

Parameters Type Description
domain string Domain name

Tool: DNS_getDNSRecordsV1

Retrieve DNS zone records for a specific domain.

Use this endpoint to view current DNS configuration for domain management.

Parameters Type Description
domain string Domain name

Tool: DNS_getDNSSnapshotListV1

Retrieve DNS snapshots for a domain.

Use this endpoint to view available DNS backup points for restoration.

Parameters Type Description
domain string Domain name

Tool: DNS_getDNSSnapshotV1

Retrieve particular DNS snapshot with contents of DNS zone records.

Use this endpoint to view historical DNS configurations for domains.

Parameters Type Description
domain string Domain name
snapshotId integer Snapshot ID

Tool: DNS_resetDNSRecordsV1

Reset DNS zone to the default records.

Use this endpoint to restore domain DNS to original configuration.

Parameters Type Description
domain string Domain name
reset_email_records boolean optional Determines if email records should be reset
sync boolean optional Determines if operation should be run synchronously
whitelisted_record_types array optional Specifies which record types to not reset

Tool: DNS_restoreDNSSnapshotV1

Restore DNS zone to the selected snapshot.

Use this endpoint to revert domain DNS to a previous configuration.

Parameters Type Description
domain string Domain name
snapshotId integer Snapshot ID

Tool: DNS_updateDNSRecordsV1

Update DNS records for the selected domain.

Using overwrite = true will replace existing records with the provided ones. Otherwise existing records will be updated and new records will be added.

Use this endpoint to modify domain DNS configuration.

Parameters Type Description
domain string Domain name
zone array zone parameter
overwrite boolean optional If true, resource records (RRs) matching name and type will be deleted and new RRs will be created,
otherwise resource records' ttl's are updated and new records are appended.
If no matching RRs are found, they are created.

Tool: DNS_validateDNSRecordsV1

Validate DNS records prior to update for the selected domain.

If the validation is successful, the response will contain 200 Success code. If there is validation error, the response will fail with 422 Validation error code.

Use this endpoint to verify DNS record validity before applying changes.

Parameters Type Description
domain string Domain name
zone array zone parameter
overwrite boolean optional If true, resource records (RRs) matching name and type will be deleted and new RRs will be created,
otherwise resource records' ttl's are updated and new records are appended.
If no matching RRs are found, they are created.

Tool: VPS_activateFirewallV1

Activate a firewall for a specified virtual machine.

Only one firewall can be active for a virtual machine at a time.

Use this endpoint to apply firewall rules to VPS instances.

Parameters Type Description
firewallId integer Firewall ID
virtualMachineId integer Virtual Machine ID

Tool: VPS_attachPublicKeyV1

Attach existing public keys from your account to a specified virtual machine.

Multiple keys can be attached to a single virtual machine.

Use this endpoint to enable SSH key authentication for VPS instances.

Parameters Type Description
ids array Public Key IDs to attach
virtualMachineId integer Virtual Machine ID

Tool: VPS_createFirewallRuleV1

Create new firewall rule for a specified firewall.

By default, the firewall drops all incoming traffic, which means you must add accept rules for all ports you want to use.

Any virtual machine that has this firewall activated will lose sync with the firewall and will have to be synced again manually.

Use this endpoint to add new security rules to firewalls.

Parameters Type Description
firewallId integer Firewall ID
port string Port or port range, ex: 1024:2048
protocol string protocol parameter
source string source parameter
source_detail string IP range, CIDR, single IP or any

Tool: VPS_createNewFirewallV1

Create a new firewall.

Use this endpoint to set up new firewall configurations for VPS security.

Parameters Type Description
name string name parameter

Tool: VPS_createNewProjectV1

Deploy new project from docker-compose.yaml contents or download contents from URL.

URL can be Github repository url in format https://github.com/[user]/[repo] and it will be automatically resolved to docker-compose.yaml file in master branch. Any other URL provided must return docker-compose.yaml file contents.

If project with the same name already exists, existing project will be replaced.

Parameters Type Description
content string URL pointing to docker-compose.yaml file, Github repository or raw YAML content of the compose file
project_name string Docker Compose project name using alphanumeric characters, dashes, and underscores only
virtualMachineId integer Virtual Machine ID
environment string optional Project environment variables

Tool: VPS_createPTRRecordV1

Create or update a PTR (Pointer) record for a specified virtual machine.

Use this endpoint to configure reverse DNS lookup for VPS IP addresses.

Parameters Type Description
domain string Pointer record domain
ipAddressId integer IP Address ID
virtualMachineId integer Virtual Machine ID

Tool: VPS_createPostInstallScriptV1

Add a new post-install script to your account, which can then be used after virtual machine installation.

The script contents will be saved to the file /post_install with executable attribute set and will be executed once virtual machine is installed. The output of the script will be redirected to /post_install.log. Maximum script size is 48KB.

Use this endpoint to create automation scripts for VPS setup tasks.

Parameters Type Description
content string Content of the script
name string Name of the script

Tool: VPS_createPublicKeyV1

Add a new public key to your account.

Use this endpoint to register SSH keys for VPS authentication.

Parameters Type Description
key string key parameter
name string name parameter

Tool: VPS_createSnapshotV1

Create a snapshot of a specified virtual machine.

A snapshot captures the state and data of the virtual machine at a specific point in time, allowing users to restore the virtual machine to that state if needed. This operation is useful for backup purposes, system recovery, and testing changes without affecting the current state of the virtual machine.

Creating new snapshot will overwrite the existing snapshot!

Use this endpoint to capture VPS state for backup and recovery purposes.

Parameters Type Description
virtualMachineId integer Virtual Machine ID

Tool: VPS_deactivateFirewallV1

Deactivate a firewall for a specified virtual machine.

Use this endpoint to remove firewall protection from VPS instances.

Parameters Type Description
firewallId integer Firewall ID
virtualMachineId integer Virtual Machine ID

Tool: VPS_deleteFirewallRuleV1

Delete a specific firewall rule from a specified firewall.

Any virtual machine that has this firewall activated will lose sync with the firewall and will have to be synced again manually.

Use this endpoint to remove specific firewall rules.

Parameters Type Description
firewallId integer Firewall ID
ruleId integer Firewall Rule ID

Tool: VPS_deleteFirewallV1

Delete a specified firewall.

Any virtual machine that has this firewall activated will automatically have it deactivated.

Use this endpoint to remove unused firewall configurations.

Parameters Type Description
firewallId integer Firewall ID

Tool: VPS_deletePTRRecordV1

Delete a PTR (Pointer) record for a specified virtual machine.

Once deleted, reverse DNS lookups to the virtual machine's IP address will no longer return the previously configured hostname.

Use this endpoint to remove reverse DNS configuration from VPS instances.

Parameters Type Description
ipAddressId integer IP Address ID
virtualMachineId integer Virtual Machine ID

Tool: VPS_deletePostInstallScriptV1

Delete a post-install script from your account.

Use this endpoint to remove unused automation scripts.

Parameters Type Description
postInstallScriptId integer Post-install script ID

Tool: VPS_deleteProjectV1

Completely removes a Docker Compose project from the virtual machine, stopping all containers and cleaning up associated resources including networks, volumes, and images.

This operation is irreversible and will delete all project data.

Use this when you want to permanently remove a project and free up system resources.

Parameters Type Description
projectName string Docker Compose project name using alphanumeric characters, dashes, and underscores only
virtualMachineId integer Virtual Machine ID

Tool: VPS_deletePublicKeyV1

Delete a public key from your account.

Deleting public key from account does not remove it from virtual machine

Use this endpoint to remove unused SSH keys from account.

Parameters Type Description
publicKeyId integer Public Key ID

Tool: VPS_deleteSnapshotV1

Delete a snapshot of a specified virtual machine.

Use this endpoint to remove VPS snapshots.

Parameters Type Description
virtualMachineId integer Virtual Machine ID

Tool: VPS_getActionDetailsV1

Retrieve detailed information about a specific action performed on a specified virtual machine.

Use this endpoint to monitor specific VPS operation status and details.

Parameters Type Description
actionId integer Action ID
virtualMachineId integer Virtual Machine ID

Tool: VPS_getActionsV1

Retrieve actions performed on a specified virtual machine.

Actions are operations or events that have been executed on the virtual machine, such as starting, stopping, or modifying the machine. This endpoint allows you to view the history of these actions, providing details about each action, such as the action name, timestamp, and status.

Use this endpoint to view VPS operation history and troubleshoot issues.

Parameters Type Description
virtualMachineId integer Virtual Machine ID
page integer optional Page number

Tool: VPS_getAttachedPublicKeysV1

Retrieve public keys attached to a specified virtual machine.

Use this endpoint to view SSH keys configured for specific VPS instances.

Parameters Type Description
virtualMachineId integer Virtual Machine ID
page integer optional Page number

Tool: VPS_getBackupsV1

Retrieve backups for a specified virtual machine.

Use this endpoint to view available backup points for VPS data recovery.

Parameters Type Description
virtualMachineId integer Virtual Machine ID
page integer optional Page number

Tool: VPS_getDataCenterListV1

Retrieve all available data centers.

Use this endpoint to view location options before deploying VPS instances.

Tool: VPS_getFirewallDetailsV1

Retrieve firewall by its ID and rules associated with it.

Use this endpoint to view specific firewall configuration and rules.

Parameters Type Description
firewallId integer Firewall ID

Tool: VPS_getFirewallListV1

Retrieve all available firewalls.

Use this endpoint to view existing firewall configurations.

Parameters Type Description
page integer optional Page number

Tool: VPS_getMetricsV1

Retrieve historical metrics for a specified virtual machine.

It includes the following metrics:

  • CPU usage
  • Memory usage
  • Disk usage
  • Network usage
  • Uptime

Use this endpoint to monitor VPS performance and resource utilization over time.

Parameters Type Description
date_from string date_from parameter
date_to string date_to parameter
virtualMachineId integer Virtual Machine ID

Tool: VPS_getPostInstallScriptV1

Retrieve post-install script by its ID.

Use this endpoint to view specific automation script details.

Parameters Type Description
postInstallScriptId integer Post-install script ID

Tool: VPS_getPostInstallScriptsV1

Retrieve post-install scripts associated with your account.

Use this endpoint to view available automation scripts for VPS deployment.

Parameters Type Description
page integer optional Page number

Tool: VPS_getProjectContainersV1

Retrieves a list of all containers belonging to a specific Docker Compose project on the virtual machine.

This endpoint returns detailed information about each container including their current status, port mappings, and runtime configuration.

Use this to monitor the health and state of all services within your Docker Compose project.

Parameters Type Description
projectName string Docker Compose project name using alphanumeric characters, dashes, and underscores only
virtualMachineId integer Virtual Machine ID

Tool: VPS_getProjectContentsV1

Retrieves the complete project information including the docker-compose.yml file contents, project metadata, and current deployment status.

This endpoint provides the full configuration and state details of a specific Docker Compose project.

Use this to inspect project settings, review the compose file, or check the overall project health.

Parameters Type Description
projectName string Docker Compose project name using alphanumeric characters, dashes, and underscores only
virtualMachineId integer Virtual Machine ID

Tool: VPS_getProjectListV1

Retrieves a list of all Docker Compose projects currently deployed on the virtual machine.

This endpoint returns basic information about each project including name, status, file path and list of containers with details about their names, image, status, health and ports. Container stats are omitted in this endpoint. If you need to get detailed information about container with stats included, use the Get project containers endpoint.

Use this to get an overview of all Docker projects on your VPS instance.

Parameters Type Description
virtualMachineId integer Virtual Machine ID

Tool: VPS_getProjectLogsV1

Retrieves aggregated log entries from all services within a Docker Compose project.

This endpoint returns recent log output from each container, organized by service name with timestamps. The response contains the last 300 log entries across all services.

Use this for debugging, monitoring application behavior, and troubleshooting issues across your entire project stack.

Parameters Type Description
projectName string Docker Compose project name using alphanumeric characters, dashes, and underscores only
virtualMachineId integer Virtual Machine ID

Tool: VPS_getPublicKeysV1

Retrieve public keys associated with your account.

Use this endpoint to view available SSH keys for VPS authentication.

Parameters Type Description
page integer optional Page number

Tool: VPS_getScanMetricsV1

Retrieve scan metrics for the Monarx malware scanner installed on a specified virtual machine.

The scan metrics provide detailed information about malware scans performed by Monarx, including number of scans, detected threats, and other relevant statistics. This information is useful for monitoring security status of the virtual machine and assessing effectiveness of the malware scanner.

Use this endpoint to monitor VPS security scan results and threat detection.

Parameters Type Description
virtualMachineId integer Virtual Machine ID

Tool: VPS_getSnapshotV1

Retrieve snapshot for a specified virtual machine.

Use this endpoint to view current VPS snapshot information.

Parameters Type Description
virtualMachineId integer Virtual Machine ID

Tool: VPS_getTemplateDetailsV1

Retrieve detailed information about a specific OS template for virtual machines.

Use this endpoint to view specific template specifications before deployment.

Parameters Type Description
templateId integer Template ID

Tool: VPS_getTemplatesV1

Retrieve available OS templates for virtual machines.

Use this endpoint to view operating system options before creating or recreating VPS instances.

Tool: VPS_getVirtualMachineDetailsV1

Retrieve detailed information about a specified virtual machine.

Use this endpoint to view comprehensive VPS configuration and status.

Parameters Type Description
virtualMachineId integer Virtual Machine ID

Tool: VPS_getVirtualMachinesV1

Retrieve all available virtual machines.

Use this endpoint to view available VPS instances.

Tool: VPS_installMonarxV1

Install the Monarx malware scanner on a specified virtual machine.

Monarx is a security tool designed to detect and prevent malware infections on virtual machines. By installing Monarx, users can enhance the security of their virtual machines, ensuring that they are protected against malicious software.

Use this endpoint to enable malware protection on VPS instances.

Parameters Type Description
virtualMachineId integer Virtual Machine ID

Tool: VPS_purchaseNewVirtualMachineV1

Purchase and setup a new virtual machine.

If virtual machine setup fails for any reason, login to hPanel and complete the setup manually.

If no payment method is provided, your default payment method will be used automatically.

Use this endpoint to create new VPS instances.

Parameters Type Description
item_id string Catalog price item ID
setup string setup parameter
coupons array optional Discount coupon codes
payment_method_id integer optional Payment method ID, default will be used if not provided

Tool: VPS_recreateVirtualMachineV1

Recreate a virtual machine from scratch.

The recreation process involves reinstalling the operating system and resetting the virtual machine to its initial state. Snapshots, if there are any, will be deleted.

Password Requirements

Password will be checked against leaked password databases. Requirements for the password are:

  • At least 12 characters long
  • At least one uppercase letter
  • At least one lowercase letter
  • At least one number
  • Is not leaked publicly

This operation is irreversible and will result in the loss of all data stored on the virtual machine!

Use this endpoint to completely rebuild VPS instances with fresh OS installation.

Parameters Type Description
template_id integer Template ID
virtualMachineId integer Virtual Machine ID
panel_password string optional Panel password for the panel-based OS template. If not provided, random password will be generated.
If OS does not support panel_password this field will be ignored.
Password will not be shown in the response.
password string optional Root password for the virtual machine. If not provided, random password will be generated.
Password will not be shown in the response.
post_install_script_id integer optional Post-install script to execute after virtual machine was recreated

Tool: VPS_resetHostnameV1

Reset hostname and PTR record of a specified virtual machine to default value.

Use this endpoint to restore default hostname configuration for VPS instances.

Parameters Type Description
virtualMachineId integer Virtual Machine ID

Tool: VPS_restartProjectV1

Restarts all services in a Docker Compose project by stopping and starting containers in the correct dependency order.

This operation preserves data volumes and network configurations while refreshing the running containers.

Use this to apply configuration changes or recover from service failures.

Parameters Type Description
projectName string Docker Compose project name using alphanumeric characters, dashes, and underscores only
virtualMachineId integer Virtual Machine ID

Tool: VPS_restartVirtualMachineV1

Restart a specified virtual machine by fully stopping and starting it.

If the virtual machine was stopped, it will be started.

Use this endpoint to reboot VPS instances.

Parameters Type Description
virtualMachineId integer Virtual Machine ID

Tool: VPS_restoreBackupV1

Restore a backup for a specified virtual machine.

The system will then initiate the restore process, which may take some time depending on the size of the backup.

All data on the virtual machine will be overwritten with the data from the backup.

Use this endpoint to recover VPS data from backup points.

Parameters Type Description
backupId integer Backup ID
virtualMachineId integer Virtual Machine ID

Tool: VPS_restoreSnapshotV1

Restore a specified virtual machine to a previous state using a snapshot.

Restoring from a snapshot allows users to revert the virtual machine to that state, which is useful for system recovery, undoing changes, or testing.

Use this endpoint to revert VPS instances to previous saved states.

Parameters Type Description
virtualMachineId integer Virtual Machine ID

Tool: VPS_setHostnameV1

Set hostname for a specified virtual machine.

Changing hostname does not update PTR record automatically. If you want your virtual machine to be reachable by a hostname, you need to point your domain A/AAAA records to virtual machine IP as well.

Use this endpoint to configure custom hostnames for VPS instances.

Parameters Type Description
hostname string hostname parameter
virtualMachineId integer Virtual Machine ID

Tool: VPS_setNameserversV1

Set nameservers for a specified virtual machine.

Be aware, that improper nameserver configuration can lead to the virtual machine being unable to resolve domain names.

Use this endpoint to configure custom DNS resolvers for VPS instances.

Parameters Type Description
ns1 string ns1 parameter
virtualMachineId integer Virtual Machine ID
ns2 string optional ns2 parameter
ns3 string optional ns3 parameter

Tool: VPS_setPanelPasswordV1

Set panel password for a specified virtual machine.

If virtual machine does not use panel OS, the request will still be processed without any effect. Requirements for password are same as in the recreate virtual machine endpoint.

Use this endpoint to configure control panel access credentials for VPS instances.

Parameters Type Description
password string Panel password for the virtual machine
virtualMachineId integer Virtual Machine ID

Tool: VPS_setRootPasswordV1

Set root password for a specified virtual machine.

Requirements for password are same as in the recreate virtual machine endpoint.

Use this endpoint to update administrator credentials for VPS instances.

Parameters Type Description
password string Root password for the virtual machine
virtualMachineId integer Virtual Machine ID

Tool: VPS_setupPurchasedVirtualMachineV1

Setup newly purchased virtual machine with initial state.

Use this endpoint to configure and initialize purchased VPS instances.

Parameters Type Description
data_center_id integer Data center ID
template_id integer Template ID
virtualMachineId integer Virtual Machine ID
enable_backups boolean optional Enable weekly backup schedule
hostname string optional Override default hostname of the virtual machine
install_monarx boolean optional Install Monarx malware scanner (if supported)
ns1 string optional Name server 1
ns2 string optional Name server 2
password string optional Password for the virtual machine. If not provided, random password will be generated.
Password will not be shown in the response.
post_install_script_id integer optional Post-install script ID
public_key object optional Use SSH key

Tool: VPS_startProjectV1

Starts all services in a Docker Compose project that are currently stopped.

This operation brings up containers in the correct dependency order as defined in the compose file.

Use this to resume a project that was previously stopped or to start services after a system reboot.

Parameters Type Description
projectName string Docker Compose project name using alphanumeric characters, dashes, and underscores only
virtualMachineId integer Virtual Machine ID

Tool: VPS_startRecoveryModeV1

Initiate recovery mode for a specified virtual machine.

Recovery mode is a special state that allows users to perform system rescue operations, such as repairing file systems, recovering data, or troubleshooting issues that prevent the virtual machine from booting normally.

Virtual machine will boot recovery disk image and original disk image will be mounted in /mnt directory.

Use this endpoint to enable system rescue operations on VPS instances.

Parameters Type Description
root_password string Temporary root password for recovery mode
virtualMachineId integer Virtual Machine ID

Tool: VPS_startVirtualMachineV1

Start a specified virtual machine.

If the virtual machine is already running, the request will still be processed without any effect.

Use this endpoint to power on stopped VPS instances.

Parameters Type Description
virtualMachineId integer Virtual Machine ID

Tool: VPS_stopProjectV1

Stops all running services in a Docker Compose project while preserving container configurations and data volumes.

This operation gracefully shuts down containers in reverse dependency order.

Use this to temporarily halt a project without removing data or configurations.

Parameters Type Description
projectName string Docker Compose project name using alphanumeric characters, dashes, and underscores only
virtualMachineId integer Virtual Machine ID

Tool: VPS_stopRecoveryModeV1

Stop recovery mode for a specified virtual machine.

If virtual machine is not in recovery mode, this operation will fail.

Use this endpoint to exit system rescue mode and return VPS to normal operation.

Parameters Type Description
virtualMachineId integer Virtual Machine ID

Tool: VPS_stopVirtualMachineV1

Stop a specified virtual machine.

If the virtual machine is already stopped, the request will still be processed without any effect.

Use this endpoint to power off running VPS instances.

Parameters Type Description
virtualMachineId integer Virtual Machine ID

Tool: VPS_syncFirewallV1

Sync a firewall for a specified virtual machine.

Firewall can lose sync with virtual machine if the firewall has new rules added, removed or updated.

Use this endpoint to apply updated firewall rules to VPS instances.

Parameters Type Description
firewallId integer Firewall ID
virtualMachineId integer Virtual Machine ID

Tool: VPS_uninstallMonarxV1

Uninstall the Monarx malware scanner on a specified virtual machine.

If Monarx is not installed, the request will still be processed without any effect.

Use this endpoint to remove malware scanner from VPS instances.

Parameters Type Description
virtualMachineId integer Virtual Machine ID

Tool: VPS_updateFirewallRuleV1

Update a specific firewall rule from a specified firewall.

Any virtual machine that has this firewall activated will lose sync with the firewall and will have to be synced again manually.

Use this endpoint to modify existing firewall rules.

Parameters Type Description
firewallId integer Firewall ID
port string Port or port range, ex: 1024:2048
protocol string protocol parameter
ruleId integer Firewall Rule ID
source string source parameter
source_detail string IP range, CIDR, single IP or any

Tool: VPS_updatePostInstallScriptV1

Update a specific post-install script.

Use this endpoint to modify existing automation scripts.

Parameters Type Description
content string Content of the script
name string Name of the script
postInstallScriptId integer Post-install script ID

Tool: VPS_updateProjectV1

Updates a Docker Compose project by pulling the latest image versions and recreating containers with new configurations.

This operation preserves data volumes while applying changes from the compose file.

Use this to deploy application updates, apply configuration changes, or refresh container images to their latest versions.

Parameters Type Description
projectName string Docker Compose project name using alphanumeric characters, dashes, and underscores only
virtualMachineId integer Virtual Machine ID

Tool: billing_deletePaymentMethodV1

Delete a payment method from your account.

Use this endpoint to remove unused payment methods from user accounts.

Parameters Type Description
paymentMethodId integer Payment method ID

Tool: billing_disableAutoRenewalV1

Disable auto-renewal for a subscription.

Use this endpoint when disable auto-renewal for a subscription.

Parameters Type Description
subscriptionId string Subscription ID

Tool: billing_enableAutoRenewalV1

Enable auto-renewal for a subscription.

Use this endpoint when enable auto-renewal for a subscription.

Parameters Type Description
subscriptionId string Subscription ID

Tool: billing_getCatalogItemListV1

Retrieve catalog items available for order.

Prices in catalog items is displayed as cents (without floating point), e.g: float 17.99 is displayed as integer 1799.

Use this endpoint to view available services and pricing before placing orders.

Parameters Type Description
category string optional Filter catalog items by category
name string optional Filter catalog items by name. Use * for wildcard search, e.g. .COM* to find .com domain

Tool: billing_getPaymentMethodListV1

Retrieve available payment methods that can be used for placing new orders.

If you want to add new payment method, please use hPanel.

Use this endpoint to view available payment options before creating orders.

Tool: billing_getSubscriptionListV1

Retrieve a list of all subscriptions associated with your account.

Use this endpoint to monitor active services and billing status.

Tool: billing_setDefaultPaymentMethodV1

Set the default payment method for your account.

Use this endpoint to configure the primary payment method for future orders.

Parameters Type Description
paymentMethodId integer Payment method ID

Tool: domains_checkDomainAvailabilityV1

Check availability of domain names across multiple TLDs.

Multiple TLDs can be checked at once. If you want alternative domains with response, provide only one TLD and set with_alternatives to true. TLDs should be provided without leading dot (e.g. com, net, org).

Endpoint has rate limit of 10 requests per minute.

Use this endpoint to verify domain availability before purchase.

Parameters Type Description
domain string Domain name (without TLD)
tlds array TLDs list
with_alternatives boolean optional Should response include alternatives

Tool: domains_createDomainForwardingV1

Create domain forwarding configuration.

Use this endpoint to set up domain redirects to other URLs.

Parameters Type Description
domain string Domain name
redirect_type string Redirect type
redirect_url string URL to forward domain to

Tool: domains_createWHOISProfileV1

Create WHOIS contact profile.

Use this endpoint to add new contact information for domain registration.

Parameters Type Description
country string ISO 3166 2-letter country code
entity_type string Legal entity type
tld string TLD of the domain (without leading dot)
whois_details object WHOIS details
tld_details object optional TLD details

Tool: domains_deleteDomainForwardingV1

Delete domain forwarding data.

Use this endpoint to remove redirect configuration from domains.

Parameters Type Description
domain string Domain name

Tool: domains_deleteWHOISProfileV1

Delete WHOIS contact profile.

Use this endpoint to remove unused contact profiles from account.

Parameters Type Description
whoisId integer WHOIS ID

Tool: domains_disableDomainLockV1

Disable domain lock for the domain.

Domain lock needs to be disabled before transferring the domain to another registrar.

Use this endpoint to prepare domains for transfer to other registrars.

Parameters Type Description
domain string Domain name

Tool: domains_disablePrivacyProtectionV1

Disable privacy protection for the domain.

When privacy protection is disabled, domain owner's personal information is visible in public WHOIS database.

Use this endpoint to make domain owner's information publicly visible.

Parameters Type Description
domain string Domain name

Tool: domains_enableDomainLockV1

Enable domain lock for the domain.

When domain lock is enabled, the domain cannot be transferred to another registrar without first disabling the lock.

Use this endpoint to secure domains against unauthorized transfers.

Parameters Type Description
domain string Domain name

Tool: domains_enablePrivacyProtectionV1

Enable privacy protection for the domain.

When privacy protection is enabled, domain owner's personal information is hidden from public WHOIS database.

Use this endpoint to protect domain owner's personal information from public view.

Parameters Type Description
domain string Domain name

Tool: domains_getDomainDetailsV1

Retrieve detailed information for specified domain.

Use this endpoint to view comprehensive domain configuration and status.

Parameters Type Description
domain string Domain name

Tool: domains_getDomainForwardingV1

Retrieve domain forwarding data.

Use this endpoint to view current redirect configuration for domains.

Parameters Type Description
domain string Domain name

Tool: domains_getDomainListV1

Retrieve all domains associated with your account.

Use this endpoint to view user's domain portfolio.

Tool: domains_getWHOISProfileListV1

Retrieve WHOIS contact profiles.

Use this endpoint to view available contact profiles for domain registration.

Parameters Type Description
tld string optional Filter by TLD (without leading dot)

Tool: domains_getWHOISProfileUsageV1

Retrieve domain list where provided WHOIS contact profile is used.

Use this endpoint to view which domains use specific contact profiles.

Parameters Type Description
whoisId integer WHOIS ID

Tool: domains_getWHOISProfileV1

Retrieve a WHOIS contact profile.

Use this endpoint to view domain registration contact information.

Parameters Type Description
whoisId integer WHOIS ID

Tool: domains_purchaseNewDomainV1

Purchase and register a new domain name.

If registration fails, login to hPanel and check domain registration status.

If no payment method is provided, your default payment method will be used automatically.

If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account.

Some TLDs require additional_details to be provided and these will be validated before completing purchase.

Use this endpoint to register new domains for users.

Parameters Type Description
domain string Domain name
item_id string Catalog price item ID
additional_details object optional Additional registration data, possible values depends on TLD
coupons array optional Discount coupon codes
domain_contacts object optional Domain contact information
payment_method_id integer optional Payment method ID, default will be used if not provided

Tool: domains_updateDomainNameserversV1

Set nameservers for a specified domain.

Be aware, that improper nameserver configuration can lead to the domain being unresolvable or unavailable.

Use this endpoint to configure custom DNS hosting for domains.

Parameters Type Description
domain string Domain name
ns1 string First name server
ns2 string Second name server
ns3 string optional Third name server
ns4 string optional Fourth name server

Tool: hosting_createWebsiteV1

Create a new website for the authenticated client.

Provide the domain name and associated order ID to create a new website. The datacenter_code parameter is required when creating the first website on a new hosting plan - this will set up and configure new hosting account in the selected datacenter.

Subsequent websites will be hosted on the same datacenter automatically.

Website creation takes up to a few minutes to complete. Check the websites list endpoint to see when your new website becomes available.

Parameters Type Description
domain string Domain name for the website. Cannot start with "www."
order_id integer ID of the associated order
datacenter_code string optional Datacenter code. This parameter is required when creating the first website on a new hosting plan.

Tool: hosting_deployJsApplication

Deploy a JavaScript application from an archive file to a hosting server. IMPORTANT: the archive must ONLY contain application source files, not the build output, skip node_modules directory; also exclude all files matched by .gitignore if the ignore file exists. The build process will be triggered automatically on the server after the archive is uploaded. After deployment, use the hosting_listJsDeployments tool to check deployment status and track build progress.

Parameters Type Description
archivePath string Absolute or relative path to the application archive file. Supported formats: zip, tar, tar.gz, tgz, 7z, gz, gzip. If user provides directory path, create archive from it before proceeding. IMPORTANT: the archive must ONLY contain application source files, not the build output, skip node_modules directory.
domain string Domain name associated with the hosting account (e.g., example.com)
removeArchive boolean optional Whether to remove the archive file after successful deployment (default: false)

Tool: hosting_deployStaticWebsite

Deploy a static website from an archive file to a hosting server. IMPORTANT: This tool only works for static websites with no build process. The archive must contain pre-built static files (HTML, CSS, JavaScript, images, etc.) ready to be served. If the website has a package.json file or requires a build command, use hosting_deployJsApplication instead. The archive will be extracted and deployed directly without any build steps. The username will be automatically resolved from the domain.

Parameters Type Description
archivePath string Absolute or relative path to the static website archive file. Supported formats: zip, tar, tar.gz, tgz, 7z, gz, gzip. If user provides directory path, create archive from it before proceeding using EXACTLY this naming pattern: directoryname_YYYYMMDD_HHMMSS.zip (e.g., mystaticwebsite_20250115_143022.zip)
domain string Domain name associated with the hosting account (e.g., example.com)
removeArchive boolean optional Whether to remove the archive file after successful deployment (default: false)

Tool: hosting_deployWordpressPlugin

Deploy a WordPress plugin from a directory to a hosting server. This tool uploads all plugin files and triggers plugin deployment.

Parameters Type Description
domain string Domain name associated with the hosting account (e.g., example.com)
pluginPath string Absolute or relative path to the plugin directory containing all plugin files
slug string WordPress plugin slug (e.g., omnisend)

Tool: hosting_deployWordpressTheme

Deploy a WordPress theme from a directory to a hosting server. This tool uploads all theme files and triggers theme deployment. The uploaded theme can optionally be activated after deployment.

Parameters Type Description
domain string Domain name associated with the hosting account (e.g., example.com)
slug string WordPress theme slug (e.g., twentytwentyfive)
themePath string Absolute or relative path to the theme directory containing all theme files
activate boolean optional Whether to activate the theme after deployment (default: false)

Tool: hosting_generateAFreeSubdomainV1

Generate a unique free subdomain that can be used for hosting services without purchasing custom domains. Free subdomains allow you to start using hosting services immediately and you can always connect a custom domain to your site later.

Tool: hosting_importWordpressWebsite

Import a WordPress website from an archive file to a hosting server. This tool uploads a website archive (zip, tar, tar.gz, etc.) and a database dump (.sql file) to deploy a complete WordPress website. The archive will be extracted on the server automatically. Note: This process may take a while for larger sites. After upload completion, files are being extracted and the site will be available in a few minutes. The username will be automatically resolved from the domain.

Parameters Type Description
archivePath string Absolute or relative path to the website archive file. Supported formats: zip, tar, tar.gz, tgz, 7z, gz, gzip. If user provides directory path, create archive from it before proceeding using EXACTLY this naming pattern: directoryname_YYYYMMDD_HHMMSS.zip (e.g., mywebsite_20250115_143022.zip)
databaseDump string Absolute or relative path to a database dump file (.sql)
domain string Domain name associated with the hosting account (e.g., example.com)

Tool: hosting_listAvailableDatacentersV1

Retrieve a list of datacenters available for setting up hosting plans based on available datacenter capacity and hosting plan of your order. The first item in the list is the best match for your specific order requirements.

Parameters Type Description
order_id integer Order ID

Tool: hosting_listJsDeployments

List javascript application deployments for checking their status. Use this tool when customer asks for the status of the deployment. This tool retrieves a paginated list of Node.js application deployments for a domain with optional filtering by deployment states.

Parameters Type Description
domain string Domain name associated with the hosting account (e.g., example.com)
page integer optional Page number for pagination (optional)
perPage integer optional Number of items per page (optional)
states array optional Filter by deployment states (optional). Valid values: pending, completed, running, failed

Tool: hosting_listOrdersV1

Retrieve a paginated list of orders accessible to the authenticated client.

This endpoint returns orders of your hosting accounts as well as orders of other client hosting accounts that have shared access with you.

Use the available query parameters to filter results by order statuses or specific order IDs for more targeted results.

Parameters Type Description
order_ids array optional Filter by specific order IDs
page integer optional Page number
per_page integer optional Number of items per page
statuses array optional Filter by order statuses

Tool: hosting_listWebsitesV1

Retrieve a paginated list of websites (main and addon types) accessible to the authenticated client.

This endpoint returns websites from your hosting accounts as well as websites from other client hosting accounts that have shared access with you.

Use the available query parameters to filter results by username, order ID, enabled status, or domain name for more targeted results.

Parameters Type Description
domain string optional Filter by domain name (exact match)
is_enabled boolean optional Filter by enabled status
order_id integer optional Order ID
page integer optional Page number
per_page integer optional Number of items per page
username string optional Filter by specific username

Tool: hosting_showJsDeploymentLogs

Retrieve logs for a specified JavaScript application deployment for debugging purposes in case of failure.

Parameters Type Description
buildUuid string UUID of the JavaScript deployment build
domain string Domain name associated with the hosting account (e.g., example.com)
fromLine integer optional Line from which to retrieve logs (optional, default 0)

Tool: hosting_verifyDomainOwnershipV1

Verify ownership of a single domain and return the verification status.

Use this endpoint to check if a domain is accessible for you before using it for new websites. If the domain is accessible, the response will have is_accessible: true. If not, add the given TXT record to your domain's DNS records and try verifying again. Keep in mind that it may take up to 10 minutes for new TXT DNS records to propagate.

Skip this verification when using Hostinger's free subdomains (*.hostingersite.com).

Parameters Type Description
domain string Domain to verify ownership for

Tool: reach_createANewContactSegmentV1

Create a new contact segment.

This endpoint allows creating a new contact segment that can be used to organize contacts. The segment can be configured with specific criteria like email, name, subscription status, etc.

Parameters Type Description
conditions array conditions parameter
logic string logic parameter
name string name parameter

Tool: reach_createANewContactV1

Create a new contact in the email marketing system.

This endpoint allows you to create a new contact with basic information like name, email, and surname.

If double opt-in is enabled, the contact will be created with a pending status and a confirmation email will be sent.

Parameters Type Description
email string email parameter
name string optional name parameter
note string optional note parameter
surname string optional surname parameter

Tool: reach_createNewContactsV1

Create a new contact in the email marketing system.

This endpoint allows you to create a new contact with basic information like name, email, and surname.

If double opt-in is enabled, the contact will be created with a pending status and a confirmation email will be sent.

Parameters Type Description
email string email parameter
profileUuid string Profile uuid parameter
name string optional name parameter
note string optional note parameter
surname string optional surname parameter

Tool: reach_deleteAContactV1

Delete a contact with the specified UUID.

This endpoint permanently removes a contact from the email marketing system.

Parameters Type Description
uuid string UUID of the contact to delete

Tool: reach_getSegmentDetailsV1

Get details of a specific segment.

This endpoint retrieves information about a single segment identified by UUID. Segments are used to organize and group contacts based on specific criteria.

Parameters Type Description
segmentUuid string Segment uuid parameter

Tool: reach_listContactGroupsV1

Get a list of all contact groups.

This endpoint returns a list of contact groups that can be used to organize contacts.

Tool: reach_listContactsV1

Get a list of contacts, optionally filtered by group and subscription status.

This endpoint returns a paginated list of contacts with their basic information. You can filter contacts by group UUID and subscription status.

Parameters Type Description
group_uuid string optional Filter contacts by group UUID
page integer optional Page number
subscription_status string optional Filter contacts by subscription status

Tool: reach_listProfilesV1

This endpoint returns all profiles available to the client, including their basic information.

Tool: reach_listSegmentContactsV1

Retrieve contacts associated with a specific segment.

This endpoint allows you to fetch and filter contacts that belong to a particular segment, identified by its UUID.

Parameters Type Description
segmentUuid string Segment uuid parameter
page integer optional Page number
per_page integer optional Number of items per page

Tool: reach_listSegmentsV1

Get a list of all contact segments.

This endpoint returns a list of contact segments that can be used to organize contacts.

Tool: v2_getDomainVerificationsDIRECT

Retrieve a list of pending and completed domain verifications.

Use this MCP Server

{
  "mcpServers": {
    "hostinger-mcp-server": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "APITOKEN",
        "mcp/api-mcp-server"
      ],
      "env": {
        "APITOKEN": "0ASvFDoYoloTOoLd6fSRKUx9ihuoejCVbTT6xpmob7adce6d"
      }
    }
  }
}

Why is it safer to run MCP Servers with Docker?