hosting_createWebsiteV1
Create a new website for the authenticated client. Provide the domain name and associated order ID to create a new website. The datacenter_code parameter is required when creating the first website on a new hosting plan - this will set up and configure new hosting account in the selected datacent...
This record as markdown: /tools/io-github-hostinger-hostinger-api-mcp/hosting-createwebsitev1.md
What hosting_createWebsiteV1 does on Hostinger Api
AI agents use hosting_createWebsiteV1 to create or update resources in Hostinger Api, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Hostinger Api environment.
| Parameter | Type | Required | Description |
|---|---|---|---|
domain | string | Yes | Domain name for the website. Cannot start with "www." |
order_id | integer | Yes | ID of the associated order |
datacenter_code | string | — | Datacenter code. This parameter is required when creating the first website on a new hosting plan. |
Parameters from the server's own tool schema.
Why hosting_createWebsiteV1 is rated Medium
This tool creates new resources (websites) on a hosting account, which is a reversible write operation. While it provisions infrastructure and could have business impact, it does not delete data (Destructive), execute arbitrary code (Execute), or move money directly (Financial).
From the tool's definition Tool name 'hosting_createWebsiteV1' and description states 'Create a new website for the authenticated client' with parameters for domain name, order ID, and datacenter configuration. This is a create operation that modifies account state.
Attacks that exploit this kind of access
The rule that runs hosting_createWebsiteV1 safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Hostinger Api, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For hosting_createWebsiteV1, this is the rule to start with:
hosting_createWebsiteV1 stays usable, but capped: an agent stuck in a loop can't make hundreds of changes a minute. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Hostinger Api, apply this rule, and every hosting_createWebsiteV1 call is checked against it from then on.
Questions about hosting_createWebsiteV1
Create a new website for the authenticated client. Provide the domain name and associated order ID to create a new website. The datacenter_code parameter is required when creating the first website on a new hosting plan - this will set up and configure new hosting account in the selected datacenter. Subsequent websites will be hosted on the same datacenter automatically. Website creation takes up to a few minutes to complete. Check the websites list endpoint to see when your new website becomes available. It is categorised as a Write tool in the Hostinger Api MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
hosting_createWebsiteV1 accepts 3 parameters: domain, order_id, datacenter_code. Required: domain, order_id. The full parameter table on this page comes from the server's own tool schema.
Register the Hostinger Api MCP server in PolicyLayer and add a rule for hosting_createWebsiteV1: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Hostinger Api. Nothing to install.
hosting_createWebsiteV1 is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.
Yes. Add a rate_limit block to the hosting_createWebsiteV1 rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for hosting_createWebsiteV1. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
hosting_createWebsiteV1 is provided by the Hostinger Api MCP server (hostinger-api-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Hostinger Api, and thousands of servers like it.
This server
Across the catalogue