Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"hostinger-api": {
"env": {
"DEBUG": "false",
"HOSTINGER_API_TOKEN": "YOUR API TOKEN"
},
"command": "hostinger-api-mcp"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Model Context Protocol (MCP) server for Hostinger API.
Run this in your terminal to verify the server starts. Then let us know if it worked — your result helps other developers.
npx -y 'hostinger-api-mcp' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
Checked hostinger-api-mcp against OSV.dev.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in other
Pi Coding Agent extension (CLI-first) — routes bash/read/grep/find/ls through lean-ctx CLI for strong token savings. Optional MCP bridge can register advanced tools.
Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 60-95% fewer tokens, same answers. Library, proxy, MCP server.
97% token reduction for AI coding sessions — zero deps, 21 languages, MCP server
MCP server for letmepost.dev. Publish across 8 social platforms from any agent.
MCP Security Weekly
Get CVE alerts and security updates for io.github.hostinger/hostinger-api-mcp and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
Model Context Protocol (MCP) server for Hostinger API.
If you don't have Node.js installed, you can download it from the official website. Alternatively, you can use a package manager like Homebrew (for macOS) or Chocolatey (for Windows) to install Node.js.
We recommend using NVM (Node Version Manager) to install and manage installed Node.js versions. After installing NVM, you can install Node.js with the following command:
nvm install v24
nvm use v24
To install the MCP server, run one of the following command, depending on your package manager:
# Install globally from npm
npm install -g hostinger-api-mcp
# Or with yarn
yarn global add hostinger-api-mcp
# Or with pnpm
pnpm add -g hostinger-api-mcp
To update the MCP server to the latest version, use one of the following commands, depending on your package manager:
# Update globally from npm
npm update -g hostinger-api-mcp
# Or with yarn
yarn global upgrade hostinger-api-mcp
# Or with pnpm
pnpm update -g hostinger-api-mcp
This package installs the following MCP server commands:
hostinger-api-mcp — unified server with every tool (223 total)hostinger-agency-hosting-mcp — 18 tools for agency-hostinghostinger-billing-mcp — 7 tools for billinghostinger-dns-mcp — 8 tools for dnshostinger-domains-mcp — 19 tools for domainshostinger-ecommerce-mcp — 12 tools for ecommercehostinger-horizons-mcp — 2 tools for horizonshostinger-hosting-mcp — 48 tools for hostinghostinger-reach-mcp — 12 tools for reachhostinger-vps-mcp — 62 tools for vpshostinger-wordpress-mcp — 35 tools for wordpressPick the binary that matches your agent's scope. hostinger-api-mcp remains the backwards-compatible default.
The following environment variables can be configured when running the server:
DEBUG: Enable debug logging (true/false) (default: false)HOSTINGER_API_TOKEN: Your API token, which will be sent in the Authorization header. When set, OAuth is bypassed entirely.API_TOKEN: Deprecated alias for HOSTINGER_API_TOKEN. Will be removed in a future version — prefer HOSTINGER_API_TOKEN.OAUTH_ISSUER: OAuth server base URL (default: https://auth.hostinger.com). Only used when HOSTINGER_API_TOKEN is not set.The server supports two authentication methods:
Set HOSTINGER_API_TOKEN in the environment or .env file. When present it always takes precedence — no OAuth code runs.
When HOSTINGER_API_TOKEN is not set and the server runs in stdio mode, OAuth 2.0 with PKCE is used automatically on the first authenticated tool call:
Credentials are stored at:
~/.config/hostinger-mcp/credentials.json (mode 0600)%APPDATA%\hostinger-mcp\credentials.jsonCredentials are shared across all Hostinger MCP binaries (hostinger-api-mcp, hostinger-vps-mcp, etc.).
Manual commands:
# Run the OAuth sign-in flow immediately (don't wait for the first tool call)
hostinger-api-mcp --login
# Revoke stored credentials
hostinger-api-mcp --logout
HTTP transport note: OAuth sign-in is not supported in --http mode. Set HOSTINGER_API_TOKEN before using --http.