Skip to main content
Glama
hostinger

hostinger-api-mcp

Official
by hostinger

Deploy JavaScript application

hosting_deployJsApplication
Destructive

Deploy a JavaScript application by uploading an archive to your hosting server. The server builds it automatically, so you can track progress with deployment status checks.

Instructions

Deploy a JavaScript application from an archive file to a hosting server. IMPORTANT: the archive must ONLY contain application source files, not the build output, skip node_modules directory; also exclude all files matched by .gitignore if the ignore file exists. The build process will be triggered automatically on the server after the archive is uploaded. 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. After deployment, use the hosting_listJsDeployments tool to check deployment status and track build progress.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainYesDomain name associated with the hosting account (e.g., example.com)
archivePathYesAbsolute or relative path to the application archive file. Supported formats: zip, tar, tar.gz, tgz, 7z, gz, gzip. If user provides directory path, create archive from it before proceeding. IMPORTANT: the archive must ONLY contain application source files, not the build output, skip node_modules directory.
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

A3.9/5.0
Behavior4/5

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

Annotations already mark the operation destructive and non-read-only; the description adds useful behavior: the server automatically triggers a build, upload credentials are generated internally, and the tool is end-to-end. It does not disclose what is overwritten or destroyed (e.g., whether a previous deployment on the domain is replaced), which would have made this a 5, but it gives meaningful workflow context beyond the annotations.

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?

Four sentences, each serving a purpose: action, archive constraints, automatic build, upload handling, and post-deploy status tracking. Slight redundancy with the archivePath schema description and the repeated 'IMPORTANT' caps keep it from a 5, but the structure is front-loaded and efficient.

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 mutation tool with no output schema, the description tells the agent what to do after calling it (use hosting_listJsDeployments) and what prerequisites to satisfy before calling (clean archive). It omits specifics on destructive effects and error paths, but the schema and annotations cover parameters and destructiveness, so the core calling context is 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 description coverage is 100%, so the baseline is 3, and the description largely repeats the schema constraints rather than adding new parameter meaning. It re-emphasizes the source-only archive rule and supported formats in archivePath, but domain and removeArchive semantics come from the schema.

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?

Opens with a specific verb+resource: 'Deploy a JavaScript application from an archive file to a hosting server.' It distinguishes itself from static-site/PHP/WordPress deploy siblings mostly by application type and the mention of an automatic build process, but it never explicitly names a sibling or states the boundary (e.g., static vs Node), so it is clear but not perfectly differentiated.

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?

Gives actionable preparation guidance (source-only archive, skip node_modules, honor .gitignore), explicitly instructs not to call a separate upload-url endpoint, and routes the agent to hosting_listJsDeployments for status. It does not enumerate alternatives like hosting_deployStaticSiteArchiveV1 or hosting_deployPhpApplication, so it falls short of fully explicit when-to-use-this-vs-that guidance.

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