@hostinger/mcp 3.38.4 → 3.39.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.
- package/CHANGELOG.md +25 -0
- package/README.md +126 -9
- package/gemini-extension.json +1 -1
- package/package.json +1 -1
- package/server.json +2 -2
- package/skills/headless/VERSION +2 -2
- package/src/core/instructions.agency-hosting.js +1 -1
- package/src/core/instructions.agency-hosting.ts +1 -1
- package/src/core/instructions.js +1 -1
- package/src/core/instructions.ts +1 -1
- package/src/core/runtime.js +1 -1
- package/src/core/runtime.ts +1 -1
- package/src/core/tools/all.js +192 -4
- package/src/core/tools/all.ts +192 -4
- package/src/core/tools/hosting.js +190 -2
- package/src/core/tools/hosting.ts +190 -2
- package/src/core/tools/wordpress.js +2 -2
- package/src/core/tools/wordpress.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/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 +190 -9
|
@@ -3550,7 +3550,7 @@ const tools: OpenApiTool[] = [
|
|
|
3550
3550
|
"readOnlyHint": false,
|
|
3551
3551
|
"destructiveHint": false
|
|
3552
3552
|
},
|
|
3553
|
-
"description": "Starts a website setup on a Web or Cloud hosting order and returns the created setup\nright away; the website itself is provisioned asynchronously. Poll the list website\nsetups endpoint (`hosting_websites_list-setups`) with the `domain` filter every 10 to 15\nseconds and wait for `status: completed` before uploading files, deploying or creating\ndatabases.\n\nOmit `type` for an empty website. `type: wordpress` installs WordPress in the website\nroot with the admin user, email and password from `wordpress`, the domain as the site\ntitle, and `en_US` when `wordpress.language` is omitted. The headless types\n(`headless_empty`, `headless_wordpress`, `headless_ecommerce`, `headless_pocketbase`)\ncreate a headless website; `headless_wordpress` additionally installs WordPress into the\n`cms` directory of the website root with generated credentials. `headless_empty` installs
|
|
3553
|
+
"description": "Starts a website setup on a Web or Cloud hosting order and returns the created setup\nright away; the website itself is provisioned asynchronously. Poll the list website\nsetups endpoint (`hosting_websites_list-setups`) with the `domain` filter every 10 to 15\nseconds and wait for `status: completed` before uploading files, deploying or creating\ndatabases.\n\nOmit `type` for an empty website. `type: wordpress` installs WordPress in the website\nroot with the admin user, email and password from `wordpress`, the domain as the site\ntitle, and `en_US` when `wordpress.language` is omitted. The headless types\n(`headless_empty`, `headless_wordpress`, `headless_ecommerce`, `headless_pocketbase`)\ncreate a headless website; `headless_wordpress` additionally installs WordPress into the\n`cms` directory of the website root with generated credentials. `headless_pocketbase`\nmarks the website as a headless PocketBase website but installs nothing: create its\nPocketBase backend with `Create PocketBase backend`\n(`POST /api/hosting/v1/accounts/{username}/websites/{domain}/pocketbase`) once the setup\nis `completed`. `headless_empty` installs nothing either: WordPress can be added later\nthrough `POST /api/hosting/v1/accounts/{username}/wordpress/installations`\n(`wordpress_installations_install`) with `type: headless`, or a PocketBase backend through\nthe same PocketBase endpoint.\n\nOmit `domain` to set the website up on a generated temporary free subdomain; the created\nsetup returns it as `domain`. REST clients that need to know the free subdomain before the\ncall, so a timed-out call can be looked up and retried on the same domain, can generate\none through `POST /api/hosting/v1/domains/free-subdomains` and send it as `domain`. It is\naccepted for 24 hours, only from the client that generated it.\n\nWhen the order has no hosting account yet, the setup creates one first, in the datacenter\ngiven by `datacenter_code` or the order's default datacenter when it is omitted.\nReturns 404 when the order does not exist or is not accessible to the authenticated\nclient, and 409 with a `Retry-After` header while a setup for the same domain is still\nrunning.",
|
|
3554
3554
|
"method": "POST",
|
|
3555
3555
|
"path": "/api/hosting/v1/orders/{order_id}/onboardings",
|
|
3556
3556
|
"inputSchema": {
|
|
@@ -3562,7 +3562,7 @@ const tools: OpenApiTool[] = [
|
|
|
3562
3562
|
},
|
|
3563
3563
|
"type": {
|
|
3564
3564
|
"type": "string",
|
|
3565
|
-
"description": "Website type. Omit or `null` for an empty website. `wordpress` installs WordPress in the website root and requires `wordpress`. The headless types (`headless_empty`, `headless_wordpress`, `headless_ecommerce`, `headless_pocketbase`) create a headless website; `headless_wordpress` additionally installs WordPress into the `cms` directory with generated credentials. `headless_empty` installs nothing, so WordPress can be added later through `POST /api/hosting/v1/accounts/{username}/wordpress/installations` (`wordpress_installations_install`) with `type: headless
|
|
3565
|
+
"description": "Website type. Omit or `null` for an empty website. `wordpress` installs WordPress in the website root and requires `wordpress`. The headless types (`headless_empty`, `headless_wordpress`, `headless_ecommerce`, `headless_pocketbase`) create a headless website; `headless_wordpress` additionally installs WordPress into the `cms` directory with generated credentials. `headless_pocketbase` only marks the website as a headless PocketBase website: create the backend afterwards with `Create PocketBase backend` (`POST /api/hosting/v1/accounts/{username}/websites/{domain}/pocketbase`). `headless_empty` installs nothing, so WordPress can be added later through `POST /api/hosting/v1/accounts/{username}/wordpress/installations` (`wordpress_installations_install`) with `type: headless`, or a PocketBase backend through the PocketBase endpoint.",
|
|
3566
3566
|
"enum": [
|
|
3567
3567
|
"wordpress",
|
|
3568
3568
|
"headless_empty",
|
|
@@ -3930,6 +3930,194 @@ const tools: OpenApiTool[] = [
|
|
|
3930
3930
|
"group": "hosting",
|
|
3931
3931
|
"hidden": true
|
|
3932
3932
|
},
|
|
3933
|
+
{
|
|
3934
|
+
"name": "hosting_pocketbase_backend",
|
|
3935
|
+
"title": "Get PocketBase backend",
|
|
3936
|
+
"annotations": {
|
|
3937
|
+
"title": "Get PocketBase backend",
|
|
3938
|
+
"readOnlyHint": true,
|
|
3939
|
+
"destructiveHint": false
|
|
3940
|
+
},
|
|
3941
|
+
"description": "Returns the PocketBase backend of a website: its REST API and dashboard URLs, live state\nand version. A PocketBase backend gives the website a database, authentication, file\nstorage and a realtime REST API, served from the website's own domain under `/api` and\n`/_`. Returns 404 when the website has no PocketBase backend.\n\nThe superuser password is only shown once, when it is set, and is never returned here. If it\nis lost, set a new one with the `Set PocketBase superuser` endpoint.\n\nThe instance sleeps when idle and wakes on the first request, so `asleep` is a normal state\nand the first call to a sleeping instance can take a few seconds. `starting`, `running` and\n`stopping` are healthy; `failed` or `unregistered` mean the instance is broken; `missing`\nmeans its files are gone from the server, and creating the PocketBase backend again sets up\na new, empty one. `state` is null when the server could not be reached; retry later.\n\nPocketBase is rolling out gradually: an account without access yet gets 422.",
|
|
3942
|
+
"method": "GET",
|
|
3943
|
+
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/pocketbase",
|
|
3944
|
+
"inputSchema": {
|
|
3945
|
+
"type": "object",
|
|
3946
|
+
"properties": {
|
|
3947
|
+
"username": {
|
|
3948
|
+
"type": "string",
|
|
3949
|
+
"description": "username parameter"
|
|
3950
|
+
},
|
|
3951
|
+
"domain": {
|
|
3952
|
+
"type": "string",
|
|
3953
|
+
"description": "Domain name"
|
|
3954
|
+
}
|
|
3955
|
+
},
|
|
3956
|
+
"required": [
|
|
3957
|
+
"username",
|
|
3958
|
+
"domain"
|
|
3959
|
+
]
|
|
3960
|
+
},
|
|
3961
|
+
"security": [
|
|
3962
|
+
{
|
|
3963
|
+
"apiToken": []
|
|
3964
|
+
}
|
|
3965
|
+
],
|
|
3966
|
+
"group": "hosting"
|
|
3967
|
+
},
|
|
3968
|
+
{
|
|
3969
|
+
"name": "hosting_pocketbase_create-backend",
|
|
3970
|
+
"title": "Create PocketBase backend",
|
|
3971
|
+
"annotations": {
|
|
3972
|
+
"title": "Create PocketBase backend",
|
|
3973
|
+
"readOnlyHint": false,
|
|
3974
|
+
"destructiveHint": false
|
|
3975
|
+
},
|
|
3976
|
+
"description": "Creates a PocketBase backend for a website: a database, authentication, file storage and a\nrealtime REST API, served from the website's own domain. A website has at most one\nPocketBase backend. Creation usually takes a few seconds.\n\nThe backend takes over the `/api` and `/_` paths of the website: from then on requests to\nthese paths and everything below them go to PocketBase, while every other path keeps\nserving the website. Do not create a backend for a website that serves its own `/api` or\n`/_` paths, because they stop working; confirm with the user before calling it. Deleting\nthe backend gives both paths back to the website. Headless WordPress websites and parked\ndomains are not supported; for a parked domain, use the website it is parked on. A website\nthat already has a backend is rejected with 422, unless that backend is in state\n`missing`: then it is replaced with a new, empty one. A website set up with\n`type: headless_empty` becomes `headless_pocketbase`; any other website keeps its type.\n\n`superuser_password` is optional: leave it out to get a strong generated password, or send\nyour own (10-128 characters). The response returns it in `superuser_password` once and\nHostinger never stores it, so save it in your app secrets right away; you need it to manage\nthe backend through the PocketBase REST API. If it is lost, set a new one with the\n`Set PocketBase superuser` endpoint. `superuser_email` defaults to the email of the\nwebsite owner.\n\nThe instance sleeps when idle and wakes on the first request, so the first call after a\nquiet period can take a few seconds. `next_steps` in the response lists what to do next.\n\nPocketBase is rolling out gradually: an account without access yet gets 422.",
|
|
3977
|
+
"method": "POST",
|
|
3978
|
+
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/pocketbase",
|
|
3979
|
+
"inputSchema": {
|
|
3980
|
+
"type": "object",
|
|
3981
|
+
"properties": {
|
|
3982
|
+
"username": {
|
|
3983
|
+
"type": "string",
|
|
3984
|
+
"description": "username parameter"
|
|
3985
|
+
},
|
|
3986
|
+
"domain": {
|
|
3987
|
+
"type": "string",
|
|
3988
|
+
"description": "Domain name"
|
|
3989
|
+
},
|
|
3990
|
+
"superuser_email": {
|
|
3991
|
+
"type": "string",
|
|
3992
|
+
"description": "Email of the PocketBase superuser. Defaults to the email of the website owner."
|
|
3993
|
+
},
|
|
3994
|
+
"superuser_password": {
|
|
3995
|
+
"type": "string",
|
|
3996
|
+
"description": "Password for the PocketBase superuser, 10-128 characters. Leave it out to have a strong one\ngenerated. Either way it is returned once in the response and never stored."
|
|
3997
|
+
}
|
|
3998
|
+
},
|
|
3999
|
+
"required": [
|
|
4000
|
+
"username",
|
|
4001
|
+
"domain"
|
|
4002
|
+
]
|
|
4003
|
+
},
|
|
4004
|
+
"security": [
|
|
4005
|
+
{
|
|
4006
|
+
"apiToken": []
|
|
4007
|
+
}
|
|
4008
|
+
],
|
|
4009
|
+
"group": "hosting"
|
|
4010
|
+
},
|
|
4011
|
+
{
|
|
4012
|
+
"name": "hosting_pocketbase_delete-backend",
|
|
4013
|
+
"title": "Delete PocketBase backend",
|
|
4014
|
+
"annotations": {
|
|
4015
|
+
"title": "Delete PocketBase backend",
|
|
4016
|
+
"readOnlyHint": false,
|
|
4017
|
+
"destructiveHint": true,
|
|
4018
|
+
"idempotentHint": true
|
|
4019
|
+
},
|
|
4020
|
+
"description": "Permanently deletes the PocketBase backend of a website with all its data (collections,\nrecords, users and uploaded files) and gives the `/api` and `/_` paths back to the website;\na `headless_pocketbase` website becomes `headless_empty`. This cannot be undone and every\napp using this backend stops working, so confirm with the user before calling it and\nexport the data you need from the dashboard (`admin_url`) first.\n\nReturns success also when the website has no PocketBase backend; then it only clears a\n`headless_pocketbase` mark. To regain access after losing the superuser password, use the\n`Set PocketBase superuser` endpoint instead of deleting the backend.\n\nPocketBase is rolling out gradually: an account without access yet gets 422; an unknown\nwebsite gets 404.",
|
|
4021
|
+
"method": "DELETE",
|
|
4022
|
+
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/pocketbase",
|
|
4023
|
+
"inputSchema": {
|
|
4024
|
+
"type": "object",
|
|
4025
|
+
"properties": {
|
|
4026
|
+
"username": {
|
|
4027
|
+
"type": "string",
|
|
4028
|
+
"description": "username parameter"
|
|
4029
|
+
},
|
|
4030
|
+
"domain": {
|
|
4031
|
+
"type": "string",
|
|
4032
|
+
"description": "Domain name"
|
|
4033
|
+
}
|
|
4034
|
+
},
|
|
4035
|
+
"required": [
|
|
4036
|
+
"username",
|
|
4037
|
+
"domain"
|
|
4038
|
+
]
|
|
4039
|
+
},
|
|
4040
|
+
"security": [
|
|
4041
|
+
{
|
|
4042
|
+
"apiToken": []
|
|
4043
|
+
}
|
|
4044
|
+
],
|
|
4045
|
+
"group": "hosting"
|
|
4046
|
+
},
|
|
4047
|
+
{
|
|
4048
|
+
"name": "hosting_pocketbase_list-backends",
|
|
4049
|
+
"title": "List account PocketBase backends",
|
|
4050
|
+
"annotations": {
|
|
4051
|
+
"title": "List account PocketBase backends",
|
|
4052
|
+
"readOnlyHint": true,
|
|
4053
|
+
"destructiveHint": false
|
|
4054
|
+
},
|
|
4055
|
+
"description": "Lists the PocketBase backends of all websites of a hosting account with their URLs, live\nstate, version and disk usage. A PocketBase backend gives a website a database,\nauthentication, file storage and a realtime REST API, served from the website's own\ndomain. An empty list means no website of the account has a PocketBase backend.\n\nStates: `asleep` is normal (the instance sleeps when idle and wakes on the first request);\n`starting`, `running` and `stopping` are healthy; `failed` or `unregistered` mean the\ninstance is broken; `missing` means its files are gone from the server, and creating the\nPocketBase backend again sets up a new, empty one. `state` is null when the server could\nnot be reached; retry later.\n\nPocketBase is rolling out gradually: an account without access yet gets 422.",
|
|
4056
|
+
"method": "GET",
|
|
4057
|
+
"path": "/api/hosting/v1/accounts/{username}/pocketbase",
|
|
4058
|
+
"inputSchema": {
|
|
4059
|
+
"type": "object",
|
|
4060
|
+
"properties": {
|
|
4061
|
+
"username": {
|
|
4062
|
+
"type": "string",
|
|
4063
|
+
"description": "username parameter"
|
|
4064
|
+
}
|
|
4065
|
+
},
|
|
4066
|
+
"required": [
|
|
4067
|
+
"username"
|
|
4068
|
+
]
|
|
4069
|
+
},
|
|
4070
|
+
"security": [
|
|
4071
|
+
{
|
|
4072
|
+
"apiToken": []
|
|
4073
|
+
}
|
|
4074
|
+
],
|
|
4075
|
+
"group": "hosting"
|
|
4076
|
+
},
|
|
4077
|
+
{
|
|
4078
|
+
"name": "hosting_pocketbase_set-superuser",
|
|
4079
|
+
"title": "Set PocketBase superuser",
|
|
4080
|
+
"annotations": {
|
|
4081
|
+
"title": "Set PocketBase superuser",
|
|
4082
|
+
"readOnlyHint": false,
|
|
4083
|
+
"destructiveHint": true,
|
|
4084
|
+
"idempotentHint": true
|
|
4085
|
+
},
|
|
4086
|
+
"description": "Sets the password of a superuser of the website's PocketBase backend, and creates that\nsuperuser when there is none with the given email. The old password of that superuser stops\nworking at once, so apps and scripts still using it lose superuser access; confirm with the\nuser before calling it.\n\nUse it when the superuser password is lost (Hostinger never stores it), when it leaked and\nmust be rotated, or to add another superuser with a different email. Returns 404 when the\nwebsite has no PocketBase backend; create one first. App user accounts are managed through\nthe PocketBase REST API, not here.\n\n`superuser_password` is optional: leave it out to get a strong generated password, or send\nyour own (10-128 characters). The response returns it in `superuser_password` once and\nHostinger never stores it, so save it in your app secrets right away, then authenticate\nagain with `pb.collection('_superusers').authWithPassword`. `superuser_email` defaults to\nthe email of the website owner.\n\nPocketBase is rolling out gradually: an account without access yet gets 422.",
|
|
4087
|
+
"method": "PUT",
|
|
4088
|
+
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/pocketbase/superuser",
|
|
4089
|
+
"inputSchema": {
|
|
4090
|
+
"type": "object",
|
|
4091
|
+
"properties": {
|
|
4092
|
+
"username": {
|
|
4093
|
+
"type": "string",
|
|
4094
|
+
"description": "username parameter"
|
|
4095
|
+
},
|
|
4096
|
+
"domain": {
|
|
4097
|
+
"type": "string",
|
|
4098
|
+
"description": "Domain name"
|
|
4099
|
+
},
|
|
4100
|
+
"superuser_email": {
|
|
4101
|
+
"type": "string",
|
|
4102
|
+
"description": "Email of the superuser to create or update. Defaults to the email of the website owner."
|
|
4103
|
+
},
|
|
4104
|
+
"superuser_password": {
|
|
4105
|
+
"type": "string",
|
|
4106
|
+
"description": "New password of the PocketBase superuser, 10-128 characters. Leave it out to have a strong\none generated. Either way it is returned once in the response and never stored."
|
|
4107
|
+
}
|
|
4108
|
+
},
|
|
4109
|
+
"required": [
|
|
4110
|
+
"username",
|
|
4111
|
+
"domain"
|
|
4112
|
+
]
|
|
4113
|
+
},
|
|
4114
|
+
"security": [
|
|
4115
|
+
{
|
|
4116
|
+
"apiToken": []
|
|
4117
|
+
}
|
|
4118
|
+
],
|
|
4119
|
+
"group": "hosting"
|
|
4120
|
+
},
|
|
3933
4121
|
{
|
|
3934
4122
|
"name": "hosting_redirects_list-website",
|
|
3935
4123
|
"title": "List website redirects",
|
|
@@ -427,7 +427,7 @@ export default [
|
|
|
427
427
|
"readOnlyHint": false,
|
|
428
428
|
"destructiveHint": false
|
|
429
429
|
},
|
|
430
|
-
"description": "Install WordPress on an existing website.\n\nThe website must already exist before calling this endpoint. To create a new\nwebsite first, use POST /api/hosting/v1/orders/{order_id}/onboardings\n(`hosting_websites_create`) and poll GET /api/hosting/v1/onboardings\n(`hosting_websites_list-setups`) with the `domain` filter until its `status` is\n`completed`.\n\nSend `type: headless` to turn a headless website (for example one created by\n`hosting_websites_create` with `type: headless_empty`) into a headless WordPress\nwebsite: WordPress is installed into the `cms` directory with the Hostinger headless\nMU plugin and the website is marked as a headless WordPress website. `directory` is\nnot allowed with it. The target website must
|
|
430
|
+
"description": "Install WordPress on an existing website.\n\nThe website must already exist before calling this endpoint. To create a new\nwebsite first, use POST /api/hosting/v1/orders/{order_id}/onboardings\n(`hosting_websites_create`) and poll GET /api/hosting/v1/onboardings\n(`hosting_websites_list-setups`) with the `domain` filter until its `status` is\n`completed`.\n\nSend `type: headless` to turn a headless website (for example one created by\n`hosting_websites_create` with `type: headless_empty`) into a headless WordPress\nwebsite: WordPress is installed into the `cms` directory with the Hostinger headless\nMU plugin and the website is marked as a headless WordPress website. `directory` is\nnot allowed with it. The target website must be an empty headless website\n(`headless_empty`): the headless install rewrites the root `.htaccess`, so any other\nwebsite, including a headless website that already has WordPress or a PocketBase\nbackend, is rejected with 422. To replace a PocketBase backend with WordPress, delete\nit first with `Delete PocketBase backend`.\n\nCall GET /api/hosting/v1/wordpress/installations (`wordpress_installations_list`)\nfiltered by username and domain before proceeding to check whether WordPress is\nalready installed on the target domain/path. If WordPress already exists and\n`overwrite` is false (the default), the async job will fail.\n\nThis operation is asynchronous: a successful response only means the install\njob has been queued, not that WordPress is ready. Installation typically\ntakes 1-2 minutes. Poll GET /api/hosting/v1/wordpress/installations\n(`wordpress_installations_list`) filtered by username and domain to track\nprogress. When the installation appears in that list, WordPress is ready.\n\nReturns 422 when the account already uses all the databases its plan allows,\nunless `database.name` is an existing database on the account.",
|
|
431
431
|
"method": "POST",
|
|
432
432
|
"path": "/api/hosting/v1/accounts/{username}/wordpress/installations",
|
|
433
433
|
"inputSchema": {
|
|
@@ -451,7 +451,7 @@ export default [
|
|
|
451
451
|
},
|
|
452
452
|
"type": {
|
|
453
453
|
"type": "string",
|
|
454
|
-
"description": "Installation kind; `default` when omitted. `headless` installs WordPress into the `cms` directory with the Hostinger headless MU plugin and marks the website as a headless WordPress website. Accepted only for
|
|
454
|
+
"description": "Installation kind; `default` when omitted. `headless` installs WordPress into the `cms` directory with the Hostinger headless MU plugin and marks the website as a headless WordPress website. Accepted only for an empty headless website, e.g. one created by `POST /api/hosting/v1/orders/{order_id}/onboardings` (`hosting_websites_create`) with `type: headless_empty`; any other website, including a headless website that already has WordPress or a PocketBase backend, is rejected with 422.",
|
|
455
455
|
"enum": [
|
|
456
456
|
"default",
|
|
457
457
|
"headless"
|
|
@@ -446,7 +446,7 @@ const tools: OpenApiTool[] = [
|
|
|
446
446
|
"readOnlyHint": false,
|
|
447
447
|
"destructiveHint": false
|
|
448
448
|
},
|
|
449
|
-
"description": "Install WordPress on an existing website.\n\nThe website must already exist before calling this endpoint. To create a new\nwebsite first, use POST /api/hosting/v1/orders/{order_id}/onboardings\n(`hosting_websites_create`) and poll GET /api/hosting/v1/onboardings\n(`hosting_websites_list-setups`) with the `domain` filter until its `status` is\n`completed`.\n\nSend `type: headless` to turn a headless website (for example one created by\n`hosting_websites_create` with `type: headless_empty`) into a headless WordPress\nwebsite: WordPress is installed into the `cms` directory with the Hostinger headless\nMU plugin and the website is marked as a headless WordPress website. `directory` is\nnot allowed with it. The target website must
|
|
449
|
+
"description": "Install WordPress on an existing website.\n\nThe website must already exist before calling this endpoint. To create a new\nwebsite first, use POST /api/hosting/v1/orders/{order_id}/onboardings\n(`hosting_websites_create`) and poll GET /api/hosting/v1/onboardings\n(`hosting_websites_list-setups`) with the `domain` filter until its `status` is\n`completed`.\n\nSend `type: headless` to turn a headless website (for example one created by\n`hosting_websites_create` with `type: headless_empty`) into a headless WordPress\nwebsite: WordPress is installed into the `cms` directory with the Hostinger headless\nMU plugin and the website is marked as a headless WordPress website. `directory` is\nnot allowed with it. The target website must be an empty headless website\n(`headless_empty`): the headless install rewrites the root `.htaccess`, so any other\nwebsite, including a headless website that already has WordPress or a PocketBase\nbackend, is rejected with 422. To replace a PocketBase backend with WordPress, delete\nit first with `Delete PocketBase backend`.\n\nCall GET /api/hosting/v1/wordpress/installations (`wordpress_installations_list`)\nfiltered by username and domain before proceeding to check whether WordPress is\nalready installed on the target domain/path. If WordPress already exists and\n`overwrite` is false (the default), the async job will fail.\n\nThis operation is asynchronous: a successful response only means the install\njob has been queued, not that WordPress is ready. Installation typically\ntakes 1-2 minutes. Poll GET /api/hosting/v1/wordpress/installations\n(`wordpress_installations_list`) filtered by username and domain to track\nprogress. When the installation appears in that list, WordPress is ready.\n\nReturns 422 when the account already uses all the databases its plan allows,\nunless `database.name` is an existing database on the account.",
|
|
450
450
|
"method": "POST",
|
|
451
451
|
"path": "/api/hosting/v1/accounts/{username}/wordpress/installations",
|
|
452
452
|
"inputSchema": {
|
|
@@ -470,7 +470,7 @@ const tools: OpenApiTool[] = [
|
|
|
470
470
|
},
|
|
471
471
|
"type": {
|
|
472
472
|
"type": "string",
|
|
473
|
-
"description": "Installation kind; `default` when omitted. `headless` installs WordPress into the `cms` directory with the Hostinger headless MU plugin and marks the website as a headless WordPress website. Accepted only for
|
|
473
|
+
"description": "Installation kind; `default` when omitted. `headless` installs WordPress into the `cms` directory with the Hostinger headless MU plugin and marks the website as a headless WordPress website. Accepted only for an empty headless website, e.g. one created by `POST /api/hosting/v1/orders/{order_id}/onboardings` (`hosting_websites_create`) with `type: headless_empty`; any other website, including a headless website that already has WordPress or a PocketBase backend, is rejected with 422.",
|
|
474
474
|
"enum": [
|
|
475
475
|
"default",
|
|
476
476
|
"headless"
|
|
@@ -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.
|
|
7
|
+
startServer({ name: 'hostinger-agency-hosting-mcp', version: '3.39.1', 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.
|
|
7
|
+
startServer({ name: 'hostinger-agency-hosting-mcp', version: '3.39.1', 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.
|
|
6
|
+
startServer({ name: 'hostinger-agent-readiness-mcp', version: '3.39.1', 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.
|
|
6
|
+
startServer({ name: 'hostinger-agent-readiness-mcp', version: '3.39.1', 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.
|
|
8
|
+
startServer({ name: 'hostinger-api-mcp', version: '3.39.1', 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.
|
|
8
|
+
startServer({ name: 'hostinger-api-mcp', version: '3.39.1', 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/gpu.js
CHANGED
package/src/servers/gpu.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.
|
|
7
|
+
startServer({ name: 'hostinger-hosting-mcp', version: '3.39.1', 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.
|
|
7
|
+
startServer({ name: 'hostinger-hosting-mcp', version: '3.39.1', 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