hostinger-api-mcp 1.51.1 → 1.52.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -64,6 +64,22 @@ jobs:
64
64
  - name: Publish package
65
65
  run: npm publish --provenance --access public
66
66
 
67
+ # The package was published unscoped before moving to @hostinger. Republish
68
+ # each release under the old name so existing installs keep updating.
69
+ # Both names point their npm trusted publisher at this workflow file, which
70
+ # is what the config keys on — the job/step it runs in is not part of it.
71
+ # The name below is substituted by the generator, and is left empty for an
72
+ # API that never had an unscoped package.
73
+ - name: Publish legacy unscoped alias
74
+ run: |
75
+ LEGACY='hostinger-api-mcp'
76
+ if [ -z "$LEGACY" ]; then
77
+ echo "No legacy npm name configured — nothing to alias."
78
+ exit 0
79
+ fi
80
+ jq --arg n "$LEGACY" '.name = $n' package.json > pkg.tmp && mv pkg.tmp package.json
81
+ npm publish --provenance --access public
82
+
67
83
  release-github:
68
84
  runs-on: ubuntu-latest
69
85
  needs: [release]
package/README.md CHANGED
@@ -41,13 +41,13 @@ To install the MCP server, run one of the following command, depending on your p
41
41
 
42
42
  ```bash
43
43
  # Install globally from npm
44
- npm install -g hostinger-api-mcp
44
+ npm install -g @hostinger/mcp
45
45
 
46
46
  # Or with yarn
47
- yarn global add hostinger-api-mcp
47
+ yarn global add @hostinger/mcp
48
48
 
49
49
  # Or with pnpm
50
- pnpm add -g hostinger-api-mcp
50
+ pnpm add -g @hostinger/mcp
51
51
  ```
52
52
 
53
53
  ## Update
@@ -56,13 +56,13 @@ To update the MCP server to the latest version, use one of the following command
56
56
 
57
57
  ```bash
58
58
  # Update globally from npm
59
- npm update -g hostinger-api-mcp
59
+ npm update -g @hostinger/mcp
60
60
 
61
61
  # Or with yarn
62
- yarn global upgrade hostinger-api-mcp
62
+ yarn global upgrade @hostinger/mcp
63
63
 
64
64
  # Or with pnpm
65
- pnpm update -g hostinger-api-mcp
65
+ pnpm update -g @hostinger/mcp
66
66
  ```
67
67
 
68
68
  ## Binaries
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "hostinger-api-mcp",
3
- "version": "1.51.1",
3
+ "version": "1.52.1",
4
4
  "description": "Hostinger API — manage domains, DNS, hosting, VPS, billing and more from Gemini CLI.",
5
5
  "mcpServers": {
6
6
  "hostinger": {
7
7
  "command": "npx",
8
8
  "args": [
9
9
  "-y",
10
- "hostinger-api-mcp"
10
+ "@hostinger/mcp"
11
11
  ],
12
12
  "env": {
13
13
  "HOSTINGER_API_TOKEN": "${HOSTINGER_API_TOKEN}"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hostinger-api-mcp",
3
- "version": "1.51.1",
3
+ "version": "1.52.1",
4
4
  "mcpName": "io.github.hostinger/hostinger-api-mcp",
5
5
  "description": "MCP server for Hostinger API",
6
6
  "repository": {
@@ -29,7 +29,8 @@
29
29
  "hostinger-mail-mcp": "./src/servers/mail.js",
30
30
  "hostinger-reach-mcp": "./src/servers/reach.js",
31
31
  "hostinger-vps-mcp": "./src/servers/vps.js",
32
- "hostinger-wordpress-mcp": "./src/servers/wordpress.js"
32
+ "hostinger-wordpress-mcp": "./src/servers/wordpress.js",
33
+ "mcp": "./src/servers/all.js"
33
34
  },
34
35
  "scripts": {
35
36
  "start": "node src/servers/all.js",
@@ -55,4 +56,4 @@
55
56
  "engines": {
56
57
  "node": ">=20.0.0"
57
58
  }
58
- }
59
+ }
package/server.json CHANGED
@@ -6,12 +6,12 @@
6
6
  "url": "https://github.com/hostinger/api-mcp-server",
7
7
  "source": "github"
8
8
  },
9
- "version": "1.51.1",
9
+ "version": "1.52.1",
10
10
  "packages": [
11
11
  {
12
12
  "registryType": "npm",
13
- "identifier": "hostinger-api-mcp",
14
- "version": "1.51.1",
13
+ "identifier": "@hostinger/mcp",
14
+ "version": "1.52.1",
15
15
  "transport": {
16
16
  "type": "stdio"
17
17
  },
@@ -21,7 +21,7 @@ const fail = (event, extra = {}) => {
21
21
  const isWin = process.platform === 'win32';
22
22
  const bin = (name) => (isWin ? `${name}.cmd` : name);
23
23
  // Run the MCP via npx — no global install, always the latest published version.
24
- const MCP = [bin('npx'), '-y', 'hostinger-api-mcp@latest'];
24
+ const MCP = [bin('npx'), '-y', '@hostinger/mcp@latest'];
25
25
 
26
26
  function capture(cmd, args) {
27
27
  const r = spawnSync(cmd, args, { encoding: 'utf8', shell: false });
@@ -29,7 +29,7 @@ const SECURITY_SCHEMES = {
29
29
 
30
30
  /**
31
31
  * MCP Server for Hostinger API
32
- * Generated from OpenAPI spec version 1.46.1
32
+ * Generated from OpenAPI spec version 1.46.2
33
33
  */
34
34
  class MCPServer {
35
35
  constructor({ name, version, tools }) {
@@ -52,7 +52,7 @@ const SECURITY_SCHEMES: Record<string, SecurityScheme> = {
52
52
 
53
53
  /**
54
54
  * MCP Server for Hostinger API
55
- * Generated from OpenAPI spec version 1.46.1
55
+ * Generated from OpenAPI spec version 1.46.2
56
56
  */
57
57
  class MCPServer {
58
58
  private readonly name: string;
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/agency-hosting.js';
5
5
 
6
- startServer({ name: 'hostinger-agency-hosting-mcp', version: '1.51.1', tools });
6
+ startServer({ name: 'hostinger-agency-hosting-mcp', version: '1.52.1', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/agency-hosting.js';
5
5
 
6
- startServer({ name: 'hostinger-agency-hosting-mcp', version: '1.51.1', tools });
6
+ startServer({ name: 'hostinger-agency-hosting-mcp', version: '1.52.1', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/all.js';
5
5
 
6
- startServer({ name: 'hostinger-api-mcp', version: '1.51.1', tools });
6
+ startServer({ name: 'hostinger-api-mcp', version: '1.52.1', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/all.js';
5
5
 
6
- startServer({ name: 'hostinger-api-mcp', version: '1.51.1', tools });
6
+ startServer({ name: 'hostinger-api-mcp', version: '1.52.1', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/billing.js';
5
5
 
6
- startServer({ name: 'hostinger-billing-mcp', version: '1.51.1', tools });
6
+ startServer({ name: 'hostinger-billing-mcp', version: '1.52.1', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/billing.js';
5
5
 
6
- startServer({ name: 'hostinger-billing-mcp', version: '1.51.1', tools });
6
+ startServer({ name: 'hostinger-billing-mcp', version: '1.52.1', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/dns.js';
5
5
 
6
- startServer({ name: 'hostinger-dns-mcp', version: '1.51.1', tools });
6
+ startServer({ name: 'hostinger-dns-mcp', version: '1.52.1', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/dns.js';
5
5
 
6
- startServer({ name: 'hostinger-dns-mcp', version: '1.51.1', tools });
6
+ startServer({ name: 'hostinger-dns-mcp', version: '1.52.1', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/domains.js';
5
5
 
6
- startServer({ name: 'hostinger-domains-mcp', version: '1.51.1', tools });
6
+ startServer({ name: 'hostinger-domains-mcp', version: '1.52.1', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/domains.js';
5
5
 
6
- startServer({ name: 'hostinger-domains-mcp', version: '1.51.1', tools });
6
+ startServer({ name: 'hostinger-domains-mcp', version: '1.52.1', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/ecommerce.js';
5
5
 
6
- startServer({ name: 'hostinger-ecommerce-mcp', version: '1.51.1', tools });
6
+ startServer({ name: 'hostinger-ecommerce-mcp', version: '1.52.1', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/ecommerce.js';
5
5
 
6
- startServer({ name: 'hostinger-ecommerce-mcp', version: '1.51.1', tools });
6
+ startServer({ name: 'hostinger-ecommerce-mcp', version: '1.52.1', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/horizons.js';
5
5
 
6
- startServer({ name: 'hostinger-horizons-mcp', version: '1.51.1', tools });
6
+ startServer({ name: 'hostinger-horizons-mcp', version: '1.52.1', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/horizons.js';
5
5
 
6
- startServer({ name: 'hostinger-horizons-mcp', version: '1.51.1', tools });
6
+ startServer({ name: 'hostinger-horizons-mcp', version: '1.52.1', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/hosting.js';
5
5
 
6
- startServer({ name: 'hostinger-hosting-mcp', version: '1.51.1', tools });
6
+ startServer({ name: 'hostinger-hosting-mcp', version: '1.52.1', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/hosting.js';
5
5
 
6
- startServer({ name: 'hostinger-hosting-mcp', version: '1.51.1', tools });
6
+ startServer({ name: 'hostinger-hosting-mcp', version: '1.52.1', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/mail.js';
5
5
 
6
- startServer({ name: 'hostinger-mail-mcp', version: '1.51.1', tools });
6
+ startServer({ name: 'hostinger-mail-mcp', version: '1.52.1', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/mail.js';
5
5
 
6
- startServer({ name: 'hostinger-mail-mcp', version: '1.51.1', tools });
6
+ startServer({ name: 'hostinger-mail-mcp', version: '1.52.1', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/reach.js';
5
5
 
6
- startServer({ name: 'hostinger-reach-mcp', version: '1.51.1', tools });
6
+ startServer({ name: 'hostinger-reach-mcp', version: '1.52.1', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/reach.js';
5
5
 
6
- startServer({ name: 'hostinger-reach-mcp', version: '1.51.1', tools });
6
+ startServer({ name: 'hostinger-reach-mcp', version: '1.52.1', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/vps.js';
5
5
 
6
- startServer({ name: 'hostinger-vps-mcp', version: '1.51.1', tools });
6
+ startServer({ name: 'hostinger-vps-mcp', version: '1.52.1', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/vps.js';
5
5
 
6
- startServer({ name: 'hostinger-vps-mcp', version: '1.51.1', tools });
6
+ startServer({ name: 'hostinger-vps-mcp', version: '1.52.1', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/wordpress.js';
5
5
 
6
- startServer({ name: 'hostinger-wordpress-mcp', version: '1.51.1', tools });
6
+ startServer({ name: 'hostinger-wordpress-mcp', version: '1.52.1', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/wordpress.js';
5
5
 
6
- startServer({ name: 'hostinger-wordpress-mcp', version: '1.51.1', tools });
6
+ startServer({ name: 'hostinger-wordpress-mcp', version: '1.52.1', tools });