Skip to main content
Glama
hostinger

hostinger-api-mcp

Official
by hostinger

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DEBUGNoEnable debug logging (true/false)false
API_TOKENYesYour API token, which will be sent in the Authorization header

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
agencyHosting_deployNodeStaticWebsiteA

Deploy a node-static Agency Plan (h5g) website from an archive file. WARNING: this overwrites the website's existing contents and cannot be undone — always confirm with the user before proceeding. Use this for Agency Plan websites of type node-static (a Node.js-built static site that requires a build step or a plain simple static site). The tool resolves the website from its domain, uploads the archive to the website's file browser over TUS, and triggers the build-assets process which builds the site and deploys the result to public_html. This operation is synchronous: the build and deployment complete before the tool returns, so the website is live as soon as the tool finishes successfully — there is no separate asynchronous build to wait for or poll. For plain PHP applications that should be extracted as-is, use agencyHosting_deployPhpApplication instead. The website UID is automatically resolved from the domain.

agencyHosting_deployPhpApplicationA

Deploy a PHP (or other non-build) Agency Plan (h5g) website from an archive file. WARNING: this overwrites the website's existing contents and cannot be undone — always confirm with the user before proceeding. Use this for Agency Plan websites where the archive contents should be extracted and served as-is with no build step (e.g., PHP applications). The tool resolves the website from its domain, uploads the archive to the website's file browser over TUS, and triggers the import-archive process which overwrites the website contents with the archive contents. This operation is synchronous: the archive is extracted and deployed before the tool returns, so the website is live as soon as the tool finishes successfully — there is no separate asynchronous build to wait for or poll. For node-static websites that require a build step, use agencyHosting_deployNodeStaticWebsite instead. The website UID is automatically resolved from the domain.

hosting_importWordpressWebsiteA

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.

hosting_deployWordpressPluginC

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

hosting_deployWordpressThemeB

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.

hosting_deployJsApplicationA

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.

hosting_deployStaticWebsiteA

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.

hosting_listJsDeploymentsA

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.

hosting_showJsDeploymentLogsA

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

agency-hosting_listAvailableDatacentersForAnAgencyPlanOrderV1A

Lists the datacenters available for provisioning a new website on the given Agency Plan hosting order.

Each datacenter includes a pinger_url you can ping from the client to measure round-trip latency; comparing the results across datacenters lets you pick the nearest one (lowest ping) before choosing its code as the datacenter_code when creating a website setup.

agency-hosting_changeAgencyPlanWebsiteDomainV1A

Changes the primary domain for an Agency Plan website.

Provide the current domain in the path and the new domain in the request body. Set domain to null to revert to the temporary domain.

agency-hosting_linkDomainToAgencyPlanWebsiteV1A

Links a domain to the specified Agency Plan website so it can serve traffic for that domain.

agency-hosting_listAgencyPlanDomainsV1A

Returns a paginated list of domains associated with Agency Plan websites accessible to the authenticated client.

Use the website_uuids filter to narrow results to specific websites.

agency-hosting_unlinkDomainFromAgencyPlanWebsiteV1A

Unlinks a domain from the specified Agency Plan website.

The website stops serving traffic on this domain immediately.

Website files and database are preserved, and any other linked domains remain accessible.

If this is the only domain on the website, unlinking leaves the website without an accessible domain.

agency-hosting_importAgencyPlanWebsiteFromArchiveV1A

Imports an Agency Plan website from an already-uploaded archive.

Upload the archive to the website's root directory via file browser first, then provide its filename in this request. Website contents are overwritten by the archive contents. Supported archive types: .zip, .tar, .tar.gz, .tgz.

agency-hosting_listAgencyPlanOrdersV1B

Returns a paginated list of Agency Plan orders accessible to the authenticated client.

agency-hosting_provisionANewAgencyPlanWebsiteV1A

Provisions a new website on one of your Agency Plan hosting orders.

Choose the datacenter, stack (flavor), and PHP version for the site. Optionally attach your own domain — omit it, set it to null, or leave it unavailable and a free *.hostingersite.com subdomain is generated instead — and/or install WordPress by supplying the wordpress details (admin account, site title, and language).

Common setups:

  • Plain PHP site: flavor set to php-fpm, with settings.php.version; omit wordpress and type.

  • WordPress site: flavor set to the desired WordPress version (e.g. wp-7.0), plus the wordpress block (admin account, title, language).

  • Static/Node.js frontend app: flavor set to php-fpm and type set to node-static.

Provisioning runs in the background, so the response returns immediately with a setup UUID that identifies the job. The new website becomes reachable once provisioning finishes.

agency-hosting_getAgencyPlanWebsiteSetupStatusV1A

Returns the current status of an Agency Plan website setup started via the setups endpoint.

Poll this endpoint using the setup_uuid returned from the provisioning request until status becomes completed, at which point website_uid identifies the new website.

agency-hosting_buildAgencyPlanWebsiteNodeJSAssetsV1A

Builds and deploys a Node.js application for an Agency Plan website from an already-uploaded archive.

Upload the archive to file browser first, then provide its relative path from document root in this request. Website contents are overwritten by the build result, which is deployed to public_html.

agency-hosting_clearAgencyPlanWebsiteCacheV1A

Clears cache for all domains associated with an Agency Plan website, including its preview domain.

This operation clears all cache types for the website.

agency-hosting_listAgencyPlanWebsiteCronJobsV1B

Returns a paginated list of cron jobs configured for an Agency Plan website.

Each entry includes the schedule expression and the command executed on that schedule.

agency-hosting_createAgencyPlanWebsiteCronJobV1A

Creates a cron job for an Agency Plan website from a schedule expression and a command.

Returns the created cron job, including its uuid, which is required to delete the cron job.

agency-hosting_deleteAgencyPlanWebsiteCronJobV1A

Permanently deletes the cron job identified by its uuid from an Agency Plan website.

The operation is idempotent: deleting a cron job that does not exist succeeds without error.

agency-hosting_listAgencyPlanWebsiteDatabasesV1A

Returns a paginated list of MySQL databases created for an Agency Plan website.

Each entry includes the database's non-system users.

agency-hosting_createAgencyPlanWebsiteDatabaseV1B

Creates a MySQL database with a dedicated user for an Agency Plan website.

The database name, username, and password must all be provided by the caller.

agency-hosting_deleteAgencyPlanWebsiteDatabaseV1A

Permanently deletes a MySQL database and all its data from an Agency Plan website, including its users.

The operation is idempotent: deleting a database that does not exist succeeds without error.

agency-hosting_createAgencyPlanWebsiteDatabaseUserV1A

Creates a user for an existing database on an Agency Plan website.

Each database supports a single non-system user; creating a user for a database that already has one fails.

agency-hosting_deleteAgencyPlanWebsiteDatabaseUserV1A

Permanently deletes a database user from an Agency Plan website database, revoking all access it had.

The operation is idempotent: deleting a user that does not exist succeeds without error.

agency-hosting_getAgencyPlanWebsiteDetailsV1A

Retrieves detailed information about a specific Agency Plan website, including configuration, status, metadata, hosting plan details, and resource quotas.

agency-hosting_deleteAgencyPlanWebsiteV1A

Permanently deletes an Agency Plan website. Deletion is processed asynchronously: the website is immediately transitioned to a deleting state and the underlying server resources are removed in the background.

agency-hosting_listRunningAgencyPlanWebsiteProcessesV1A

Lists active and recently completed asynchronous processes for an Agency Plan website.

Each process has a unique ID (for tracking), a type, and a status (running, completed, failed). Poll this endpoint after initiating async operations (SSL setup, backups, cloning) to track progress.

agency-hosting_changeAgencyPlanWebsiteWordPressCoreVersionV1B

Changes the installed WordPress core version on an Agency Plan website to one of the versions available for installation.

agency-hosting_getAgencyPlanWebsiteWordPressSettingsV1A

Returns the current WordPress settings for an Agency Plan website: installed core version, LiteSpeed Cache plugin status, object cache status, and maintenance mode status.

agency-hosting_listAvailableWordPressVersionsForAnAgencyPlanWebsiteV1B

Lists the WordPress core versions available for installation on an Agency Plan website.

billing_getCatalogItemListV1A

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.

billing_createPurchaseOrderV1A

Create a purchase order for any Hostinger product.

This unified endpoint places an order for one or more catalog items and works across all Hostinger products, leveraging the existing billing infrastructure. Use the catalog endpoint to look up the item_id values available for purchase.

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

This endpoint only places the order. Product-specific provisioning (e.g. VPS setup or domain registration) is not performed here — once the order completes, use the relevant product endpoints or hPanel to finalize setup.

Use this endpoint to purchase any product available in the catalog.

billing_setDefaultPaymentMethodV1A

Set the default payment method for your account.

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

billing_deletePaymentMethodV1A

Delete a payment method from your account.

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

billing_getPaymentMethodListV1A

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.

billing_getSubscriptionListV1A

Retrieve a list of all subscriptions associated with your account.

Use this endpoint to monitor active services and billing status.

billing_disableAutoRenewalV1B

Disable auto-renewal for a subscription.

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

billing_enableAutoRenewalV1C

Enable auto-renewal for a subscription.

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

billing_renewSubscriptionV1A

Create a renewal order for an existing Hostinger subscription.

This endpoint places a renewal order for a single subscription, leveraging the existing billing infrastructure. Use the subscriptions endpoint to look up the subscriptionId values available for renewal.

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

Use this endpoint to renew any subscription available in your account.

DNS_getDNSSnapshotV1A

Retrieve particular DNS snapshot with contents of DNS zone records.

Use this endpoint to view historical DNS configurations for domains.

DNS_getDNSSnapshotListV1A

Retrieve DNS snapshots for a domain.

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

DNS_restoreDNSSnapshotV1A

Restore DNS zone to the selected snapshot.

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

DNS_getDNSRecordsV1A

Retrieve DNS zone records for a specific domain.

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

DNS_updateDNSRecordsV1B

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.

DNS_deleteDNSRecordsV1C

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.

DNS_resetDNSRecordsV1B

Reset DNS zone to the default records.

Use this endpoint to restore domain DNS to original configuration.

DNS_validateDNSRecordsV1B

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.

v2_getDomainVerificationsDIRECTB

Retrieve a list of pending and completed domain verifications.

domains_checkDomainAvailabilityV1A

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.

domains_getDomainForwardingV1A

Retrieve domain forwarding data.

Use this endpoint to view current redirect configuration for domains.

domains_updateDomainForwardingV1B

Update domain forwarding configuration.

Use this endpoint to modify existing redirect configuration for domains.

domains_deleteDomainForwardingV1A

Delete domain forwarding data.

Use this endpoint to remove redirect configuration from domains.

domains_createDomainForwardingV1B

Create domain forwarding configuration.

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

domains_getPendingIRTPVerificationV1A

Retrieve a pending IRTP verification for a domain.

Both the old and new registrant must confirm it before the WHOIS change takes effect.

Use this endpoint to check the status of a WHOIS change awaiting registrant confirmation.

domains_cancelPendingIRTPVerificationV1A

Cancel a pending IRTP verification.

Use this endpoint to back out of a WHOIS change that is stuck waiting on registrant confirmation, for example when the confirmation email cannot be received, without waiting out the 5-day expiry.

domains_getIncomingDomainMoveV1A

Retrieve the incoming move for a specified domain.

Returns 404 when no account is moving this domain to you.

Use this endpoint to check whether a domain addressed to you is still waiting to be accepted.

domains_acceptIncomingDomainMoveV1A

Accept an incoming move for a specified domain.

The provided WHOIS profiles become the contacts of the domain, so they must belong to your account and satisfy the requirements of the TLD. Only the contact types the domain actually uses are applied, but all four profile IDs have to be provided.

The move has to still be waiting for your decision, already accepted moves cannot be accepted again.

Accepting does not complete the move. A confirmation email is sent to the email address of the new owner contact, and the domain changes hands only after the change is confirmed from it. Until then the move stays in the activating status, which can be followed with the incoming move endpoint.

Use this endpoint to take ownership of a domain offered to you.

domains_rejectIncomingDomainMoveV1A

Reject an incoming move for a specified domain.

The domain stays in the account which initiated the move. Moves you have already accepted cannot be rejected anymore.

Use this endpoint to decline a domain you do not want to take over.

domains_getIncomingDomainMoveListV1A

Retrieve all domains other Hostinger accounts are moving to your account.

Moves of every status are returned, including the ones which already completed.

Use this endpoint to find domains waiting for you to accept them.

domains_getOutgoingDomainMoveV1A

Retrieve the outgoing move for a specified domain.

Returns 404 when the domain has no move in progress.

Use this endpoint to track the status of a move you have initiated for a single domain.

domains_startOutgoingDomainMoveV1A

Initiate a move of a specified domain to another Hostinger account.

The receiving account has to already exist and accept the move before the domain changes hands.

The domain must be active. The subscription it belongs to is resolved automatically, and the request is rejected with a 404 status code when the domain has no domain subscription of its own.

Domains protected by premium protection require an additional verification step, such requests are rejected with a 428 status code.

Use this endpoint to hand a domain over to another Hostinger user.

domains_cancelOutgoingDomainMoveV1A

Cancel an outgoing move for a specified domain.

The move can only be cancelled while the receiving account has not accepted it yet. The domain stays in your account.

Use this endpoint to withdraw a move you no longer want to complete.

domains_getOutgoingDomainMoveListV1A

Retrieve all domains you are moving to other Hostinger accounts.

Only moves which have not completed yet are returned.

Use this endpoint to track moves you have initiated and the accounts they are addressed to.

domains_getDomainAuthorizationCodeV1A

Retrieve the authorization (EPP) code for a specified domain so it can be transferred away from Hostinger to another registrar.

Requesting a new code invalidates any code retrieved previously.

Use this endpoint to obtain the code required to transfer a domain to another registrar.

domains_claimFreeDomainV1A

Claim a free domain available on your account and register it.

Unlike purchasing a domain, this consumes a free domain you already have, so no payment method is required.

A successful response means the domain is registered. If registration fails, login to hPanel and check domain registration status.

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 claiming.

Requests which cannot be fulfilled are rejected with an error code in the response body, for example 2037 when no free domain is available.

Use this endpoint to register a domain using a free domain from your account.

domains_enableDomainLockV1A

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.

domains_disableDomainLockV1A

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.

domains_getDomainDetailsV1A

Retrieve detailed information for specified domain.

Use this endpoint to view comprehensive domain configuration and status.

domains_getDomainListV1A

Retrieve all domains associated with your account.

Use this endpoint to view user's domain portfolio.

domains_purchaseNewDomainV1A

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.

domains_enablePrivacyProtectionV1A

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.

domains_disablePrivacyProtectionV1A

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.

domains_getDomainRenewalInformationV1A

Retrieve renewal information for a specified domain, including its status and current expiration date.

Use this endpoint to build renewal automation and expiry monitoring for a single domain.

domains_updateDomainNameserversV1A

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.

domains_claimFreeDomainTransferV1A

Claim a free domain transfer available on your account and start the transfer.

Unlike purchasing a transfer, this consumes a free domain transfer you already have, so no payment method is required.

Before making request, unlock the domain at the current registrar and get its authorization code. The transfer is validated first, so domains which cannot be transferred are rejected before the free domain transfer is consumed.

A successful response means the transfer has been started. Completion depends on the current registrar and can be followed with the transfer list endpoint.

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.

Requests which cannot be fulfilled are rejected with an error code in the response body.

Use this endpoint to transfer a domain using a free domain transfer from your account.

domains_getTransferV1B

Retrieve the transfer for a specified domain.

Use this endpoint to track an incoming or outgoing registrar transfer and its status.

domains_getTransferListV1A

Retrieve all domain transfers in your portfolio.

Use this endpoint to monitor incoming and outgoing registrar transfers across your domains.

domains_changeWHOISProfileForDomainV1A

Change WHOIS contact profile for a domain.

Repoints the given contact roles to a new WHOIS profile and submits the change to the registry. The profile currently assigned to those roles is resolved automatically; the request fails if the given roles are not all on the same profile today.

Changing transfer sensitive fields on the owner contact starts an IRTP verification.

The change is processed asynchronously.

Use this endpoint to move a registered domain onto different contact information.

domains_setWHOISProfileAsDefaultV1A

Set WHOIS contact profile as default.

The default profile is pre-selected for the TLD it belongs to when registering new domains.

Use this endpoint to avoid picking contact information for every registration.

domains_unsetDefaultWHOISProfileV1A

Unset WHOIS contact profile as default.

The profile itself is kept, it is only no longer pre-selected for its TLD.

Use this endpoint to stop reusing contact information for new registrations.

domains_getWHOISProfileV1B

Retrieve a WHOIS contact profile.

Use this endpoint to view domain registration contact information.

domains_deleteWHOISProfileV1A

Delete WHOIS contact profile.

Use this endpoint to remove unused contact profiles from account.

domains_getWHOISProfileListV1B

Retrieve WHOIS contact profiles.

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

domains_createWHOISProfileV1C

Create WHOIS contact profile.

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

domains_getWHOISProfileUsageV1A

Retrieve domain list where provided WHOIS contact profile is used.

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

ecommerce_getCustomStorefrontSetupInstructionsV1A

Retrieve step-by-step setup instructions, formatted as Markdown, for connecting a custom sales channel to your store and keeping your catalog, orders, shipping and payments in sync through the Ecommerce API.

ecommerce_enableManualPaymentMethodV1B

Enable a manual payment method so the store can accept orders without an online payment provider.

ecommerce_createDigitalProductV1B

Create a published digital product with a single variant and an optional external download link.

ecommerce_createPhysicalProductV1A

Create a published physical product with a single variant priced in the store currency.

ecommerce_listSalesChannelsV1B

List a store's active sales channels with their full metadata.

ecommerce_createCustomSalesChannelV1A

Create a custom sales channel for a store. Build your own frontend and keep your catalog, orders, shipping and payments in sync through the Ecommerce API.

ecommerce_updateSalesChannelV1A

Update a custom sales channel. The merchant-facing name and the public url (returned as the channel domain) can be changed. Pass null to clear a value.

ecommerce_setStoreShippingV1A

Set the flat-rate shipping price for a store, creating the shipping zone if it does not exist yet.

ecommerce_deleteStoreV1A

Soft-delete a store owned by your account.

The underlying store data is preserved; only the store is marked as deleted.

ecommerce_getStoresV1C

Retrieve the stores associated with your account.

ecommerce_createStoreV1C

Create a new store for your account.

A primary sales channel is created alongside the store.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/hostinger/api-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server