girishlade111/agentic-os-personal-main/hostinger-deploy
Claude Code and agent skill by girishlade111/agentic-os-personal-main
- community
Checking that the SKILL.md file is still in the repository.
Deploy and troubleshoot Node.js apps on Hostinger Managed Node.js Hosting via the official hostinger-api-mcp server. Use when the user asks to deploy to Hostinger, fix Hostinger build failures, configure Hostinger MCP, read Hostinger build logs, or set up Node.js hosting on brown-lion / hostingersite.com domains.
Install
npx vskill@latest install girishlade111/agentic-os-personal-main/hostinger-deploySKILL.md
The same SKILL.md was published earlier as girishlade111/agentic-os-personal-main/hostinger-deploy.
Hostinger Deploy
Portable workflow for any Node.js project on Hostinger Managed Node.js Hosting. Uses the official `hostinger-api-mcp` MCP server.
Before you start
1 — MCP setup (once per machine)
Copy mcp.json.example into the target project as .cursor/mcp.json, or merge the hostinger block into ~/.cursor/mcp.json for global use.
Then authenticate (pick one):
| Method | When | How | |
|---|---|---|---|
| OAuth (recommended) | Interactive dev | npx -y hostinger-api-mcp --login | |
| API token | CI / headless | hPanel → Profile → API → create token → paste into Cursor Settings → MCP → hostinger → Environment as HOSTINGER_API_TOKEN |
Never put "HOSTINGER_API_TOKEN": "${HOSTINGER_API_TOKEN}" in mcp.json — Cursor does not expand shell vars; MCP stays unauthenticated.
Restart or refresh MCP in Cursor after config changes.
Full details: mcp-setup.md
2 — Project preflight (any Node app)
Run before first deploy:
- `package.json` scripts — must include:
"build"— even a syntax-check is fine:node --check server.js && echo BUILD_OK"start"— must listen onprocess.env.PORTand bind0.0.0.0
- Entry file — Hostinger auto-detects `server.js`. If your app uses
app.js/index.js, add a one-line shim:
``js // server.js import "./app.js"; // or require("./app.js") ``
- No native npm modules on shared hosting (no
make, old glibc). Replace e.g.better-sqlite3→node-sqlite3-wasmor hosted DB. - Secrets — never commit
.env. Ship.env.example; user adds vars in hPanel → Deployments → Environment. - Monorepo — set hPanel application root to the subfolder with
package.json, or add rootserver.js+postinstall: npm install --prefix <app>.
Local smoke test:
3 — hPanel settings (Git-connected app)
| Setting | Typical value | |
|---|---|---|
| Framework | Express.js or Other | |
| Application root | . or subfolder (e.g. api/) | |
| Node.js | 20 | |
| Install | npm install | |
| Build | npm run build | |
| Start | npm start | |
| Entry file | server.js | |
| Output directory | empty (no static build unless SPA) |
Required env vars in hPanel (not in git): NODE_ENV=production, PUBLIC_BASE_URL=https://YOUR-DOMAIN, plus API keys.
4 — Deploy via MCP (agent workflow)
Discover site
Filter by domain if known: { "domain": "yoursite.hostingersite.com" }
Option A — Git push (already connected)
Push to main → Hostinger auto-builds. Poll:
Option B — Archive upload
Zip rules: exclude node_modules/, .env, data/, build output (dist/, .next/). Max 50 MB.
Diagnose failures
Or legacy: hosting_showJsDeploymentLogs / hosting_listJsDeployments
Reading logs: npm warn deprecated and added N packages mean install succeeded. Scroll for BUILD_OK, ERROR, or missing entry file.
5 — Common failures → fixes
| Symptom | Cause | Fix | |
|---|---|---|---|
Unauthenticated MCP | Bad token / ${VAR} in mcp.json | OAuth login or real token in Cursor MCP UI | |
better-sqlite3 / GLIBC_2.29 / not found: make | Native module on shared host | Pure-JS/WASM alternative | |
Build log stops after npm install | Wrong entry_file | Add server.js shim | |
| Site 502 / connection refused | App listens on wrong port/host | process.env.PORT, 0.0.0.0 | |
package.json not found | Wrong application root | Set root in hPanel or archive root_directory | |
| User thinks warnings = failure | npm deprecation warnings | Explain install succeeded; check build/start |
6 — Verify live
Adjust health path to the project's actual endpoint.
7 — Helper scripts
Run from any project (OAuth creds at ~/.config/hostinger-mcp/credentials.json):
Additional resources
- mcp-setup.md — global vs project MCP, OAuth, API token
- reference.md — API endpoints, tool list, env var template
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingagentic-os-personal-main/.cursor/skills/hostinger-deploy/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/girishlade111/agentic-os-personal-main/hostinger-deploy)