hosting_deployStaticWebsite
Deploy a static website from an archive file to a hosting server. IMPORTANT: This tool only works for static websites with no build process. The archive must contain pre-built static files (HTML, CSS, JavaScript, images, etc.) ready to be served. If the website has a package.json file or requires...
This record as markdown: /tools/io-github-hostinger-hostinger-api-mcp/hosting-deploystaticwebsite.md
What hosting_deployStaticWebsite does on Hostinger Api
AI agents invoke hosting_deployStaticWebsite to trigger actions in Hostinger Api. What it does depends on the arguments the agent supplies, and its effects often reach beyond the immediate call: builds kicked off, notifications sent, workflows started.
| Parameter | Type | Required | Description |
|---|---|---|---|
domain | string | Yes | Domain name associated with the hosting account (e.g., example.com) |
archivePath | string | Yes | Absolute or relative path to the static website archive file. Supported formats: zip, tar, tar.gz, tgz, 7z, gz, gzip. If user provides directory path, create ar |
removeArchive | boolean | — | Whether to remove the archive file after successful deployment (default: false) |
Parameters from the server's own tool schema.
Why hosting_deployStaticWebsite is rated High
This tool executes deployment operations that trigger external side effects on a hosting server. While not destructive (deployment is reversible via redeployment), it goes beyond simple read or write operations—it orchestrates a sequence of system-level actions (archive extraction, file movement, web server updates) whose effects depend on the provided archive content and domain parameters.
From the tool's definition Tool performs 'Deploy a static website from an archive file to a hosting server' with automatic extraction and deployment actions that trigger external operations (archive extraction, file placement on server, service deployment).
Attacks that exploit this kind of access
The rule that runs hosting_deployStaticWebsite 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_deployStaticWebsite, this is the rule to start with:
hosting_deployStaticWebsite stays usable, but rate-capped: a runaway agent can't fire it dozens of times 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_deployStaticWebsite call is checked against it from then on.
Questions about hosting_deployStaticWebsite
Deploy a static website from an archive file to a hosting server. IMPORTANT: This tool only works for static websites with no build process. The archive must contain pre-built static files (HTML, CSS, JavaScript, images, etc.) ready to be served. If the website has a package.json file or requires a build command, use hosting_deployJsApplication instead. The archive will be extracted and deployed directly without any build steps. The username will be automatically resolved from the domain. It is categorised as a Execute tool in the Hostinger Api MCP Server, which means it can trigger actions or run processes. Use rate limits and argument validation.
hosting_deployStaticWebsite accepts 3 parameters: domain, archivePath, removeArchive. Required: domain, archivePath. 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_deployStaticWebsite: 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_deployStaticWebsite is a Execute tool with high risk. Execute tools should be rate-limited and have argument validation enabled.
Yes. Add a rate_limit block to the hosting_deployStaticWebsite 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_deployStaticWebsite. 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_deployStaticWebsite 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.
Across the catalogue