@hostinger/mcp 3.2.1 → 3.2.2
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 +16 -0
- package/README.md +59 -3
- 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/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/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,22 @@ Generated at release time from the diff between the previous and current
|
|
|
4
4
|
build. Tool changes are listed individually; everything else is summarised
|
|
5
5
|
by area.
|
|
6
6
|
|
|
7
|
+
## v3.2.2 — 2026-10-19
|
|
8
|
+
|
|
9
|
+
### Operations
|
|
10
|
+
|
|
11
|
+
- Added `hosting_cdn_disable` — Disable CDN
|
|
12
|
+
- Added `hosting_cdn_enable` — Enable CDN
|
|
13
|
+
- Added `hosting_cdn_purge-cache` — Purge CDN cache
|
|
14
|
+
- Added `hosting_cdn_status` — Get CDN status
|
|
15
|
+
- Changed the description of `hosting_cache_clear-website`
|
|
16
|
+
|
|
17
|
+
### Also in this release
|
|
18
|
+
|
|
19
|
+
- Documentation: `README.md`
|
|
20
|
+
- Request handling and authentication: `src/core/runtime.js`, `src/core/runtime.ts`
|
|
21
|
+
- Build and packaging: `types.d.ts`
|
|
22
|
+
|
|
7
23
|
## v3.2.1 — 2026-10-19
|
|
8
24
|
|
|
9
25
|
### Operations
|
package/README.md
CHANGED
|
@@ -69,7 +69,7 @@ pnpm update -g @hostinger/mcp
|
|
|
69
69
|
|
|
70
70
|
This package installs the following MCP server commands:
|
|
71
71
|
|
|
72
|
-
- `hostinger-api-mcp` — unified server over every operation (
|
|
72
|
+
- `hostinger-api-mcp` — unified server over every operation (403 total)
|
|
73
73
|
- `hostinger-agency-hosting-mcp` — 42 operations for agency-hosting
|
|
74
74
|
- `hostinger-agent-readiness-mcp` — 3 operations for agent-readiness
|
|
75
75
|
- `hostinger-billing-mcp` — 9 operations for billing
|
|
@@ -77,7 +77,7 @@ This package installs the following MCP server commands:
|
|
|
77
77
|
- `hostinger-domains-mcp` — 42 operations for domains
|
|
78
78
|
- `hostinger-ecommerce-mcp` — 29 operations for ecommerce
|
|
79
79
|
- `hostinger-horizons-mcp` — 6 operations for horizons
|
|
80
|
-
- `hostinger-hosting-mcp` —
|
|
80
|
+
- `hostinger-hosting-mcp` — 66 operations for hosting
|
|
81
81
|
- `hostinger-mail-mcp` — 38 operations for mail
|
|
82
82
|
- `hostinger-reach-mcp` — 56 operations for reach
|
|
83
83
|
- `hostinger-vps-mcp` — 67 operations for vps
|
|
@@ -1833,7 +1833,8 @@ Check deployment status, build status, build logs and why a build failed (failur
|
|
|
1833
1833
|
Permanently clears all server-side cache for the website at once. Use it when content was
|
|
1834
1834
|
updated and needs to be visible immediately, or after making major changes.
|
|
1835
1835
|
|
|
1836
|
-
Also purges the Hostinger CDN cache when CDN is enabled on the website.
|
|
1836
|
+
Also purges the Hostinger CDN cache when CDN is enabled on the website. To purge only the CDN
|
|
1837
|
+
cache and leave the server cache untouched, use `Purge CDN cache`. For a WordPress
|
|
1837
1838
|
installation living in a subdirectory, pass the directory query parameter to clear its cache.
|
|
1838
1839
|
|
|
1839
1840
|
- **Method**: `DELETE`
|
|
@@ -1861,6 +1862,61 @@ Does nothing if caching is already in the requested state.
|
|
|
1861
1862
|
- **Method**: `PATCH`
|
|
1862
1863
|
- **Path**: `/api/hosting/v1/accounts/{username}/websites/{domain}/cache/toggle`
|
|
1863
1864
|
|
|
1865
|
+
#### hosting_cdn_disable
|
|
1866
|
+
|
|
1867
|
+
Turns off the Hostinger CDN for the website domain. Once DNS propagation completes, the
|
|
1868
|
+
website content is served directly from the origin server. Repeating the call is safe; when
|
|
1869
|
+
CDN is already disabled, it applies the DNS change again.
|
|
1870
|
+
|
|
1871
|
+
Returns 422 for platform-managed domains (for example `*.hostingersite.com` and
|
|
1872
|
+
`*.app-preview.com`), where CDN cannot be disabled, even when CDN is already off. Also returns
|
|
1873
|
+
422 while the account is being moved to another server (retry after the move finishes), or
|
|
1874
|
+
when the CDN provider rejects the change. Returns 404 when the domain is not a website on the
|
|
1875
|
+
account.
|
|
1876
|
+
|
|
1877
|
+
- **Method**: `POST`
|
|
1878
|
+
- **Path**: `/api/hosting/v1/accounts/{username}/websites/{domain}/cdn/disable`
|
|
1879
|
+
|
|
1880
|
+
#### hosting_cdn_enable
|
|
1881
|
+
|
|
1882
|
+
Turns on the Hostinger CDN for the website domain, which speeds up page loads and reduces the
|
|
1883
|
+
load on the server. Works for the main domain, parked domains and subdomains of the account.
|
|
1884
|
+
|
|
1885
|
+
Enabling changes the domain's DNS records and usually takes a few seconds. After that, DNS
|
|
1886
|
+
propagation can take a few more minutes before visitors are served through the CDN.
|
|
1887
|
+
|
|
1888
|
+
Repeating the call is safe, for example after a timeout. When CDN is already enabled, it
|
|
1889
|
+
applies the DNS change again and refreshes the CDN SSL certificate.
|
|
1890
|
+
|
|
1891
|
+
Returns 422 when the account is disabled, while the account is being moved to another
|
|
1892
|
+
server (retry after the move finishes), or when the CDN provider rejects the change.
|
|
1893
|
+
Returns 404 when the domain is not a website on the account.
|
|
1894
|
+
|
|
1895
|
+
- **Method**: `POST`
|
|
1896
|
+
- **Path**: `/api/hosting/v1/accounts/{username}/websites/{domain}/cdn/enable`
|
|
1897
|
+
|
|
1898
|
+
#### hosting_cdn_purge-cache
|
|
1899
|
+
|
|
1900
|
+
Purges the website's content from the Hostinger CDN edge cache only. The origin server cache
|
|
1901
|
+
is not touched; to clear both, use `Clear website cache`.
|
|
1902
|
+
|
|
1903
|
+
Returns 422 when CDN is not enabled on the website. Returns 404 when the domain is not a
|
|
1904
|
+
website on the account.
|
|
1905
|
+
|
|
1906
|
+
- **Method**: `DELETE`
|
|
1907
|
+
- **Path**: `/api/hosting/v1/accounts/{username}/websites/{domain}/cdn/purge`
|
|
1908
|
+
|
|
1909
|
+
#### hosting_cdn_status
|
|
1910
|
+
|
|
1911
|
+
Returns whether the Hostinger CDN is enabled for the website domain. Works for the main
|
|
1912
|
+
domain, parked domains and subdomains of the account.
|
|
1913
|
+
|
|
1914
|
+
The domain must be the exact website name as listed on the account, without a `www.` prefix.
|
|
1915
|
+
Returns 404 when the domain is not a website on the account.
|
|
1916
|
+
|
|
1917
|
+
- **Method**: `GET`
|
|
1918
|
+
- **Path**: `/api/hosting/v1/accounts/{username}/websites/{domain}/cdn/status`
|
|
1919
|
+
|
|
1864
1920
|
#### hosting_cron-jobs_list
|
|
1865
1921
|
|
|
1866
1922
|
Returns the list of cron jobs configured for the specified account, including their schedule and command.
|
package/gemini-extension.json
CHANGED
package/package.json
CHANGED
package/server.json
CHANGED
|
@@ -6,12 +6,12 @@
|
|
|
6
6
|
"url": "https://github.com/hostinger/api-mcp-server",
|
|
7
7
|
"source": "github"
|
|
8
8
|
},
|
|
9
|
-
"version": "3.2.
|
|
9
|
+
"version": "3.2.2",
|
|
10
10
|
"packages": [
|
|
11
11
|
{
|
|
12
12
|
"registryType": "npm",
|
|
13
13
|
"identifier": "@hostinger/mcp",
|
|
14
|
-
"version": "3.2.
|
|
14
|
+
"version": "3.2.2",
|
|
15
15
|
"transport": {
|
|
16
16
|
"type": "stdio"
|
|
17
17
|
},
|
package/src/core/runtime.js
CHANGED
|
@@ -66,7 +66,7 @@ const GetSkillRequestSchema = z.object({
|
|
|
66
66
|
|
|
67
67
|
/**
|
|
68
68
|
* MCP Server for Hostinger API
|
|
69
|
-
* Generated from OpenAPI spec version 2.1.
|
|
69
|
+
* Generated from OpenAPI spec version 2.1.2
|
|
70
70
|
*/
|
|
71
71
|
class MCPServer {
|
|
72
72
|
constructor({ name, version, tools, instructions, skills = [] }) {
|
package/src/core/runtime.ts
CHANGED
|
@@ -97,7 +97,7 @@ interface Skill { uri: string; frontmatter: Record<string, unknown>; resources:
|
|
|
97
97
|
|
|
98
98
|
/**
|
|
99
99
|
* MCP Server for Hostinger API
|
|
100
|
-
* Generated from OpenAPI spec version 2.1.
|
|
100
|
+
* Generated from OpenAPI spec version 2.1.2
|
|
101
101
|
*/
|
|
102
102
|
class MCPServer {
|
|
103
103
|
private readonly name: string;
|
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.2.
|
|
7
|
+
startServer({ name: 'hostinger-agency-hosting-mcp', version: '3.2.2', 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.2.
|
|
7
|
+
startServer({ name: 'hostinger-agency-hosting-mcp', version: '3.2.2', 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.2.
|
|
6
|
+
startServer({ name: 'hostinger-agent-readiness-mcp', version: '3.2.2', 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.2.
|
|
6
|
+
startServer({ name: 'hostinger-agent-readiness-mcp', version: '3.2.2', 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.2.
|
|
8
|
+
startServer({ name: 'hostinger-api-mcp', version: '3.2.2', 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.2.
|
|
8
|
+
startServer({ name: 'hostinger-api-mcp', version: '3.2.2', 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/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.2.
|
|
7
|
+
startServer({ name: 'hostinger-hosting-mcp', version: '3.2.2', 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.2.
|
|
7
|
+
startServer({ name: 'hostinger-hosting-mcp', version: '3.2.2', 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
|
@@ -3387,7 +3387,8 @@ interface in the provided website URL.
|
|
|
3387
3387
|
* Permanently clears all server-side cache for the website at once. Use it when content was
|
|
3388
3388
|
updated and needs to be visible immediately, or after making major changes.
|
|
3389
3389
|
|
|
3390
|
-
Also purges the Hostinger CDN cache when CDN is enabled on the website.
|
|
3390
|
+
Also purges the Hostinger CDN cache when CDN is enabled on the website. To purge only the CDN
|
|
3391
|
+
cache and leave the server cache untouched, use `Purge CDN cache`. For a WordPress
|
|
3391
3392
|
installation living in a subdirectory, pass the directory query parameter to clear its cache.
|
|
3392
3393
|
*/
|
|
3393
3394
|
"hosting_cache_clear-website": {
|
|
@@ -3459,6 +3460,101 @@ Does nothing if caching is already in the requested state.
|
|
|
3459
3460
|
response: any; // Response structure will depend on the API
|
|
3460
3461
|
};
|
|
3461
3462
|
|
|
3463
|
+
/**
|
|
3464
|
+
* Turns off the Hostinger CDN for the website domain. Once DNS propagation completes, the
|
|
3465
|
+
website content is served directly from the origin server. Repeating the call is safe; when
|
|
3466
|
+
CDN is already disabled, it applies the DNS change again.
|
|
3467
|
+
|
|
3468
|
+
Returns 422 for platform-managed domains (for example `*.hostingersite.com` and
|
|
3469
|
+
`*.app-preview.com`), where CDN cannot be disabled, even when CDN is already off. Also returns
|
|
3470
|
+
422 while the account is being moved to another server (retry after the move finishes), or
|
|
3471
|
+
when the CDN provider rejects the change. Returns 404 when the domain is not a website on the
|
|
3472
|
+
account.
|
|
3473
|
+
*/
|
|
3474
|
+
"hosting_cdn_disable": {
|
|
3475
|
+
params: {
|
|
3476
|
+
/**
|
|
3477
|
+
* username parameter
|
|
3478
|
+
*/
|
|
3479
|
+
username: string;
|
|
3480
|
+
/**
|
|
3481
|
+
* Domain name
|
|
3482
|
+
*/
|
|
3483
|
+
domain: string;
|
|
3484
|
+
};
|
|
3485
|
+
response: any; // Response structure will depend on the API
|
|
3486
|
+
};
|
|
3487
|
+
|
|
3488
|
+
/**
|
|
3489
|
+
* Turns on the Hostinger CDN for the website domain, which speeds up page loads and reduces the
|
|
3490
|
+
load on the server. Works for the main domain, parked domains and subdomains of the account.
|
|
3491
|
+
|
|
3492
|
+
Enabling changes the domain's DNS records and usually takes a few seconds. After that, DNS
|
|
3493
|
+
propagation can take a few more minutes before visitors are served through the CDN.
|
|
3494
|
+
|
|
3495
|
+
Repeating the call is safe, for example after a timeout. When CDN is already enabled, it
|
|
3496
|
+
applies the DNS change again and refreshes the CDN SSL certificate.
|
|
3497
|
+
|
|
3498
|
+
Returns 422 when the account is disabled, while the account is being moved to another
|
|
3499
|
+
server (retry after the move finishes), or when the CDN provider rejects the change.
|
|
3500
|
+
Returns 404 when the domain is not a website on the account.
|
|
3501
|
+
*/
|
|
3502
|
+
"hosting_cdn_enable": {
|
|
3503
|
+
params: {
|
|
3504
|
+
/**
|
|
3505
|
+
* username parameter
|
|
3506
|
+
*/
|
|
3507
|
+
username: string;
|
|
3508
|
+
/**
|
|
3509
|
+
* Domain name
|
|
3510
|
+
*/
|
|
3511
|
+
domain: string;
|
|
3512
|
+
};
|
|
3513
|
+
response: any; // Response structure will depend on the API
|
|
3514
|
+
};
|
|
3515
|
+
|
|
3516
|
+
/**
|
|
3517
|
+
* Purges the website's content from the Hostinger CDN edge cache only. The origin server cache
|
|
3518
|
+
is not touched; to clear both, use `Clear website cache`.
|
|
3519
|
+
|
|
3520
|
+
Returns 422 when CDN is not enabled on the website. Returns 404 when the domain is not a
|
|
3521
|
+
website on the account.
|
|
3522
|
+
*/
|
|
3523
|
+
"hosting_cdn_purge-cache": {
|
|
3524
|
+
params: {
|
|
3525
|
+
/**
|
|
3526
|
+
* username parameter
|
|
3527
|
+
*/
|
|
3528
|
+
username: string;
|
|
3529
|
+
/**
|
|
3530
|
+
* Domain name
|
|
3531
|
+
*/
|
|
3532
|
+
domain: string;
|
|
3533
|
+
};
|
|
3534
|
+
response: any; // Response structure will depend on the API
|
|
3535
|
+
};
|
|
3536
|
+
|
|
3537
|
+
/**
|
|
3538
|
+
* Returns whether the Hostinger CDN is enabled for the website domain. Works for the main
|
|
3539
|
+
domain, parked domains and subdomains of the account.
|
|
3540
|
+
|
|
3541
|
+
The domain must be the exact website name as listed on the account, without a `www.` prefix.
|
|
3542
|
+
Returns 404 when the domain is not a website on the account.
|
|
3543
|
+
*/
|
|
3544
|
+
"hosting_cdn_status": {
|
|
3545
|
+
params: {
|
|
3546
|
+
/**
|
|
3547
|
+
* username parameter
|
|
3548
|
+
*/
|
|
3549
|
+
username: string;
|
|
3550
|
+
/**
|
|
3551
|
+
* Domain name
|
|
3552
|
+
*/
|
|
3553
|
+
domain: string;
|
|
3554
|
+
};
|
|
3555
|
+
response: any; // Response structure will depend on the API
|
|
3556
|
+
};
|
|
3557
|
+
|
|
3462
3558
|
/**
|
|
3463
3559
|
* Returns the list of cron jobs configured for the specified account, including their schedule and command.
|
|
3464
3560
|
*/
|