@hostinger/mcp 3.2.1 → 3.3.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/CHANGELOG.md +23 -0
- package/README.md +59 -3
- package/gemini-extension.json +1 -1
- package/package.json +1 -1
- package/server.json +2 -2
- package/skills/headless/SKILL.md +247 -36
- package/skills/headless/connect/SKILL.md +103 -0
- package/skills/headless/{entry → connect}/bootstrap.mjs +8 -3
- package/skills/headless/connect/tools/antigravity.md +54 -0
- package/skills/headless/connect/tools/claude-code.md +46 -0
- package/skills/headless/connect/tools/codex.md +48 -0
- package/skills/headless/connect/tools/cursor.md +109 -0
- package/skills/headless/connect/tools/devin.md +50 -0
- package/skills/headless/connect/tools/vscode.md +57 -0
- package/skills/headless/report.schema.json +149 -0
- package/skills/headless/run-log.mjs +662 -0
- package/skills/headless/steps/01-check-state/SKILL.md +193 -0
- package/skills/headless/steps/02-refine/SKILL.md +206 -0
- package/skills/headless/steps/03-provision/SKILL.md +62 -0
- package/skills/headless/steps/03-provision/ecommerce/SKILL.md +133 -0
- package/skills/headless/steps/03-provision/webapp/SKILL.md +154 -0
- package/skills/headless/steps/03-provision/wordpress/SKILL.md +100 -0
- package/skills/headless/steps/04-content-model/SKILL.md +150 -0
- package/skills/headless/steps/04-content-model/ecommerce/SKILL.md +75 -0
- package/skills/headless/steps/04-content-model/wordpress/SKILL.md +178 -0
- package/skills/headless/steps/05-design/SKILL.md +455 -0
- package/skills/headless/steps/05-design/logo-kit.mjs +201 -0
- package/skills/headless/steps/06-frontend/SKILL.md +131 -0
- package/skills/headless/steps/07-validate/SKILL.md +53 -0
- package/skills/headless/steps/08-deploy/SKILL.md +171 -0
- package/skills/headless/steps/09-done/SKILL.md +151 -0
- package/src/core/runtime.js +1 -1
- package/src/core/runtime.ts +1 -1
- package/src/core/skills.js +164 -24
- package/src/core/skills.ts +164 -24
- package/src/core/tools/all.js +142 -1
- package/src/core/tools/all.ts +142 -1
- package/src/core/tools/hosting.js +142 -1
- package/src/core/tools/hosting.ts +142 -1
- 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 +97 -1
- package/skills/headless/entry/skill.md +0 -79
- package/skills/headless/references/DATABASE.md +0 -49
- package/skills/headless/references/DEPLOYMENT.md +0 -34
- package/skills/headless/references/SETUP.md +0 -35
- package/skills/headless/references/STORE.md +0 -52
- package/skills/headless/references/WORDPRESS.md +0 -51
package/src/core/tools/all.js
CHANGED
|
@@ -6165,7 +6165,7 @@ export default [
|
|
|
6165
6165
|
"destructiveHint": true,
|
|
6166
6166
|
"idempotentHint": true
|
|
6167
6167
|
},
|
|
6168
|
-
"description": "Permanently clears all server-side cache for the website at once. Use it when content was\nupdated and needs to be visible immediately, or after making major changes.\n\nAlso purges the Hostinger CDN cache when CDN is enabled on the website. For a WordPress\ninstallation living in a subdirectory, pass the directory query parameter to clear its cache.",
|
|
6168
|
+
"description": "Permanently clears all server-side cache for the website at once. Use it when content was\nupdated and needs to be visible immediately, or after making major changes.\n\nAlso purges the Hostinger CDN cache when CDN is enabled on the website. To purge only the CDN\ncache and leave the server cache untouched, use `Purge CDN cache`. For a WordPress\ninstallation living in a subdirectory, pass the directory query parameter to clear its cache.",
|
|
6169
6169
|
"method": "DELETE",
|
|
6170
6170
|
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cache/clear",
|
|
6171
6171
|
"inputSchema": {
|
|
@@ -6278,6 +6278,147 @@ export default [
|
|
|
6278
6278
|
],
|
|
6279
6279
|
"group": "hosting"
|
|
6280
6280
|
},
|
|
6281
|
+
{
|
|
6282
|
+
"name": "hosting_cdn_disable",
|
|
6283
|
+
"title": "Disable CDN",
|
|
6284
|
+
"annotations": {
|
|
6285
|
+
"title": "Disable CDN",
|
|
6286
|
+
"readOnlyHint": false,
|
|
6287
|
+
"destructiveHint": true
|
|
6288
|
+
},
|
|
6289
|
+
"description": "Turns off the Hostinger CDN for the website domain. Once DNS propagation completes, the\nwebsite content is served directly from the origin server. Repeating the call is safe; when\nCDN is already disabled, it applies the DNS change again.\n\nReturns 422 for platform-managed domains (for example `*.hostingersite.com` and\n`*.app-preview.com`), where CDN cannot be disabled, even when CDN is already off. Also returns\n422 while the account is being moved to another server (retry after the move finishes), or\nwhen the CDN provider rejects the change. Returns 404 when the domain is not a website on the\naccount.",
|
|
6290
|
+
"method": "POST",
|
|
6291
|
+
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cdn/disable",
|
|
6292
|
+
"inputSchema": {
|
|
6293
|
+
"type": "object",
|
|
6294
|
+
"properties": {
|
|
6295
|
+
"username": {
|
|
6296
|
+
"type": "string",
|
|
6297
|
+
"description": "username parameter"
|
|
6298
|
+
},
|
|
6299
|
+
"domain": {
|
|
6300
|
+
"type": "string",
|
|
6301
|
+
"description": "Domain name"
|
|
6302
|
+
}
|
|
6303
|
+
},
|
|
6304
|
+
"required": [
|
|
6305
|
+
"username",
|
|
6306
|
+
"domain"
|
|
6307
|
+
]
|
|
6308
|
+
},
|
|
6309
|
+
"security": [
|
|
6310
|
+
{
|
|
6311
|
+
"apiToken": []
|
|
6312
|
+
}
|
|
6313
|
+
],
|
|
6314
|
+
"group": "hosting"
|
|
6315
|
+
},
|
|
6316
|
+
{
|
|
6317
|
+
"name": "hosting_cdn_enable",
|
|
6318
|
+
"title": "Enable CDN",
|
|
6319
|
+
"annotations": {
|
|
6320
|
+
"title": "Enable CDN",
|
|
6321
|
+
"readOnlyHint": false,
|
|
6322
|
+
"destructiveHint": false
|
|
6323
|
+
},
|
|
6324
|
+
"description": "Turns on the Hostinger CDN for the website domain, which speeds up page loads and reduces the\nload on the server. Works for the main domain, parked domains and subdomains of the account.\n\nEnabling changes the domain's DNS records and usually takes a few seconds. After that, DNS\npropagation can take a few more minutes before visitors are served through the CDN.\n\nRepeating the call is safe, for example after a timeout. When CDN is already enabled, it\napplies the DNS change again and refreshes the CDN SSL certificate.\n\nReturns 422 when the account is disabled, while the account is being moved to another\nserver (retry after the move finishes), or when the CDN provider rejects the change.\nReturns 404 when the domain is not a website on the account.",
|
|
6325
|
+
"method": "POST",
|
|
6326
|
+
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cdn/enable",
|
|
6327
|
+
"inputSchema": {
|
|
6328
|
+
"type": "object",
|
|
6329
|
+
"properties": {
|
|
6330
|
+
"username": {
|
|
6331
|
+
"type": "string",
|
|
6332
|
+
"description": "username parameter"
|
|
6333
|
+
},
|
|
6334
|
+
"domain": {
|
|
6335
|
+
"type": "string",
|
|
6336
|
+
"description": "Domain name"
|
|
6337
|
+
}
|
|
6338
|
+
},
|
|
6339
|
+
"required": [
|
|
6340
|
+
"username",
|
|
6341
|
+
"domain"
|
|
6342
|
+
]
|
|
6343
|
+
},
|
|
6344
|
+
"security": [
|
|
6345
|
+
{
|
|
6346
|
+
"apiToken": []
|
|
6347
|
+
}
|
|
6348
|
+
],
|
|
6349
|
+
"group": "hosting"
|
|
6350
|
+
},
|
|
6351
|
+
{
|
|
6352
|
+
"name": "hosting_cdn_purge-cache",
|
|
6353
|
+
"title": "Purge CDN cache",
|
|
6354
|
+
"annotations": {
|
|
6355
|
+
"title": "Purge CDN cache",
|
|
6356
|
+
"readOnlyHint": false,
|
|
6357
|
+
"destructiveHint": true,
|
|
6358
|
+
"idempotentHint": true
|
|
6359
|
+
},
|
|
6360
|
+
"description": "Purges the website's content from the Hostinger CDN edge cache only. The origin server cache\nis not touched; to clear both, use `Clear website cache`.\n\nReturns 422 when CDN is not enabled on the website. Returns 404 when the domain is not a\nwebsite on the account.",
|
|
6361
|
+
"method": "DELETE",
|
|
6362
|
+
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cdn/purge",
|
|
6363
|
+
"inputSchema": {
|
|
6364
|
+
"type": "object",
|
|
6365
|
+
"properties": {
|
|
6366
|
+
"username": {
|
|
6367
|
+
"type": "string",
|
|
6368
|
+
"description": "username parameter"
|
|
6369
|
+
},
|
|
6370
|
+
"domain": {
|
|
6371
|
+
"type": "string",
|
|
6372
|
+
"description": "Domain name"
|
|
6373
|
+
}
|
|
6374
|
+
},
|
|
6375
|
+
"required": [
|
|
6376
|
+
"username",
|
|
6377
|
+
"domain"
|
|
6378
|
+
]
|
|
6379
|
+
},
|
|
6380
|
+
"security": [
|
|
6381
|
+
{
|
|
6382
|
+
"apiToken": []
|
|
6383
|
+
}
|
|
6384
|
+
],
|
|
6385
|
+
"group": "hosting"
|
|
6386
|
+
},
|
|
6387
|
+
{
|
|
6388
|
+
"name": "hosting_cdn_status",
|
|
6389
|
+
"title": "Get CDN status",
|
|
6390
|
+
"annotations": {
|
|
6391
|
+
"title": "Get CDN status",
|
|
6392
|
+
"readOnlyHint": true,
|
|
6393
|
+
"destructiveHint": false
|
|
6394
|
+
},
|
|
6395
|
+
"description": "Returns whether the Hostinger CDN is enabled for the website domain. Works for the main\ndomain, parked domains and subdomains of the account.\n\nThe domain must be the exact website name as listed on the account, without a `www.` prefix.\nReturns 404 when the domain is not a website on the account.",
|
|
6396
|
+
"method": "GET",
|
|
6397
|
+
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cdn/status",
|
|
6398
|
+
"inputSchema": {
|
|
6399
|
+
"type": "object",
|
|
6400
|
+
"properties": {
|
|
6401
|
+
"username": {
|
|
6402
|
+
"type": "string",
|
|
6403
|
+
"description": "username parameter"
|
|
6404
|
+
},
|
|
6405
|
+
"domain": {
|
|
6406
|
+
"type": "string",
|
|
6407
|
+
"description": "Domain name"
|
|
6408
|
+
}
|
|
6409
|
+
},
|
|
6410
|
+
"required": [
|
|
6411
|
+
"username",
|
|
6412
|
+
"domain"
|
|
6413
|
+
]
|
|
6414
|
+
},
|
|
6415
|
+
"security": [
|
|
6416
|
+
{
|
|
6417
|
+
"apiToken": []
|
|
6418
|
+
}
|
|
6419
|
+
],
|
|
6420
|
+
"group": "hosting"
|
|
6421
|
+
},
|
|
6281
6422
|
{
|
|
6282
6423
|
"name": "hosting_cron-jobs_list",
|
|
6283
6424
|
"title": "List account cron jobs",
|
package/src/core/tools/all.ts
CHANGED
|
@@ -6181,7 +6181,7 @@ const tools: OpenApiTool[] = [
|
|
|
6181
6181
|
"destructiveHint": true,
|
|
6182
6182
|
"idempotentHint": true
|
|
6183
6183
|
},
|
|
6184
|
-
"description": "Permanently clears all server-side cache for the website at once. Use it when content was\nupdated and needs to be visible immediately, or after making major changes.\n\nAlso purges the Hostinger CDN cache when CDN is enabled on the website. For a WordPress\ninstallation living in a subdirectory, pass the directory query parameter to clear its cache.",
|
|
6184
|
+
"description": "Permanently clears all server-side cache for the website at once. Use it when content was\nupdated and needs to be visible immediately, or after making major changes.\n\nAlso purges the Hostinger CDN cache when CDN is enabled on the website. To purge only the CDN\ncache and leave the server cache untouched, use `Purge CDN cache`. For a WordPress\ninstallation living in a subdirectory, pass the directory query parameter to clear its cache.",
|
|
6185
6185
|
"method": "DELETE",
|
|
6186
6186
|
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cache/clear",
|
|
6187
6187
|
"inputSchema": {
|
|
@@ -6294,6 +6294,147 @@ const tools: OpenApiTool[] = [
|
|
|
6294
6294
|
],
|
|
6295
6295
|
"group": "hosting"
|
|
6296
6296
|
},
|
|
6297
|
+
{
|
|
6298
|
+
"name": "hosting_cdn_disable",
|
|
6299
|
+
"title": "Disable CDN",
|
|
6300
|
+
"annotations": {
|
|
6301
|
+
"title": "Disable CDN",
|
|
6302
|
+
"readOnlyHint": false,
|
|
6303
|
+
"destructiveHint": true
|
|
6304
|
+
},
|
|
6305
|
+
"description": "Turns off the Hostinger CDN for the website domain. Once DNS propagation completes, the\nwebsite content is served directly from the origin server. Repeating the call is safe; when\nCDN is already disabled, it applies the DNS change again.\n\nReturns 422 for platform-managed domains (for example `*.hostingersite.com` and\n`*.app-preview.com`), where CDN cannot be disabled, even when CDN is already off. Also returns\n422 while the account is being moved to another server (retry after the move finishes), or\nwhen the CDN provider rejects the change. Returns 404 when the domain is not a website on the\naccount.",
|
|
6306
|
+
"method": "POST",
|
|
6307
|
+
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cdn/disable",
|
|
6308
|
+
"inputSchema": {
|
|
6309
|
+
"type": "object",
|
|
6310
|
+
"properties": {
|
|
6311
|
+
"username": {
|
|
6312
|
+
"type": "string",
|
|
6313
|
+
"description": "username parameter"
|
|
6314
|
+
},
|
|
6315
|
+
"domain": {
|
|
6316
|
+
"type": "string",
|
|
6317
|
+
"description": "Domain name"
|
|
6318
|
+
}
|
|
6319
|
+
},
|
|
6320
|
+
"required": [
|
|
6321
|
+
"username",
|
|
6322
|
+
"domain"
|
|
6323
|
+
]
|
|
6324
|
+
},
|
|
6325
|
+
"security": [
|
|
6326
|
+
{
|
|
6327
|
+
"apiToken": []
|
|
6328
|
+
}
|
|
6329
|
+
],
|
|
6330
|
+
"group": "hosting"
|
|
6331
|
+
},
|
|
6332
|
+
{
|
|
6333
|
+
"name": "hosting_cdn_enable",
|
|
6334
|
+
"title": "Enable CDN",
|
|
6335
|
+
"annotations": {
|
|
6336
|
+
"title": "Enable CDN",
|
|
6337
|
+
"readOnlyHint": false,
|
|
6338
|
+
"destructiveHint": false
|
|
6339
|
+
},
|
|
6340
|
+
"description": "Turns on the Hostinger CDN for the website domain, which speeds up page loads and reduces the\nload on the server. Works for the main domain, parked domains and subdomains of the account.\n\nEnabling changes the domain's DNS records and usually takes a few seconds. After that, DNS\npropagation can take a few more minutes before visitors are served through the CDN.\n\nRepeating the call is safe, for example after a timeout. When CDN is already enabled, it\napplies the DNS change again and refreshes the CDN SSL certificate.\n\nReturns 422 when the account is disabled, while the account is being moved to another\nserver (retry after the move finishes), or when the CDN provider rejects the change.\nReturns 404 when the domain is not a website on the account.",
|
|
6341
|
+
"method": "POST",
|
|
6342
|
+
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cdn/enable",
|
|
6343
|
+
"inputSchema": {
|
|
6344
|
+
"type": "object",
|
|
6345
|
+
"properties": {
|
|
6346
|
+
"username": {
|
|
6347
|
+
"type": "string",
|
|
6348
|
+
"description": "username parameter"
|
|
6349
|
+
},
|
|
6350
|
+
"domain": {
|
|
6351
|
+
"type": "string",
|
|
6352
|
+
"description": "Domain name"
|
|
6353
|
+
}
|
|
6354
|
+
},
|
|
6355
|
+
"required": [
|
|
6356
|
+
"username",
|
|
6357
|
+
"domain"
|
|
6358
|
+
]
|
|
6359
|
+
},
|
|
6360
|
+
"security": [
|
|
6361
|
+
{
|
|
6362
|
+
"apiToken": []
|
|
6363
|
+
}
|
|
6364
|
+
],
|
|
6365
|
+
"group": "hosting"
|
|
6366
|
+
},
|
|
6367
|
+
{
|
|
6368
|
+
"name": "hosting_cdn_purge-cache",
|
|
6369
|
+
"title": "Purge CDN cache",
|
|
6370
|
+
"annotations": {
|
|
6371
|
+
"title": "Purge CDN cache",
|
|
6372
|
+
"readOnlyHint": false,
|
|
6373
|
+
"destructiveHint": true,
|
|
6374
|
+
"idempotentHint": true
|
|
6375
|
+
},
|
|
6376
|
+
"description": "Purges the website's content from the Hostinger CDN edge cache only. The origin server cache\nis not touched; to clear both, use `Clear website cache`.\n\nReturns 422 when CDN is not enabled on the website. Returns 404 when the domain is not a\nwebsite on the account.",
|
|
6377
|
+
"method": "DELETE",
|
|
6378
|
+
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cdn/purge",
|
|
6379
|
+
"inputSchema": {
|
|
6380
|
+
"type": "object",
|
|
6381
|
+
"properties": {
|
|
6382
|
+
"username": {
|
|
6383
|
+
"type": "string",
|
|
6384
|
+
"description": "username parameter"
|
|
6385
|
+
},
|
|
6386
|
+
"domain": {
|
|
6387
|
+
"type": "string",
|
|
6388
|
+
"description": "Domain name"
|
|
6389
|
+
}
|
|
6390
|
+
},
|
|
6391
|
+
"required": [
|
|
6392
|
+
"username",
|
|
6393
|
+
"domain"
|
|
6394
|
+
]
|
|
6395
|
+
},
|
|
6396
|
+
"security": [
|
|
6397
|
+
{
|
|
6398
|
+
"apiToken": []
|
|
6399
|
+
}
|
|
6400
|
+
],
|
|
6401
|
+
"group": "hosting"
|
|
6402
|
+
},
|
|
6403
|
+
{
|
|
6404
|
+
"name": "hosting_cdn_status",
|
|
6405
|
+
"title": "Get CDN status",
|
|
6406
|
+
"annotations": {
|
|
6407
|
+
"title": "Get CDN status",
|
|
6408
|
+
"readOnlyHint": true,
|
|
6409
|
+
"destructiveHint": false
|
|
6410
|
+
},
|
|
6411
|
+
"description": "Returns whether the Hostinger CDN is enabled for the website domain. Works for the main\ndomain, parked domains and subdomains of the account.\n\nThe domain must be the exact website name as listed on the account, without a `www.` prefix.\nReturns 404 when the domain is not a website on the account.",
|
|
6412
|
+
"method": "GET",
|
|
6413
|
+
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cdn/status",
|
|
6414
|
+
"inputSchema": {
|
|
6415
|
+
"type": "object",
|
|
6416
|
+
"properties": {
|
|
6417
|
+
"username": {
|
|
6418
|
+
"type": "string",
|
|
6419
|
+
"description": "username parameter"
|
|
6420
|
+
},
|
|
6421
|
+
"domain": {
|
|
6422
|
+
"type": "string",
|
|
6423
|
+
"description": "Domain name"
|
|
6424
|
+
}
|
|
6425
|
+
},
|
|
6426
|
+
"required": [
|
|
6427
|
+
"username",
|
|
6428
|
+
"domain"
|
|
6429
|
+
]
|
|
6430
|
+
},
|
|
6431
|
+
"security": [
|
|
6432
|
+
{
|
|
6433
|
+
"apiToken": []
|
|
6434
|
+
}
|
|
6435
|
+
],
|
|
6436
|
+
"group": "hosting"
|
|
6437
|
+
},
|
|
6297
6438
|
{
|
|
6298
6439
|
"name": "hosting_cron-jobs_list",
|
|
6299
6440
|
"title": "List account cron jobs",
|
|
@@ -475,7 +475,7 @@ export default [
|
|
|
475
475
|
"destructiveHint": true,
|
|
476
476
|
"idempotentHint": true
|
|
477
477
|
},
|
|
478
|
-
"description": "Permanently clears all server-side cache for the website at once. Use it when content was\nupdated and needs to be visible immediately, or after making major changes.\n\nAlso purges the Hostinger CDN cache when CDN is enabled on the website. For a WordPress\ninstallation living in a subdirectory, pass the directory query parameter to clear its cache.",
|
|
478
|
+
"description": "Permanently clears all server-side cache for the website at once. Use it when content was\nupdated and needs to be visible immediately, or after making major changes.\n\nAlso purges the Hostinger CDN cache when CDN is enabled on the website. To purge only the CDN\ncache and leave the server cache untouched, use `Purge CDN cache`. For a WordPress\ninstallation living in a subdirectory, pass the directory query parameter to clear its cache.",
|
|
479
479
|
"method": "DELETE",
|
|
480
480
|
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cache/clear",
|
|
481
481
|
"inputSchema": {
|
|
@@ -588,6 +588,147 @@ export default [
|
|
|
588
588
|
],
|
|
589
589
|
"group": "hosting"
|
|
590
590
|
},
|
|
591
|
+
{
|
|
592
|
+
"name": "hosting_cdn_disable",
|
|
593
|
+
"title": "Disable CDN",
|
|
594
|
+
"annotations": {
|
|
595
|
+
"title": "Disable CDN",
|
|
596
|
+
"readOnlyHint": false,
|
|
597
|
+
"destructiveHint": true
|
|
598
|
+
},
|
|
599
|
+
"description": "Turns off the Hostinger CDN for the website domain. Once DNS propagation completes, the\nwebsite content is served directly from the origin server. Repeating the call is safe; when\nCDN is already disabled, it applies the DNS change again.\n\nReturns 422 for platform-managed domains (for example `*.hostingersite.com` and\n`*.app-preview.com`), where CDN cannot be disabled, even when CDN is already off. Also returns\n422 while the account is being moved to another server (retry after the move finishes), or\nwhen the CDN provider rejects the change. Returns 404 when the domain is not a website on the\naccount.",
|
|
600
|
+
"method": "POST",
|
|
601
|
+
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cdn/disable",
|
|
602
|
+
"inputSchema": {
|
|
603
|
+
"type": "object",
|
|
604
|
+
"properties": {
|
|
605
|
+
"username": {
|
|
606
|
+
"type": "string",
|
|
607
|
+
"description": "username parameter"
|
|
608
|
+
},
|
|
609
|
+
"domain": {
|
|
610
|
+
"type": "string",
|
|
611
|
+
"description": "Domain name"
|
|
612
|
+
}
|
|
613
|
+
},
|
|
614
|
+
"required": [
|
|
615
|
+
"username",
|
|
616
|
+
"domain"
|
|
617
|
+
]
|
|
618
|
+
},
|
|
619
|
+
"security": [
|
|
620
|
+
{
|
|
621
|
+
"apiToken": []
|
|
622
|
+
}
|
|
623
|
+
],
|
|
624
|
+
"group": "hosting"
|
|
625
|
+
},
|
|
626
|
+
{
|
|
627
|
+
"name": "hosting_cdn_enable",
|
|
628
|
+
"title": "Enable CDN",
|
|
629
|
+
"annotations": {
|
|
630
|
+
"title": "Enable CDN",
|
|
631
|
+
"readOnlyHint": false,
|
|
632
|
+
"destructiveHint": false
|
|
633
|
+
},
|
|
634
|
+
"description": "Turns on the Hostinger CDN for the website domain, which speeds up page loads and reduces the\nload on the server. Works for the main domain, parked domains and subdomains of the account.\n\nEnabling changes the domain's DNS records and usually takes a few seconds. After that, DNS\npropagation can take a few more minutes before visitors are served through the CDN.\n\nRepeating the call is safe, for example after a timeout. When CDN is already enabled, it\napplies the DNS change again and refreshes the CDN SSL certificate.\n\nReturns 422 when the account is disabled, while the account is being moved to another\nserver (retry after the move finishes), or when the CDN provider rejects the change.\nReturns 404 when the domain is not a website on the account.",
|
|
635
|
+
"method": "POST",
|
|
636
|
+
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cdn/enable",
|
|
637
|
+
"inputSchema": {
|
|
638
|
+
"type": "object",
|
|
639
|
+
"properties": {
|
|
640
|
+
"username": {
|
|
641
|
+
"type": "string",
|
|
642
|
+
"description": "username parameter"
|
|
643
|
+
},
|
|
644
|
+
"domain": {
|
|
645
|
+
"type": "string",
|
|
646
|
+
"description": "Domain name"
|
|
647
|
+
}
|
|
648
|
+
},
|
|
649
|
+
"required": [
|
|
650
|
+
"username",
|
|
651
|
+
"domain"
|
|
652
|
+
]
|
|
653
|
+
},
|
|
654
|
+
"security": [
|
|
655
|
+
{
|
|
656
|
+
"apiToken": []
|
|
657
|
+
}
|
|
658
|
+
],
|
|
659
|
+
"group": "hosting"
|
|
660
|
+
},
|
|
661
|
+
{
|
|
662
|
+
"name": "hosting_cdn_purge-cache",
|
|
663
|
+
"title": "Purge CDN cache",
|
|
664
|
+
"annotations": {
|
|
665
|
+
"title": "Purge CDN cache",
|
|
666
|
+
"readOnlyHint": false,
|
|
667
|
+
"destructiveHint": true,
|
|
668
|
+
"idempotentHint": true
|
|
669
|
+
},
|
|
670
|
+
"description": "Purges the website's content from the Hostinger CDN edge cache only. The origin server cache\nis not touched; to clear both, use `Clear website cache`.\n\nReturns 422 when CDN is not enabled on the website. Returns 404 when the domain is not a\nwebsite on the account.",
|
|
671
|
+
"method": "DELETE",
|
|
672
|
+
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cdn/purge",
|
|
673
|
+
"inputSchema": {
|
|
674
|
+
"type": "object",
|
|
675
|
+
"properties": {
|
|
676
|
+
"username": {
|
|
677
|
+
"type": "string",
|
|
678
|
+
"description": "username parameter"
|
|
679
|
+
},
|
|
680
|
+
"domain": {
|
|
681
|
+
"type": "string",
|
|
682
|
+
"description": "Domain name"
|
|
683
|
+
}
|
|
684
|
+
},
|
|
685
|
+
"required": [
|
|
686
|
+
"username",
|
|
687
|
+
"domain"
|
|
688
|
+
]
|
|
689
|
+
},
|
|
690
|
+
"security": [
|
|
691
|
+
{
|
|
692
|
+
"apiToken": []
|
|
693
|
+
}
|
|
694
|
+
],
|
|
695
|
+
"group": "hosting"
|
|
696
|
+
},
|
|
697
|
+
{
|
|
698
|
+
"name": "hosting_cdn_status",
|
|
699
|
+
"title": "Get CDN status",
|
|
700
|
+
"annotations": {
|
|
701
|
+
"title": "Get CDN status",
|
|
702
|
+
"readOnlyHint": true,
|
|
703
|
+
"destructiveHint": false
|
|
704
|
+
},
|
|
705
|
+
"description": "Returns whether the Hostinger CDN is enabled for the website domain. Works for the main\ndomain, parked domains and subdomains of the account.\n\nThe domain must be the exact website name as listed on the account, without a `www.` prefix.\nReturns 404 when the domain is not a website on the account.",
|
|
706
|
+
"method": "GET",
|
|
707
|
+
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cdn/status",
|
|
708
|
+
"inputSchema": {
|
|
709
|
+
"type": "object",
|
|
710
|
+
"properties": {
|
|
711
|
+
"username": {
|
|
712
|
+
"type": "string",
|
|
713
|
+
"description": "username parameter"
|
|
714
|
+
},
|
|
715
|
+
"domain": {
|
|
716
|
+
"type": "string",
|
|
717
|
+
"description": "Domain name"
|
|
718
|
+
}
|
|
719
|
+
},
|
|
720
|
+
"required": [
|
|
721
|
+
"username",
|
|
722
|
+
"domain"
|
|
723
|
+
]
|
|
724
|
+
},
|
|
725
|
+
"security": [
|
|
726
|
+
{
|
|
727
|
+
"apiToken": []
|
|
728
|
+
}
|
|
729
|
+
],
|
|
730
|
+
"group": "hosting"
|
|
731
|
+
},
|
|
591
732
|
{
|
|
592
733
|
"name": "hosting_cron-jobs_list",
|
|
593
734
|
"title": "List account cron jobs",
|
|
@@ -491,7 +491,7 @@ const tools: OpenApiTool[] = [
|
|
|
491
491
|
"destructiveHint": true,
|
|
492
492
|
"idempotentHint": true
|
|
493
493
|
},
|
|
494
|
-
"description": "Permanently clears all server-side cache for the website at once. Use it when content was\nupdated and needs to be visible immediately, or after making major changes.\n\nAlso purges the Hostinger CDN cache when CDN is enabled on the website. For a WordPress\ninstallation living in a subdirectory, pass the directory query parameter to clear its cache.",
|
|
494
|
+
"description": "Permanently clears all server-side cache for the website at once. Use it when content was\nupdated and needs to be visible immediately, or after making major changes.\n\nAlso purges the Hostinger CDN cache when CDN is enabled on the website. To purge only the CDN\ncache and leave the server cache untouched, use `Purge CDN cache`. For a WordPress\ninstallation living in a subdirectory, pass the directory query parameter to clear its cache.",
|
|
495
495
|
"method": "DELETE",
|
|
496
496
|
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cache/clear",
|
|
497
497
|
"inputSchema": {
|
|
@@ -604,6 +604,147 @@ const tools: OpenApiTool[] = [
|
|
|
604
604
|
],
|
|
605
605
|
"group": "hosting"
|
|
606
606
|
},
|
|
607
|
+
{
|
|
608
|
+
"name": "hosting_cdn_disable",
|
|
609
|
+
"title": "Disable CDN",
|
|
610
|
+
"annotations": {
|
|
611
|
+
"title": "Disable CDN",
|
|
612
|
+
"readOnlyHint": false,
|
|
613
|
+
"destructiveHint": true
|
|
614
|
+
},
|
|
615
|
+
"description": "Turns off the Hostinger CDN for the website domain. Once DNS propagation completes, the\nwebsite content is served directly from the origin server. Repeating the call is safe; when\nCDN is already disabled, it applies the DNS change again.\n\nReturns 422 for platform-managed domains (for example `*.hostingersite.com` and\n`*.app-preview.com`), where CDN cannot be disabled, even when CDN is already off. Also returns\n422 while the account is being moved to another server (retry after the move finishes), or\nwhen the CDN provider rejects the change. Returns 404 when the domain is not a website on the\naccount.",
|
|
616
|
+
"method": "POST",
|
|
617
|
+
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cdn/disable",
|
|
618
|
+
"inputSchema": {
|
|
619
|
+
"type": "object",
|
|
620
|
+
"properties": {
|
|
621
|
+
"username": {
|
|
622
|
+
"type": "string",
|
|
623
|
+
"description": "username parameter"
|
|
624
|
+
},
|
|
625
|
+
"domain": {
|
|
626
|
+
"type": "string",
|
|
627
|
+
"description": "Domain name"
|
|
628
|
+
}
|
|
629
|
+
},
|
|
630
|
+
"required": [
|
|
631
|
+
"username",
|
|
632
|
+
"domain"
|
|
633
|
+
]
|
|
634
|
+
},
|
|
635
|
+
"security": [
|
|
636
|
+
{
|
|
637
|
+
"apiToken": []
|
|
638
|
+
}
|
|
639
|
+
],
|
|
640
|
+
"group": "hosting"
|
|
641
|
+
},
|
|
642
|
+
{
|
|
643
|
+
"name": "hosting_cdn_enable",
|
|
644
|
+
"title": "Enable CDN",
|
|
645
|
+
"annotations": {
|
|
646
|
+
"title": "Enable CDN",
|
|
647
|
+
"readOnlyHint": false,
|
|
648
|
+
"destructiveHint": false
|
|
649
|
+
},
|
|
650
|
+
"description": "Turns on the Hostinger CDN for the website domain, which speeds up page loads and reduces the\nload on the server. Works for the main domain, parked domains and subdomains of the account.\n\nEnabling changes the domain's DNS records and usually takes a few seconds. After that, DNS\npropagation can take a few more minutes before visitors are served through the CDN.\n\nRepeating the call is safe, for example after a timeout. When CDN is already enabled, it\napplies the DNS change again and refreshes the CDN SSL certificate.\n\nReturns 422 when the account is disabled, while the account is being moved to another\nserver (retry after the move finishes), or when the CDN provider rejects the change.\nReturns 404 when the domain is not a website on the account.",
|
|
651
|
+
"method": "POST",
|
|
652
|
+
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cdn/enable",
|
|
653
|
+
"inputSchema": {
|
|
654
|
+
"type": "object",
|
|
655
|
+
"properties": {
|
|
656
|
+
"username": {
|
|
657
|
+
"type": "string",
|
|
658
|
+
"description": "username parameter"
|
|
659
|
+
},
|
|
660
|
+
"domain": {
|
|
661
|
+
"type": "string",
|
|
662
|
+
"description": "Domain name"
|
|
663
|
+
}
|
|
664
|
+
},
|
|
665
|
+
"required": [
|
|
666
|
+
"username",
|
|
667
|
+
"domain"
|
|
668
|
+
]
|
|
669
|
+
},
|
|
670
|
+
"security": [
|
|
671
|
+
{
|
|
672
|
+
"apiToken": []
|
|
673
|
+
}
|
|
674
|
+
],
|
|
675
|
+
"group": "hosting"
|
|
676
|
+
},
|
|
677
|
+
{
|
|
678
|
+
"name": "hosting_cdn_purge-cache",
|
|
679
|
+
"title": "Purge CDN cache",
|
|
680
|
+
"annotations": {
|
|
681
|
+
"title": "Purge CDN cache",
|
|
682
|
+
"readOnlyHint": false,
|
|
683
|
+
"destructiveHint": true,
|
|
684
|
+
"idempotentHint": true
|
|
685
|
+
},
|
|
686
|
+
"description": "Purges the website's content from the Hostinger CDN edge cache only. The origin server cache\nis not touched; to clear both, use `Clear website cache`.\n\nReturns 422 when CDN is not enabled on the website. Returns 404 when the domain is not a\nwebsite on the account.",
|
|
687
|
+
"method": "DELETE",
|
|
688
|
+
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cdn/purge",
|
|
689
|
+
"inputSchema": {
|
|
690
|
+
"type": "object",
|
|
691
|
+
"properties": {
|
|
692
|
+
"username": {
|
|
693
|
+
"type": "string",
|
|
694
|
+
"description": "username parameter"
|
|
695
|
+
},
|
|
696
|
+
"domain": {
|
|
697
|
+
"type": "string",
|
|
698
|
+
"description": "Domain name"
|
|
699
|
+
}
|
|
700
|
+
},
|
|
701
|
+
"required": [
|
|
702
|
+
"username",
|
|
703
|
+
"domain"
|
|
704
|
+
]
|
|
705
|
+
},
|
|
706
|
+
"security": [
|
|
707
|
+
{
|
|
708
|
+
"apiToken": []
|
|
709
|
+
}
|
|
710
|
+
],
|
|
711
|
+
"group": "hosting"
|
|
712
|
+
},
|
|
713
|
+
{
|
|
714
|
+
"name": "hosting_cdn_status",
|
|
715
|
+
"title": "Get CDN status",
|
|
716
|
+
"annotations": {
|
|
717
|
+
"title": "Get CDN status",
|
|
718
|
+
"readOnlyHint": true,
|
|
719
|
+
"destructiveHint": false
|
|
720
|
+
},
|
|
721
|
+
"description": "Returns whether the Hostinger CDN is enabled for the website domain. Works for the main\ndomain, parked domains and subdomains of the account.\n\nThe domain must be the exact website name as listed on the account, without a `www.` prefix.\nReturns 404 when the domain is not a website on the account.",
|
|
722
|
+
"method": "GET",
|
|
723
|
+
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cdn/status",
|
|
724
|
+
"inputSchema": {
|
|
725
|
+
"type": "object",
|
|
726
|
+
"properties": {
|
|
727
|
+
"username": {
|
|
728
|
+
"type": "string",
|
|
729
|
+
"description": "username parameter"
|
|
730
|
+
},
|
|
731
|
+
"domain": {
|
|
732
|
+
"type": "string",
|
|
733
|
+
"description": "Domain name"
|
|
734
|
+
}
|
|
735
|
+
},
|
|
736
|
+
"required": [
|
|
737
|
+
"username",
|
|
738
|
+
"domain"
|
|
739
|
+
]
|
|
740
|
+
},
|
|
741
|
+
"security": [
|
|
742
|
+
{
|
|
743
|
+
"apiToken": []
|
|
744
|
+
}
|
|
745
|
+
],
|
|
746
|
+
"group": "hosting"
|
|
747
|
+
},
|
|
607
748
|
{
|
|
608
749
|
"name": "hosting_cron-jobs_list",
|
|
609
750
|
"title": "List account cron jobs",
|
|
@@ -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.3.0', 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.3.0', 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.3.0', 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.3.0', 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.3.0', 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.3.0', tools, instructions, skills });
|