Skip to main content
Glama
hostinger

hostinger-api-mcp

Official

hosting_createNodeJSBuildFromArchiveV1

Upload a project archive to automatically detect build settings and start a Node.js build in one step.

Instructions

Upload a project archive, auto-detect build settings, and immediately start a Node.js build.

This is the recommended single-step approach for deploying a Node.js application. The archive is uploaded to the website's file storage, build settings are auto-detected from the package.json inside the archive, and the build process starts automatically. Optional override fields take precedence over auto-detected values. Maximum archive size is 50MB.

Before archiving, exclude node_modules/ and any build output directories (e.g. dist/, .next/, build/) — they are not needed because the build process runs the install step automatically, and including them unnecessarily increases the archive size. This also helps keep the archive well under the 50MB limit.

Example (zip):

zip -r archive.zip . --exclude "node_modules/*" --exclude "dist/*"

The returned build uuid can be used to poll progress and retrieve logs via the Get Node.js Build Logs endpoint.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainYesDomain name
archiveYesProject archive file (.zip, .tar.gz, or .tgz), maximum 50MB
app_typeNoNode.js application type override
usernameYesusername parameter
entry_fileNoMain entry point file override
build_scriptNoBuild script override
node_versionNoNode.js version override (auto-detected from package.json if omitted)
root_directoryNoApplication root directory override (where package.json is located) relative to public_html
package_managerNoPackage manager override
output_directoryNoBuild output directory override relative to the root directory
Behavior4/5

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

With no annotations, the description carries the full burden. It discloses the archive upload, auto-detection, size limit, exclusion advice, and polling use of the returned uuid. Lacks details on failure handling or permissions, but overall transparent.

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

Conciseness4/5

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

The description is well-structured and front-loaded with the core action. It includes an example, which adds value but slightly increases length. No unnecessary sentences.

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?

For a 10-parameter tool with no output schema, the description explains the overall process, output use, and archive preparation. It could mention whether builds are overwritten or versioned, but is generally complete.

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

Parameters3/5

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

Schema coverage is 100%, so baseline is 3. The description adds context about overrides taking precedence and archive preparation, but no per-parameter details beyond what the schema already provides.

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

Purpose5/5

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

The description clearly states the tool uploads an archive, auto-detects build settings, and starts a Node.js build. It emphasizes this as the recommended single-step approach, distinguishing it from other deployment methods like hosting_deployJsApplication.

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?

The description provides context for using this tool (recommended for Node.js deployment) and includes practical advice on excluding directories. However, it does not explicitly state when not to use it or compare with alternatives.

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