hostinger-api-mcp 3.29.0 → 3.30.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 +22 -0
- package/README.md +9 -40
- package/gemini-extension.json +1 -1
- package/package.json +1 -1
- package/server.json +2 -2
- package/skills/headless/VERSION +2 -2
- package/skills/headless/connect/SKILL.md +13 -6
- package/skills/headless/connect/tools/antigravity.md +2 -2
- package/skills/headless/connect/tools/claude-code.md +2 -2
- package/skills/headless/connect/tools/codex.md +4 -4
- package/skills/headless/connect/tools/cursor.md +5 -5
- package/skills/headless/connect/tools/devin.md +4 -4
- package/skills/headless/connect/tools/vscode.md +4 -4
- package/skills/headless/steps/03-provision/ecommerce/SKILL.md +1 -1
- package/skills/headless/steps/08-deploy/SKILL.md +1 -1
- package/skills/maintain-wordpress/SKILL.md +1 -1
- package/skills/troubleshoot-website/SKILL.md +1 -1
- package/src/core/runtime.js +96 -0
- package/src/core/runtime.ts +96 -0
- package/src/core/skills.js +33 -33
- package/src/core/skills.ts +33 -33
- package/src/core/tools/all.js +78 -4
- package/src/core/tools/all.ts +78 -4
- package/src/core/tools/hosting.js +78 -4
- package/src/core/tools/hosting.ts +78 -4
- 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 +29 -0
package/src/core/tools/all.ts
CHANGED
|
@@ -366,6 +366,76 @@ const tools: OpenApiTool[] = [
|
|
|
366
366
|
"handlerMethod": "handleHostingCacheClear",
|
|
367
367
|
"group": "hosting"
|
|
368
368
|
},
|
|
369
|
+
{
|
|
370
|
+
"name": "hosting_php_update",
|
|
371
|
+
"title": "Update website PHP version, extensions and options",
|
|
372
|
+
"annotations": {
|
|
373
|
+
"title": "Update website PHP version, extensions and options",
|
|
374
|
+
"readOnlyHint": false,
|
|
375
|
+
"destructiveHint": true
|
|
376
|
+
},
|
|
377
|
+
"topic": "hosting",
|
|
378
|
+
"description": "Change a website's PHP version, extensions and php.ini options in one call. Pass only what to change, at least one of version, resetExtensions, extensions and options. Steps run in the order version, resetExtensions, extensions, options, and the call stops at the first failure. applied lists the steps that ran. When a step fails, the call returns an error whose text is the same JSON: failed names the step and why, and skipped lists the ones not attempted; a multi-execute batch stops there too. WARNING: changing the version resets the website's extensions (PHP 8.0 and later) and its options to their defaults, so pass the extensions and options to keep in the same call; they are applied after the version. Option values above the plan limit are capped silently: read the applied values back with hosting_php_get, which also lists the available versions, extensions and options. Works for Shared and Cloud hosting websites.",
|
|
379
|
+
"method": "",
|
|
380
|
+
"path": "",
|
|
381
|
+
"inputSchema": {
|
|
382
|
+
"type": "object",
|
|
383
|
+
"properties": {
|
|
384
|
+
"domain": {
|
|
385
|
+
"type": "string",
|
|
386
|
+
"description": "Domain name of the website, exactly as listed on the account and without www. (e.g., example.com)"
|
|
387
|
+
},
|
|
388
|
+
"version": {
|
|
389
|
+
"type": "string",
|
|
390
|
+
"description": "PHP version to switch to, as major.minor (e.g. 8.3). Must be one of the supported versions in hosting_php_get."
|
|
391
|
+
},
|
|
392
|
+
"resetExtensions": {
|
|
393
|
+
"type": "boolean",
|
|
394
|
+
"description": "true resets every PHP extension to its default state; runs after version and before extensions."
|
|
395
|
+
},
|
|
396
|
+
"extensions": {
|
|
397
|
+
"type": "object",
|
|
398
|
+
"description": "Extensions to enable and disable, by name as hosting_php_get lists them. Pass at least one of enable and disable.",
|
|
399
|
+
"properties": {
|
|
400
|
+
"enable": {
|
|
401
|
+
"type": "array",
|
|
402
|
+
"items": {
|
|
403
|
+
"type": "string"
|
|
404
|
+
},
|
|
405
|
+
"description": "Extensions to enable."
|
|
406
|
+
},
|
|
407
|
+
"disable": {
|
|
408
|
+
"type": "array",
|
|
409
|
+
"items": {
|
|
410
|
+
"type": "string"
|
|
411
|
+
},
|
|
412
|
+
"description": "Extensions to disable."
|
|
413
|
+
}
|
|
414
|
+
}
|
|
415
|
+
},
|
|
416
|
+
"options": {
|
|
417
|
+
"type": "object",
|
|
418
|
+
"description": "php.ini options to change, keyed by name as hosting_php_get lists them (e.g. {\"memory_limit\": \"512M\", \"max_execution_time\": 300}). Only include options to change.",
|
|
419
|
+
"additionalProperties": {
|
|
420
|
+
"type": [
|
|
421
|
+
"string",
|
|
422
|
+
"integer"
|
|
423
|
+
]
|
|
424
|
+
}
|
|
425
|
+
}
|
|
426
|
+
},
|
|
427
|
+
"required": [
|
|
428
|
+
"domain"
|
|
429
|
+
]
|
|
430
|
+
},
|
|
431
|
+
"security": [],
|
|
432
|
+
"custom": true,
|
|
433
|
+
"replacesHidden": true,
|
|
434
|
+
"templateFile": "update-php.template.js",
|
|
435
|
+
"templateFileTS": "update-php.template.ts",
|
|
436
|
+
"handlerMethod": "handleHostingPhpUpdate",
|
|
437
|
+
"group": "hosting"
|
|
438
|
+
},
|
|
369
439
|
{
|
|
370
440
|
"name": "hosting_websites_list-domains",
|
|
371
441
|
"title": "List website parked (alias) domains and subdomains",
|
|
@@ -9774,7 +9844,8 @@ const tools: OpenApiTool[] = [
|
|
|
9774
9844
|
"apiToken": []
|
|
9775
9845
|
}
|
|
9776
9846
|
],
|
|
9777
|
-
"group": "hosting"
|
|
9847
|
+
"group": "hosting",
|
|
9848
|
+
"hidden": true
|
|
9778
9849
|
},
|
|
9779
9850
|
{
|
|
9780
9851
|
"name": "hosting_php_get",
|
|
@@ -9896,7 +9967,8 @@ const tools: OpenApiTool[] = [
|
|
|
9896
9967
|
"apiToken": []
|
|
9897
9968
|
}
|
|
9898
9969
|
],
|
|
9899
|
-
"group": "hosting"
|
|
9970
|
+
"group": "hosting",
|
|
9971
|
+
"hidden": true
|
|
9900
9972
|
},
|
|
9901
9973
|
{
|
|
9902
9974
|
"name": "hosting_php_update-options",
|
|
@@ -9938,7 +10010,8 @@ const tools: OpenApiTool[] = [
|
|
|
9938
10010
|
"apiToken": []
|
|
9939
10011
|
}
|
|
9940
10012
|
],
|
|
9941
|
-
"group": "hosting"
|
|
10013
|
+
"group": "hosting",
|
|
10014
|
+
"hidden": true
|
|
9942
10015
|
},
|
|
9943
10016
|
{
|
|
9944
10017
|
"name": "hosting_php_update-version",
|
|
@@ -9979,7 +10052,8 @@ const tools: OpenApiTool[] = [
|
|
|
9979
10052
|
"apiToken": []
|
|
9980
10053
|
}
|
|
9981
10054
|
],
|
|
9982
|
-
"group": "hosting"
|
|
10055
|
+
"group": "hosting",
|
|
10056
|
+
"hidden": true
|
|
9983
10057
|
},
|
|
9984
10058
|
{
|
|
9985
10059
|
"name": "hosting_redirects_list-website",
|
|
@@ -349,6 +349,76 @@ export default [
|
|
|
349
349
|
"handlerMethod": "handleHostingCacheClear",
|
|
350
350
|
"group": "hosting"
|
|
351
351
|
},
|
|
352
|
+
{
|
|
353
|
+
"name": "hosting_php_update",
|
|
354
|
+
"title": "Update website PHP version, extensions and options",
|
|
355
|
+
"annotations": {
|
|
356
|
+
"title": "Update website PHP version, extensions and options",
|
|
357
|
+
"readOnlyHint": false,
|
|
358
|
+
"destructiveHint": true
|
|
359
|
+
},
|
|
360
|
+
"topic": "hosting",
|
|
361
|
+
"description": "Change a website's PHP version, extensions and php.ini options in one call. Pass only what to change, at least one of version, resetExtensions, extensions and options. Steps run in the order version, resetExtensions, extensions, options, and the call stops at the first failure. applied lists the steps that ran. When a step fails, the call returns an error whose text is the same JSON: failed names the step and why, and skipped lists the ones not attempted; a multi-execute batch stops there too. WARNING: changing the version resets the website's extensions (PHP 8.0 and later) and its options to their defaults, so pass the extensions and options to keep in the same call; they are applied after the version. Option values above the plan limit are capped silently: read the applied values back with hosting_php_get, which also lists the available versions, extensions and options. Works for Shared and Cloud hosting websites.",
|
|
362
|
+
"method": "",
|
|
363
|
+
"path": "",
|
|
364
|
+
"inputSchema": {
|
|
365
|
+
"type": "object",
|
|
366
|
+
"properties": {
|
|
367
|
+
"domain": {
|
|
368
|
+
"type": "string",
|
|
369
|
+
"description": "Domain name of the website, exactly as listed on the account and without www. (e.g., example.com)"
|
|
370
|
+
},
|
|
371
|
+
"version": {
|
|
372
|
+
"type": "string",
|
|
373
|
+
"description": "PHP version to switch to, as major.minor (e.g. 8.3). Must be one of the supported versions in hosting_php_get."
|
|
374
|
+
},
|
|
375
|
+
"resetExtensions": {
|
|
376
|
+
"type": "boolean",
|
|
377
|
+
"description": "true resets every PHP extension to its default state; runs after version and before extensions."
|
|
378
|
+
},
|
|
379
|
+
"extensions": {
|
|
380
|
+
"type": "object",
|
|
381
|
+
"description": "Extensions to enable and disable, by name as hosting_php_get lists them. Pass at least one of enable and disable.",
|
|
382
|
+
"properties": {
|
|
383
|
+
"enable": {
|
|
384
|
+
"type": "array",
|
|
385
|
+
"items": {
|
|
386
|
+
"type": "string"
|
|
387
|
+
},
|
|
388
|
+
"description": "Extensions to enable."
|
|
389
|
+
},
|
|
390
|
+
"disable": {
|
|
391
|
+
"type": "array",
|
|
392
|
+
"items": {
|
|
393
|
+
"type": "string"
|
|
394
|
+
},
|
|
395
|
+
"description": "Extensions to disable."
|
|
396
|
+
}
|
|
397
|
+
}
|
|
398
|
+
},
|
|
399
|
+
"options": {
|
|
400
|
+
"type": "object",
|
|
401
|
+
"description": "php.ini options to change, keyed by name as hosting_php_get lists them (e.g. {\"memory_limit\": \"512M\", \"max_execution_time\": 300}). Only include options to change.",
|
|
402
|
+
"additionalProperties": {
|
|
403
|
+
"type": [
|
|
404
|
+
"string",
|
|
405
|
+
"integer"
|
|
406
|
+
]
|
|
407
|
+
}
|
|
408
|
+
}
|
|
409
|
+
},
|
|
410
|
+
"required": [
|
|
411
|
+
"domain"
|
|
412
|
+
]
|
|
413
|
+
},
|
|
414
|
+
"security": [],
|
|
415
|
+
"custom": true,
|
|
416
|
+
"replacesHidden": true,
|
|
417
|
+
"templateFile": "update-php.template.js",
|
|
418
|
+
"templateFileTS": "update-php.template.ts",
|
|
419
|
+
"handlerMethod": "handleHostingPhpUpdate",
|
|
420
|
+
"group": "hosting"
|
|
421
|
+
},
|
|
352
422
|
{
|
|
353
423
|
"name": "hosting_websites_list-domains",
|
|
354
424
|
"title": "List website parked (alias) domains and subdomains",
|
|
@@ -3900,7 +3970,8 @@ export default [
|
|
|
3900
3970
|
"apiToken": []
|
|
3901
3971
|
}
|
|
3902
3972
|
],
|
|
3903
|
-
"group": "hosting"
|
|
3973
|
+
"group": "hosting",
|
|
3974
|
+
"hidden": true
|
|
3904
3975
|
},
|
|
3905
3976
|
{
|
|
3906
3977
|
"name": "hosting_php_get",
|
|
@@ -4022,7 +4093,8 @@ export default [
|
|
|
4022
4093
|
"apiToken": []
|
|
4023
4094
|
}
|
|
4024
4095
|
],
|
|
4025
|
-
"group": "hosting"
|
|
4096
|
+
"group": "hosting",
|
|
4097
|
+
"hidden": true
|
|
4026
4098
|
},
|
|
4027
4099
|
{
|
|
4028
4100
|
"name": "hosting_php_update-options",
|
|
@@ -4064,7 +4136,8 @@ export default [
|
|
|
4064
4136
|
"apiToken": []
|
|
4065
4137
|
}
|
|
4066
4138
|
],
|
|
4067
|
-
"group": "hosting"
|
|
4139
|
+
"group": "hosting",
|
|
4140
|
+
"hidden": true
|
|
4068
4141
|
},
|
|
4069
4142
|
{
|
|
4070
4143
|
"name": "hosting_php_update-version",
|
|
@@ -4105,7 +4178,8 @@ export default [
|
|
|
4105
4178
|
"apiToken": []
|
|
4106
4179
|
}
|
|
4107
4180
|
],
|
|
4108
|
-
"group": "hosting"
|
|
4181
|
+
"group": "hosting",
|
|
4182
|
+
"hidden": true
|
|
4109
4183
|
},
|
|
4110
4184
|
{
|
|
4111
4185
|
"name": "hosting_redirects_list-website",
|
|
@@ -366,6 +366,76 @@ const tools: OpenApiTool[] = [
|
|
|
366
366
|
"handlerMethod": "handleHostingCacheClear",
|
|
367
367
|
"group": "hosting"
|
|
368
368
|
},
|
|
369
|
+
{
|
|
370
|
+
"name": "hosting_php_update",
|
|
371
|
+
"title": "Update website PHP version, extensions and options",
|
|
372
|
+
"annotations": {
|
|
373
|
+
"title": "Update website PHP version, extensions and options",
|
|
374
|
+
"readOnlyHint": false,
|
|
375
|
+
"destructiveHint": true
|
|
376
|
+
},
|
|
377
|
+
"topic": "hosting",
|
|
378
|
+
"description": "Change a website's PHP version, extensions and php.ini options in one call. Pass only what to change, at least one of version, resetExtensions, extensions and options. Steps run in the order version, resetExtensions, extensions, options, and the call stops at the first failure. applied lists the steps that ran. When a step fails, the call returns an error whose text is the same JSON: failed names the step and why, and skipped lists the ones not attempted; a multi-execute batch stops there too. WARNING: changing the version resets the website's extensions (PHP 8.0 and later) and its options to their defaults, so pass the extensions and options to keep in the same call; they are applied after the version. Option values above the plan limit are capped silently: read the applied values back with hosting_php_get, which also lists the available versions, extensions and options. Works for Shared and Cloud hosting websites.",
|
|
379
|
+
"method": "",
|
|
380
|
+
"path": "",
|
|
381
|
+
"inputSchema": {
|
|
382
|
+
"type": "object",
|
|
383
|
+
"properties": {
|
|
384
|
+
"domain": {
|
|
385
|
+
"type": "string",
|
|
386
|
+
"description": "Domain name of the website, exactly as listed on the account and without www. (e.g., example.com)"
|
|
387
|
+
},
|
|
388
|
+
"version": {
|
|
389
|
+
"type": "string",
|
|
390
|
+
"description": "PHP version to switch to, as major.minor (e.g. 8.3). Must be one of the supported versions in hosting_php_get."
|
|
391
|
+
},
|
|
392
|
+
"resetExtensions": {
|
|
393
|
+
"type": "boolean",
|
|
394
|
+
"description": "true resets every PHP extension to its default state; runs after version and before extensions."
|
|
395
|
+
},
|
|
396
|
+
"extensions": {
|
|
397
|
+
"type": "object",
|
|
398
|
+
"description": "Extensions to enable and disable, by name as hosting_php_get lists them. Pass at least one of enable and disable.",
|
|
399
|
+
"properties": {
|
|
400
|
+
"enable": {
|
|
401
|
+
"type": "array",
|
|
402
|
+
"items": {
|
|
403
|
+
"type": "string"
|
|
404
|
+
},
|
|
405
|
+
"description": "Extensions to enable."
|
|
406
|
+
},
|
|
407
|
+
"disable": {
|
|
408
|
+
"type": "array",
|
|
409
|
+
"items": {
|
|
410
|
+
"type": "string"
|
|
411
|
+
},
|
|
412
|
+
"description": "Extensions to disable."
|
|
413
|
+
}
|
|
414
|
+
}
|
|
415
|
+
},
|
|
416
|
+
"options": {
|
|
417
|
+
"type": "object",
|
|
418
|
+
"description": "php.ini options to change, keyed by name as hosting_php_get lists them (e.g. {\"memory_limit\": \"512M\", \"max_execution_time\": 300}). Only include options to change.",
|
|
419
|
+
"additionalProperties": {
|
|
420
|
+
"type": [
|
|
421
|
+
"string",
|
|
422
|
+
"integer"
|
|
423
|
+
]
|
|
424
|
+
}
|
|
425
|
+
}
|
|
426
|
+
},
|
|
427
|
+
"required": [
|
|
428
|
+
"domain"
|
|
429
|
+
]
|
|
430
|
+
},
|
|
431
|
+
"security": [],
|
|
432
|
+
"custom": true,
|
|
433
|
+
"replacesHidden": true,
|
|
434
|
+
"templateFile": "update-php.template.js",
|
|
435
|
+
"templateFileTS": "update-php.template.ts",
|
|
436
|
+
"handlerMethod": "handleHostingPhpUpdate",
|
|
437
|
+
"group": "hosting"
|
|
438
|
+
},
|
|
369
439
|
{
|
|
370
440
|
"name": "hosting_websites_list-domains",
|
|
371
441
|
"title": "List website parked (alias) domains and subdomains",
|
|
@@ -3917,7 +3987,8 @@ const tools: OpenApiTool[] = [
|
|
|
3917
3987
|
"apiToken": []
|
|
3918
3988
|
}
|
|
3919
3989
|
],
|
|
3920
|
-
"group": "hosting"
|
|
3990
|
+
"group": "hosting",
|
|
3991
|
+
"hidden": true
|
|
3921
3992
|
},
|
|
3922
3993
|
{
|
|
3923
3994
|
"name": "hosting_php_get",
|
|
@@ -4039,7 +4110,8 @@ const tools: OpenApiTool[] = [
|
|
|
4039
4110
|
"apiToken": []
|
|
4040
4111
|
}
|
|
4041
4112
|
],
|
|
4042
|
-
"group": "hosting"
|
|
4113
|
+
"group": "hosting",
|
|
4114
|
+
"hidden": true
|
|
4043
4115
|
},
|
|
4044
4116
|
{
|
|
4045
4117
|
"name": "hosting_php_update-options",
|
|
@@ -4081,7 +4153,8 @@ const tools: OpenApiTool[] = [
|
|
|
4081
4153
|
"apiToken": []
|
|
4082
4154
|
}
|
|
4083
4155
|
],
|
|
4084
|
-
"group": "hosting"
|
|
4156
|
+
"group": "hosting",
|
|
4157
|
+
"hidden": true
|
|
4085
4158
|
},
|
|
4086
4159
|
{
|
|
4087
4160
|
"name": "hosting_php_update-version",
|
|
@@ -4122,7 +4195,8 @@ const tools: OpenApiTool[] = [
|
|
|
4122
4195
|
"apiToken": []
|
|
4123
4196
|
}
|
|
4124
4197
|
],
|
|
4125
|
-
"group": "hosting"
|
|
4198
|
+
"group": "hosting",
|
|
4199
|
+
"hidden": true
|
|
4126
4200
|
},
|
|
4127
4201
|
{
|
|
4128
4202
|
"name": "hosting_redirects_list-website",
|
|
@@ -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.30.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.30.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.30.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.30.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.30.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.30.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.30.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.30.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
package/types.d.ts
CHANGED
|
@@ -153,6 +153,35 @@ export interface APITools {
|
|
|
153
153
|
response: any; // Response structure will depend on the API
|
|
154
154
|
};
|
|
155
155
|
|
|
156
|
+
/**
|
|
157
|
+
* Change a website's PHP version, extensions and php.ini options in one call. Pass only what to change, at least one of version, resetExtensions, extensions and options. Steps run in the order version, resetExtensions, extensions, options, and the call stops at the first failure. applied lists the steps that ran. When a step fails, the call returns an error whose text is the same JSON: failed names the step and why, and skipped lists the ones not attempted; a multi-execute batch stops there too. WARNING: changing the version resets the website's extensions (PHP 8.0 and later) and its options to their defaults, so pass the extensions and options to keep in the same call; they are applied after the version. Option values above the plan limit are capped silently: read the applied values back with hosting_php_get, which also lists the available versions, extensions and options. Works for Shared and Cloud hosting websites.
|
|
158
|
+
*/
|
|
159
|
+
"hosting_php_update": {
|
|
160
|
+
params: {
|
|
161
|
+
/**
|
|
162
|
+
* Domain name of the website, exactly as listed on the account and without www. (e.g., example.com)
|
|
163
|
+
*/
|
|
164
|
+
domain: string;
|
|
165
|
+
/**
|
|
166
|
+
* PHP version to switch to, as major.minor (e.g. 8.3). Must be one of the supported versions in hosting_php_get.
|
|
167
|
+
*/
|
|
168
|
+
version?: string;
|
|
169
|
+
/**
|
|
170
|
+
* true resets every PHP extension to its default state; runs after version and before extensions.
|
|
171
|
+
*/
|
|
172
|
+
resetExtensions?: boolean;
|
|
173
|
+
/**
|
|
174
|
+
* Extensions to enable and disable, by name as hosting_php_get lists them. Pass at least one of enable and disable.
|
|
175
|
+
*/
|
|
176
|
+
extensions?: object;
|
|
177
|
+
/**
|
|
178
|
+
* php.ini options to change, keyed by name as hosting_php_get lists them (e.g. {"memory_limit": "512M", "max_execution_time": 300}). Only include options to change.
|
|
179
|
+
*/
|
|
180
|
+
options?: object;
|
|
181
|
+
};
|
|
182
|
+
response: any; // Response structure will depend on the API
|
|
183
|
+
};
|
|
184
|
+
|
|
156
185
|
/**
|
|
157
186
|
* List the extra domains of a website: its parked (alias) domains, which show the same site under another domain name, and its subdomains (e.g. blog.example.com), with each one's root directory. parked items have domain (a domain name or an IP address) and type (domain or ip); subdomains items have domain (the full name), subdomain (the prefix) and root_directory. A list that cannot be read comes back as { error } and the other is still returned. To add or remove one use hosting_websites_add-domain or hosting_websites_remove-domain. Works for Shared and Cloud hosting websites.
|
|
158
187
|
*/
|