NativeAIHub
Hostinger

Hostinger

Manage VPS instances, domains, DNS records, and SSL certificates on Hostinger infrastructure.

MCP Serverยท3 sectionsยท1 min read
devops
Install Prompt

Paste this into Claude Code to set it up:

I want to add the Hostinger MCP Server to my Claude Code setup.

IMPORTANT: Never use Read/Edit tools on ~/.claude.json. Use jq via Bash instead.

Prerequisites: You need a Hostinger API token. Generate one from your Hostinger control panel under API settings.

Run this command to add the MCP server (replace your-api-token with your actual token):
```bash
jq '.mcpServers["hostinger"] = {"type": "http", "url": "https://mcp.hostinger.com/mcp", "headers": {"Authorization": "Bearer your-api-token"}}' ~/.claude.json > /tmp/claude-json-tmp && mv /tmp/claude-json-tmp ~/.claude.json
```

After adding, restart Claude Code. The server connects to Hostinger's API and gives the agent control over VPS instances, domains, DNS records, firewalls, and more.

01What It Does

Infrastructure management from your terminal

The Hostinger MCP server gives your AI agent direct access to your Hostinger account. Instead of navigating the control panel, the agent can manage VPS instances, configure domains, update DNS records, manage firewalls, and handle SSL certificates. This is invaluable when you need to quickly set up infrastructure or troubleshoot DNS and hosting issues.
๐Ÿ–ฅ๏ธ
VPS ManagementStart, stop, restart, and configure VPS instances. Manage snapshots, backups, firewall rules, and SSH keys.
๐ŸŒ
Domain and DNSManage domains, update DNS records, configure nameservers, and handle domain forwarding. Verify domain ownership and manage WHOIS profiles.
๐Ÿ”’
Security and SSLConfigure firewall rules, manage SSH public keys, enable privacy protection, and control domain locks for your infrastructure.

02Setup

# Add to ~/.claude.json under mcpServers
"hostinger": {
  "type": "http",
  "url": "https://mcp.hostinger.com/mcp",
  "headers": {
    "Authorization": "Bearer YOUR_API_TOKEN"
  }
}
Your Hostinger API token has full access to your account. Store it securely and never commit it to version control. If you manage multiple Hostinger accounts, you can add separate MCP server entries with different tokens.

03Available Tools

โšก
VPS LifecycleCreate, start, stop, restart, and rebuild VPS instances. Manage templates, recovery mode, and post install scripts.
๐Ÿ“‹
DNS ManagementCreate, update, delete, and validate DNS records. Restore DNS snapshots and reset configurations to defaults.
๐Ÿ’ณ
Billing and SubscriptionsView subscriptions, manage payment methods, enable or disable auto renewal, and create service orders.