hostinger-api-mcp 3.14.0 → 3.14.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 +14 -0
- package/README.md +25 -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 +37 -2
- package/src/core/tools/all.ts +37 -2
- package/src/core/tools/hosting.js +37 -2
- package/src/core/tools/hosting.ts +37 -2
- package/src/servers/agency-hosting.js +1 -1
- package/src/servers/agency-hosting.ts +1 -1
- package/src/servers/agent-readiness.js +1 -1
- package/src/servers/agent-readiness.ts +1 -1
- package/src/servers/all.js +1 -1
- package/src/servers/all.ts +1 -1
- package/src/servers/billing.js +1 -1
- package/src/servers/billing.ts +1 -1
- package/src/servers/dns.js +1 -1
- package/src/servers/dns.ts +1 -1
- package/src/servers/domains.js +1 -1
- package/src/servers/domains.ts +1 -1
- package/src/servers/ecommerce.js +1 -1
- package/src/servers/ecommerce.ts +1 -1
- package/src/servers/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 +33 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,20 @@ 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.14.1 — 2026-10-27
|
|
8
|
+
|
|
9
|
+
### Operations
|
|
10
|
+
|
|
11
|
+
- Added `hosting_cache_status` — Get cache status
|
|
12
|
+
- Changed the description of `hosting_cache_toggle-cacheless`
|
|
13
|
+
- Changed the description of `hosting_cache_toggle-website`
|
|
14
|
+
|
|
15
|
+
### Also in this release
|
|
16
|
+
|
|
17
|
+
- Documentation: `README.md`
|
|
18
|
+
- Request handling and authentication: `src/core/runtime.js`, `src/core/runtime.ts`
|
|
19
|
+
- Build and packaging: `types.d.ts`
|
|
20
|
+
|
|
7
21
|
## v3.14.0 — 2026-10-27
|
|
8
22
|
|
|
9
23
|
### Also in this release
|
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 (417 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` — 67 operations for hosting
|
|
81
81
|
- `hostinger-mail-mcp` — 38 operations for mail
|
|
82
82
|
- `hostinger-reach-mcp` — 69 operations for reach
|
|
83
83
|
- `hostinger-vps-mcp` — 67 operations for vps
|
|
@@ -1840,6 +1840,24 @@ installation living in a subdirectory, pass the directory query parameter to cle
|
|
|
1840
1840
|
- **Method**: `DELETE`
|
|
1841
1841
|
- **Path**: `/api/hosting/v1/accounts/{username}/websites/{domain}/cache/clear`
|
|
1842
1842
|
|
|
1843
|
+
#### hosting_cache_status
|
|
1844
|
+
|
|
1845
|
+
Returns the caching state of the website: whether server-side caching is enabled and whether
|
|
1846
|
+
development (cacheless) mode is on. Works for the main domain, addon websites, parked domains
|
|
1847
|
+
and subdomains of the account; each reports its own settings and does not inherit them from
|
|
1848
|
+
its parent website.
|
|
1849
|
+
|
|
1850
|
+
`is_enabled` is the setting changed by `Toggle website cache` and reflects a toggle
|
|
1851
|
+
immediately. `is_cacheless_mode_enabled` is true while development mode is on; caching is then
|
|
1852
|
+
bypassed even when `is_enabled` is true. `Toggle cacheless mode` is applied in the background,
|
|
1853
|
+
so this flag can take a few minutes to follow it.
|
|
1854
|
+
|
|
1855
|
+
The domain must be the exact website name as listed on the account, without a `www.` prefix.
|
|
1856
|
+
Returns 404 when the domain is not a website on the account.
|
|
1857
|
+
|
|
1858
|
+
- **Method**: `GET`
|
|
1859
|
+
- **Path**: `/api/hosting/v1/accounts/{username}/websites/{domain}/cache/status`
|
|
1860
|
+
|
|
1843
1861
|
#### hosting_cache_toggle-cacheless
|
|
1844
1862
|
|
|
1845
1863
|
Turns development (cacheless) mode on or off, based on the enabled flag. When enabled, nothing
|
|
@@ -1847,6 +1865,9 @@ is cached, effectively turning off all caching for the website; use it while act
|
|
|
1847
1865
|
testing changes, debugging issues, or when real-time updates must be visible. Disable it after
|
|
1848
1866
|
finishing development work to restore the performance benefits of caching.
|
|
1849
1867
|
|
|
1868
|
+
The change is applied in the background and can take a few minutes. Use `Get cache status` to
|
|
1869
|
+
check the current state.
|
|
1870
|
+
|
|
1850
1871
|
- **Method**: `PATCH`
|
|
1851
1872
|
- **Path**: `/api/hosting/v1/accounts/{username}/websites/{domain}/cacheless-mode/toggle`
|
|
1852
1873
|
|
|
@@ -1857,7 +1878,8 @@ faster page loads, reduced server load, and improved user experience; recommende
|
|
|
1857
1878
|
websites. Disabling may impact performance; to temporarily bypass caching while developing or
|
|
1858
1879
|
debugging, prefer toggling cacheless mode instead.
|
|
1859
1880
|
|
|
1860
|
-
Does nothing if caching is already in the requested state.
|
|
1881
|
+
Does nothing if caching is already in the requested state. Use `Get cache status` to check the
|
|
1882
|
+
current state.
|
|
1861
1883
|
|
|
1862
1884
|
- **Method**: `PATCH`
|
|
1863
1885
|
- **Path**: `/api/hosting/v1/accounts/{username}/websites/{domain}/cache/toggle`
|
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.14.
|
|
9
|
+
"version": "3.14.1",
|
|
10
10
|
"packages": [
|
|
11
11
|
{
|
|
12
12
|
"registryType": "npm",
|
|
13
13
|
"identifier": "@hostinger/mcp",
|
|
14
|
-
"version": "3.14.
|
|
14
|
+
"version": "3.14.1",
|
|
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.4.
|
|
69
|
+
* Generated from OpenAPI spec version 2.4.3
|
|
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.4.
|
|
100
|
+
* Generated from OpenAPI spec version 2.4.3
|
|
101
101
|
*/
|
|
102
102
|
class MCPServer {
|
|
103
103
|
private readonly name: string;
|
package/src/core/tools/all.js
CHANGED
|
@@ -6209,6 +6209,41 @@ export default [
|
|
|
6209
6209
|
],
|
|
6210
6210
|
"group": "hosting"
|
|
6211
6211
|
},
|
|
6212
|
+
{
|
|
6213
|
+
"name": "hosting_cache_status",
|
|
6214
|
+
"title": "Get cache status",
|
|
6215
|
+
"annotations": {
|
|
6216
|
+
"title": "Get cache status",
|
|
6217
|
+
"readOnlyHint": true,
|
|
6218
|
+
"destructiveHint": false
|
|
6219
|
+
},
|
|
6220
|
+
"description": "Returns the caching state of the website: whether server-side caching is enabled and whether\ndevelopment (cacheless) mode is on. Works for the main domain, addon websites, parked domains\nand subdomains of the account; each reports its own settings and does not inherit them from\nits parent website.\n\n`is_enabled` is the setting changed by `Toggle website cache` and reflects a toggle\nimmediately. `is_cacheless_mode_enabled` is true while development mode is on; caching is then\nbypassed even when `is_enabled` is true. `Toggle cacheless mode` is applied in the background,\nso this flag can take a few minutes to follow it.\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.",
|
|
6221
|
+
"method": "GET",
|
|
6222
|
+
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cache/status",
|
|
6223
|
+
"inputSchema": {
|
|
6224
|
+
"type": "object",
|
|
6225
|
+
"properties": {
|
|
6226
|
+
"username": {
|
|
6227
|
+
"type": "string",
|
|
6228
|
+
"description": "username parameter"
|
|
6229
|
+
},
|
|
6230
|
+
"domain": {
|
|
6231
|
+
"type": "string",
|
|
6232
|
+
"description": "Domain name"
|
|
6233
|
+
}
|
|
6234
|
+
},
|
|
6235
|
+
"required": [
|
|
6236
|
+
"username",
|
|
6237
|
+
"domain"
|
|
6238
|
+
]
|
|
6239
|
+
},
|
|
6240
|
+
"security": [
|
|
6241
|
+
{
|
|
6242
|
+
"apiToken": []
|
|
6243
|
+
}
|
|
6244
|
+
],
|
|
6245
|
+
"group": "hosting"
|
|
6246
|
+
},
|
|
6212
6247
|
{
|
|
6213
6248
|
"name": "hosting_cache_toggle-cacheless",
|
|
6214
6249
|
"title": "Toggle cacheless mode",
|
|
@@ -6218,7 +6253,7 @@ export default [
|
|
|
6218
6253
|
"destructiveHint": true,
|
|
6219
6254
|
"idempotentHint": true
|
|
6220
6255
|
},
|
|
6221
|
-
"description": "Turns development (cacheless) mode on or off, based on the enabled flag. When enabled, nothing\nis cached, effectively turning off all caching for the website; use it while actively developing,\ntesting changes, debugging issues, or when real-time updates must be visible. Disable it after\nfinishing development work to restore the performance benefits of caching.",
|
|
6256
|
+
"description": "Turns development (cacheless) mode on or off, based on the enabled flag. When enabled, nothing\nis cached, effectively turning off all caching for the website; use it while actively developing,\ntesting changes, debugging issues, or when real-time updates must be visible. Disable it after\nfinishing development work to restore the performance benefits of caching.\n\nThe change is applied in the background and can take a few minutes. Use `Get cache status` to\ncheck the current state.",
|
|
6222
6257
|
"method": "PATCH",
|
|
6223
6258
|
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cacheless-mode/toggle",
|
|
6224
6259
|
"inputSchema": {
|
|
@@ -6259,7 +6294,7 @@ export default [
|
|
|
6259
6294
|
"destructiveHint": true,
|
|
6260
6295
|
"idempotentHint": true
|
|
6261
6296
|
},
|
|
6262
|
-
"description": "Turns server-side caching for the website on or off, based on the enabled flag. Enable it for\nfaster page loads, reduced server load, and improved user experience; recommended for production\nwebsites. Disabling may impact performance; to temporarily bypass caching while developing or\ndebugging, prefer toggling cacheless mode instead.\n\nDoes nothing if caching is already in the requested state.",
|
|
6297
|
+
"description": "Turns server-side caching for the website on or off, based on the enabled flag. Enable it for\nfaster page loads, reduced server load, and improved user experience; recommended for production\nwebsites. Disabling may impact performance; to temporarily bypass caching while developing or\ndebugging, prefer toggling cacheless mode instead.\n\nDoes nothing if caching is already in the requested state. Use `Get cache status` to check the\ncurrent state.",
|
|
6263
6298
|
"method": "PATCH",
|
|
6264
6299
|
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cache/toggle",
|
|
6265
6300
|
"inputSchema": {
|
package/src/core/tools/all.ts
CHANGED
|
@@ -6225,6 +6225,41 @@ const tools: OpenApiTool[] = [
|
|
|
6225
6225
|
],
|
|
6226
6226
|
"group": "hosting"
|
|
6227
6227
|
},
|
|
6228
|
+
{
|
|
6229
|
+
"name": "hosting_cache_status",
|
|
6230
|
+
"title": "Get cache status",
|
|
6231
|
+
"annotations": {
|
|
6232
|
+
"title": "Get cache status",
|
|
6233
|
+
"readOnlyHint": true,
|
|
6234
|
+
"destructiveHint": false
|
|
6235
|
+
},
|
|
6236
|
+
"description": "Returns the caching state of the website: whether server-side caching is enabled and whether\ndevelopment (cacheless) mode is on. Works for the main domain, addon websites, parked domains\nand subdomains of the account; each reports its own settings and does not inherit them from\nits parent website.\n\n`is_enabled` is the setting changed by `Toggle website cache` and reflects a toggle\nimmediately. `is_cacheless_mode_enabled` is true while development mode is on; caching is then\nbypassed even when `is_enabled` is true. `Toggle cacheless mode` is applied in the background,\nso this flag can take a few minutes to follow it.\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.",
|
|
6237
|
+
"method": "GET",
|
|
6238
|
+
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cache/status",
|
|
6239
|
+
"inputSchema": {
|
|
6240
|
+
"type": "object",
|
|
6241
|
+
"properties": {
|
|
6242
|
+
"username": {
|
|
6243
|
+
"type": "string",
|
|
6244
|
+
"description": "username parameter"
|
|
6245
|
+
},
|
|
6246
|
+
"domain": {
|
|
6247
|
+
"type": "string",
|
|
6248
|
+
"description": "Domain name"
|
|
6249
|
+
}
|
|
6250
|
+
},
|
|
6251
|
+
"required": [
|
|
6252
|
+
"username",
|
|
6253
|
+
"domain"
|
|
6254
|
+
]
|
|
6255
|
+
},
|
|
6256
|
+
"security": [
|
|
6257
|
+
{
|
|
6258
|
+
"apiToken": []
|
|
6259
|
+
}
|
|
6260
|
+
],
|
|
6261
|
+
"group": "hosting"
|
|
6262
|
+
},
|
|
6228
6263
|
{
|
|
6229
6264
|
"name": "hosting_cache_toggle-cacheless",
|
|
6230
6265
|
"title": "Toggle cacheless mode",
|
|
@@ -6234,7 +6269,7 @@ const tools: OpenApiTool[] = [
|
|
|
6234
6269
|
"destructiveHint": true,
|
|
6235
6270
|
"idempotentHint": true
|
|
6236
6271
|
},
|
|
6237
|
-
"description": "Turns development (cacheless) mode on or off, based on the enabled flag. When enabled, nothing\nis cached, effectively turning off all caching for the website; use it while actively developing,\ntesting changes, debugging issues, or when real-time updates must be visible. Disable it after\nfinishing development work to restore the performance benefits of caching.",
|
|
6272
|
+
"description": "Turns development (cacheless) mode on or off, based on the enabled flag. When enabled, nothing\nis cached, effectively turning off all caching for the website; use it while actively developing,\ntesting changes, debugging issues, or when real-time updates must be visible. Disable it after\nfinishing development work to restore the performance benefits of caching.\n\nThe change is applied in the background and can take a few minutes. Use `Get cache status` to\ncheck the current state.",
|
|
6238
6273
|
"method": "PATCH",
|
|
6239
6274
|
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cacheless-mode/toggle",
|
|
6240
6275
|
"inputSchema": {
|
|
@@ -6275,7 +6310,7 @@ const tools: OpenApiTool[] = [
|
|
|
6275
6310
|
"destructiveHint": true,
|
|
6276
6311
|
"idempotentHint": true
|
|
6277
6312
|
},
|
|
6278
|
-
"description": "Turns server-side caching for the website on or off, based on the enabled flag. Enable it for\nfaster page loads, reduced server load, and improved user experience; recommended for production\nwebsites. Disabling may impact performance; to temporarily bypass caching while developing or\ndebugging, prefer toggling cacheless mode instead.\n\nDoes nothing if caching is already in the requested state.",
|
|
6313
|
+
"description": "Turns server-side caching for the website on or off, based on the enabled flag. Enable it for\nfaster page loads, reduced server load, and improved user experience; recommended for production\nwebsites. Disabling may impact performance; to temporarily bypass caching while developing or\ndebugging, prefer toggling cacheless mode instead.\n\nDoes nothing if caching is already in the requested state. Use `Get cache status` to check the\ncurrent state.",
|
|
6279
6314
|
"method": "PATCH",
|
|
6280
6315
|
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cache/toggle",
|
|
6281
6316
|
"inputSchema": {
|
|
@@ -519,6 +519,41 @@ export default [
|
|
|
519
519
|
],
|
|
520
520
|
"group": "hosting"
|
|
521
521
|
},
|
|
522
|
+
{
|
|
523
|
+
"name": "hosting_cache_status",
|
|
524
|
+
"title": "Get cache status",
|
|
525
|
+
"annotations": {
|
|
526
|
+
"title": "Get cache status",
|
|
527
|
+
"readOnlyHint": true,
|
|
528
|
+
"destructiveHint": false
|
|
529
|
+
},
|
|
530
|
+
"description": "Returns the caching state of the website: whether server-side caching is enabled and whether\ndevelopment (cacheless) mode is on. Works for the main domain, addon websites, parked domains\nand subdomains of the account; each reports its own settings and does not inherit them from\nits parent website.\n\n`is_enabled` is the setting changed by `Toggle website cache` and reflects a toggle\nimmediately. `is_cacheless_mode_enabled` is true while development mode is on; caching is then\nbypassed even when `is_enabled` is true. `Toggle cacheless mode` is applied in the background,\nso this flag can take a few minutes to follow it.\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.",
|
|
531
|
+
"method": "GET",
|
|
532
|
+
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cache/status",
|
|
533
|
+
"inputSchema": {
|
|
534
|
+
"type": "object",
|
|
535
|
+
"properties": {
|
|
536
|
+
"username": {
|
|
537
|
+
"type": "string",
|
|
538
|
+
"description": "username parameter"
|
|
539
|
+
},
|
|
540
|
+
"domain": {
|
|
541
|
+
"type": "string",
|
|
542
|
+
"description": "Domain name"
|
|
543
|
+
}
|
|
544
|
+
},
|
|
545
|
+
"required": [
|
|
546
|
+
"username",
|
|
547
|
+
"domain"
|
|
548
|
+
]
|
|
549
|
+
},
|
|
550
|
+
"security": [
|
|
551
|
+
{
|
|
552
|
+
"apiToken": []
|
|
553
|
+
}
|
|
554
|
+
],
|
|
555
|
+
"group": "hosting"
|
|
556
|
+
},
|
|
522
557
|
{
|
|
523
558
|
"name": "hosting_cache_toggle-cacheless",
|
|
524
559
|
"title": "Toggle cacheless mode",
|
|
@@ -528,7 +563,7 @@ export default [
|
|
|
528
563
|
"destructiveHint": true,
|
|
529
564
|
"idempotentHint": true
|
|
530
565
|
},
|
|
531
|
-
"description": "Turns development (cacheless) mode on or off, based on the enabled flag. When enabled, nothing\nis cached, effectively turning off all caching for the website; use it while actively developing,\ntesting changes, debugging issues, or when real-time updates must be visible. Disable it after\nfinishing development work to restore the performance benefits of caching.",
|
|
566
|
+
"description": "Turns development (cacheless) mode on or off, based on the enabled flag. When enabled, nothing\nis cached, effectively turning off all caching for the website; use it while actively developing,\ntesting changes, debugging issues, or when real-time updates must be visible. Disable it after\nfinishing development work to restore the performance benefits of caching.\n\nThe change is applied in the background and can take a few minutes. Use `Get cache status` to\ncheck the current state.",
|
|
532
567
|
"method": "PATCH",
|
|
533
568
|
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cacheless-mode/toggle",
|
|
534
569
|
"inputSchema": {
|
|
@@ -569,7 +604,7 @@ export default [
|
|
|
569
604
|
"destructiveHint": true,
|
|
570
605
|
"idempotentHint": true
|
|
571
606
|
},
|
|
572
|
-
"description": "Turns server-side caching for the website on or off, based on the enabled flag. Enable it for\nfaster page loads, reduced server load, and improved user experience; recommended for production\nwebsites. Disabling may impact performance; to temporarily bypass caching while developing or\ndebugging, prefer toggling cacheless mode instead.\n\nDoes nothing if caching is already in the requested state.",
|
|
607
|
+
"description": "Turns server-side caching for the website on or off, based on the enabled flag. Enable it for\nfaster page loads, reduced server load, and improved user experience; recommended for production\nwebsites. Disabling may impact performance; to temporarily bypass caching while developing or\ndebugging, prefer toggling cacheless mode instead.\n\nDoes nothing if caching is already in the requested state. Use `Get cache status` to check the\ncurrent state.",
|
|
573
608
|
"method": "PATCH",
|
|
574
609
|
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cache/toggle",
|
|
575
610
|
"inputSchema": {
|
|
@@ -535,6 +535,41 @@ const tools: OpenApiTool[] = [
|
|
|
535
535
|
],
|
|
536
536
|
"group": "hosting"
|
|
537
537
|
},
|
|
538
|
+
{
|
|
539
|
+
"name": "hosting_cache_status",
|
|
540
|
+
"title": "Get cache status",
|
|
541
|
+
"annotations": {
|
|
542
|
+
"title": "Get cache status",
|
|
543
|
+
"readOnlyHint": true,
|
|
544
|
+
"destructiveHint": false
|
|
545
|
+
},
|
|
546
|
+
"description": "Returns the caching state of the website: whether server-side caching is enabled and whether\ndevelopment (cacheless) mode is on. Works for the main domain, addon websites, parked domains\nand subdomains of the account; each reports its own settings and does not inherit them from\nits parent website.\n\n`is_enabled` is the setting changed by `Toggle website cache` and reflects a toggle\nimmediately. `is_cacheless_mode_enabled` is true while development mode is on; caching is then\nbypassed even when `is_enabled` is true. `Toggle cacheless mode` is applied in the background,\nso this flag can take a few minutes to follow it.\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.",
|
|
547
|
+
"method": "GET",
|
|
548
|
+
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cache/status",
|
|
549
|
+
"inputSchema": {
|
|
550
|
+
"type": "object",
|
|
551
|
+
"properties": {
|
|
552
|
+
"username": {
|
|
553
|
+
"type": "string",
|
|
554
|
+
"description": "username parameter"
|
|
555
|
+
},
|
|
556
|
+
"domain": {
|
|
557
|
+
"type": "string",
|
|
558
|
+
"description": "Domain name"
|
|
559
|
+
}
|
|
560
|
+
},
|
|
561
|
+
"required": [
|
|
562
|
+
"username",
|
|
563
|
+
"domain"
|
|
564
|
+
]
|
|
565
|
+
},
|
|
566
|
+
"security": [
|
|
567
|
+
{
|
|
568
|
+
"apiToken": []
|
|
569
|
+
}
|
|
570
|
+
],
|
|
571
|
+
"group": "hosting"
|
|
572
|
+
},
|
|
538
573
|
{
|
|
539
574
|
"name": "hosting_cache_toggle-cacheless",
|
|
540
575
|
"title": "Toggle cacheless mode",
|
|
@@ -544,7 +579,7 @@ const tools: OpenApiTool[] = [
|
|
|
544
579
|
"destructiveHint": true,
|
|
545
580
|
"idempotentHint": true
|
|
546
581
|
},
|
|
547
|
-
"description": "Turns development (cacheless) mode on or off, based on the enabled flag. When enabled, nothing\nis cached, effectively turning off all caching for the website; use it while actively developing,\ntesting changes, debugging issues, or when real-time updates must be visible. Disable it after\nfinishing development work to restore the performance benefits of caching.",
|
|
582
|
+
"description": "Turns development (cacheless) mode on or off, based on the enabled flag. When enabled, nothing\nis cached, effectively turning off all caching for the website; use it while actively developing,\ntesting changes, debugging issues, or when real-time updates must be visible. Disable it after\nfinishing development work to restore the performance benefits of caching.\n\nThe change is applied in the background and can take a few minutes. Use `Get cache status` to\ncheck the current state.",
|
|
548
583
|
"method": "PATCH",
|
|
549
584
|
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cacheless-mode/toggle",
|
|
550
585
|
"inputSchema": {
|
|
@@ -585,7 +620,7 @@ const tools: OpenApiTool[] = [
|
|
|
585
620
|
"destructiveHint": true,
|
|
586
621
|
"idempotentHint": true
|
|
587
622
|
},
|
|
588
|
-
"description": "Turns server-side caching for the website on or off, based on the enabled flag. Enable it for\nfaster page loads, reduced server load, and improved user experience; recommended for production\nwebsites. Disabling may impact performance; to temporarily bypass caching while developing or\ndebugging, prefer toggling cacheless mode instead.\n\nDoes nothing if caching is already in the requested state.",
|
|
623
|
+
"description": "Turns server-side caching for the website on or off, based on the enabled flag. Enable it for\nfaster page loads, reduced server load, and improved user experience; recommended for production\nwebsites. Disabling may impact performance; to temporarily bypass caching while developing or\ndebugging, prefer toggling cacheless mode instead.\n\nDoes nothing if caching is already in the requested state. Use `Get cache status` to check the\ncurrent state.",
|
|
589
624
|
"method": "PATCH",
|
|
590
625
|
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cache/toggle",
|
|
591
626
|
"inputSchema": {
|
|
@@ -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.14.
|
|
7
|
+
startServer({ name: 'hostinger-agency-hosting-mcp', version: '3.14.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.14.
|
|
7
|
+
startServer({ name: 'hostinger-agency-hosting-mcp', version: '3.14.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.14.
|
|
6
|
+
startServer({ name: 'hostinger-agent-readiness-mcp', version: '3.14.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.14.
|
|
6
|
+
startServer({ name: 'hostinger-agent-readiness-mcp', version: '3.14.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.14.
|
|
8
|
+
startServer({ name: 'hostinger-api-mcp', version: '3.14.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.14.
|
|
8
|
+
startServer({ name: 'hostinger-api-mcp', version: '3.14.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/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.14.
|
|
7
|
+
startServer({ name: 'hostinger-hosting-mcp', version: '3.14.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.14.
|
|
7
|
+
startServer({ name: 'hostinger-hosting-mcp', version: '3.14.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
|
@@ -3410,11 +3410,42 @@ Defaults to the website root.
|
|
|
3410
3410
|
response: any; // Response structure will depend on the API
|
|
3411
3411
|
};
|
|
3412
3412
|
|
|
3413
|
+
/**
|
|
3414
|
+
* Returns the caching state of the website: whether server-side caching is enabled and whether
|
|
3415
|
+
development (cacheless) mode is on. Works for the main domain, addon websites, parked domains
|
|
3416
|
+
and subdomains of the account; each reports its own settings and does not inherit them from
|
|
3417
|
+
its parent website.
|
|
3418
|
+
|
|
3419
|
+
`is_enabled` is the setting changed by `Toggle website cache` and reflects a toggle
|
|
3420
|
+
immediately. `is_cacheless_mode_enabled` is true while development mode is on; caching is then
|
|
3421
|
+
bypassed even when `is_enabled` is true. `Toggle cacheless mode` is applied in the background,
|
|
3422
|
+
so this flag can take a few minutes to follow it.
|
|
3423
|
+
|
|
3424
|
+
The domain must be the exact website name as listed on the account, without a `www.` prefix.
|
|
3425
|
+
Returns 404 when the domain is not a website on the account.
|
|
3426
|
+
*/
|
|
3427
|
+
"hosting_cache_status": {
|
|
3428
|
+
params: {
|
|
3429
|
+
/**
|
|
3430
|
+
* username parameter
|
|
3431
|
+
*/
|
|
3432
|
+
username: string;
|
|
3433
|
+
/**
|
|
3434
|
+
* Domain name
|
|
3435
|
+
*/
|
|
3436
|
+
domain: string;
|
|
3437
|
+
};
|
|
3438
|
+
response: any; // Response structure will depend on the API
|
|
3439
|
+
};
|
|
3440
|
+
|
|
3413
3441
|
/**
|
|
3414
3442
|
* Turns development (cacheless) mode on or off, based on the enabled flag. When enabled, nothing
|
|
3415
3443
|
is cached, effectively turning off all caching for the website; use it while actively developing,
|
|
3416
3444
|
testing changes, debugging issues, or when real-time updates must be visible. Disable it after
|
|
3417
3445
|
finishing development work to restore the performance benefits of caching.
|
|
3446
|
+
|
|
3447
|
+
The change is applied in the background and can take a few minutes. Use `Get cache status` to
|
|
3448
|
+
check the current state.
|
|
3418
3449
|
*/
|
|
3419
3450
|
"hosting_cache_toggle-cacheless": {
|
|
3420
3451
|
params: {
|
|
@@ -3440,7 +3471,8 @@ faster page loads, reduced server load, and improved user experience; recommende
|
|
|
3440
3471
|
websites. Disabling may impact performance; to temporarily bypass caching while developing or
|
|
3441
3472
|
debugging, prefer toggling cacheless mode instead.
|
|
3442
3473
|
|
|
3443
|
-
Does nothing if caching is already in the requested state.
|
|
3474
|
+
Does nothing if caching is already in the requested state. Use `Get cache status` to check the
|
|
3475
|
+
current state.
|
|
3444
3476
|
*/
|
|
3445
3477
|
"hosting_cache_toggle-website": {
|
|
3446
3478
|
params: {
|