Skip to main content
MCP server CX Codex

Hostinger API — MCP server for Claude Code: manage hosting via AI

MCP server to access Hostinger API from Claude Code, Cursor and other editors. Gives your agent 413 operations: domain and hosting management, email, DNS, WordPress and more.

MIT ★ 173 updated 2026-10-23

Open on GitHub

What Hostinger API does

The server exposes three MCP tools: search operations by name, fetch operation details and parameters, and execute an operation. All 413 Hostinger API operations are available through the main hostinger-api-mcp binary, but you can install scoped servers for specific areas — for example, hostinger-vps-mcp (68 operations), hostinger-domains-mcp (43), hostinger-wordpress-mcp (41), or hostinger-hosting-mcp (62).

Authentication works two ways: via API token (recommended for scripts or CI) or OAuth 2.0 with PKCE (interactive sign-in). Set the token in HOSTINGER_API_TOKEN. With OAuth, the first tool call opens a browser; after sign-in, credentials are cached on disk (~/.config/hostinger-mcp/credentials.json on macOS and Linux, %APPDATA%\hostinger-mcp\credentials.json on Windows) and reused for subsequent calls. Requires Node.js 24 or later.

Supports stdio transport (default, local) and HTTP streaming (e.g., hostinger-api-mcp --http on localhost:8100). HTTP mode requires HOSTINGER_API_TOKEN set in advance; OAuth is not available in that mode.

What it helps with

  • manage domains, hosting and DNS through an AI assistant
  • set up email, VPS and WordPress without leaving the editor
  • automate billing and agency management tasks
  • integrate Hostinger API into an MCP client or custom script

Example prompts for the agent

  • List all my domains through Hostinger API and show the status of each.
  • Create a new MX record for example.com with priority 10.
  • Enable two-factor authentication on my Hostinger hosting account.

How to install Hostinger API

Install

The MCP registry has no launch command for it: see the repository README

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about Hostinger API

How do I install Hostinger API for Claude Code?

The server runs remotely at https://mcp.hostinger.com. In Claude Code, run claude mcp add --transport http hostinger https://mcp.hostinger.com, then authorize via browser. To run locally: npm install -g @hostinger/mcp, then add hostinger-api-mcp to your config with HOSTINGER_API_TOKEN in env.

What does Hostinger API MCP server do?

It connects your AI agent directly to Hostinger's API so you can manage domains, hosting, email, VPS and WordPress programmatically without manual steps in the control panel.

What Node.js version do I need for local installation?

Node.js 24 or higher. Install with nvm install v24 && nvm use v24 or download from nodejs.org.

Similar MCP servers

All MCP servers for Agent setup: memory, context, orchestration →

Project sponsors

Companies that keep this analytics open