Skip to main content
Glama
hostinger

hostinger-api-mcp

Official
by hostinger

Deploy static website

hosting_deployStaticWebsite
Destructive

Deploy a pre-built static website from an archive file directly to your hosting server. Uploads and extracts the files automatically, making your HTML, CSS, and JavaScript live without build steps.

Instructions

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 tool uploads the archive to the website's file browser over TUS and triggers deployment; the archive is extracted and deployed directly without any build steps. Upload credentials are generated and used internally — do not call a separate upload-url endpoint or upload the archive yourself, this tool does it end-to-end. The username will be automatically resolved from the domain.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainYesDomain name associated with the hosting account (e.g., example.com)
archivePathYesAbsolute 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 archive from it before proceeding using EXACTLY this naming pattern: directoryname_YYYYMMDD_HHMMSS.zip (e.g., mystaticwebsite_20250115_143022.zip)
removeArchiveNoWhether to remove the archive file after successful deployment (default: false)

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Addedv1.5.0
  2. Removedv1.2.1
  3. Addedv0.2.2
  4. Removedv0.2.1
  5. Addedv0.1.40

TDQS

A4.1/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already flag this as a write/destructive operation (readOnlyHint=false, destructiveHint=true), so the description does not need to re-establish that. It adds meaningful behavioral detail: uploads via TUS, extracts and deploys the archive directly without build steps, uses internal credentials, and auto-resolves the username from the domain. It could explicitly mention that a deployment may overwrite existing site content, but that is largely implied by destructiveHint.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is longer than average, but every sentence earns its place: core purpose, static-only constraint, alternative routing, upload behavior, internal-credential warning, and username auto-resolution. Information is front-loaded, with the essential purpose and constraint appearing before procedural details.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description covers prerequisites, alternative routing, destructive/write behavior, internal upload flow, and archive content requirements—enough for a competent agent to invoke the tool correctly. The primary gap is the unaddressed relationship with hosting_deployStaticSiteArchiveV1, which could leave tool selection ambiguous. The lack of an output schema is not penalized.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema covers all three parameters at 100%, so the baseline is met. The description adds value by emphasizing that the archive must contain pre-built static files ready to be served, reinforcing archivePath semantics beyond the schema's path and format details. No additional parameter clarification is necessary.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific operation—deploy a static website from an archive to a hosting server—and clearly narrows scope to static, no-build sites. It also explicitly contrasts itself with hosting_deployJsApplication. However, the near-identically named sibling hosting_deployStaticSiteArchiveV1 is never addressed, so an agent comparing the two has no disambiguation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Strong when-to-use guidance is present: only static sites without a build process; if package.json or a build command is present, use hosting_deployJsApplication instead. It also warns against calling a separate upload-url endpoint, which is useful. The main gap is that it does not explain the relationship with hosting_deployStaticSiteArchiveV1, leaving some selection ambiguity.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/hostinger/api-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server