@hostinger/mcp 4.0.1 → 4.0.3
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 +26 -0
- package/gemini-extension.json +1 -1
- package/package.json +1 -1
- package/server.json +2 -2
- package/skills/headless/VERSION +3 -3
- package/src/core/runtime.js +11 -3
- package/src/core/runtime.ts +14 -3
- package/src/core/tools/agency-hosting.js +58 -12
- package/src/core/tools/agency-hosting.ts +59 -12
- package/src/core/tools/agent-readiness.js +4 -1
- package/src/core/tools/agent-readiness.ts +5 -1
- package/src/core/tools/all.js +1007 -154
- package/src/core/tools/all.ts +1008 -154
- package/src/core/tools/billing.js +11 -2
- package/src/core/tools/billing.ts +12 -2
- package/src/core/tools/dns.js +56 -5
- package/src/core/tools/dns.ts +57 -5
- package/src/core/tools/domains.js +90 -15
- package/src/core/tools/domains.ts +91 -15
- package/src/core/tools/ecommerce.js +95 -14
- package/src/core/tools/ecommerce.ts +96 -14
- package/src/core/tools/gpu.js +14 -2
- package/src/core/tools/gpu.ts +15 -2
- package/src/core/tools/horizons.js +12 -3
- package/src/core/tools/horizons.ts +13 -3
- package/src/core/tools/hosting.js +148 -14
- package/src/core/tools/hosting.ts +149 -14
- package/src/core/tools/mail.js +59 -10
- package/src/core/tools/mail.ts +60 -10
- package/src/core/tools/reach.js +221 -32
- package/src/core/tools/reach.ts +222 -32
- package/src/core/tools/vps.js +124 -26
- package/src/core/tools/vps.ts +125 -26
- package/src/core/tools/wordpress.js +118 -21
- package/src/core/tools/wordpress.ts +119 -21
- 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/gpu.js +1 -1
- package/src/servers/gpu.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 +53 -2
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: '4.0.
|
|
7
|
+
startServer({ name: 'hostinger-hosting-mcp', version: '4.0.3', 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: '4.0.
|
|
7
|
+
startServer({ name: 'hostinger-hosting-mcp', version: '4.0.3', 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
|
@@ -1566,6 +1566,10 @@ Use this endpoint to remove specific DNS records from domains.
|
|
|
1566
1566
|
* Domain name
|
|
1567
1567
|
*/
|
|
1568
1568
|
domain: string;
|
|
1569
|
+
/**
|
|
1570
|
+
* Filter records for deletion
|
|
1571
|
+
*/
|
|
1572
|
+
filters: array;
|
|
1569
1573
|
};
|
|
1570
1574
|
response: any; // Response structure will depend on the API
|
|
1571
1575
|
};
|
|
@@ -8366,6 +8370,14 @@ finished. The tag itself and the contacts are not deleted.
|
|
|
8366
8370
|
* Tag uuid parameter
|
|
8367
8371
|
*/
|
|
8368
8372
|
tagUuid: string;
|
|
8373
|
+
/**
|
|
8374
|
+
* Contacts to apply the change to. Required unless all_contacts is true.
|
|
8375
|
+
*/
|
|
8376
|
+
contact_uuids?: array;
|
|
8377
|
+
/**
|
|
8378
|
+
* Apply to every contact in the profile
|
|
8379
|
+
*/
|
|
8380
|
+
all_contacts?: boolean;
|
|
8369
8381
|
};
|
|
8370
8382
|
response: any; // Response structure will depend on the API
|
|
8371
8383
|
};
|
|
@@ -8634,6 +8646,10 @@ a conflict.
|
|
|
8634
8646
|
* Form uuid parameter
|
|
8635
8647
|
*/
|
|
8636
8648
|
formUuid: string;
|
|
8649
|
+
/**
|
|
8650
|
+
* tag_uuid parameter
|
|
8651
|
+
*/
|
|
8652
|
+
tag_uuid: string;
|
|
8637
8653
|
};
|
|
8638
8654
|
response: any; // Response structure will depend on the API
|
|
8639
8655
|
};
|
|
@@ -8736,6 +8752,10 @@ before calling.
|
|
|
8736
8752
|
* Profile uuid parameter
|
|
8737
8753
|
*/
|
|
8738
8754
|
profileUuid: string;
|
|
8755
|
+
/**
|
|
8756
|
+
* domain parameter
|
|
8757
|
+
*/
|
|
8758
|
+
domain: string;
|
|
8739
8759
|
};
|
|
8740
8760
|
response: any; // Response structure will depend on the API
|
|
8741
8761
|
};
|
|
@@ -9125,6 +9145,10 @@ it is connected again, so confirm the site and the plan with the customer before
|
|
|
9125
9145
|
* Profile uuid parameter
|
|
9126
9146
|
*/
|
|
9127
9147
|
profileUuid: string;
|
|
9148
|
+
/**
|
|
9149
|
+
* domain parameter
|
|
9150
|
+
*/
|
|
9151
|
+
domain: string;
|
|
9128
9152
|
};
|
|
9129
9153
|
response: any; // Response structure will depend on the API
|
|
9130
9154
|
};
|
|
@@ -9144,6 +9168,10 @@ from the WordPress plugin - so confirm the site and the plan with the customer b
|
|
|
9144
9168
|
* Profile uuid parameter
|
|
9145
9169
|
*/
|
|
9146
9170
|
profileUuid: string;
|
|
9171
|
+
/**
|
|
9172
|
+
* domain parameter
|
|
9173
|
+
*/
|
|
9174
|
+
domain: string;
|
|
9147
9175
|
};
|
|
9148
9176
|
response: any; // Response structure will depend on the API
|
|
9149
9177
|
};
|
|
@@ -9882,6 +9910,10 @@ Use this endpoint to revoke SSH key access to VPS instances.
|
|
|
9882
9910
|
* Virtual Machine ID
|
|
9883
9911
|
*/
|
|
9884
9912
|
virtualMachineId: number;
|
|
9913
|
+
/**
|
|
9914
|
+
* SSH public keys in OpenSSH format to remove
|
|
9915
|
+
*/
|
|
9916
|
+
keys: array;
|
|
9885
9917
|
};
|
|
9886
9918
|
response: any; // Response structure will depend on the API
|
|
9887
9919
|
};
|
|
@@ -10299,7 +10331,9 @@ Use this endpoint to configure control panel access credentials for VPS instance
|
|
|
10299
10331
|
*/
|
|
10300
10332
|
virtualMachineId: number;
|
|
10301
10333
|
/**
|
|
10302
|
-
* Panel password for the virtual machine
|
|
10334
|
+
* Panel password for the virtual machine.
|
|
10335
|
+
12 to 50 characters with an uppercase letter, a lowercase letter, a number and at least one of
|
|
10336
|
+
#%+:?@ (no other symbols). Known compromised passwords are rejected.
|
|
10303
10337
|
*/
|
|
10304
10338
|
password: string;
|
|
10305
10339
|
};
|
|
@@ -10381,12 +10415,16 @@ Use this endpoint to completely rebuild VPS instances with fresh OS installation
|
|
|
10381
10415
|
/**
|
|
10382
10416
|
* Root password for the virtual machine. If not provided, random password will be generated.
|
|
10383
10417
|
Password will not be shown in the response.
|
|
10418
|
+
12 to 50 characters with an uppercase letter, a lowercase letter, a number and at least one of
|
|
10419
|
+
-().&@?'#;/,+ (no other symbols). Known compromised passwords are rejected.
|
|
10384
10420
|
*/
|
|
10385
10421
|
password?: string;
|
|
10386
10422
|
/**
|
|
10387
10423
|
* Panel password for the panel-based OS template. If not provided, random password will be generated.
|
|
10388
10424
|
If OS does not support panel_password this field will be ignored.
|
|
10389
10425
|
Password will not be shown in the response.
|
|
10426
|
+
12 to 50 characters with an uppercase letter, a lowercase letter, a number and at least one of
|
|
10427
|
+
#%+:?@ (no other symbols). Known compromised passwords are rejected.
|
|
10390
10428
|
*/
|
|
10391
10429
|
panel_password?: string;
|
|
10392
10430
|
/**
|
|
@@ -10429,7 +10467,9 @@ Use this endpoint to update administrator credentials for VPS instances.
|
|
|
10429
10467
|
*/
|
|
10430
10468
|
virtualMachineId: number;
|
|
10431
10469
|
/**
|
|
10432
|
-
* Root password for the virtual machine
|
|
10470
|
+
* Root password for the virtual machine.
|
|
10471
|
+
12 to 50 characters with an uppercase letter, a lowercase letter, a number and at least one of
|
|
10472
|
+
-().&@?'#;/,+ (no other symbols). Known compromised passwords are rejected.
|
|
10433
10473
|
*/
|
|
10434
10474
|
password: string;
|
|
10435
10475
|
};
|
|
@@ -10462,6 +10502,9 @@ Use this endpoint to configure and initialize purchased VPS instances.
|
|
|
10462
10502
|
/**
|
|
10463
10503
|
* Password for the virtual machine. If not provided, random password will be generated.
|
|
10464
10504
|
Password will not be shown in the response.
|
|
10505
|
+
Used as both the root and the panel password, so it must pass both rules: 12 to 50 characters
|
|
10506
|
+
with an uppercase letter, a lowercase letter, a number and at least one of # + ? @ (no other symbols).
|
|
10507
|
+
Known compromised passwords are rejected.
|
|
10465
10508
|
*/
|
|
10466
10509
|
password?: string;
|
|
10467
10510
|
/**
|
|
@@ -10799,6 +10842,14 @@ be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
|
10799
10842
|
* WordPress installation (software) identifier
|
|
10800
10843
|
*/
|
|
10801
10844
|
software: string;
|
|
10845
|
+
/**
|
|
10846
|
+
* Delete installation files from disk.
|
|
10847
|
+
*/
|
|
10848
|
+
delete_files?: boolean;
|
|
10849
|
+
/**
|
|
10850
|
+
* Delete the installation database.
|
|
10851
|
+
*/
|
|
10852
|
+
delete_database?: boolean;
|
|
10802
10853
|
};
|
|
10803
10854
|
response: any; // Response structure will depend on the API
|
|
10804
10855
|
};
|