Hostinger API MCP
The official Hostinger MCP: an agent manages VPS, domains, hosting, mail and billing through three tools.
- 171 ★ on the repository
- Last commit
Broad access
Why this level
- 409 API operations change servers, domains, DNS and mail and touch billing.
- The API token and OAuth session carry the same rights as the account.
Install
- Works in
In your terminal, with SkillFoxx CLI
npx skillfoxx add mcp/hostinger-api-mcpDetects the agents on your machine, shows the access level and pins the version.
Other ways to install
Access and checks
How we reviewBroad accessThe tool can change data, run commands or handle secrets.
- 409 API operations change servers, domains, DNS and mail and touch billing.
- The API token and OAuth session carry the same rights as the account.
This is third-party code. Review the repository files before installing.
What it does
Hostinger API MCP is a server for the Hostinger API. It runs locally as the `@hostinger/mcp` package or connects as the hosted `https://mcp.hostinger.com` with OAuth sign-in. All 409 API operations are available through three tools: `search` finds an operation by keyword and returns its schema, `execute` runs one operation with parameters, `multi-execute` runs up to 20 operations in order and stops at the first failure (a value like `$steps.<i>.<path>` is substituted from an earlier step result). The package installs several commands: the general `hostinger-api-mcp` and narrow servers per group, for example `hostinger-vps-mcp` (68 operations), `hostinger-domains-mcp` (43), `hostinger-hosting-mcp` (54), `hostinger-wordpress-mcp` (41), `hostinger-mail-mcp` (39), `hostinger-dns-mcp` (9), `hostinger-billing-mcp` (10), `hostinger-ecommerce-mcp` (30). A narrow server searches and runs only the operations of its group.
Who it is for. Hostinger customers who want to manage servers, domains, DNS and WordPress sites through Claude Code, Codex or another MCP client.
Good fit when
- An agent restarts a VPS and checks its state after an update.
- Changes DNS records for a domain and verifies they were applied.
- Reviews account invoices and subscriptions and totals the spend.
- Deploys a WordPress site on hosting and sets up mailboxes.
Not a fit when
- There is no Hostinger account: without an API token or sign-in the server does nothing.
- Giving an agent billing and destructive operations is risky: connect a narrow per-group server.
- Another provider is needed: the tools are tied to the Hostinger API.
Example request
Using Hostinger, list all my VPS and their state, then find the restart operation and run it for the staging server.MCP
- Transport
- http, stdio
- Authentication
- OAuth
Environment variables
HOSTINGER_API_TOKENsecret- Hostinger API token, OAuth does not run when it is set
Limitations
Node.js 24 or newer is required. Authorization uses the `HOSTINGER_API_TOKEN` token (when set, OAuth does not run) or OAuth 2.0 with PKCE in stdio mode, and tokens are stored locally. The server exposes operations that change infrastructure and touch billing: some operations are deprecated and disappear from `search`. The `API_TOKEN` variable is deprecated and replaced by `HOSTINGER_API_TOKEN`. The hosted server needs an OAuth sign-in in a browser, in a headless environment a token is simpler. Some deprecated operations are hidden from `search`, some still work through `execute` until removal and some only inside the tool that replaced them.
How to disable. Remove the hostinger entry from the client configuration (`claude mcp remove hostinger` for Claude Code) and revoke the API token or OAuth access in the Hostinger account.
FAQ
How do I connect Hostinger MCP to Claude Code?
With `claude mcp add --transport http hostinger https://mcp.hostinger.com`, which opens an OAuth window. For Codex: `codex mcp add hostinger --url https://mcp.hostinger.com`, then `codex mcp login hostinger`.
Which three tools does the server have?
`search`, `execute` and `multi-execute`.
How do I install locally?
`npm install -g @hostinger/mcp`, then run `hostinger-api-mcp` with the `HOSTINGER_API_TOKEN` variable.
Can an agent get only a part of the operations?
Yes, connect a narrow group server such as `hostinger-dns-mcp` or `hostinger-vps-mcp`, which searches and runs only its own operations.
What does multi-execute do?
It runs up to 20 operations in a row and stops at the first failure, and a value like `$steps.<i>.<path>` is taken from an earlier step result.
Discussion
No questions or reviews yet.
Related
MCP serversA Node.js manager for MCP servers: it starts local servers, connects remote ones and gives a client one address, with a REST API for control
Official Cloudflare MCP server: the agent drives the whole Cloudflare API by searching the spec and running code
Keyless Domainstack MCP server: an agent checks registrar, DNS, hosting, certificate, headers and SEO of a domain
A self-hosted gateway that merges several MCP servers into one endpoint with auth and tool selection
Zabbix MCP Server
zabbix-mcp-server
An MCP server for the whole Zabbix API: 237 tools, several Zabbix servers, scoped tokens and a read-only mode
Puter's hosted MCP server gives agents files, puter.site websites, workers and key-value storage from a cloud account.
README in short
The README covers a quick start with the hosted server and OAuth, installing the package through npm, yarn and pnpm, the list of narrow per-group servers with operation counts, environment variables, both authorization schemes and the three shared tools.