Hostinger Connector
Deploy and manage your websites directly from your IDE by connecting your Hostinger account. Handle domains, website management, VPS, DNS, and billing in one place.
Supported IDEs
- VS Code 1.99 or later (with GitHub Copilot)
- Cursor
- Windsurf
- Antigravity (Google Gemini)
- Claude Code CLI
What You Can Do
Once connected, your AI assistant (GitHub Copilot, Cursor AI, Windsurf Cascade, Gemini, Claude) gains access to your full Hostinger account through 100+ tools spanning hosting, domains, VPS, DNS, and billing.
Hosting
- Deploy WordPress sites, plugins, and themes
- Deploy Node.js applications and static websites
- List deployments and retrieve build logs
- Manage hosting plans and SSH keys
Domains
- Search and register new domains
- Manage domain portfolio, locking, and forwarding
- Check WHOIS information and domain verification
DNS
- View, update, and delete DNS records
- Manage DNS snapshots and restore previous configurations
- Validate DNS records before applying changes
VPS
- List and manage virtual machines
- Control power state (start, stop, restart)
- Manage firewalls, SSH keys, and OS reinstalls
- Access action history and metrics
Billing
- View subscriptions and enable/disable auto-renewal
- List payment methods
- Browse catalog and create service orders
Example prompts
"Deploy my Node.js app to Hostinger"
"List all my Hostinger domains"
"What VPS servers do I have and are they running?"
"Show me the DNS records for example.com"
"What Hostinger subscriptions are active on my account?"
"Register the domain example.com"
"Restart my VPS server"
Requirements
- One of the supported IDEs listed above
- Node.js 18 or later
- A Hostinger account with an API token
Installation
Search for "Hostinger Connector" in the Extensions panel and click Install.
Getting Your API Token
- Log in to hpanel.hostinger.com
- Click API in the left sidebar
- Click Generate new token, give it a name, and copy it
Keep your token secure — it grants access to your Hostinger account data.
Connecting
- Click the Hostinger icon in the Activity Bar (left sidebar)
- Paste your API token into the API Token field
- Click Connect
- The status badge turns green — you're connected!
The extension automatically registers the Hostinger MCP server for the current IDE and Claude Code CLI when you connect.
Managing Your Token
| Action |
How |
| Update token |
Click Disconnect, paste the new token, and click Connect |
| Remove token |
Click Disconnect in the sidebar |
Token changes take effect immediately. Disconnecting removes the MCP server registration for the current IDE.
Using the Extension
VS Code (GitHub Copilot)
- Open Copilot Chat (
Ctrl+Alt+I / Cmd+Alt+I)
- Click the 🔧 Tools button at the bottom of the chat input
- Confirm Hostinger is listed and enabled
- Ask anything about your Hostinger account
Cursor
- Open Cursor Chat (
Ctrl+L / Cmd+L)
- The Hostinger tools are available automatically once connected
- Ask anything about your Hostinger account
Windsurf
- Open Cascade chat
- The Hostinger tools are available automatically once connected
- Ask anything about your Hostinger account
Antigravity
- Open the Agent panel
- The Hostinger tools are available automatically once connected
- Ask anything about your Hostinger account
Claude Code
- The MCP server is registered automatically when you connect
- Start a Claude Code session and ask anything about your Hostinger account
How It Works
This extension uses the Model Context Protocol (MCP), an open standard that lets AI assistants call external tools. When you connect:
- Your API token is stored securely in your IDE's encrypted SecretStorage
- The extension registers a bundled MCP server for the current IDE and Claude Code
- The MCP server dynamically loads all available tools from the Hostinger OpenAPI spec
- Your AI assistant can call Hostinger API tools on your behalf
The MCP server fetches the latest OpenAPI spec from Hostinger on startup, so you always have access to the newest API endpoints without updating the extension.
Security
- Your API token is stored in your IDE's OS-level encrypted SecretStorage (Keychain on macOS, Credential Manager on Windows, Secret Service on Linux)
- The token is written to a local config file (
~/.hostinger-mcp/config.json) so the MCP server process can read it
- MCP server registration is scoped to the current IDE — installing in one IDE does not modify other IDEs' configurations
- Disconnecting removes the MCP server entry and clears the stored token
Troubleshooting
Tools not appearing in Copilot Chat
- Make sure you're on VS Code 1.99 or later
- Try reloading the window:
Cmd+Shift+P → Reload Window
- Disconnect and reconnect your token from the sidebar
Tools not appearing in Cursor
- Fully quit and reopen Cursor — it reads
~/.cursor/mcp.json at startup
- Check that the file exists:
cat ~/.cursor/mcp.json
Tools not appearing in Windsurf
- Fully quit and reopen Windsurf
- Check that the file exists:
cat ~/.codeium/windsurf/mcp_config.json
Tools not appearing in Antigravity
- Fully quit and reopen Antigravity
- Check that the file exists:
cat ~/.gemini/antigravity/mcp_config.json
"No Hostinger API token found" error from the MCP server
- Open the Hostinger sidebar and reconnect your token
"node" not found error
- Ensure Node.js 18+ is installed:
node --version
- If using nvm, make sure your shell sources nvm in non-interactive mode
- The extension resolves the absolute Node path automatically, but a restart may be needed after installing Node
Before uninstalling
- Click Disconnect in the sidebar first to clean up MCP configuration files
License
This project is licensed under the MIT License. The use of this extension service is subject to Hostinger's Terms of Service.