hostinger-api-mcp 1.35.6 → 1.37.0
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/README.md +106 -31
- package/gemini-extension.json +1 -1
- package/package.json +1 -1
- package/server.json +2 -2
- package/src/core/runtime.js +1 -1
- package/src/core/runtime.ts +1 -1
- package/src/core/tools/agency-hosting.js +25 -25
- package/src/core/tools/agency-hosting.ts +25 -25
- package/src/core/tools/all.js +287 -30
- package/src/core/tools/all.ts +287 -30
- package/src/core/tools/ecommerce.js +37 -5
- package/src/core/tools/ecommerce.ts +37 -5
- package/src/core/tools/reach.js +225 -0
- package/src/core/tools/reach.ts +225 -0
- package/src/servers/agency-hosting.js +1 -1
- package/src/servers/agency-hosting.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 +218 -30
|
@@ -83,7 +83,7 @@ const tools: OpenApiTool[] = [
|
|
|
83
83
|
"group": "agency-hosting"
|
|
84
84
|
},
|
|
85
85
|
{
|
|
86
|
-
"name": "agency-
|
|
86
|
+
"name": "agency-hosting_listAvailableDatacentersV1",
|
|
87
87
|
"description": "Lists the datacenters available for provisioning a new website on the given Agency Plan\nhosting order.\n\nEach datacenter includes a `pinger_url` you can ping from the client to measure round-trip\nlatency; comparing the results across datacenters lets you pick the nearest one (lowest\nping) before choosing its `code` as the `datacenter_code` when creating a website setup.",
|
|
88
88
|
"method": "GET",
|
|
89
89
|
"path": "/api/agency-hosting/v1/orders/{order_id}/datacenters",
|
|
@@ -107,7 +107,7 @@ const tools: OpenApiTool[] = [
|
|
|
107
107
|
"group": "agency-hosting"
|
|
108
108
|
},
|
|
109
109
|
{
|
|
110
|
-
"name": "agency-
|
|
110
|
+
"name": "agency-hosting_changeWebsiteDomainV1",
|
|
111
111
|
"description": "Changes the primary domain for an Agency Plan website.\n\nProvide the current domain in the path and the new domain in the request body.\nSet domain to null to revert to the temporary domain.",
|
|
112
112
|
"method": "PUT",
|
|
113
113
|
"path": "/api/agency-hosting/v1/websites/{website_uid}/domains/{from_domain}",
|
|
@@ -141,7 +141,7 @@ const tools: OpenApiTool[] = [
|
|
|
141
141
|
"group": "agency-hosting"
|
|
142
142
|
},
|
|
143
143
|
{
|
|
144
|
-
"name": "agency-
|
|
144
|
+
"name": "agency-hosting_linkDomainToWebsiteV1",
|
|
145
145
|
"description": "Links a domain to the specified Agency Plan website so it can serve traffic for that domain.",
|
|
146
146
|
"method": "POST",
|
|
147
147
|
"path": "/api/agency-hosting/v1/websites/{website_uid}/domains",
|
|
@@ -170,7 +170,7 @@ const tools: OpenApiTool[] = [
|
|
|
170
170
|
"group": "agency-hosting"
|
|
171
171
|
},
|
|
172
172
|
{
|
|
173
|
-
"name": "agency-
|
|
173
|
+
"name": "agency-hosting_listDomainsV1",
|
|
174
174
|
"description": "Returns a paginated list of domains associated with Agency Plan websites accessible to the authenticated client.\n\nUse the website_uuids filter to narrow results to specific websites.",
|
|
175
175
|
"method": "GET",
|
|
176
176
|
"path": "/api/agency-hosting/v1/domains",
|
|
@@ -204,7 +204,7 @@ const tools: OpenApiTool[] = [
|
|
|
204
204
|
"group": "agency-hosting"
|
|
205
205
|
},
|
|
206
206
|
{
|
|
207
|
-
"name": "agency-
|
|
207
|
+
"name": "agency-hosting_unlinkDomainFromWebsiteV1",
|
|
208
208
|
"description": "Unlinks a domain from the specified Agency Plan website.\n\nThe website stops serving traffic on this domain immediately.\n\nWebsite files and database are preserved, and any other linked domains remain accessible.\n\nIf this is the only domain on the website, unlinking leaves the website without an accessible domain.",
|
|
209
209
|
"method": "DELETE",
|
|
210
210
|
"path": "/api/agency-hosting/v1/websites/{website_uid}/domains/{domain}",
|
|
@@ -233,7 +233,7 @@ const tools: OpenApiTool[] = [
|
|
|
233
233
|
"group": "agency-hosting"
|
|
234
234
|
},
|
|
235
235
|
{
|
|
236
|
-
"name": "agency-
|
|
236
|
+
"name": "agency-hosting_importWebsiteFromArchiveV1",
|
|
237
237
|
"description": "Imports an Agency Plan website from an already-uploaded archive.\n\nUpload the archive to the website's root directory via file browser first, then provide its\nfilename in this request. Website contents are overwritten by the archive contents. Supported\narchive types: .zip, .tar, .tar.gz, .tgz.",
|
|
238
238
|
"method": "POST",
|
|
239
239
|
"path": "/api/agency-hosting/v1/websites/{website_uid}/files/import-archive",
|
|
@@ -262,7 +262,7 @@ const tools: OpenApiTool[] = [
|
|
|
262
262
|
"group": "agency-hosting"
|
|
263
263
|
},
|
|
264
264
|
{
|
|
265
|
-
"name": "agency-
|
|
265
|
+
"name": "agency-hosting_listOrdersV1",
|
|
266
266
|
"description": "Returns a paginated list of Agency Plan orders accessible to the authenticated client.",
|
|
267
267
|
"method": "GET",
|
|
268
268
|
"path": "/api/agency-hosting/v1/orders",
|
|
@@ -288,7 +288,7 @@ const tools: OpenApiTool[] = [
|
|
|
288
288
|
"group": "agency-hosting"
|
|
289
289
|
},
|
|
290
290
|
{
|
|
291
|
-
"name": "agency-
|
|
291
|
+
"name": "agency-hosting_createANewWebsiteV1",
|
|
292
292
|
"description": "Provisions a new website on one of your Agency Plan hosting orders.\n\nChoose the datacenter, stack (`flavor`), and PHP version for the site. Optionally attach\nyour own `domain` — omit it, set it to `null`, or leave it unavailable and a free\n`*.hostingersite.com` subdomain is generated instead — and/or install WordPress by\nsupplying the `wordpress` details (admin account, site title, and language).\n\nCommon setups:\n- **Plain PHP site**: `flavor` set to `php-fpm`, with `settings.php.version`; omit\n `wordpress` and `type`.\n- **WordPress site**: `flavor` set to the desired WordPress version (e.g. `wp-7.0`), plus\n the `wordpress` block (admin account, title, language).\n- **Static/Node.js frontend app**: `flavor` set to `php-fpm` and `type` set to\n `node-static`.\n\nProvisioning runs in the background, so the response returns immediately with a setup UUID\nthat identifies the job. The new website becomes reachable once provisioning finishes.",
|
|
293
293
|
"method": "POST",
|
|
294
294
|
"path": "/api/agency-hosting/v1/orders/{order_id}/websites/setups",
|
|
@@ -439,7 +439,7 @@ const tools: OpenApiTool[] = [
|
|
|
439
439
|
"group": "agency-hosting"
|
|
440
440
|
},
|
|
441
441
|
{
|
|
442
|
-
"name": "agency-
|
|
442
|
+
"name": "agency-hosting_getWebsiteSetupStatusV1",
|
|
443
443
|
"description": "Returns the current status of an Agency Plan website setup started via the setups\nendpoint.\n\nPoll this endpoint using the `setup_uuid` returned from the provisioning request until\n`status` becomes `completed`, at which point `website_uid` identifies the new website.",
|
|
444
444
|
"method": "GET",
|
|
445
445
|
"path": "/api/agency-hosting/v1/orders/{order_id}/websites/setups/{setup_uuid}",
|
|
@@ -468,7 +468,7 @@ const tools: OpenApiTool[] = [
|
|
|
468
468
|
"group": "agency-hosting"
|
|
469
469
|
},
|
|
470
470
|
{
|
|
471
|
-
"name": "agency-
|
|
471
|
+
"name": "agency-hosting_buildWebsiteNodeJSAssetsV1",
|
|
472
472
|
"description": "Builds and deploys a Node.js application for an Agency Plan website from an already-uploaded archive.\n\nUpload the archive to file browser first, then provide its relative path from document root in this request.\nWebsite contents are overwritten by the build result, which is deployed to public_html.",
|
|
473
473
|
"method": "POST",
|
|
474
474
|
"path": "/api/agency-hosting/v1/websites/{website_uid}/build-assets",
|
|
@@ -497,7 +497,7 @@ const tools: OpenApiTool[] = [
|
|
|
497
497
|
"group": "agency-hosting"
|
|
498
498
|
},
|
|
499
499
|
{
|
|
500
|
-
"name": "agency-
|
|
500
|
+
"name": "agency-hosting_clearWebsiteCacheV1",
|
|
501
501
|
"description": "Clears cache for all domains associated with an Agency Plan website, including its preview domain.\n\nThis operation clears all cache types for the website.",
|
|
502
502
|
"method": "DELETE",
|
|
503
503
|
"path": "/api/agency-hosting/v1/websites/{website_uid}/cache",
|
|
@@ -521,7 +521,7 @@ const tools: OpenApiTool[] = [
|
|
|
521
521
|
"group": "agency-hosting"
|
|
522
522
|
},
|
|
523
523
|
{
|
|
524
|
-
"name": "agency-
|
|
524
|
+
"name": "agency-hosting_listWebsiteCronJobsV1",
|
|
525
525
|
"description": "Returns a paginated list of cron jobs configured for an Agency Plan website.\n\nEach entry includes the schedule expression and the command executed on that schedule.",
|
|
526
526
|
"method": "GET",
|
|
527
527
|
"path": "/api/agency-hosting/v1/websites/{website_uid}/cron-jobs",
|
|
@@ -553,7 +553,7 @@ const tools: OpenApiTool[] = [
|
|
|
553
553
|
"group": "agency-hosting"
|
|
554
554
|
},
|
|
555
555
|
{
|
|
556
|
-
"name": "agency-
|
|
556
|
+
"name": "agency-hosting_createWebsiteCronJobV1",
|
|
557
557
|
"description": "Creates a cron job for an Agency Plan website from a schedule expression and a command.\n\nReturns the created cron job, including its uuid, which is required to delete the cron job.",
|
|
558
558
|
"method": "POST",
|
|
559
559
|
"path": "/api/agency-hosting/v1/websites/{website_uid}/cron-jobs",
|
|
@@ -587,7 +587,7 @@ const tools: OpenApiTool[] = [
|
|
|
587
587
|
"group": "agency-hosting"
|
|
588
588
|
},
|
|
589
589
|
{
|
|
590
|
-
"name": "agency-
|
|
590
|
+
"name": "agency-hosting_deleteWebsiteCronJobV1",
|
|
591
591
|
"description": "Permanently deletes the cron job identified by its uuid from an Agency Plan website.\n\nThe operation is idempotent: deleting a cron job that does not exist succeeds without error.",
|
|
592
592
|
"method": "DELETE",
|
|
593
593
|
"path": "/api/agency-hosting/v1/websites/{website_uid}/cron-jobs/{uuid}",
|
|
@@ -616,7 +616,7 @@ const tools: OpenApiTool[] = [
|
|
|
616
616
|
"group": "agency-hosting"
|
|
617
617
|
},
|
|
618
618
|
{
|
|
619
|
-
"name": "agency-
|
|
619
|
+
"name": "agency-hosting_listWebsiteDatabasesV1",
|
|
620
620
|
"description": "Returns a paginated list of MySQL databases created for an Agency Plan website.\n\nEach entry includes the database's non-system users.",
|
|
621
621
|
"method": "GET",
|
|
622
622
|
"path": "/api/agency-hosting/v1/websites/{website_uid}/databases",
|
|
@@ -648,7 +648,7 @@ const tools: OpenApiTool[] = [
|
|
|
648
648
|
"group": "agency-hosting"
|
|
649
649
|
},
|
|
650
650
|
{
|
|
651
|
-
"name": "agency-
|
|
651
|
+
"name": "agency-hosting_createWebsiteDatabaseV1",
|
|
652
652
|
"description": "Creates a MySQL database with a dedicated user for an Agency Plan website.\n\nThe database name, username, and password must all be provided by the caller.",
|
|
653
653
|
"method": "POST",
|
|
654
654
|
"path": "/api/agency-hosting/v1/websites/{website_uid}/databases",
|
|
@@ -687,7 +687,7 @@ const tools: OpenApiTool[] = [
|
|
|
687
687
|
"group": "agency-hosting"
|
|
688
688
|
},
|
|
689
689
|
{
|
|
690
|
-
"name": "agency-
|
|
690
|
+
"name": "agency-hosting_deleteWebsiteDatabaseV1",
|
|
691
691
|
"description": "Permanently deletes a MySQL database and all its data from an Agency Plan website, including its users.\n\nThe operation is idempotent: deleting a database that does not exist succeeds without error.",
|
|
692
692
|
"method": "DELETE",
|
|
693
693
|
"path": "/api/agency-hosting/v1/websites/{website_uid}/databases/{database_name}",
|
|
@@ -716,7 +716,7 @@ const tools: OpenApiTool[] = [
|
|
|
716
716
|
"group": "agency-hosting"
|
|
717
717
|
},
|
|
718
718
|
{
|
|
719
|
-
"name": "agency-
|
|
719
|
+
"name": "agency-hosting_createWebsiteDatabaseUserV1",
|
|
720
720
|
"description": "Creates a user for an existing database on an Agency Plan website.\n\nEach database supports a single non-system user; creating a user for a database that already has one fails.",
|
|
721
721
|
"method": "POST",
|
|
722
722
|
"path": "/api/agency-hosting/v1/websites/{website_uid}/databases/{database_name}/users",
|
|
@@ -759,7 +759,7 @@ const tools: OpenApiTool[] = [
|
|
|
759
759
|
"group": "agency-hosting"
|
|
760
760
|
},
|
|
761
761
|
{
|
|
762
|
-
"name": "agency-
|
|
762
|
+
"name": "agency-hosting_deleteWebsiteDatabaseUserV1",
|
|
763
763
|
"description": "Permanently deletes a database user from an Agency Plan website database, revoking all access it had.\n\nThe operation is idempotent: deleting a user that does not exist succeeds without error.",
|
|
764
764
|
"method": "DELETE",
|
|
765
765
|
"path": "/api/agency-hosting/v1/websites/{website_uid}/databases/{database_name}/users/{database_user_name}",
|
|
@@ -793,7 +793,7 @@ const tools: OpenApiTool[] = [
|
|
|
793
793
|
"group": "agency-hosting"
|
|
794
794
|
},
|
|
795
795
|
{
|
|
796
|
-
"name": "agency-
|
|
796
|
+
"name": "agency-hosting_getWebsiteDetailsV1",
|
|
797
797
|
"description": "Retrieves detailed information about a specific Agency Plan website, including configuration,\nstatus, metadata, hosting plan details, and resource quotas.",
|
|
798
798
|
"method": "GET",
|
|
799
799
|
"path": "/api/agency-hosting/v1/websites/{website_uid}",
|
|
@@ -817,7 +817,7 @@ const tools: OpenApiTool[] = [
|
|
|
817
817
|
"group": "agency-hosting"
|
|
818
818
|
},
|
|
819
819
|
{
|
|
820
|
-
"name": "agency-
|
|
820
|
+
"name": "agency-hosting_deleteWebsiteV1",
|
|
821
821
|
"description": "Permanently deletes an Agency Plan website. Deletion is processed asynchronously: the\nwebsite is immediately transitioned to a deleting state and the underlying server\nresources are removed in the background.",
|
|
822
822
|
"method": "DELETE",
|
|
823
823
|
"path": "/api/agency-hosting/v1/websites/{website_uid}",
|
|
@@ -841,7 +841,7 @@ const tools: OpenApiTool[] = [
|
|
|
841
841
|
"group": "agency-hosting"
|
|
842
842
|
},
|
|
843
843
|
{
|
|
844
|
-
"name": "agency-
|
|
844
|
+
"name": "agency-hosting_listWebsiteProcessesV1",
|
|
845
845
|
"description": "Lists active and recently completed asynchronous processes for an Agency Plan website.\n\nEach process has a unique ID (for tracking), a type, and a status (running, completed, failed).\nPoll this endpoint after initiating async operations (SSL setup, backups, cloning) to track progress.",
|
|
846
846
|
"method": "GET",
|
|
847
847
|
"path": "/api/agency-hosting/v1/websites/{website_uid}/processes",
|
|
@@ -865,7 +865,7 @@ const tools: OpenApiTool[] = [
|
|
|
865
865
|
"group": "agency-hosting"
|
|
866
866
|
},
|
|
867
867
|
{
|
|
868
|
-
"name": "agency-
|
|
868
|
+
"name": "agency-hosting_changeWordPressVersionV1",
|
|
869
869
|
"description": "Changes the installed WordPress core version on an Agency Plan website to one of the versions available for installation.",
|
|
870
870
|
"method": "PATCH",
|
|
871
871
|
"path": "/api/agency-hosting/v1/websites/{website_uid}/wordpress/settings/version",
|
|
@@ -894,7 +894,7 @@ const tools: OpenApiTool[] = [
|
|
|
894
894
|
"group": "agency-hosting"
|
|
895
895
|
},
|
|
896
896
|
{
|
|
897
|
-
"name": "agency-
|
|
897
|
+
"name": "agency-hosting_getWordPressSettingsV1",
|
|
898
898
|
"description": "Returns the current WordPress settings for an Agency Plan website: installed core version,\nLiteSpeed Cache plugin status, object cache status, and maintenance mode status.",
|
|
899
899
|
"method": "GET",
|
|
900
900
|
"path": "/api/agency-hosting/v1/websites/{website_uid}/wordpress/settings",
|
|
@@ -918,7 +918,7 @@ const tools: OpenApiTool[] = [
|
|
|
918
918
|
"group": "agency-hosting"
|
|
919
919
|
},
|
|
920
920
|
{
|
|
921
|
-
"name": "agency-
|
|
921
|
+
"name": "agency-hosting_listAvailableWordPressVersionsV1",
|
|
922
922
|
"description": "Lists the WordPress core versions available for installation on an Agency Plan website.",
|
|
923
923
|
"method": "GET",
|
|
924
924
|
"path": "/api/agency-hosting/v1/websites/{website_uid}/wordpress/settings/versions",
|