How to Run Hostinger API MCP Server: Powerful 2026 Guide

How to run Hostinger API MCP Server is easier than many users think. You can connect an AI assistant to your Hostinger account and manage hosting tasks with simple prompts. In 2026, Hostinger offers a hosted remote MCP server as well as a local package. You can choose the path that fits your tools and skill level.

Quick Answer: The easiest way to run the Hostinger API MCP Server is to add https://mcp.hostinger.com to an MCP-compatible client and complete the OAuth sign-in. You do not need to install Node.js for this remote method. To run it locally, install Node.js 24 or newer, install @hostinger/mcp, and connect your client using the server command and a secure authentication method.

This guide covers both methods. You will learn what the server does, how to set it up, how authentication works, how to test the connection, and how to fix common errors. It also explains the safety checks you should use before letting an AI assistant change DNS, hosting, or billing settings.

What Is the Hostinger API MCP Server?

The Hostinger API MCP Server connects Hostinger services to AI tools that support the Model Context Protocol, also called MCP. MCP gives an AI app a standard way to use outside tools. The Hostinger server acts as a bridge between your AI assistant and your Hostinger account.

For example, you could ask an assistant to list your domains, check a VPS, or review DNS records. The assistant can look up the right Hostinger operation and call it through MCP. Some actions only read information. Others can change your account, so review them with care.

What Can It Help You Do?

Hostinger’s current MCP service covers several product areas. The exact actions depend on your account, enabled product access, and the tools available to your client.

AreaExample tasksUse case
Web hostingCheck websites, hosting settings, and deploymentsManage hosted sites
WordPressWork with compatible WordPress site toolsReview site tasks
VPSCheck server details, metrics, and supported controlsMonitor a virtual server
DomainsList domains and review domain detailsManage domain records
DNSRead, add, or update DNS records where supportedManage domain routing
Email marketingReview contacts and segmentsManage marketing data
BillingReview supported subscriptions and payment detailsCheck account services
EcommerceUse supported store and product actionsManage online sales data

These are examples, not a promise that every account has every action. Your available tools can depend on the Hostinger product you own and which MCP areas you turn on.

How Hostinger MCP Tools Work

The current Hostinger MCP design groups many API operations into three main tools. This keeps the tool list smaller and helps an AI assistant find the right operation.

ToolWhat it doesSimple example
searchFinds the Hostinger operation for a taskFind an operation to list domains
executeRuns one operationRead the domain list
multi-executeRuns a group of operations in one requestRun related checks together

The assistant can use search first, then call execute or multi-execute. The server also includes skills that help guide the assistant toward suitable operations. This design does not mean the API has only three actions. Many operations are available through these grouped tools.

Before You Start: Requirements

Check these items before you set up the connection. The remote method has fewer requirements. The local method needs software on your computer.

RequirementRemote setupLocal setup
Hostinger accountYesYes
MCP-compatible AI clientYesYes
Node.js 24 or newerNoYes
Local package installNoYes
Browser sign-inOAuthOAuth or API token, depending on mode
Internet connectionYesYes, for Hostinger API access

Method 1: Connect to the Remote Hostinger MCP Server

This is the simplest method for most users. Hostinger runs the server for you. You only need to add its address to a compatible AI client and approve access in your browser.

Step 1: Open Your MCP Client

Open an AI app that supports a remote MCP server over Streamable HTTP. Check its current connection instructions first. The menu name can differ between apps and versions.

Step 2: Add the Hostinger Server URL

Enter this official remote server address in the MCP connection settings:

https://mcp.hostinger.com

Choose the remote HTTP or Streamable HTTP connection type when your client asks for one. Do not enter this address as a website URL or a normal chat prompt.

Step 3: Approve the OAuth Sign-In

Your client should start the Hostinger sign-in flow. Sign in to the correct Hostinger account and review the access request. Approve it only when you trust the client and understand what access you are giving it.

Step 4: Check the Available Tools

After sign-in, return to your AI client. Open its MCP tools or connected services panel. Hostinger tools should now appear. Some clients need a reconnect or refresh before the tool list updates.

Step 5: Run a Safe Test

Start with a read-only request. For example, ask: “List my Hostinger domains. Do not make any changes.” Check that the result matches the domains in your Hostinger account.

Connection check: A successful response to a simple read-only request is a good first sign. It confirms that the client can reach Hostinger and use an authorized operation. It does not mean every possible action is enabled.

Method 2: Install and Run Hostinger MCP Locally

Choose local setup when your AI client needs a local MCP process, or when you want to manage the server package on your own computer. This method needs a terminal and Node.js 24 or newer according to Hostinger’s current guide.

Step 1: Check Your Node.js Version

Open Terminal on macOS or Linux, or PowerShell on Windows. Run:

node --version
npm --version

Check the Node.js version shown by the first command. Use version 24 or newer for the current local setup. If your computer has an older version, install a supported release before moving on.

Step 2: Install Node.js 24

On macOS or Linux, you can use Node Version Manager (nvm). Follow the current nvm install guide for your operating system. After installing nvm, run these commands in a new terminal session:

nvm install 24
nvm use 24
node --version

On Windows, use a trusted Node.js installer or a Windows version manager. Close and reopen PowerShell after installation. Then check the version again.

Step 3: Install the Hostinger MCP Package

Hostinger publishes the MCP package through npm. Install it globally with:

npm install -g @hostinger/mcp

You can also use Yarn or pnpm if those are part of your normal setup. Do not install a package with a similar name from an unknown publisher. Check the official Hostinger repository and npm package before you run installation commands.

Step 4: Check the MCP Command

The package provides the hostinger-api-mcp command. Your MCP client starts this command as a local process. The client and server then communicate through the configured transport.

For a client that uses a JSON MCP configuration, the local server entry follows this general pattern:

{
  "mcpServers": {
    "hostinger-api": {
      "command": "hostinger-api-mcp",
      "env": {
        "DEBUG": "false"
      }
    }
  }
}

This is a basic example, not a universal config file path. Each client has its own settings location and may use a different way to add local MCP servers. Use your client’s current documentation to place the entry correctly.

Step 5: Choose an Authentication Method

The local server supports OAuth sign-in in its standard local process mode. It can also use an API token. For an interactive personal setup, OAuth avoids placing a long-lived token in a configuration file.

If your setup requires a token, use the environment variable HOSTINGER_API_TOKEN. The current package documentation treats API_TOKEN as an older alias, so prefer the newer variable name for new setups.

HOSTINGER_API_TOKEN=your_token_value

Set this variable in the secure environment used to launch your MCP client. Do not paste the real token into a public file, Git repository, screenshot, support post, or shared chat. The example above is only a placeholder.

Step 6: Restart the AI Client and Sign In

Save the configuration and fully restart your AI client if it does not reload MCP servers automatically. With OAuth, the first authorized tool call should open a browser sign-in flow. Complete the flow with the right Hostinger account.

Step 7: Test the Local Connection

Ask for a read-only task, such as listing your domains or showing basic VPS information. If the assistant returns the correct account data, the local MCP connection is working.

API Token vs OAuth: Which Should You Use?

Both methods can authorize the Hostinger MCP server. The best choice depends on how you use it. OAuth is a good fit for interactive use. An API token can be useful for scripts or controlled environments where you manage secrets carefully.

PointOAuthAPI token
Sign-inBrowser authorizationCreate a token in Hostinger
Manual secret handlingUsually lessRequired
Interactive useGood fitAlso possible
Scripts and CIDepends on the workflowCommon fit
Security dutyReview permissions and connected clientsProtect, rotate, and revoke the token

Never assume that either method makes an AI action safe by itself. A connected assistant may be able to change important account settings. Limit access where possible, review each operation, and require confirmation before high-impact changes.

How to Create a Hostinger API Token

Use this process only when you choose token-based authentication. The names of menus can change, so use the API area in your current Hostinger dashboard if a label looks different.

  1. Sign in to your Hostinger account.
  2. Open the API or API Tokens area in hPanel.
  3. Choose the option to create a new token.
  4. Review the access details and create the token.
  5. Copy it once and store it in a secure password manager or secret store.
  6. Set it as HOSTINGER_API_TOKEN in the MCP server’s environment.
  7. Restart the client and test a read-only request.

Important security rule: Treat an API token like a password. Anyone who gets a valid token may be able to access the Hostinger operations it allows. Never add your real token to an article, public code sample, or screenshot.

How to Use Hostinger MCP After Setup

Once the server is connected, write a clear prompt. Name the account area and the task. Also state whether the assistant should only read information or make a change.

Prompt exampleTask typeSafety note
List my Hostinger domains.ReadSafe first test
Show the DNS records for example.com. Do not edit them.ReadCheck the domain name
Show the current status of my VPS.ReadConfirm the correct VPS
Find the operation to add a DNS TXT record, but do not run it.Search onlyReview the operation first
Prepare the DNS change and explain its effect. Wait for my approval.PrepareDo not apply without approval

For a change, ask the assistant to show the exact domain, record name, record type, value, and expected result before it runs anything. This helps prevent mistakes such as changing the wrong domain or removing an email record.

Remote vs Local Hostinger MCP Server

Both methods connect an AI client to Hostinger. The key difference is where the MCP server runs and who handles the setup.

FeatureRemote serverLocal server
Server address or commandhttps://mcp.hostinger.comhostinger-api-mcp
InstallationNot needed on your computerInstall Node.js and package
Server hostingHostinger operates itYour local machine runs it
AuthenticationOAuth browser flowOAuth or API token, depending on mode
Best forFast setupLocal process workflows
MaintenanceLess local maintenanceYou manage local runtime and package

Which one should you choose? Use remote setup if your client supports it and you want the fewest steps. Use local setup when your workflow needs a local process or you prefer to manage the package yourself.

Common Hostinger MCP Errors and Fixes

A setup issue does not always mean the server is broken. The client may use the wrong transport, the token may be missing, or Node.js may be too old. Check one item at a time.

ProblemPossible causeWhat to do
Server does not appearClient has not loaded the MCP entryCheck the configuration and restart the client
OAuth page does not openBrowser or callback flow was blockedCheck the client sign-in prompt and try again
401 UnauthorizedToken is missing, invalid, or revokedCheck the environment variable and create a valid token if needed
Command not foundPackage is not installed or npm global path is missingCheck the install and terminal PATH
Node version errorNode.js is older than version 24Install and select Node.js 24 or newer
No tools listedConnection is not authorized or client has not refreshedReconnect, approve OAuth, and refresh tools
Operation not availableProduct area or account permission is not enabledCheck the Hostinger product and MCP settings
Request failsNetwork, service, or API issueCheck the Hostinger status page and retry later

Fix a Missing Local Command

Run npm list -g @hostinger/mcp to see if the package is installed globally. Then check your npm global binary path. If the package is missing, install it again with the official package name. Open a new terminal after you change PATH settings.

Fix a Token Error

Check that the environment variable name is correct. For a new setup, use HOSTINGER_API_TOKEN. Make sure the value has no extra spaces and belongs to the correct Hostinger account. If the token may have been exposed, revoke it and create a new one.

Fix a Remote Connection Error

Confirm that the client supports remote Streamable HTTP MCP servers. Use the exact address https://mcp.hostinger.com. Remove an old duplicate entry if it points to a retired or incorrect server, then reconnect and complete OAuth again.

Security Tips Before You Give AI Account Access

An MCP connection can save time, but it can also give an AI assistant access to real account actions. A wrong DNS change can affect a website or email. A wrong hosting action can cause downtime. Use these safety steps every time.

  • Start with read-only tasks. Test the connection before you allow changes.
  • Review every action. Ask what the operation will change before it runs.
  • Protect tokens. Keep secrets out of code, screenshots, logs, and shared files.
  • Check the target. Confirm the domain, website, VPS, or account before an update.
  • Back up first. Make a backup before changing hosting or site settings.
  • Use the least access you need. Enable only the product areas your workflow uses.
  • Revoke old access. Remove unused connections and tokens.
  • Be careful with billing. Never let an assistant buy, renew, or cancel a service without your direct approval.

Pros and Cons of Hostinger API MCP Server

✅ Pros of Hostinger API MCP Server
  • Connects Hostinger with AI: Use compatible AI tools to manage supported Hostinger services.
  • Easy Remote Setup: Connect through the hosted server without installing a local package.
  • Local Option: Run the official npm package when your workflow needs a local MCP process.
  • Flexible Authentication: Supports OAuth and API token authentication.
  • Useful Tool Groups: Search, execute, and multi-execute help organize available operations.
  • Saves Routine Work: Helps with common hosting checks and supported account tasks.
❌ Cons of Hostinger API MCP Server
  • Needs an MCP Client: You must use an AI app that supports the required MCP connection type.
  • Local Setup Takes Steps: The local option needs Node.js 24 or newer and package setup.
  • Access Depends on Your Plan: Available actions can vary by your Hostinger products and account access.
  • Security Needs Care: Tokens and account permissions must be protected.
  • Not Every Action Is Risk-Free: Some operations can change DNS, hosting, or account settings.
  • Learning Curve: New users may need time to understand MCP tools and operation names.

Is Hostinger API MCP Server Worth Using?

Yes, it can be useful if you manage Hostinger services and already use an AI tool that supports MCP. It can make routine checks easier and help you find the right API operation without writing every request by hand.

The remote server is the easiest starting point for many users. It avoids local package setup and uses browser-based OAuth. The local package gives you another option when your client or workflow needs a local MCP process.

Still, MCP does not remove the need to understand what an operation does. Use read-only requests first. Review any change to DNS, hosting, WordPress, or billing before you approve it.

Frequently Asked Questions

What is the official Hostinger MCP server URL?+

The official remote MCP server URL is https://mcp.hostinger.com. Add it to a compatible MCP client and complete the OAuth sign-in.

Do I need Node.js to use Hostinger MCP?+

No, not for the hosted remote server. You need Node.js 24 or newer when you install and run the local npm package.

Which Node.js version does the local server need?+

Hostinger’s current installation guide says to use Node.js 24 or newer. Check the current official guide before installing because requirements can change.

What npm package runs the Hostinger MCP server?+

The official npm package is @hostinger/mcp. Install it with npm install -g @hostinger/mcp.

Does Hostinger MCP support OAuth?+

Yes. The remote server uses browser-based OAuth. The local server also supports OAuth in its standard local process mode. API token authentication is also supported.

Where do I get a Hostinger API token?+

Sign in to your Hostinger dashboard and open the API or API Tokens area. Create a token, store it safely, and set it as an environment variable for the local server.

What are the three Hostinger MCP tools?+

The main tools are search, execute, and multi-execute. They find an operation, run one operation, or run several operations.

Can I use Hostinger MCP with Cursor or Claude Code?+

Yes. Hostinger documents support for MCP-compatible clients such as Cursor and Claude Code. The setup steps depend on whether you use the remote server or local package.

Can Hostinger MCP change DNS records?+

It can expose supported DNS operations when the relevant domain access is enabled. Always check the domain, record type, name, and value before approving a change.

Is Hostinger API MCP Server free?+

The MCP package and server connection instructions do not by themselves tell you the total cost of every Hostinger service or AI client. Check the current pricing for the services you use.

Why does my Hostinger MCP server show no tools?+

The connection may not be authorized, the client may not have refreshed its tool list, or the product area may be disabled. Reconnect, complete sign-in, refresh the tool list, and check account access.

Is the remote server better than local setup?+

Remote setup is simpler because you do not install or maintain a local package. Local setup is useful when your AI client or workflow needs a local process. Choose the method your client supports.

How to run Hostinger API MCP Server comes down to choosing remote or local setup. For the quickest route, connect to https://mcp.hostinger.com and approve OAuth. For a local setup, install Node.js 24 or newer, add @hostinger/mcp, configure your AI client, and complete authentication.

Start with a read-only test and keep your account secure. When you are ready to make changes, review the exact action first. This simple habit can help you avoid mistakes with your website, DNS, or hosting account.

Official Resources

Read next: How to Install WordPress on Hostinger Website | How to Change Your Website Address in Hostinger | Can You Renew Hostinger at a Lower Plan?