Skip to content

Commit 523a0e8

Browse files
chore: sync with @hostinger/mcp 4.15.2 (#16)
Co-authored-by: hostingerbot-public[bot] <348809394+hostingerbot-public[bot]@users.noreply.github.com>
1 parent 3177acc commit 523a0e8

7 files changed

Lines changed: 46 additions & 24 deletions

File tree

‎.cursor-plugin/plugin.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "hostinger-connector",
33
"displayName": "Hostinger Connector",
4-
"version": "0.3.8",
4+
"version": "0.3.9",
55
"description": "MCP plugin to deploy and manage Hostinger websites, WordPress, domains, DNS, VPS, email, and subscriptions from inside Cursor.",
66
"author": "Hostinger",
77
"license": "MIT",

‎CHANGELOG.md‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## [0.3.9] - 2026-11-23
4+
5+
### Changed
6+
7+
- Synced with `@hostinger/mcp` 4.15.2: hostinger-headless, operation catalog
8+
39
## [0.3.8] - 2026-11-21
410

511
### Changed

‎mcp.json‎

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,52 +3,52 @@
33
"hostinger-hosting": {
44
"command": "npx",
55
"args": ["--yes", "--package=@hostinger/mcp@latest", "hostinger-hosting-mcp"],
6-
"env": { "USER_AGENT": "plugin;cursor;0.3.8" }
6+
"env": { "USER_AGENT": "plugin;cursor;0.3.9" }
77
},
88
"hostinger-wordpress": {
99
"command": "npx",
1010
"args": ["--yes", "--package=@hostinger/mcp@latest", "hostinger-wordpress-mcp"],
11-
"env": { "USER_AGENT": "plugin;cursor;0.3.8" }
11+
"env": { "USER_AGENT": "plugin;cursor;0.3.9" }
1212
},
1313
"hostinger-agency-hosting": {
1414
"command": "npx",
1515
"args": ["--yes", "--package=@hostinger/mcp@latest", "hostinger-agency-hosting-mcp"],
16-
"env": { "USER_AGENT": "plugin;cursor;0.3.8" }
16+
"env": { "USER_AGENT": "plugin;cursor;0.3.9" }
1717
},
1818
"hostinger-domains": {
1919
"command": "npx",
2020
"args": ["--yes", "--package=@hostinger/mcp@latest", "hostinger-domains-mcp"],
21-
"env": { "USER_AGENT": "plugin;cursor;0.3.8" }
21+
"env": { "USER_AGENT": "plugin;cursor;0.3.9" }
2222
},
2323
"hostinger-dns": {
2424
"command": "npx",
2525
"args": ["--yes", "--package=@hostinger/mcp@latest", "hostinger-dns-mcp"],
26-
"env": { "USER_AGENT": "plugin;cursor;0.3.8" }
26+
"env": { "USER_AGENT": "plugin;cursor;0.3.9" }
2727
},
2828
"hostinger-billing": {
2929
"command": "npx",
3030
"args": ["--yes", "--package=@hostinger/mcp@latest", "hostinger-billing-mcp"],
31-
"env": { "USER_AGENT": "plugin;cursor;0.3.8" }
31+
"env": { "USER_AGENT": "plugin;cursor;0.3.9" }
3232
},
3333
"hostinger-reach": {
3434
"command": "npx",
3535
"args": ["--yes", "--package=@hostinger/mcp@latest", "hostinger-reach-mcp"],
36-
"env": { "USER_AGENT": "plugin;cursor;0.3.8" }
36+
"env": { "USER_AGENT": "plugin;cursor;0.3.9" }
3737
},
3838
"hostinger-ecommerce": {
3939
"command": "npx",
4040
"args": ["--yes", "--package=@hostinger/mcp@latest", "hostinger-ecommerce-mcp"],
41-
"env": { "USER_AGENT": "plugin;cursor;0.3.8" }
41+
"env": { "USER_AGENT": "plugin;cursor;0.3.9" }
4242
},
4343
"hostinger-vps": {
4444
"command": "npx",
4545
"args": ["--yes", "--package=@hostinger/mcp@latest", "hostinger-vps-mcp"],
46-
"env": { "USER_AGENT": "plugin;cursor;0.3.8" }
46+
"env": { "USER_AGENT": "plugin;cursor;0.3.9" }
4747
},
4848
"hostinger-mail": {
4949
"command": "npx",
5050
"args": ["--yes", "--package=@hostinger/mcp@latest", "hostinger-mail-mcp"],
51-
"env": { "USER_AGENT": "plugin;cursor;0.3.8" }
51+
"env": { "USER_AGENT": "plugin;cursor;0.3.9" }
5252
}
5353
}
5454
}

‎scripts/mcp-tools.json‎

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"package": "@hostinger/mcp",
3-
"version": "4.15.0",
4-
"total": 476,
3+
"version": "4.15.2",
4+
"total": 479,
55
"groups": {
66
"agency-hosting": [
77
"agency-hosting_cache_clear-website",
@@ -153,7 +153,10 @@
153153
"ecommerce_stores_create",
154154
"ecommerce_stores_delete",
155155
"ecommerce_stores_list",
156-
"ecommerce_stores_metadata"
156+
"ecommerce_stores_metadata",
157+
"ecommerce_webhooks_delete",
158+
"ecommerce_webhooks_get",
159+
"ecommerce_webhooks_list"
157160
],
158161
"gpu": [
159162
"changelog_list-entries",

‎skills/hostinger-headless/VERSION‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
version=4.15.0
2-
commit=989db63e0f79
3-
built=2026-11-20
1+
version=4.15.2
2+
commit=a77d23713202
3+
built=2026-11-23

‎skills/hostinger-headless/connect/bootstrap.mjs‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,14 @@ emit('launcher', isWin
3939
? { command: process.execPath, args: [LAUNCHER] }
4040
: { command: '/bin/sh', args: [LAUNCHER.replace(/\.mjs$/, '.sh')] });
4141

42-
function capture(cmd, args) {
43-
const r = spawnSync(cmd, args, { encoding: 'utf8', cwd: os.homedir() });
42+
function capture(args) {
43+
const r = spawnSync(MCP[0], [...MCP.slice(1), ...args], { encoding: 'utf8', cwd: os.homedir() });
4444
return { status: r.status ?? 1, out: `${r.stdout || ''}${r.stderr || ''}`, error: r.error };
4545
}
4646

4747
// ── 1. MCP server reachable ──────────────────────────────────────────────────
4848
function checkMcp() {
49-
const r = capture(MCP[0], [...MCP.slice(1), '--version']);
49+
const r = capture(['--version']);
5050
if (r.status !== 0) fail('mcp_unreachable', { detail: r.out.trim().slice(0, 400) });
5151
// npx interleaves "npm notice …" lines, so pick the first semver-looking token.
5252
const version = (r.out.match(/\d+\.\d+\.\d+[^\s]*/) || [])[0] || r.out.trim().split('\n').pop();

‎skills/hostinger-headless/run-log.mjs‎

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
import { spawnSync } from 'node:child_process';
1919
import { appendFileSync, copyFileSync, existsSync, mkdirSync, readFileSync, readdirSync, renameSync, rmSync, statSync, writeFileSync } from 'node:fs';
2020
import { homedir, hostname } from 'node:os';
21-
import { basename, dirname, join } from 'node:path';
21+
import { basename, delimiter, dirname, isAbsolute, join } from 'node:path';
2222
import { fileURLToPath } from 'node:url';
2323

2424
const STAGES = ['refine', 'connect', 'check_state', 'provision', 'content_model', 'design', 'frontend', 'validate', 'deploy', 'done'];
@@ -106,14 +106,27 @@ const LOCK_FRESH_MS = 30 * 60 * 1000;
106106

107107
const processName = (name) => basename(name.replace(/\\/g, '/')).replace(/^-/, '').replace(/\.exe$/i, '').toLowerCase();
108108

109+
// This script runs in the user's project, maybe a cloned repository. Windows looks a bare program name
110+
// up in the working directory before PATH, as does a relative PATH entry elsewhere, so the process list
111+
// is read from home with only absolute, non-node_modules PATH entries (as connect/launch.mjs runs npx),
112+
// and Windows PowerShell is named by its full path.
113+
const helperEnv = { ...process.env, LC_ALL: 'C', TZ: 'UTC' };
114+
for (const key of Object.keys(helperEnv).filter((k) => k.toUpperCase() === 'PATH')) {
115+
helperEnv[key] = helperEnv[key].split(delimiter)
116+
.filter((p) => isAbsolute(p) && !p.split(/[\\/]/).includes('node_modules'))
117+
.join(delimiter);
118+
}
119+
const systemRoot = isAbsolute(process.env.SystemRoot ?? '') ? process.env.SystemRoot : 'C:\\Windows';
120+
const POWERSHELL = join(systemRoot, 'System32', 'WindowsPowerShell', 'v1.0', 'powershell.exe');
121+
109122
// pid -> { ppid, started, name }; null when the process list can't be read. The start time tells a
110123
// reused PID from the process that held the lock.
111124
function processTable() {
112125
const windows = process.platform === 'win32';
113126
const r = windows
114-
? spawnSync('powershell', ['-NoProfile', '-NonInteractive', '-Command',
115-
'Get-CimInstance Win32_Process | ForEach-Object { "$($_.ProcessId)`t$($_.ParentProcessId)`t$(if ($_.CreationDate) { $_.CreationDate.ToUniversalTime().ToString(\'o\') })`t$($_.Name)" }'], { encoding: 'utf8' })
116-
: spawnSync('ps', ['-A', '-o', 'pid=,ppid=,lstart=,comm='], { encoding: 'utf8', env: { ...process.env, LC_ALL: 'C', TZ: 'UTC' } });
127+
? spawnSync(POWERSHELL, ['-NoProfile', '-NonInteractive', '-Command',
128+
'Get-CimInstance Win32_Process | ForEach-Object { "$($_.ProcessId)`t$($_.ParentProcessId)`t$(if ($_.CreationDate) { $_.CreationDate.ToUniversalTime().ToString(\'o\') })`t$($_.Name)" }'], { encoding: 'utf8', cwd: homedir(), env: helperEnv })
129+
: spawnSync('ps', ['-A', '-o', 'pid=,ppid=,lstart=,comm='], { encoding: 'utf8', cwd: homedir(), env: helperEnv });
117130
if (r.status !== 0 || !r.stdout) return null;
118131
const table = new Map();
119132
for (const line of r.stdout.split(/\r?\n/)) {

0 commit comments

Comments
 (0)