Skip to main content
Glama
hostinger

hostinger-api-mcp

Official
by hostinger

Start Node.js build

hosting_startNode_jsBuildV1

Start a Node.js build from an existing server-side archive to generate and deploy your app's output. This replaces the website's current files, so confirm the archive path before proceeding.

Instructions

Start a Node.js build process using files already present on the website's file storage.

WARNING: on success this overwrites the website's existing contents and cannot be undone — verify this is intended before calling this endpoint.

The source_type must be archive and source_options.archive_path must point to an existing archive file on the server (relative to the website document root). Use the Generate Upload URL endpoint to obtain credentials and upload the archive first.

To auto-detect build settings from an archive before starting, first call the Get Node.js Build Settings from Archive endpoint.

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
app_typeYesNode.js application type
usernameYesusername parameter
entry_fileNoThe main entry point file for the application
source_typeYesThe source type of the files
build_scriptYesBuild script that will be ran to build the application
node_versionYesNode.js version
root_directoryYesApplication root directory (where package.json is located) relative to public_html
source_optionsYesSource-specific options
package_managerNoPackage manager
output_directoryYesBuild output directory relative to the root directory

Schema Changelog

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

  1. Addedv1.44.0

TDQS

B3.3/5.0
Behavior1/5

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

The description warns that success 'overwrites the website's existing contents and cannot be undone', which is a destructive behavior. However, the annotations declare destructiveHint=false, directly contradicting this warning. This is a serious inconsistency that undermines an agent's ability to gauge the tool's safety.

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 organized into short, purposeful paragraphs: an overview, a critical warning, source requirements, and follow-up workflow. It is longer than strictly necessary, but every section adds operational value and the key destructive warning is front-loaded.

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 an 11-parameter, 9-required tool with no output schema, the description covers the critical preconditions, the destructive consequence, and how to follow up using the returned build UUID. It does not describe the full response shape, but the mention of the UUID and log endpoint gives enough guidance for an agent to proceed.

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?

The input schema has 100% description coverage, so the schema already documents parameters like source_type, source_options, and node_version. The description adds a bit of context by clarifying that source_type must be 'archive' and that archive_path must point to an existing archive file relative to the document root, but this largely overlaps with schema wording.

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 clearly states that this tool starts a Node.js build using files already on the website's file storage, which identifies the action and resource precisely. It names related endpoints like 'Generate Upload URL', 'Get Node.js Build Settings from Archive', and 'Get Node.js Build Logs', helping an agent understand where this tool fits, though it does not explicitly differentiate it from sibling build/deploy tools.

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 clear workflow context: upload the archive first via 'Generate Upload URL', optionally detect settings via 'Get Node.js Build Settings from Archive', and use the returned build UUID with 'Get Node.js Build Logs' to poll progress. It lacks explicit 'when not to use' guidance or comparisons to alternatives, but the sequential context is strong enough for correct usage.

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