> For the complete documentation index, see [llms.txt](https://docs.hostinger.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hostinger.com/api-reference/tools.md).

# Tools & integrations

Every official way to drive the Hostinger API besides raw HTTP — the CLI, SDKs, MCP server, Ansible collection, Terraform provider, n8n node, WHMCS module, and the Postman collection.

The [Hostinger API](/api-reference/overview.md) is the foundation for a set of official tools. Some are generated from the same OpenAPI specification and therefore cover every endpoint; others are hand-built for a specific platform and cover a focused slice of the API.

Pick by how you work: a terminal, an application, an infrastructure-as-code pipeline, a workflow builder, or an AI assistant.

## Generated from the specification

These cover the whole API and pick up new endpoints automatically when the specification changes.

| Tool                                     | Install                                  | Use it for                               |
| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- |
| [Hostinger CLI](/api-reference/cli.md)   | `brew install hostinger/tap/hostinger`   | Terminal work, shell scripts, CI         |
| [PHP SDK](/api-reference/sdks.md)        | `composer require hostinger/api-php-sdk` | PHP applications                         |
| [Python SDK](/api-reference/sdks.md)     | `pip install hostinger-api`              | Python applications                      |
| [TypeScript SDK](/api-reference/sdks.md) | `npm install @hostinger/sdk`             | Node and browser applications            |
| MCP server                               | `npx @hostinger/mcp`                     | AI assistants — see [below](#mcp-server) |

The [Email SDKs](/api-reference/email-sdks.md) are the equivalent set for the separate [Mail API](https://api.mail.hostinger.com), which reads and sends mail from your mailboxes.

## MCP server

The [`@hostinger/mcp`](https://www.npmjs.com/package/@hostinger/mcp) package exposes the API as Model Context Protocol tools, so an AI assistant can manage your hosting, domains, DNS, VPS and billing directly.

Two ways to connect:

* **Hosted** — point your assistant at `https://mcp.hostinger.com`. Nothing to install; you sign in from the browser.
* **Local** — run `npx @hostinger/mcp` and authenticate with an API token or through the browser.

For a ready-made setup inside a code editor, use the [Hostinger Connector](/hostinger-connector/overview.md), which wraps the same server with editor integration and guided sign-in.

Source: [hostinger/api-mcp-server](https://github.com/hostinger/api-mcp-server).

## Infrastructure as code

Both tools below are focused on VPS provisioning rather than the whole API.

### Terraform

The [Hostinger Terraform provider](https://registry.terraform.io/providers/hostinger/hostinger/latest) manages VPS instances, SSH keys, post-install scripts and DNS zone records, with support for importing VPS instances you created elsewhere.

```hcl
terraform {
  required_providers {
    hostinger = {
      source  = "hostinger/hostinger"
      version = "0.1.23"
    }
  }
}
```

Requires Terraform 1.3 or later and an API token. Provisioning new servers also needs a payment method on the account. Source: [hostinger/terraform-provider-hostinger](https://github.com/hostinger/terraform-provider-hostinger).

### Ansible

The `hostinger.vps` collection provides modules for VPS power state, hostnames, firewalls, snapshots, SSH keys, post-install scripts, the malware scanner and metrics, plus a dynamic inventory plugin that discovers your VPS instances.

```bash
ansible-galaxy collection install hostinger.vps
```

Requires ansible-core 2.13 or later. Source: [hostinger/ansible-collection-hostinger](https://github.com/hostinger/ansible-collection-hostinger).

## Workflow automation

### n8n

The [`n8n-nodes-hostinger-api`](https://www.npmjs.com/package/n8n-nodes-hostinger-api) community node adds Hostinger as a step in [n8n](https://n8n.io) workflows — VPS management, domains, DNS, billing and Reach — so you can trigger Hostinger actions from any other service n8n connects to.

Install it through n8n's [community nodes](https://docs.n8n.io/integrations/community-nodes/installation/) screen. Source: [hostinger/api-n8n-node](https://github.com/hostinger/api-n8n-node).

### WHMCS

The [Hostinger WHMCS module](https://github.com/hostinger/api-whmcs-plugin) integrates VPS and Cloud services into a WHMCS billing system: automated provisioning, restarts and reinstalls, disk and bandwidth tracking, backups and snapshots, nameserver and PTR management, and a VPS control panel in the client area.

Requires WHMCS 8.0 or later, PHP 8.1 or later, and an API token.

## Postman

The [Hostinger public workspace](https://www.postman.com/hostinger-api) hosts a Postman collection covering the API, useful for exploring endpoints interactively before you write any code.

You can also work straight from the [endpoint pages](/api-reference/endpoints.md) in these docs — each one has a **Test it** panel that sends a real request from your browser.

## The OpenAPI specification

Everything above starts from one document: [`https://developers.hostinger.com/openapi/openapi.json`](https://developers.hostinger.com/openapi/openapi.json).

Fetch it directly if you want to generate a client for a language Hostinger doesn't publish, feed the API to a tool that consumes OpenAPI, or diff versions to see what changed.

***

*Last updated: September 10, 2026*
