Hostinger API MCP Server

Running your own Hostinger API MCP server

Updated 7 days ago

The Hostinger MCP Extension enables seamless integration of Hostinger’s API with AI tools that support the Model Context Protocol (MCP) — such as Claude, Cursor, or other AI coding assistants. This extension exposes Hostinger API endpoints as callable tools across Web Hosting, VPS, Domains, DNS, Billing, and Reach, allowing AI models to fetch live data or perform real-time actions on hosting infrastructure.

In other words, you can now “vibe sysadmin” your services on Hostinger.

Key capabilities

  • API Integration: Connects directly to Hostinger’s Developer API
  • AI Tool Compatibility: Built for environments supporting MCP, like Claude or Cursor
  • Automated Operations: Enables AI to manage services and more
  • Per-product MCP configuration: Enable or disable MCPs per product (Web Hosting, VPS, Domains, DNS, Billing, Reach) from the sidebar. Recommended since most IDEs have a ~100 tool limit for efficient performance.
  • Reach Tools support: Reach is now included as a supported product.
  • Improved token security: API token is now passed via environment variable instead of being written to a config file on disk.
  • Changelog introduced: A changelog is now available for the extension.

Installation guide

1. Install Node.js

Before installing the MCP server, make sure Node.js 20+ is installed. You can do this via Node Version Manager (nvm):

# Install nvm (if not already installed)
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash

# Reload shell
source ~/.bashrc

# Install Node.js 20
nvm install 20

# Set it as default
nvm use 20

2. Install the MCP server CLI

After Node.js is ready, install the MCP server globally:

# 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

AI integration setup

Tools like Claude and Cursor don’t require manually running the MCP server. This article provides instructions on how to provide Claude with the following configuration:

{
  "mcpServers": {
    "hostinger-api": {
      "command": "hostinger-api-mcp",
      "env": {
        "DEBUG": "false",
        "API_TOKEN": "YOUR API TOKEN"
      }
    }
  }
}
  • API_TOKEN: Your access token for authenticating with Hostinger’s API. This is passed as an environment variable for improved security — do not write it directly into a config file on disk.
  • DEBUG: Optional, set to “true” if you want verbose logs for debugging.

Additional resources

The Hostinger MCP Server is a simple yet powerful bridge that connects AI interfaces to real-world hosting actions. Exposing Hostinger API endpoints as tools empowers AI tools to go beyond chat — enabling direct, intelligent, and automated management of hosting environments.