Agent skill

Deploy To Hosting

by hostinger in hostinger/api-mcp-server

Deploy an existing project to a website on Hostinger web hosting (Shared, Cloud or Agency plans) and keep it deployed: picks the right deploy for static sites, Node.js apps (Next.js, Nuxt, Express…

MITAuto-check: notesDevOps & Cloud

Install Deploy To Hosting

skills CLI
$ npx skills add hostinger/api-mcp-server --skill deploy-to-hosting -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install hostinger/api-mcp-server deploy-to-hosting --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/hostinger/api-mcp-server.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/deploy-to-hosting .claude/skills/deploy-to-hosting && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
deploy-to-hosting
GitHub stars
159
Token cost
~2.7k tokens
SKILL.md length
1,175 words
Files
1
Skills in repo
8
Repo updated
First seen
Licence
MIT

At a glance

Deploy an existing project to a website on Hostinger web hosting (Shared, Cloud or Agency plans) and keep it deployed: picks the right deploy for static sites, Node.js apps (Next.js, Nuxt, Express…

  • Works in 7 steps: Pick the target website → Choose the deploy → Node.js builds → …
  • Tasks that involve Static sites and blogs
  • SKILL.md covers Calling the operations, 1. Pick the target website, 2. Choose the deploy and 3. Node.js builds, plus 4 more sections
  • Calls curl and git; needs DB_PASSWORD and AUTH_KEY

What it does

Deploy To Hosting is an agent skill from hostinger/api-mcp-server. Deploy an existing project to a website on Hostinger web hosting (Shared, Cloud or Agency plans) and keep it deployed: picks the right deploy for static sites, Node.js apps (Next.js, Nuxt, Express, Vite and similar), PHP apps and WordPress plugins or themes, sets up auto-deploy from GitHub or GitLab, manages Node.js environment variables and MySQL databases, and verifies the live site. Triggers: deploy this project, deploy to Hostinger, push my app live, redeploy, set up auto-deploy, connect my GitHub repo, add…

Its SKILL.md is about 2.7k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in DevOps & Cloud, covering Static sites and blogs and Secrets management. It works with WordPress, Node.js, PHP and GitHub. The licence is MIT.

When your agent uses it

  • Tasks that involve Static sites and blogs
  • Tasks that involve Secrets management

Example prompts

  • “/deploy-to-hosting”

Requirements

  • Node.js
  • A credential in AUTH_KEY
  • A credential in REST_AUTH_KEY

Workflow steps

7 steps, taken from the step headings in SKILL.md.

  1. Pick the target website
  2. Choose the deploy
  3. Node.js builds
  4. Auto-deploy from Git
  5. Environment variables (Node.js)
  6. Database
  7. Verify and record

What it can do on your machine

Read from SKILL.md and the folder at commit 6c3b1a1. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • curl
    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use curl and git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • DB_PASSWORD
    • AUTH_KEY
    • REST_AUTH_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Deploy To Hosting loads about 2.7k tokens when it runs. Until then it costs about 155 tokens; SKILL.md has 1,175 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~155
When it runs · the whole SKILL.md, loaded when a task matches
~2.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteMentions a .env fileSKILL.md:42
    utput (`dist/`, `.next/`, `build/`), no `.env*`, nothing matched by `.gitignore`; 50 MB at most. `git archive --format=z
  • NoteMentions a .env fileSKILL.md:94
    es, with real values from the project's `.env` or the user. When the real value of an existing key is unknown, ask — do
  • NoteMentions a .env fileSKILL.md:97
    s, digits and underscores. Never commit `.env` files or repeat secret values back to the user.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from hostinger/api-mcp-server at commit 6c3b1a1, republished under its MIT licence (© hostinger). 1,175 words, ~2,743 tokens.

Download SKILL.mdSave it as .claude/skills/deploy-to-hosting/SKILL.md (or your agent's skills folder).
name
deploy-to-hosting
description
Deploy an existing project to a website on Hostinger web hosting (Shared, Cloud or Agency plans) and keep it deployed: picks the right deploy for static sites, Node.js apps (Next.js, Nuxt, Express, Vite and similar), PHP apps and WordPress plugins or themes, sets up auto-deploy from GitHub or GitLab, manages Node.js environment variables and MySQL databases, and verifies the live site. Triggers: deploy this project, deploy to Hostinger, push my app live, redeploy, set up auto-deploy, connect my GitHub repo, add environment variables, my app needs a database, deploy my WordPress plugin or theme.

Deploy to hosting

Ship a project that already exists — on disk or in a Git repository — to a Hostinger website. Building a new site from a prompt (design, store, blog) is the hostinger-headless skill; this one takes code as it is.

Calling the operations

  • Read the inputSchema that search returns before the first call of each operation. If a name below is rejected as unknown, search for what the step does (e.g. "deploy static").
  • Batch reads with multi-execute; values pass between steps as $steps.<i>.<path>. Batches chain operations from one server only — the Hostinger Connector runs hosting, wordpress and agency-hosting as separate servers.
  • Every deploy overwrites the website's current contents. Confirm the target domain with the user before the first deploy to a site that already has content.

1. Pick the target website

  • .hostinger/site.json in the project: reuse its domain and username (or website_uid).
  • Otherwise look the domain up with hosting_websites_list (Shared and Cloud; substring match — take the exact entry) and agency-hosting_websites_list-plan (Agency; keep details.uid).
  • No website yet:
    • Shared and Cloud: take a domain (the user's own, or hosting_domains_generate-free-subdomain) and an order_id from hosting_orders_list, then hosting_websites_create. datacenter_code is needed only for the first website on a new plan (first entry of hosting_datacenters_list). Poll hosting_websites_list-setups with domain every 10–15 s until status: completed — uploads and deploys return 404 or 409 before that.
    • Agency: agency-hosting_website-setups_create with flavor: "php-fpm" (plus type: "node-static" for built frontends), settings.php.version from agency-hosting_php_list-versions-for-order and datacenter_code from agency-hosting_datacenters_list. Poll agency-hosting_website-setups_status until completed; it returns the website_uid.
  • Node.js apps run on Business and Cloud plans (hostinger_business_*, cloud_* in hosting_orders_list). On other plans, build locally and deploy the output as a static site.

2. Choose the deploy

Wrong method is the most common failure. Decide from the project on disk:

ProjectShared / Cloud
Plain HTML/CSS/JS, or a framework's static build outputhosting_deploy-static-website
package.json with a build or a server (Next.js, Nuxt, Express, Vite…)hosting_deploy-js-application
PHP code, no build stephosting_deploy-static-website (extracts the archive as-is)
WordPress plugin or theme folderhosting_deploy-wordpress-plugin / hosting_deploy-wordpress-theme (activate optional)
A whole WordPress site from elsewherethe migrate-to-hosting skill

On Agency the website's type decides (agency-hosting_websites_get): sites created as node-static take agency-hosting_deploy-node-static-website, which runs the build when the project has one; every other site takes agency-hosting_deploy-php-application, which extracts the archive as-is. WordPress plugins and themes on Agency sites are installed from wp-admin.

Archive rules (name archives name_YYYYMMDD_HHMMSS.zip):

  • Static: build locally first. index.html must be at the archive root, not inside a folder: cd dist && zip -r ../site_20260101_120000.zip .
  • Node.js source: no node_modules/, no build output (dist/, .next/, build/), no .env*, nothing matched by .gitignore; 50 MB at most. git archive --format=zip -o app_20260101_120000.zip HEAD produces exactly the committed files — mention that uncommitted changes are left out.
  • Agency deploys are synchronous: the site is live when the call returns.

The operations in the table read the archive from this machine, so only the local hostinger-api-mcp server has them. On the hosted server (mcp.hostinger.com) search does not find them — upload the files yourself as below.

Without the local deploy operations
  1. Get upload credentials: hosting_files_generate-upload-url (username, domain); Agency: agency-hosting_files_generate-upload-url (website_uid). Both return url, auth_key and rest_auth_key, which authenticate the upload instead of the API token.
  2. Upload each file with TUS, where DEST is its path in the website's storage:
bash
SIZE=$(wc -c < "$FILE" | tr -d ' ')
curl -sS -X POST "$URL/$DEST?override=true" -H "X-Auth: $AUTH_KEY" -H "X-Auth-Rest: $REST_AUTH_KEY" -H "Tus-Resumable: 1.0.0" -H "Upload-Length: $SIZE" -H "Upload-Offset: 0"
curl -sS -X PATCH "$URL/$DEST?override=true" -H "X-Auth: $AUTH_KEY" -H "X-Auth-Rest: $REST_AUTH_KEY" -H "Tus-Resumable: 1.0.0" -H "Content-Type: application/offset+octet-stream" -H "Upload-Offset: 0" --data-binary "@$FILE"

The first call returns 201, the second 204 with an Upload-Offset header equal to the file size. override=true makes a retry safe. 3. Deploy from the uploaded files (RANDOM8 is any fresh 8-character string, e.g. $(LC_ALL=C tr -dc 'a-z0-9' < /dev/urandom | head -c 8)):

ProjectDESTThen
Static or PHPsite.ziphosting_websites_deploy-static-site-archive with archive_path: "site.zip"
Node.jsapp.ziphosting_nodejs_build-settings-from-archive with archive_path: "app.zip", then hosting_nodejs_start-build with those settings, source_type: "archive" and source_options.archive_path: "app.zip"
WordPress pluginevery file, as wp-content/plugins/SLUG-RANDOM8/<path in the plugin>wordpress_plugins_deploy with slug and plugin_path: "SLUG-RANDOM8"
WordPress themeevery file, as wp-content/themes/SLUG-RANDOM8/<path in the theme>wordpress_themes_deploy with slug, theme_path: "SLUG-RANDOM8" and optional is_activated
Agency, extracted as-is.h5g/site.zipagency-hosting_files_import-website-from-archive with archive_name: "site.zip"
Agency node-static.h5g/RANDOM8/app.zipagency-hosting_websites_build-nodejs-assets with archive_path: ".h5g/RANDOM8" — the directory, not the file
Show full SKILL.md (515 more words)Show less

3. Node.js builds

hosting_deploy-js-application uploads the archive to the document root, detects settings from package.json and starts a build. Track it with hosting_nodejs_list-builds and hosting_nodejs_build (by uuid), polling every 10–20 s — builds take minutes.

  • Failed build: hosting_nodejs_analyse-failed-build once per build (5 calls a minute), then hosting_nodejs_build-logs if the analysis is empty.
  • Wrong detection (framework, output_directory, or a missing entry_file for express, fastify, nest, nuxt and hono): run hosting_nodejs_start-build with explicit values, source_type: "archive" and source_options.archive_path set to the archive's file name in the document root (check it is there with hosting_files_list-website-and-directories). Store the same values with hosting_nodejs_update-build-settings.
  • To review detected settings before any build: upload the archive with hosting_files_generate-upload-url (the TUS steps are in its description), then hosting_nodejs_build-settings-from-archive.

4. Auto-deploy from Git

  1. hosting_git_list-installations. With no active installation (check status: "pending" and "suspended" too), the user connects GitHub or GitLab once in hPanel under Websites → Manage → Advanced → Git; there is no API for that step.
  2. hosting_git_list-installation-repositories with the installation uuid gives owner, name and default_branch (10 calls a minute).
  3. hosting_git_update-auto-deployment-settings with installation_uuid, owner, repository, branch and optional directory.
    • PHP and static sites deploy the branch immediately and again on every push.
    • Node.js sites clone nothing on save: start the first build with hosting_nodejs_start-build, source_type: "git" and the same source_options. Later pushes build with the stored settings, so keep hosting_nodejs_update-build-settings correct.
  4. Confirm with hosting_git_auto-deployment-settings.

Agency Plan sites have no Git operations; deploy archives.

5. Environment variables (Node.js)

hosting_nodejs_replace-environment-variables replaces the whole set — anything not sent is deleted.

  1. hosting_nodejs_list-environment-variables for the current keys. Values come back as ********; never send those back.
  2. Build the full set: every current key plus the new ones, with real values from the project's .env or the user. When the real value of an existing key is unknown, ask — do not drop it.
  3. Send it once; the app restarts. Values baked in at build time (Next.js NEXT_PUBLIC_*, Vite VITE_*) need a new hosting_nodejs_start-build.

Keys use uppercase letters, digits and underscores. Never commit .env files or repeat secret values back to the user.

6. Database

  • Node.js: hosting_databases_setup-website creates a MySQL database and writes DB_HOST, DB_PORT, DB_NAME, DB_USER, DB_PASSWORD and DATABASE_URL into the environment, then restarts the app. The password is generated and never returned. It fails with 422 when any of those keys exists — remove them first with the step 5 replace.
  • PHP: hosting_databases_create with name, user, a strong generated password and website_domain; read the prefixed full name back from hosting_databases_list. The app reads credentials from a config file on the server that stays out of Git, and connects to localhost or 127.0.0.1.
  • Agency: agency-hosting_databases_create-website; the app connects to localhost.
  • The srvNNNN.hstgr.io host from hosting_databases_list is only for connections from outside Hostinger — never put it in the deployed app.

7. Verify and record

bash
curl -s -o /dev/null -w "%{http_code}\n" https://DOMAIN/
curl -s https://DOMAIN/ | grep -o "TEXT THE PROJECT RENDERS"

A 200 alone can be a placeholder page; match real copy. A new site may serve a default page briefly — clear it with hosting_cache_clear-website and retry before calling the deploy failed.

Write .hostinger/site.json in the project so later runs reuse the target: { "domain", "username" or "website_uid", "type": "static" | "nodejs" | "php" }, keeping any fields already there.

© hostinger, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/deploy-to-hosting of hostinger/api-mcp-server.

Open the folder on GitHubat commit 6c3b1a1

Compare with similar skills

Deploy To Hosting next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Deploy To Hosting compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Deploy To Hosting this skillhostinger/api-mcp-server159—~2.7kAutomated safety check: NotesMIT
Compile Php WasmWordPress/wordpress-playground2k—~2.8kAutomated safety check: PassGPL-2.0
Wjs Converting Wp To Hugojianshuo/claude-skills130—~1.8kAutomated safety check: PassMIT
Keeljoseconti/declaracion-renta-espana190—~11kAutomated safety check: WarnGPL-3.0-or-later
Cloudflare Pagessickn33/agentic-awesome-skills47k2 repos~2.4kAutomated safety check: PassMIT
Troubleshooting Astro Deploymentsastronomer/agents451—~2.1kAutomated safety check: NotesApache-2.0

Similar skills

  • Compile Php Wasm

    WordPress/wordpress-playground

    Compile PHP.wasm main modules and side modules (dynamic extensions) for Node.js and web platforms.

    2k GitHub stars~2.8k tokensUpdated today
    DevOps & CloudAuto-check passed
  • Wjs Converting Wp To Hugo

    jianshuo/claude-skills

    A skill your agent uses when migrating a WordPress site to a Hugo static site on GitHub Pages from a WXR export (.xml) plus the wp-content/uploads folder — preserving /archives/<id/ URLs, localizing…

    130 GitHub stars~1.8k tokensUpdated 1 mo ago
    Frontend & DesignAuto-check passed
  • Keel

    joseconti/declaracion-renta-espana

    A skill your agent uses for ANY new software project from idea to release — websites, WordPress/WooCommerce plugins, MCP servers, web apps, components, or libraries.

    190 GitHub stars~11k tokensUpdated 2 mo ago
    SecurityAuto-check: warnings
  • Cloudflare Pages

    sickn33/agentic-awesome-skills

    Deploy static sites and full-stack apps on Cloudflare Pages with previews, functions, and custom domains.

    47k GitHub starsUsed in 2 repos~2.4k tokens
    DevOps & CloudAuto-check passed
  • Troubleshoot Astronomer production deployments with Astro CLI.

    451 GitHub stars~2.1k tokensUpdated today
    DevOps & CloudAuto-check: notes
  • Reflexo Release

    Myriad-Dreamin/typst.ts

    Guide Reflexo/typst.ts release preparation and operator handoffs.

    1.2k GitHub stars~1.5k tokensUpdated yesterday
    DevOps & CloudAuto-check passed

More from hostinger/api-mcp-server

All 8 skills in this repo
  • Audit Hosting

    hostinger/api-mcp-server

    Audit a Hostinger web hosting account (Shared, Cloud and Agency plans) and report what needs attention: every plan and website, SSL problems, broken or vulnerable WordPress installs, failed Node.js…

    159 GitHub stars~1.4k tokensUpdated yesterday
    Auto-check passed
  • Connect Domain

    hostinger/api-mcp-server

    Connect a custom domain to a website on Hostinger web hosting (Shared, Cloud or Agency plans) end to end: attach the domain to the site, point DNS at Hostinger without breaking existing email or…

    159 GitHub stars~1.7k tokensUpdated yesterday
    Auto-check passed
  • Hostinger Headless Entry

    hostinger/api-mcp-server

    Build a complete website on Hostinger from a single prompt — hosting, domain, and (optionally) a store with real checkout or a blog/CMS the owner edits in WordPress.

    159 GitHub stars~1.3k tokensUpdated yesterday
    Auto-check passed
  • Maintain Wordpress

    hostinger/api-mcp-server

    Keep WordPress sites on Hostinger web hosting updated and secure: checks core, plugin and theme versions, known vulnerabilities and install health on one site or every site in the account, reports…

    159 GitHub stars~1.4k tokensUpdated yesterday
    Auto-check passed
  • Migrate To Hosting

    hostinger/api-mcp-server

    Move an existing website from another host to Hostinger web hosting (Shared, Cloud or Agency plans) without downtime: WordPress sites from a files archive and SQL dump, static and PHP sites from an…

    159 GitHub stars~1.8k tokensUpdated yesterday
    Auto-check passed
  • Troubleshoot Website

    hostinger/api-mcp-server

    Diagnose and fix a website on Hostinger web hosting (Shared, Cloud or Agency plans) that is down, slow, erroring, insecure or failing to build.

    159 GitHub stars~2.3k tokensUpdated yesterday
    Auto-check passed

Questions about Deploy To Hosting

What does Deploy To Hosting do?

Deploy an existing project to a website on Hostinger web hosting (Shared, Cloud or Agency plans) and keep it deployed: picks the right deploy for static sites, Node.js apps (Next.js, Nuxt, Express…. Deploy To Hosting is an agent skill from hostinger/api-mcp-server.js environment variables and MySQL databases, and verifies the live site.

When should I use Deploy To Hosting?

Deploy To Hosting fits situations like: tasks that involve Static sites and blogs; tasks that involve Secrets management.

How do I install Deploy To Hosting in Claude Code?

Run `npx skills add hostinger/api-mcp-server --skill deploy-to-hosting -a claude-code`. Or copy the skill folder (skills/deploy-to-hosting in hostinger/api-mcp-server) into .claude/skills/deploy-to-hosting in your project. Claude Code loads it when a task matches its description.

How do I install Deploy To Hosting in Codex?

Run `npx skills add hostinger/api-mcp-server --skill deploy-to-hosting -a codex`. Or copy the skill folder (skills/deploy-to-hosting in hostinger/api-mcp-server) into .agents/skills/deploy-to-hosting in your project. Codex loads it when a task matches its description.

Can I use Deploy To Hosting in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add hostinger/api-mcp-server --skill deploy-to-hosting -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/deploy-to-hosting, .gemini/skills/deploy-to-hosting, .github/skills/deploy-to-hosting and .opencode/skills/deploy-to-hosting in your project.

What does Deploy To Hosting need to run?

Going by SKILL.md and its folder, Deploy To Hosting needs the command-line tools its instructions call (curl and git) and credentials named DB_PASSWORD, AUTH_KEY and REST_AUTH_KEY. Our summary lists: Node.js; A credential in AUTH_KEY; A credential in REST_AUTH_KEY.

Does Deploy To Hosting access the network?

SKILL.md contains no URLs. Its commands use curl and git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Deploy To Hosting safe to install?

Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Deploy To Hosting use?

Deploy To Hosting is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Deploy To Hosting use?

About 2.7k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Deploy To Hosting?

Skills that share tags, products or a category with Deploy To Hosting: Compile Php Wasm (WordPress/wordpress-playground, 2k stars), Wjs Converting Wp To Hugo (jianshuo/claude-skills, 130 stars), Keel (joseconti/declaracion-renta-espana, 190 stars) and Cloudflare Pages (sickn33/agentic-awesome-skills, 47k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Deploy To Hosting?

hostinger (a GitHub organization) maintains it in hostinger/api-mcp-server, which has 159 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on October 7, 2026.

Source: hostinger/api-mcp-server on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.