audit-hosting
Audit a Hostinger web hosting account (Shared, Cloud and Agency plans) and report what needs attention: every plan and website,…
Provision a Hostinger Ecommerce backend for the Hostinger Headless flow: ensure the hostinger-ecommerce MCP is connected, create the headless website (frontend host) and a Hostinger Ecommerce STORE with a custom (headless) sales channel, set shipping + payment, and record it all
Claude Code
$ npx -y skills add hostinger/api-mcp-server --skill ecommerce --agent claude-code
Codex
$ npx skills add hostinger/api-mcp-server --skill ecommerce -a codex -y
Cursor
$ npx skills add hostinger/api-mcp-server --skill ecommerce -a cursor -y
Gemini CLI
$ npx skills add hostinger/api-mcp-server --skill ecommerce -a gemini-cli -y
GitHub Copilot
$ npx skills add hostinger/api-mcp-server --skill ecommerce -a github-copilot -y
OpenCode
$ npx skills add hostinger/api-mcp-server --skill ecommerce -a opencode -y
Windsurf
$ npx skills add hostinger/api-mcp-server --skill ecommerce -a windsurf -y
name: headless-step-provision-ecommerce description: "Provision a Hostinger Ecommerce backend for the Hostinger Headless flow: ensure the hostinger-ecommerce MCP is connected, create the headless website (frontend host) and a Hostinger Ecommerce STORE with a custom (headless) sales channel, set shipping + payment, and record it all in site.json."
Provision a **Hostinger Ecommerce** backend for `<domain>` and prove it is ready. Two distinct things:
1. A **headless website** (`type: "headless_ecommerce"`) — this is only the **hosting slot for the storefront you'll build**. It installs **no store engine** (no `/cms`, no API on the domain). 2. A **Hostinger Ecommerce store** — a separate object created through the **Ecommerce API**, with a **custom (headless) sales channel**. The storefront reads this store's **public Storefront Core V2 API**, keyed on the sales channel. This is the real backend.
**Out:** `site.json` (store id, custom sales channel id, URLs).
> ## ⚠️ Prerequisite: the `hostinger-ecommerce` MCP server must be connected > Store management is **not** in the `hosting`/`wordpress` MCP groups — it's the separate > **`hostinger-ecommerce`** group (`ecommerce_*` ops, OAuth-backed, no API token needed). Connect > registers it alongside `hostinger`, so its tools are normally already in the session. If they > aren't (for example, a tool connected before connect registered both servers), register it now. The > command for each tool is in its `connect/tools/<tool>.md`; for Claude Code: > ```bash > claude mcp add hostinger-ecommerce --scope user -- "<command>" "<launcher>" hostinger-ecommerce-mcp > ``` > (Or enable the **Ecommerce** MCP in the Hostinger Connector.) A newly added MCP server only loads > after a restart, so pause the run with *register, restart, resume* from `connect/SKILL.md`: save > state, ask the user to restart the tool and paste the same prompt, and end your turn. Check-state then > resumes at the stage that paused. Never spawn the server yourself or write a JSON-RPC client to reach it. > > Verify the tools work in-session with a search — e.g. "list stores" → > `ecommerce_stores_list` — before proceeding. > The authoritative, always-current build guide is `ecommerce_miscellaneous_custom-storefront-setup-instructions` — read it once per build.
All website-lifecycle calls go through the `hosting` connector (`execute`); all store calls through the `hostinger-ecommerce` MCP.
Same lifecycle as `../wordpress/SKILL.md` Steps 1–2, but `type: "headless_ecommerce"`:
1. Detect: `hosting_websites_list` / `hosting_websites_list-setups` (exact-match the domain). `completed` → adopt. `running` → record `provision.in_progress` and wait at the join. `failed` → stop, point at hPanel. If `website_type` is not `headless` (plain WordPress, Node.js, …), stop and tell the user — don't overwrite another kind of site. 2. Create (only if **no** site exists): `hosting_websites_create { order_id, type: "headless_ecommerce", domain }` — **omit `domain`** for a temporary subdomain: the setup generates one itself and returns it (don't call a separate subdomain op first — there's no need in this flow). The response carries the generated domain; if it differs from the workspace dir, move `~/.hostinger/<old>/` → `<new>/` (if `<new>/` already exists, stop and ask instead of moving into it) and update `brief.md`. Don't wait here. At the join, `cd "$HOME" && node <skill>/wait.mjs setup <domain>` returns once the setup is `completed` (see *Waiting on Hostinger* in the top-level `SKILL.md`). `website_type` will be `headless`.
> **Onboarding handoff — an empty headless shell needs no new website.** If the domain already has an > empty headless shell (`website_type: headless`, setup `type: headless_empty`, nothing installed — > typically created in onboarding), **adopt it as the storefront host and skip the create.** A > `headless_ecommerce` website installs no store engine either, so an empty headless shell *is* the host > you need — there is no backend to "swap" on the website side. Record its `username`/`order_id` and go > straight to Step 2 (store + custom sales channel). Never call `hosting_websites_create` on a domain that already > has a site.
> Don't expect `/cms` or any API on this domain — it serves the storefront you build (Step 6) and > deploy (Step 8).
`ecommerce_stores_list` → reuse an existing store if this build already made one; otherwise create:
{ "operation": "ecommerce_stores_create",
"params": { "name": "<store name>", "country_code": "US", "company_email": "<email>",
"company_name": "<store name>", "language": "en",
"sales_channel": { "type": "custom", "external_id": "<slug>-headless" } } }This returns `store.id` (`store_*`) **and** a custom `sales_channel.id` (`scha_*`) in one call — the custom channel is what the headless storefront is keyed on. (You can also add one later with `ecommerce_sales-channels_create { store_id, type:"custom", name }`.) Currency comes from `country_code` (`default_currency_code`); all prices are **minor units** (cents).
A store needs ≥1 shipping zone and ≥1 payment method to check out.
> **Known gate — free accounts have no payment method, and therefore no checkout.** On a **free > account** (and any account/store without a paid Hostinger Ecommerce plan), `enable-manual-method` > returns **HTTP 402**, and checkout later fails with `400 payment_provider_not_configured`. This is > **expected, not an error** — payment, and therefore checkout, is simply unavailable on the plan. The > catalog and the storefront still
Audit a Hostinger web hosting account (Shared, Cloud and Agency plans) and report what needs attention: every plan and website,…
Audit every Hostinger VPS (KVM plans) on the account and report what needs attention: server state and failed actions, CPU,…
Connect a custom domain to a website on Hostinger web hosting (Shared, Cloud or Agency plans) end to end: attach the domain to…
Deploy an existing project to a website on Hostinger web hosting (Shared, Cloud or Agency plans) and keep it deployed: picks the…
Deploy an existing project to a Hostinger VPS (KVM plans): sets up SSH key access, applies a Hostinger firewall group, runs…
Orchestrator for the Hostinger Headless build flow — build and deploy a real website on the user's Hostinger account from a…
Use when the user needs to run GitNexus CLI commands like analyze/index a repo, check status, clean the index, generate a wiki,…
Query and invoke tools on MCP servers using fastmcp list and fastmcp call. Use when you need to discover what tools a server…
Design n8n AI agents the right way. Use when building or editing any @n8n/n8n-nodes-langchain.* AI node — an AI Agent, LLM chain,…
小红书内容发布技能。支持两种发布模式:(1) 上传图文模式 - 图片+短文;(2) 写长文模式 - 长篇文章+排版模板。 支持两种输入方式:用户提供完整内容和图片/图片URL,直接发布;或提供网页URL,自动提取内容和图片。…