hostinger-api-mcp 3.21.0 → 3.21.2
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.
- package/CHANGELOG.md +22 -0
- package/README.md +1 -1
- package/build.js +0 -6
- package/gemini-extension.json +1 -1
- package/package.json +1 -2
- package/server.json +2 -2
- package/src/core/runtime.js +7 -16
- package/src/core/runtime.ts +7 -16
- package/src/core/tools/agency-hosting.js +2 -2
- package/src/core/tools/agency-hosting.ts +2 -2
- package/src/core/tools/all.js +2 -2
- package/src/core/tools/all.ts +2 -2
- package/src/servers/agency-hosting.js +1 -1
- package/src/servers/agency-hosting.ts +1 -1
- package/src/servers/agent-readiness.js +1 -1
- package/src/servers/agent-readiness.ts +1 -1
- package/src/servers/all.js +1 -1
- package/src/servers/all.ts +1 -1
- package/src/servers/billing.js +1 -1
- package/src/servers/billing.ts +1 -1
- package/src/servers/dns.js +1 -1
- package/src/servers/dns.ts +1 -1
- package/src/servers/domains.js +1 -1
- package/src/servers/domains.ts +1 -1
- package/src/servers/ecommerce.js +1 -1
- package/src/servers/ecommerce.ts +1 -1
- package/src/servers/horizons.js +1 -1
- package/src/servers/horizons.ts +1 -1
- package/src/servers/hosting.js +1 -1
- package/src/servers/hosting.ts +1 -1
- package/src/servers/mail.js +1 -1
- package/src/servers/mail.ts +1 -1
- package/src/servers/reach.js +1 -1
- package/src/servers/reach.ts +1 -1
- package/src/servers/vps.js +1 -1
- package/src/servers/vps.ts +1 -1
- package/src/servers/wordpress.js +1 -1
- package/src/servers/wordpress.ts +1 -1
- package/types.d.ts +2 -2
- package/.env.example +0 -14
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,28 @@ Generated at release time from the diff between the previous and current
|
|
|
4
4
|
build. Tool changes are listed individually; everything else is summarised
|
|
5
5
|
by area.
|
|
6
6
|
|
|
7
|
+
## v3.21.2 — 2026-10-28
|
|
8
|
+
|
|
9
|
+
### Operations
|
|
10
|
+
|
|
11
|
+
- Changed the input schema of `agency-hosting_deploy-node-static-website`
|
|
12
|
+
- Changed the input schema of `agency-hosting_deploy-php-application`
|
|
13
|
+
|
|
14
|
+
### Also in this release
|
|
15
|
+
|
|
16
|
+
- Request handling and authentication: `src/core/runtime.js`, `src/core/runtime.ts`
|
|
17
|
+
- Build and packaging: `types.d.ts`
|
|
18
|
+
|
|
19
|
+
## v3.21.1 — 2026-10-28
|
|
20
|
+
|
|
21
|
+
### Also in this release
|
|
22
|
+
|
|
23
|
+
- Other files: `.env.example`, `.gitignore`
|
|
24
|
+
- Documentation: `README.md`
|
|
25
|
+
- Build and packaging: `build.js`
|
|
26
|
+
- Dependencies: `package-lock.json`, `package.json`
|
|
27
|
+
- Request handling and authentication: `src/core/runtime.js`, `src/core/runtime.ts`
|
|
28
|
+
|
|
7
29
|
## v3.21.0 — 2026-10-28
|
|
8
30
|
|
|
9
31
|
### Also in this release
|
package/README.md
CHANGED
|
@@ -99,7 +99,7 @@ The server supports two authentication methods:
|
|
|
99
99
|
|
|
100
100
|
### API Token (recommended for CI/scripts)
|
|
101
101
|
|
|
102
|
-
Set `HOSTINGER_API_TOKEN` in the environment
|
|
102
|
+
Set `HOSTINGER_API_TOKEN` in the environment (the MCP client's `env` block). When present it always takes precedence — no OAuth code runs.
|
|
103
103
|
|
|
104
104
|
### OAuth 2.0 with PKCE (interactive sign-in)
|
|
105
105
|
|
package/build.js
CHANGED
|
@@ -29,13 +29,7 @@ exec('npx tsc', (error, stdout, stderr) => {
|
|
|
29
29
|
|
|
30
30
|
console.log('TypeScript compilation successful');
|
|
31
31
|
|
|
32
|
-
// Copy .env.example to dist
|
|
33
32
|
try {
|
|
34
|
-
if (fs.existsSync('./.env.example')) {
|
|
35
|
-
fs.copyFileSync('./.env.example', './dist/.env.example');
|
|
36
|
-
console.log('Copied .env.example to dist directory');
|
|
37
|
-
}
|
|
38
|
-
|
|
39
33
|
if (fs.existsSync('./README.md')) {
|
|
40
34
|
fs.copyFileSync('./README.md', './dist/README.md');
|
|
41
35
|
console.log('Copied README.md to dist directory');
|
package/gemini-extension.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hostinger-api-mcp",
|
|
3
|
-
"version": "3.21.
|
|
3
|
+
"version": "3.21.2",
|
|
4
4
|
"mcpName": "io.github.hostinger/hostinger-api-mcp",
|
|
5
5
|
"description": "MCP server for Hostinger API",
|
|
6
6
|
"repository": {
|
|
@@ -42,7 +42,6 @@
|
|
|
42
42
|
"@modelcontextprotocol/sdk": "^1.30.0",
|
|
43
43
|
"axios": "^1.8.0",
|
|
44
44
|
"cors": "^2.8.5",
|
|
45
|
-
"dotenv": "^18.0.1",
|
|
46
45
|
"express": "^5.2.1",
|
|
47
46
|
"fflate": "^0.8.3",
|
|
48
47
|
"minimist": "^1.2.8",
|
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": "3.21.
|
|
9
|
+
"version": "3.21.2",
|
|
10
10
|
"packages": [
|
|
11
11
|
{
|
|
12
12
|
"registryType": "npm",
|
|
13
13
|
"identifier": "@hostinger/mcp",
|
|
14
|
-
"version": "3.21.
|
|
14
|
+
"version": "3.21.2",
|
|
15
15
|
"transport": {
|
|
16
16
|
"type": "stdio"
|
|
17
17
|
},
|
package/src/core/runtime.js
CHANGED
|
@@ -6,7 +6,6 @@ import minimist from 'minimist';
|
|
|
6
6
|
import cors from "cors";
|
|
7
7
|
import express from "express";
|
|
8
8
|
import axios from "axios";
|
|
9
|
-
import { config as dotenvConfig } from "dotenv";
|
|
10
9
|
import {
|
|
11
10
|
ListToolsRequestSchema,
|
|
12
11
|
CallToolRequestSchema,
|
|
@@ -25,9 +24,6 @@ import os from "os";
|
|
|
25
24
|
import { Zip, ZipDeflate } from "fflate";
|
|
26
25
|
import { META_TOOLS, searchOperations, renderSearch, findOperation, runSteps } from "./catalog.js";
|
|
27
26
|
|
|
28
|
-
// Load environment variables
|
|
29
|
-
dotenvConfig({ quiet: true });
|
|
30
|
-
|
|
31
27
|
/**
|
|
32
28
|
* An upstream API call that came back as a failure. Carries the status and the
|
|
33
29
|
* API's own response body so the CallTool handler can hand both to the model.
|
|
@@ -2453,7 +2449,6 @@ class MCPServer {
|
|
|
2453
2449
|
} catch (error) {
|
|
2454
2450
|
const errorMessage = error instanceof Error ? error.message : String(error);
|
|
2455
2451
|
this.log('error', `Failed to fetch build settings: ${errorMessage}`);
|
|
2456
|
-
const archiveRemoved = this.hosting_deployJsApplication_removeArchive(archivePath, removeArchive);
|
|
2457
2452
|
|
|
2458
2453
|
return {
|
|
2459
2454
|
upload: {
|
|
@@ -2470,7 +2465,7 @@ class MCPServer {
|
|
|
2470
2465
|
status: 'skipped'
|
|
2471
2466
|
},
|
|
2472
2467
|
removeArchive: {
|
|
2473
|
-
status:
|
|
2468
|
+
status: 'skipped'
|
|
2474
2469
|
}
|
|
2475
2470
|
};
|
|
2476
2471
|
}
|
|
@@ -2483,7 +2478,6 @@ class MCPServer {
|
|
|
2483
2478
|
} catch (error) {
|
|
2484
2479
|
const errorMessage = error instanceof Error ? error.message : String(error);
|
|
2485
2480
|
this.log('error', `Failed to trigger build: ${errorMessage}`);
|
|
2486
|
-
const archiveRemoved = this.hosting_deployJsApplication_removeArchive(archivePath, removeArchive);
|
|
2487
2481
|
|
|
2488
2482
|
return {
|
|
2489
2483
|
upload: {
|
|
@@ -2501,7 +2495,7 @@ class MCPServer {
|
|
|
2501
2495
|
error: errorMessage
|
|
2502
2496
|
},
|
|
2503
2497
|
removeArchive: {
|
|
2504
|
-
status:
|
|
2498
|
+
status: 'skipped'
|
|
2505
2499
|
}
|
|
2506
2500
|
};
|
|
2507
2501
|
}
|
|
@@ -2694,7 +2688,6 @@ class MCPServer {
|
|
|
2694
2688
|
} catch (error) {
|
|
2695
2689
|
const errorMessage = error instanceof Error ? error.message : String(error);
|
|
2696
2690
|
this.log('error', `Failed to trigger deployment: ${errorMessage}`);
|
|
2697
|
-
const archiveRemoved = this.hosting_deployStaticWebsite_removeArchive(archivePath, removeArchive);
|
|
2698
2691
|
|
|
2699
2692
|
return {
|
|
2700
2693
|
upload: {
|
|
@@ -2708,7 +2701,7 @@ class MCPServer {
|
|
|
2708
2701
|
error: errorMessage
|
|
2709
2702
|
},
|
|
2710
2703
|
removeArchive: {
|
|
2711
|
-
status:
|
|
2704
|
+
status: 'skipped'
|
|
2712
2705
|
}
|
|
2713
2706
|
};
|
|
2714
2707
|
}
|
|
@@ -3308,7 +3301,7 @@ class MCPServer {
|
|
|
3308
3301
|
}
|
|
3309
3302
|
|
|
3310
3303
|
async handleNodeStaticDeploy(params) {
|
|
3311
|
-
const { domain, archivePath, removeArchive =
|
|
3304
|
+
const { domain, archivePath, removeArchive = false } = params;
|
|
3312
3305
|
|
|
3313
3306
|
this.agencyHosting_validateRequiredParams(params);
|
|
3314
3307
|
this.agencyHosting_validateArchiveFile(archivePath);
|
|
@@ -3357,7 +3350,6 @@ class MCPServer {
|
|
|
3357
3350
|
} catch (error) {
|
|
3358
3351
|
const errorMessage = error instanceof Error ? error.message : String(error);
|
|
3359
3352
|
this.log('error', `Failed to trigger build: ${errorMessage}`);
|
|
3360
|
-
const archiveRemoved = this.agencyHosting_removeArchive(archivePath, removeArchive);
|
|
3361
3353
|
|
|
3362
3354
|
return {
|
|
3363
3355
|
upload: {
|
|
@@ -3371,7 +3363,7 @@ class MCPServer {
|
|
|
3371
3363
|
error: errorMessage
|
|
3372
3364
|
},
|
|
3373
3365
|
removeArchive: {
|
|
3374
|
-
status:
|
|
3366
|
+
status: 'skipped'
|
|
3375
3367
|
}
|
|
3376
3368
|
};
|
|
3377
3369
|
}
|
|
@@ -3446,7 +3438,7 @@ class MCPServer {
|
|
|
3446
3438
|
}
|
|
3447
3439
|
|
|
3448
3440
|
async handlePhpAppDeploy(params) {
|
|
3449
|
-
const { domain, archivePath, removeArchive =
|
|
3441
|
+
const { domain, archivePath, removeArchive = false } = params;
|
|
3450
3442
|
|
|
3451
3443
|
this.agencyHosting_validateRequiredParams(params);
|
|
3452
3444
|
this.agencyHosting_validateArchiveFile(archivePath);
|
|
@@ -3494,7 +3486,6 @@ class MCPServer {
|
|
|
3494
3486
|
} catch (error) {
|
|
3495
3487
|
const errorMessage = error instanceof Error ? error.message : String(error);
|
|
3496
3488
|
this.log('error', `Failed to trigger import: ${errorMessage}`);
|
|
3497
|
-
const archiveRemoved = this.agencyHosting_removeArchive(archivePath, removeArchive);
|
|
3498
3489
|
|
|
3499
3490
|
return {
|
|
3500
3491
|
upload: {
|
|
@@ -3508,7 +3499,7 @@ class MCPServer {
|
|
|
3508
3499
|
error: errorMessage
|
|
3509
3500
|
},
|
|
3510
3501
|
removeArchive: {
|
|
3511
|
-
status:
|
|
3502
|
+
status: 'skipped'
|
|
3512
3503
|
}
|
|
3513
3504
|
};
|
|
3514
3505
|
}
|
package/src/core/runtime.ts
CHANGED
|
@@ -6,7 +6,6 @@ import minimist from 'minimist';
|
|
|
6
6
|
import cors from "cors";
|
|
7
7
|
import express from "express";
|
|
8
8
|
import {Request, Response} from "express";
|
|
9
|
-
import { config as dotenvConfig } from "dotenv";
|
|
10
9
|
import {
|
|
11
10
|
ListToolsRequestSchema,
|
|
12
11
|
CallToolRequestSchema,
|
|
@@ -28,9 +27,6 @@ import { Zip, ZipDeflate } from "fflate";
|
|
|
28
27
|
import { META_TOOLS, searchOperations, renderSearch, findOperation, runSteps } from "./catalog.js";
|
|
29
28
|
import type { CatalogOperation } from "./catalog.js";
|
|
30
29
|
|
|
31
|
-
// Load environment variables
|
|
32
|
-
dotenvConfig({ quiet: true });
|
|
33
|
-
|
|
34
30
|
// Define tool and security scheme types
|
|
35
31
|
interface OpenApiTool extends Tool {
|
|
36
32
|
method: string;
|
|
@@ -2491,7 +2487,6 @@ class MCPServer {
|
|
|
2491
2487
|
} catch (error) {
|
|
2492
2488
|
const errorMessage = error instanceof Error ? error.message : String(error);
|
|
2493
2489
|
this.log('error', `Failed to fetch build settings: ${errorMessage}`);
|
|
2494
|
-
const archiveRemoved = this.hosting_deployJsApplication_removeArchive(archivePath, removeArchive);
|
|
2495
2490
|
|
|
2496
2491
|
return {
|
|
2497
2492
|
upload: {
|
|
@@ -2508,7 +2503,7 @@ class MCPServer {
|
|
|
2508
2503
|
status: 'skipped'
|
|
2509
2504
|
},
|
|
2510
2505
|
removeArchive: {
|
|
2511
|
-
status:
|
|
2506
|
+
status: 'skipped'
|
|
2512
2507
|
}
|
|
2513
2508
|
};
|
|
2514
2509
|
}
|
|
@@ -2521,7 +2516,6 @@ class MCPServer {
|
|
|
2521
2516
|
} catch (error) {
|
|
2522
2517
|
const errorMessage = error instanceof Error ? error.message : String(error);
|
|
2523
2518
|
this.log('error', `Failed to trigger build: ${errorMessage}`);
|
|
2524
|
-
const archiveRemoved = this.hosting_deployJsApplication_removeArchive(archivePath, removeArchive);
|
|
2525
2519
|
|
|
2526
2520
|
return {
|
|
2527
2521
|
upload: {
|
|
@@ -2539,7 +2533,7 @@ class MCPServer {
|
|
|
2539
2533
|
error: errorMessage
|
|
2540
2534
|
},
|
|
2541
2535
|
removeArchive: {
|
|
2542
|
-
status:
|
|
2536
|
+
status: 'skipped'
|
|
2543
2537
|
}
|
|
2544
2538
|
};
|
|
2545
2539
|
}
|
|
@@ -2732,7 +2726,6 @@ class MCPServer {
|
|
|
2732
2726
|
} catch (error) {
|
|
2733
2727
|
const errorMessage = error instanceof Error ? error.message : String(error);
|
|
2734
2728
|
this.log('error', `Failed to trigger deployment: ${errorMessage}`);
|
|
2735
|
-
const archiveRemoved = this.hosting_deployStaticWebsite_removeArchive(archivePath, removeArchive);
|
|
2736
2729
|
|
|
2737
2730
|
return {
|
|
2738
2731
|
upload: {
|
|
@@ -2746,7 +2739,7 @@ class MCPServer {
|
|
|
2746
2739
|
error: errorMessage
|
|
2747
2740
|
},
|
|
2748
2741
|
removeArchive: {
|
|
2749
|
-
status:
|
|
2742
|
+
status: 'skipped'
|
|
2750
2743
|
}
|
|
2751
2744
|
};
|
|
2752
2745
|
}
|
|
@@ -3354,7 +3347,7 @@ class MCPServer {
|
|
|
3354
3347
|
}
|
|
3355
3348
|
|
|
3356
3349
|
private async handleNodeStaticDeploy(params: Record<string, any>): Promise<any> {
|
|
3357
|
-
const { domain, archivePath, removeArchive =
|
|
3350
|
+
const { domain, archivePath, removeArchive = false } = params;
|
|
3358
3351
|
|
|
3359
3352
|
this.agencyHosting_validateRequiredParams(params);
|
|
3360
3353
|
this.agencyHosting_validateArchiveFile(archivePath);
|
|
@@ -3403,7 +3396,6 @@ class MCPServer {
|
|
|
3403
3396
|
} catch (error) {
|
|
3404
3397
|
const errorMessage = error instanceof Error ? error.message : String(error);
|
|
3405
3398
|
this.log('error', `Failed to trigger build: ${errorMessage}`);
|
|
3406
|
-
const archiveRemoved = this.agencyHosting_removeArchive(archivePath, removeArchive);
|
|
3407
3399
|
|
|
3408
3400
|
return {
|
|
3409
3401
|
upload: {
|
|
@@ -3417,7 +3409,7 @@ class MCPServer {
|
|
|
3417
3409
|
error: errorMessage
|
|
3418
3410
|
},
|
|
3419
3411
|
removeArchive: {
|
|
3420
|
-
status:
|
|
3412
|
+
status: 'skipped'
|
|
3421
3413
|
}
|
|
3422
3414
|
};
|
|
3423
3415
|
}
|
|
@@ -3492,7 +3484,7 @@ class MCPServer {
|
|
|
3492
3484
|
}
|
|
3493
3485
|
|
|
3494
3486
|
private async handlePhpAppDeploy(params: Record<string, any>): Promise<any> {
|
|
3495
|
-
const { domain, archivePath, removeArchive =
|
|
3487
|
+
const { domain, archivePath, removeArchive = false } = params;
|
|
3496
3488
|
|
|
3497
3489
|
this.agencyHosting_validateRequiredParams(params);
|
|
3498
3490
|
this.agencyHosting_validateArchiveFile(archivePath);
|
|
@@ -3540,7 +3532,6 @@ class MCPServer {
|
|
|
3540
3532
|
} catch (error) {
|
|
3541
3533
|
const errorMessage = error instanceof Error ? error.message : String(error);
|
|
3542
3534
|
this.log('error', `Failed to trigger import: ${errorMessage}`);
|
|
3543
|
-
const archiveRemoved = this.agencyHosting_removeArchive(archivePath, removeArchive);
|
|
3544
3535
|
|
|
3545
3536
|
return {
|
|
3546
3537
|
upload: {
|
|
@@ -3554,7 +3545,7 @@ class MCPServer {
|
|
|
3554
3545
|
error: errorMessage
|
|
3555
3546
|
},
|
|
3556
3547
|
removeArchive: {
|
|
3557
|
-
status:
|
|
3548
|
+
status: 'skipped'
|
|
3558
3549
|
}
|
|
3559
3550
|
};
|
|
3560
3551
|
}
|
|
@@ -76,7 +76,7 @@ export default [
|
|
|
76
76
|
},
|
|
77
77
|
"removeArchive": {
|
|
78
78
|
"type": "boolean",
|
|
79
|
-
"description": "Whether to remove the local archive file after successful deployment (default:
|
|
79
|
+
"description": "Whether to remove the local archive file after successful deployment (default: false)"
|
|
80
80
|
}
|
|
81
81
|
},
|
|
82
82
|
"required": [
|
|
@@ -116,7 +116,7 @@ export default [
|
|
|
116
116
|
},
|
|
117
117
|
"removeArchive": {
|
|
118
118
|
"type": "boolean",
|
|
119
|
-
"description": "Whether to remove the local archive file after successful deployment (default:
|
|
119
|
+
"description": "Whether to remove the local archive file after successful deployment (default: false)"
|
|
120
120
|
}
|
|
121
121
|
},
|
|
122
122
|
"required": [
|
|
@@ -93,7 +93,7 @@ const tools: OpenApiTool[] = [
|
|
|
93
93
|
},
|
|
94
94
|
"removeArchive": {
|
|
95
95
|
"type": "boolean",
|
|
96
|
-
"description": "Whether to remove the local archive file after successful deployment (default:
|
|
96
|
+
"description": "Whether to remove the local archive file after successful deployment (default: false)"
|
|
97
97
|
}
|
|
98
98
|
},
|
|
99
99
|
"required": [
|
|
@@ -133,7 +133,7 @@ const tools: OpenApiTool[] = [
|
|
|
133
133
|
},
|
|
134
134
|
"removeArchive": {
|
|
135
135
|
"type": "boolean",
|
|
136
|
-
"description": "Whether to remove the local archive file after successful deployment (default:
|
|
136
|
+
"description": "Whether to remove the local archive file after successful deployment (default: false)"
|
|
137
137
|
}
|
|
138
138
|
},
|
|
139
139
|
"required": [
|
package/src/core/tools/all.js
CHANGED
|
@@ -374,7 +374,7 @@ export default [
|
|
|
374
374
|
},
|
|
375
375
|
"removeArchive": {
|
|
376
376
|
"type": "boolean",
|
|
377
|
-
"description": "Whether to remove the local archive file after successful deployment (default:
|
|
377
|
+
"description": "Whether to remove the local archive file after successful deployment (default: false)"
|
|
378
378
|
}
|
|
379
379
|
},
|
|
380
380
|
"required": [
|
|
@@ -414,7 +414,7 @@ export default [
|
|
|
414
414
|
},
|
|
415
415
|
"removeArchive": {
|
|
416
416
|
"type": "boolean",
|
|
417
|
-
"description": "Whether to remove the local archive file after successful deployment (default:
|
|
417
|
+
"description": "Whether to remove the local archive file after successful deployment (default: false)"
|
|
418
418
|
}
|
|
419
419
|
},
|
|
420
420
|
"required": [
|
package/src/core/tools/all.ts
CHANGED
|
@@ -391,7 +391,7 @@ const tools: OpenApiTool[] = [
|
|
|
391
391
|
},
|
|
392
392
|
"removeArchive": {
|
|
393
393
|
"type": "boolean",
|
|
394
|
-
"description": "Whether to remove the local archive file after successful deployment (default:
|
|
394
|
+
"description": "Whether to remove the local archive file after successful deployment (default: false)"
|
|
395
395
|
}
|
|
396
396
|
},
|
|
397
397
|
"required": [
|
|
@@ -431,7 +431,7 @@ const tools: OpenApiTool[] = [
|
|
|
431
431
|
},
|
|
432
432
|
"removeArchive": {
|
|
433
433
|
"type": "boolean",
|
|
434
|
-
"description": "Whether to remove the local archive file after successful deployment (default:
|
|
434
|
+
"description": "Whether to remove the local archive file after successful deployment (default: false)"
|
|
435
435
|
}
|
|
436
436
|
},
|
|
437
437
|
"required": [
|
|
@@ -4,4 +4,4 @@ import { startServer } from '../core/runtime.js';
|
|
|
4
4
|
import tools from '../core/tools/agency-hosting.js';
|
|
5
5
|
import instructions from '../core/instructions.agency-hosting.js';
|
|
6
6
|
|
|
7
|
-
startServer({ name: 'hostinger-agency-hosting-mcp', version: '3.21.
|
|
7
|
+
startServer({ name: 'hostinger-agency-hosting-mcp', version: '3.21.2', tools, instructions });
|
|
@@ -4,4 +4,4 @@ import { startServer } from '../core/runtime.js';
|
|
|
4
4
|
import tools from '../core/tools/agency-hosting.js';
|
|
5
5
|
import instructions from '../core/instructions.agency-hosting.js';
|
|
6
6
|
|
|
7
|
-
startServer({ name: 'hostinger-agency-hosting-mcp', version: '3.21.
|
|
7
|
+
startServer({ name: 'hostinger-agency-hosting-mcp', version: '3.21.2', tools, instructions });
|
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
import { startServer } from '../core/runtime.js';
|
|
4
4
|
import tools from '../core/tools/agent-readiness.js';
|
|
5
5
|
|
|
6
|
-
startServer({ name: 'hostinger-agent-readiness-mcp', version: '3.21.
|
|
6
|
+
startServer({ name: 'hostinger-agent-readiness-mcp', version: '3.21.2', tools });
|
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
import { startServer } from '../core/runtime.js';
|
|
4
4
|
import tools from '../core/tools/agent-readiness.js';
|
|
5
5
|
|
|
6
|
-
startServer({ name: 'hostinger-agent-readiness-mcp', version: '3.21.
|
|
6
|
+
startServer({ name: 'hostinger-agent-readiness-mcp', version: '3.21.2', tools });
|
package/src/servers/all.js
CHANGED
|
@@ -5,4 +5,4 @@ import tools from '../core/tools/all.js';
|
|
|
5
5
|
import instructions from '../core/instructions.js';
|
|
6
6
|
import skills from '../core/skills.js';
|
|
7
7
|
|
|
8
|
-
startServer({ name: 'hostinger-api-mcp', version: '3.21.
|
|
8
|
+
startServer({ name: 'hostinger-api-mcp', version: '3.21.2', tools, instructions, skills });
|
package/src/servers/all.ts
CHANGED
|
@@ -5,4 +5,4 @@ import tools from '../core/tools/all.js';
|
|
|
5
5
|
import instructions from '../core/instructions.js';
|
|
6
6
|
import skills from '../core/skills.js';
|
|
7
7
|
|
|
8
|
-
startServer({ name: 'hostinger-api-mcp', version: '3.21.
|
|
8
|
+
startServer({ name: 'hostinger-api-mcp', version: '3.21.2', tools, instructions, skills });
|
package/src/servers/billing.js
CHANGED
package/src/servers/billing.ts
CHANGED
package/src/servers/dns.js
CHANGED
package/src/servers/dns.ts
CHANGED
package/src/servers/domains.js
CHANGED
package/src/servers/domains.ts
CHANGED
package/src/servers/ecommerce.js
CHANGED
package/src/servers/ecommerce.ts
CHANGED
package/src/servers/horizons.js
CHANGED
package/src/servers/horizons.ts
CHANGED
package/src/servers/hosting.js
CHANGED
|
@@ -4,4 +4,4 @@ import { startServer } from '../core/runtime.js';
|
|
|
4
4
|
import tools from '../core/tools/hosting.js';
|
|
5
5
|
import instructions from '../core/instructions.js';
|
|
6
6
|
|
|
7
|
-
startServer({ name: 'hostinger-hosting-mcp', version: '3.21.
|
|
7
|
+
startServer({ name: 'hostinger-hosting-mcp', version: '3.21.2', tools, instructions });
|
package/src/servers/hosting.ts
CHANGED
|
@@ -4,4 +4,4 @@ import { startServer } from '../core/runtime.js';
|
|
|
4
4
|
import tools from '../core/tools/hosting.js';
|
|
5
5
|
import instructions from '../core/instructions.js';
|
|
6
6
|
|
|
7
|
-
startServer({ name: 'hostinger-hosting-mcp', version: '3.21.
|
|
7
|
+
startServer({ name: 'hostinger-hosting-mcp', version: '3.21.2', tools, instructions });
|
package/src/servers/mail.js
CHANGED
package/src/servers/mail.ts
CHANGED
package/src/servers/reach.js
CHANGED
package/src/servers/reach.ts
CHANGED
package/src/servers/vps.js
CHANGED
package/src/servers/vps.ts
CHANGED
package/src/servers/wordpress.js
CHANGED
package/src/servers/wordpress.ts
CHANGED
package/types.d.ts
CHANGED
|
@@ -167,7 +167,7 @@ export interface APITools {
|
|
|
167
167
|
*/
|
|
168
168
|
archivePath: string;
|
|
169
169
|
/**
|
|
170
|
-
* Whether to remove the local archive file after successful deployment (default:
|
|
170
|
+
* Whether to remove the local archive file after successful deployment (default: false)
|
|
171
171
|
*/
|
|
172
172
|
removeArchive?: boolean;
|
|
173
173
|
};
|
|
@@ -188,7 +188,7 @@ export interface APITools {
|
|
|
188
188
|
*/
|
|
189
189
|
archivePath: string;
|
|
190
190
|
/**
|
|
191
|
-
* Whether to remove the local archive file after successful deployment (default:
|
|
191
|
+
* Whether to remove the local archive file after successful deployment (default: false)
|
|
192
192
|
*/
|
|
193
193
|
removeArchive?: boolean;
|
|
194
194
|
};
|
package/.env.example
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
# API Configuration
|
|
2
|
-
TRANSPORT=stdio # Fixed to stdio
|
|
3
|
-
|
|
4
|
-
# Debug
|
|
5
|
-
DEBUG=false
|
|
6
|
-
|
|
7
|
-
# OAuth Configuration (used when HOSTINGER_API_TOKEN is not set — stdio mode only)
|
|
8
|
-
# Uncomment to override the default OAuth issuer:
|
|
9
|
-
# OAUTH_ISSUER=https://auth.hostinger.com
|
|
10
|
-
|
|
11
|
-
# --- Authorization Configuration ---
|
|
12
|
-
# Example for HTTP Bearer Token "apiToken"
|
|
13
|
-
APITOKEN=YOUR_TOKEN_VALUE
|
|
14
|
-
|