hostinger-api-mcp 1.39.0 → 1.40.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/README.md +25 -2
- 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 +110 -0
- package/src/core/tools/all.ts +110 -0
- package/src/core/tools/hosting.js +110 -0
- package/src/core/tools/hosting.ts +110 -0
- package/src/servers/agency-hosting.js +1 -1
- package/src/servers/agency-hosting.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 +73 -0
package/README.md
CHANGED
|
@@ -69,14 +69,14 @@ pnpm update -g hostinger-api-mcp
|
|
|
69
69
|
|
|
70
70
|
This package installs the following MCP server commands:
|
|
71
71
|
|
|
72
|
-
- `hostinger-api-mcp` — unified server with every tool (
|
|
72
|
+
- `hostinger-api-mcp` — unified server with every tool (340 total)
|
|
73
73
|
- `hostinger-agency-hosting-mcp` — 34 tools for agency-hosting
|
|
74
74
|
- `hostinger-billing-mcp` — 9 tools for billing
|
|
75
75
|
- `hostinger-dns-mcp` — 8 tools for dns
|
|
76
76
|
- `hostinger-domains-mcp` — 40 tools for domains
|
|
77
77
|
- `hostinger-ecommerce-mcp` — 14 tools for ecommerce
|
|
78
78
|
- `hostinger-horizons-mcp` — 2 tools for horizons
|
|
79
|
-
- `hostinger-hosting-mcp` —
|
|
79
|
+
- `hostinger-hosting-mcp` — 53 tools for hosting
|
|
80
80
|
- `hostinger-mail-mcp` — 38 tools for mail
|
|
81
81
|
- `hostinger-reach-mcp` — 45 tools for reach
|
|
82
82
|
- `hostinger-vps-mcp` — 62 tools for vps
|
|
@@ -1858,6 +1858,29 @@ Use the Get PHP details endpoint to see the versions available for the website.
|
|
|
1858
1858
|
- **Method**: `PATCH`
|
|
1859
1859
|
- **Path**: `/api/hosting/v1/accounts/{username}/websites/{domain}/php/version`
|
|
1860
1860
|
|
|
1861
|
+
#### hosting_listWebsiteRedirectsV1
|
|
1862
|
+
|
|
1863
|
+
Returns a paginated list of redirects configured for the selected website.
|
|
1864
|
+
|
|
1865
|
+
- **Method**: `GET`
|
|
1866
|
+
- **Path**: `/api/hosting/v1/accounts/{username}/websites/{domain}/redirects`
|
|
1867
|
+
|
|
1868
|
+
#### hosting_createWebsiteRedirectV1
|
|
1869
|
+
|
|
1870
|
+
Creates a redirect from a URL on the selected website to another URL or IP address.
|
|
1871
|
+
|
|
1872
|
+
- **Method**: `POST`
|
|
1873
|
+
- **Path**: `/api/hosting/v1/accounts/{username}/websites/{domain}/redirects`
|
|
1874
|
+
|
|
1875
|
+
#### hosting_deleteWebsiteRedirectV1
|
|
1876
|
+
|
|
1877
|
+
Permanently deletes the redirect identified by its source URL.
|
|
1878
|
+
|
|
1879
|
+
Pass the `from` value exactly as returned by the list redirects endpoint.
|
|
1880
|
+
|
|
1881
|
+
- **Method**: `DELETE`
|
|
1882
|
+
- **Path**: `/api/hosting/v1/accounts/{username}/websites/{domain}/redirects`
|
|
1883
|
+
|
|
1861
1884
|
#### hosting_listWebsitesV1
|
|
1862
1885
|
|
|
1863
1886
|
Retrieve a paginated list of websites (main and addon types) accessible to the authenticated client.
|
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": "1.
|
|
9
|
+
"version": "1.40.0",
|
|
10
10
|
"packages": [
|
|
11
11
|
{
|
|
12
12
|
"registryType": "npm",
|
|
13
13
|
"identifier": "hostinger-api-mcp",
|
|
14
|
-
"version": "1.
|
|
14
|
+
"version": "1.40.0",
|
|
15
15
|
"transport": {
|
|
16
16
|
"type": "stdio"
|
|
17
17
|
},
|
package/src/core/runtime.js
CHANGED
package/src/core/runtime.ts
CHANGED
package/src/core/tools/all.js
CHANGED
|
@@ -5117,6 +5117,116 @@ export default [
|
|
|
5117
5117
|
],
|
|
5118
5118
|
"group": "hosting"
|
|
5119
5119
|
},
|
|
5120
|
+
{
|
|
5121
|
+
"name": "hosting_listWebsiteRedirectsV1",
|
|
5122
|
+
"description": "Returns a paginated list of redirects configured for the selected website.",
|
|
5123
|
+
"method": "GET",
|
|
5124
|
+
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/redirects",
|
|
5125
|
+
"inputSchema": {
|
|
5126
|
+
"type": "object",
|
|
5127
|
+
"properties": {
|
|
5128
|
+
"username": {
|
|
5129
|
+
"type": "string",
|
|
5130
|
+
"description": "username parameter"
|
|
5131
|
+
},
|
|
5132
|
+
"domain": {
|
|
5133
|
+
"type": "string",
|
|
5134
|
+
"description": "Domain name"
|
|
5135
|
+
},
|
|
5136
|
+
"page": {
|
|
5137
|
+
"type": "integer",
|
|
5138
|
+
"description": "Page number"
|
|
5139
|
+
},
|
|
5140
|
+
"per_page": {
|
|
5141
|
+
"type": "integer",
|
|
5142
|
+
"description": "Number of items per page"
|
|
5143
|
+
}
|
|
5144
|
+
},
|
|
5145
|
+
"required": [
|
|
5146
|
+
"username",
|
|
5147
|
+
"domain"
|
|
5148
|
+
]
|
|
5149
|
+
},
|
|
5150
|
+
"security": [
|
|
5151
|
+
{
|
|
5152
|
+
"apiToken": []
|
|
5153
|
+
}
|
|
5154
|
+
],
|
|
5155
|
+
"group": "hosting"
|
|
5156
|
+
},
|
|
5157
|
+
{
|
|
5158
|
+
"name": "hosting_createWebsiteRedirectV1",
|
|
5159
|
+
"description": "Creates a redirect from a URL on the selected website to another URL or IP address.",
|
|
5160
|
+
"method": "POST",
|
|
5161
|
+
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/redirects",
|
|
5162
|
+
"inputSchema": {
|
|
5163
|
+
"type": "object",
|
|
5164
|
+
"properties": {
|
|
5165
|
+
"username": {
|
|
5166
|
+
"type": "string",
|
|
5167
|
+
"description": "username parameter"
|
|
5168
|
+
},
|
|
5169
|
+
"domain": {
|
|
5170
|
+
"type": "string",
|
|
5171
|
+
"description": "Domain name"
|
|
5172
|
+
},
|
|
5173
|
+
"from": {
|
|
5174
|
+
"type": "string",
|
|
5175
|
+
"description": "Source URL on the selected website"
|
|
5176
|
+
},
|
|
5177
|
+
"to": {
|
|
5178
|
+
"type": "string",
|
|
5179
|
+
"description": "Destination URL or IP address"
|
|
5180
|
+
}
|
|
5181
|
+
},
|
|
5182
|
+
"required": [
|
|
5183
|
+
"username",
|
|
5184
|
+
"domain",
|
|
5185
|
+
"from",
|
|
5186
|
+
"to"
|
|
5187
|
+
]
|
|
5188
|
+
},
|
|
5189
|
+
"security": [
|
|
5190
|
+
{
|
|
5191
|
+
"apiToken": []
|
|
5192
|
+
}
|
|
5193
|
+
],
|
|
5194
|
+
"group": "hosting"
|
|
5195
|
+
},
|
|
5196
|
+
{
|
|
5197
|
+
"name": "hosting_deleteWebsiteRedirectV1",
|
|
5198
|
+
"description": "Permanently deletes the redirect identified by its source URL.\n\nPass the `from` value exactly as returned by the list redirects endpoint.",
|
|
5199
|
+
"method": "DELETE",
|
|
5200
|
+
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/redirects",
|
|
5201
|
+
"inputSchema": {
|
|
5202
|
+
"type": "object",
|
|
5203
|
+
"properties": {
|
|
5204
|
+
"username": {
|
|
5205
|
+
"type": "string",
|
|
5206
|
+
"description": "username parameter"
|
|
5207
|
+
},
|
|
5208
|
+
"domain": {
|
|
5209
|
+
"type": "string",
|
|
5210
|
+
"description": "Domain name"
|
|
5211
|
+
},
|
|
5212
|
+
"from": {
|
|
5213
|
+
"type": "string",
|
|
5214
|
+
"description": "Source URL returned by the list redirects endpoint."
|
|
5215
|
+
}
|
|
5216
|
+
},
|
|
5217
|
+
"required": [
|
|
5218
|
+
"username",
|
|
5219
|
+
"domain",
|
|
5220
|
+
"from"
|
|
5221
|
+
]
|
|
5222
|
+
},
|
|
5223
|
+
"security": [
|
|
5224
|
+
{
|
|
5225
|
+
"apiToken": []
|
|
5226
|
+
}
|
|
5227
|
+
],
|
|
5228
|
+
"group": "hosting"
|
|
5229
|
+
},
|
|
5120
5230
|
{
|
|
5121
5231
|
"name": "hosting_listWebsitesV1",
|
|
5122
5232
|
"description": "Retrieve a paginated list of websites (main and addon types) accessible to the authenticated client.\n\nThis endpoint returns websites from your hosting accounts as well as\nwebsites from other client hosting accounts that have shared access\nwith you.\n\nUse the available query parameters to filter results by username,\norder ID, enabled status, or domain name for more targeted results.",
|
package/src/core/tools/all.ts
CHANGED
|
@@ -5131,6 +5131,116 @@ const tools: OpenApiTool[] = [
|
|
|
5131
5131
|
],
|
|
5132
5132
|
"group": "hosting"
|
|
5133
5133
|
},
|
|
5134
|
+
{
|
|
5135
|
+
"name": "hosting_listWebsiteRedirectsV1",
|
|
5136
|
+
"description": "Returns a paginated list of redirects configured for the selected website.",
|
|
5137
|
+
"method": "GET",
|
|
5138
|
+
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/redirects",
|
|
5139
|
+
"inputSchema": {
|
|
5140
|
+
"type": "object",
|
|
5141
|
+
"properties": {
|
|
5142
|
+
"username": {
|
|
5143
|
+
"type": "string",
|
|
5144
|
+
"description": "username parameter"
|
|
5145
|
+
},
|
|
5146
|
+
"domain": {
|
|
5147
|
+
"type": "string",
|
|
5148
|
+
"description": "Domain name"
|
|
5149
|
+
},
|
|
5150
|
+
"page": {
|
|
5151
|
+
"type": "integer",
|
|
5152
|
+
"description": "Page number"
|
|
5153
|
+
},
|
|
5154
|
+
"per_page": {
|
|
5155
|
+
"type": "integer",
|
|
5156
|
+
"description": "Number of items per page"
|
|
5157
|
+
}
|
|
5158
|
+
},
|
|
5159
|
+
"required": [
|
|
5160
|
+
"username",
|
|
5161
|
+
"domain"
|
|
5162
|
+
]
|
|
5163
|
+
},
|
|
5164
|
+
"security": [
|
|
5165
|
+
{
|
|
5166
|
+
"apiToken": []
|
|
5167
|
+
}
|
|
5168
|
+
],
|
|
5169
|
+
"group": "hosting"
|
|
5170
|
+
},
|
|
5171
|
+
{
|
|
5172
|
+
"name": "hosting_createWebsiteRedirectV1",
|
|
5173
|
+
"description": "Creates a redirect from a URL on the selected website to another URL or IP address.",
|
|
5174
|
+
"method": "POST",
|
|
5175
|
+
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/redirects",
|
|
5176
|
+
"inputSchema": {
|
|
5177
|
+
"type": "object",
|
|
5178
|
+
"properties": {
|
|
5179
|
+
"username": {
|
|
5180
|
+
"type": "string",
|
|
5181
|
+
"description": "username parameter"
|
|
5182
|
+
},
|
|
5183
|
+
"domain": {
|
|
5184
|
+
"type": "string",
|
|
5185
|
+
"description": "Domain name"
|
|
5186
|
+
},
|
|
5187
|
+
"from": {
|
|
5188
|
+
"type": "string",
|
|
5189
|
+
"description": "Source URL on the selected website"
|
|
5190
|
+
},
|
|
5191
|
+
"to": {
|
|
5192
|
+
"type": "string",
|
|
5193
|
+
"description": "Destination URL or IP address"
|
|
5194
|
+
}
|
|
5195
|
+
},
|
|
5196
|
+
"required": [
|
|
5197
|
+
"username",
|
|
5198
|
+
"domain",
|
|
5199
|
+
"from",
|
|
5200
|
+
"to"
|
|
5201
|
+
]
|
|
5202
|
+
},
|
|
5203
|
+
"security": [
|
|
5204
|
+
{
|
|
5205
|
+
"apiToken": []
|
|
5206
|
+
}
|
|
5207
|
+
],
|
|
5208
|
+
"group": "hosting"
|
|
5209
|
+
},
|
|
5210
|
+
{
|
|
5211
|
+
"name": "hosting_deleteWebsiteRedirectV1",
|
|
5212
|
+
"description": "Permanently deletes the redirect identified by its source URL.\n\nPass the `from` value exactly as returned by the list redirects endpoint.",
|
|
5213
|
+
"method": "DELETE",
|
|
5214
|
+
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/redirects",
|
|
5215
|
+
"inputSchema": {
|
|
5216
|
+
"type": "object",
|
|
5217
|
+
"properties": {
|
|
5218
|
+
"username": {
|
|
5219
|
+
"type": "string",
|
|
5220
|
+
"description": "username parameter"
|
|
5221
|
+
},
|
|
5222
|
+
"domain": {
|
|
5223
|
+
"type": "string",
|
|
5224
|
+
"description": "Domain name"
|
|
5225
|
+
},
|
|
5226
|
+
"from": {
|
|
5227
|
+
"type": "string",
|
|
5228
|
+
"description": "Source URL returned by the list redirects endpoint."
|
|
5229
|
+
}
|
|
5230
|
+
},
|
|
5231
|
+
"required": [
|
|
5232
|
+
"username",
|
|
5233
|
+
"domain",
|
|
5234
|
+
"from"
|
|
5235
|
+
]
|
|
5236
|
+
},
|
|
5237
|
+
"security": [
|
|
5238
|
+
{
|
|
5239
|
+
"apiToken": []
|
|
5240
|
+
}
|
|
5241
|
+
],
|
|
5242
|
+
"group": "hosting"
|
|
5243
|
+
},
|
|
5134
5244
|
{
|
|
5135
5245
|
"name": "hosting_listWebsitesV1",
|
|
5136
5246
|
"description": "Retrieve a paginated list of websites (main and addon types) accessible to the authenticated client.\n\nThis endpoint returns websites from your hosting accounts as well as\nwebsites from other client hosting accounts that have shared access\nwith you.\n\nUse the available query parameters to filter results by username,\norder ID, enabled status, or domain name for more targeted results.",
|
|
@@ -1690,6 +1690,116 @@ export default [
|
|
|
1690
1690
|
],
|
|
1691
1691
|
"group": "hosting"
|
|
1692
1692
|
},
|
|
1693
|
+
{
|
|
1694
|
+
"name": "hosting_listWebsiteRedirectsV1",
|
|
1695
|
+
"description": "Returns a paginated list of redirects configured for the selected website.",
|
|
1696
|
+
"method": "GET",
|
|
1697
|
+
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/redirects",
|
|
1698
|
+
"inputSchema": {
|
|
1699
|
+
"type": "object",
|
|
1700
|
+
"properties": {
|
|
1701
|
+
"username": {
|
|
1702
|
+
"type": "string",
|
|
1703
|
+
"description": "username parameter"
|
|
1704
|
+
},
|
|
1705
|
+
"domain": {
|
|
1706
|
+
"type": "string",
|
|
1707
|
+
"description": "Domain name"
|
|
1708
|
+
},
|
|
1709
|
+
"page": {
|
|
1710
|
+
"type": "integer",
|
|
1711
|
+
"description": "Page number"
|
|
1712
|
+
},
|
|
1713
|
+
"per_page": {
|
|
1714
|
+
"type": "integer",
|
|
1715
|
+
"description": "Number of items per page"
|
|
1716
|
+
}
|
|
1717
|
+
},
|
|
1718
|
+
"required": [
|
|
1719
|
+
"username",
|
|
1720
|
+
"domain"
|
|
1721
|
+
]
|
|
1722
|
+
},
|
|
1723
|
+
"security": [
|
|
1724
|
+
{
|
|
1725
|
+
"apiToken": []
|
|
1726
|
+
}
|
|
1727
|
+
],
|
|
1728
|
+
"group": "hosting"
|
|
1729
|
+
},
|
|
1730
|
+
{
|
|
1731
|
+
"name": "hosting_createWebsiteRedirectV1",
|
|
1732
|
+
"description": "Creates a redirect from a URL on the selected website to another URL or IP address.",
|
|
1733
|
+
"method": "POST",
|
|
1734
|
+
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/redirects",
|
|
1735
|
+
"inputSchema": {
|
|
1736
|
+
"type": "object",
|
|
1737
|
+
"properties": {
|
|
1738
|
+
"username": {
|
|
1739
|
+
"type": "string",
|
|
1740
|
+
"description": "username parameter"
|
|
1741
|
+
},
|
|
1742
|
+
"domain": {
|
|
1743
|
+
"type": "string",
|
|
1744
|
+
"description": "Domain name"
|
|
1745
|
+
},
|
|
1746
|
+
"from": {
|
|
1747
|
+
"type": "string",
|
|
1748
|
+
"description": "Source URL on the selected website"
|
|
1749
|
+
},
|
|
1750
|
+
"to": {
|
|
1751
|
+
"type": "string",
|
|
1752
|
+
"description": "Destination URL or IP address"
|
|
1753
|
+
}
|
|
1754
|
+
},
|
|
1755
|
+
"required": [
|
|
1756
|
+
"username",
|
|
1757
|
+
"domain",
|
|
1758
|
+
"from",
|
|
1759
|
+
"to"
|
|
1760
|
+
]
|
|
1761
|
+
},
|
|
1762
|
+
"security": [
|
|
1763
|
+
{
|
|
1764
|
+
"apiToken": []
|
|
1765
|
+
}
|
|
1766
|
+
],
|
|
1767
|
+
"group": "hosting"
|
|
1768
|
+
},
|
|
1769
|
+
{
|
|
1770
|
+
"name": "hosting_deleteWebsiteRedirectV1",
|
|
1771
|
+
"description": "Permanently deletes the redirect identified by its source URL.\n\nPass the `from` value exactly as returned by the list redirects endpoint.",
|
|
1772
|
+
"method": "DELETE",
|
|
1773
|
+
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/redirects",
|
|
1774
|
+
"inputSchema": {
|
|
1775
|
+
"type": "object",
|
|
1776
|
+
"properties": {
|
|
1777
|
+
"username": {
|
|
1778
|
+
"type": "string",
|
|
1779
|
+
"description": "username parameter"
|
|
1780
|
+
},
|
|
1781
|
+
"domain": {
|
|
1782
|
+
"type": "string",
|
|
1783
|
+
"description": "Domain name"
|
|
1784
|
+
},
|
|
1785
|
+
"from": {
|
|
1786
|
+
"type": "string",
|
|
1787
|
+
"description": "Source URL returned by the list redirects endpoint."
|
|
1788
|
+
}
|
|
1789
|
+
},
|
|
1790
|
+
"required": [
|
|
1791
|
+
"username",
|
|
1792
|
+
"domain",
|
|
1793
|
+
"from"
|
|
1794
|
+
]
|
|
1795
|
+
},
|
|
1796
|
+
"security": [
|
|
1797
|
+
{
|
|
1798
|
+
"apiToken": []
|
|
1799
|
+
}
|
|
1800
|
+
],
|
|
1801
|
+
"group": "hosting"
|
|
1802
|
+
},
|
|
1693
1803
|
{
|
|
1694
1804
|
"name": "hosting_listWebsitesV1",
|
|
1695
1805
|
"description": "Retrieve a paginated list of websites (main and addon types) accessible to the authenticated client.\n\nThis endpoint returns websites from your hosting accounts as well as\nwebsites from other client hosting accounts that have shared access\nwith you.\n\nUse the available query parameters to filter results by username,\norder ID, enabled status, or domain name for more targeted results.",
|
|
@@ -1704,6 +1704,116 @@ const tools: OpenApiTool[] = [
|
|
|
1704
1704
|
],
|
|
1705
1705
|
"group": "hosting"
|
|
1706
1706
|
},
|
|
1707
|
+
{
|
|
1708
|
+
"name": "hosting_listWebsiteRedirectsV1",
|
|
1709
|
+
"description": "Returns a paginated list of redirects configured for the selected website.",
|
|
1710
|
+
"method": "GET",
|
|
1711
|
+
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/redirects",
|
|
1712
|
+
"inputSchema": {
|
|
1713
|
+
"type": "object",
|
|
1714
|
+
"properties": {
|
|
1715
|
+
"username": {
|
|
1716
|
+
"type": "string",
|
|
1717
|
+
"description": "username parameter"
|
|
1718
|
+
},
|
|
1719
|
+
"domain": {
|
|
1720
|
+
"type": "string",
|
|
1721
|
+
"description": "Domain name"
|
|
1722
|
+
},
|
|
1723
|
+
"page": {
|
|
1724
|
+
"type": "integer",
|
|
1725
|
+
"description": "Page number"
|
|
1726
|
+
},
|
|
1727
|
+
"per_page": {
|
|
1728
|
+
"type": "integer",
|
|
1729
|
+
"description": "Number of items per page"
|
|
1730
|
+
}
|
|
1731
|
+
},
|
|
1732
|
+
"required": [
|
|
1733
|
+
"username",
|
|
1734
|
+
"domain"
|
|
1735
|
+
]
|
|
1736
|
+
},
|
|
1737
|
+
"security": [
|
|
1738
|
+
{
|
|
1739
|
+
"apiToken": []
|
|
1740
|
+
}
|
|
1741
|
+
],
|
|
1742
|
+
"group": "hosting"
|
|
1743
|
+
},
|
|
1744
|
+
{
|
|
1745
|
+
"name": "hosting_createWebsiteRedirectV1",
|
|
1746
|
+
"description": "Creates a redirect from a URL on the selected website to another URL or IP address.",
|
|
1747
|
+
"method": "POST",
|
|
1748
|
+
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/redirects",
|
|
1749
|
+
"inputSchema": {
|
|
1750
|
+
"type": "object",
|
|
1751
|
+
"properties": {
|
|
1752
|
+
"username": {
|
|
1753
|
+
"type": "string",
|
|
1754
|
+
"description": "username parameter"
|
|
1755
|
+
},
|
|
1756
|
+
"domain": {
|
|
1757
|
+
"type": "string",
|
|
1758
|
+
"description": "Domain name"
|
|
1759
|
+
},
|
|
1760
|
+
"from": {
|
|
1761
|
+
"type": "string",
|
|
1762
|
+
"description": "Source URL on the selected website"
|
|
1763
|
+
},
|
|
1764
|
+
"to": {
|
|
1765
|
+
"type": "string",
|
|
1766
|
+
"description": "Destination URL or IP address"
|
|
1767
|
+
}
|
|
1768
|
+
},
|
|
1769
|
+
"required": [
|
|
1770
|
+
"username",
|
|
1771
|
+
"domain",
|
|
1772
|
+
"from",
|
|
1773
|
+
"to"
|
|
1774
|
+
]
|
|
1775
|
+
},
|
|
1776
|
+
"security": [
|
|
1777
|
+
{
|
|
1778
|
+
"apiToken": []
|
|
1779
|
+
}
|
|
1780
|
+
],
|
|
1781
|
+
"group": "hosting"
|
|
1782
|
+
},
|
|
1783
|
+
{
|
|
1784
|
+
"name": "hosting_deleteWebsiteRedirectV1",
|
|
1785
|
+
"description": "Permanently deletes the redirect identified by its source URL.\n\nPass the `from` value exactly as returned by the list redirects endpoint.",
|
|
1786
|
+
"method": "DELETE",
|
|
1787
|
+
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/redirects",
|
|
1788
|
+
"inputSchema": {
|
|
1789
|
+
"type": "object",
|
|
1790
|
+
"properties": {
|
|
1791
|
+
"username": {
|
|
1792
|
+
"type": "string",
|
|
1793
|
+
"description": "username parameter"
|
|
1794
|
+
},
|
|
1795
|
+
"domain": {
|
|
1796
|
+
"type": "string",
|
|
1797
|
+
"description": "Domain name"
|
|
1798
|
+
},
|
|
1799
|
+
"from": {
|
|
1800
|
+
"type": "string",
|
|
1801
|
+
"description": "Source URL returned by the list redirects endpoint."
|
|
1802
|
+
}
|
|
1803
|
+
},
|
|
1804
|
+
"required": [
|
|
1805
|
+
"username",
|
|
1806
|
+
"domain",
|
|
1807
|
+
"from"
|
|
1808
|
+
]
|
|
1809
|
+
},
|
|
1810
|
+
"security": [
|
|
1811
|
+
{
|
|
1812
|
+
"apiToken": []
|
|
1813
|
+
}
|
|
1814
|
+
],
|
|
1815
|
+
"group": "hosting"
|
|
1816
|
+
},
|
|
1707
1817
|
{
|
|
1708
1818
|
"name": "hosting_listWebsitesV1",
|
|
1709
1819
|
"description": "Retrieve a paginated list of websites (main and addon types) accessible to the authenticated client.\n\nThis endpoint returns websites from your hosting accounts as well as\nwebsites from other client hosting accounts that have shared access\nwith you.\n\nUse the available query parameters to filter results by username,\norder ID, enabled status, or domain name for more targeted results.",
|
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
import { startServer } from '../core/runtime.js';
|
|
4
4
|
import tools from '../core/tools/agency-hosting.js';
|
|
5
5
|
|
|
6
|
-
startServer({ name: 'hostinger-agency-hosting-mcp', version: '1.
|
|
6
|
+
startServer({ name: 'hostinger-agency-hosting-mcp', version: '1.40.0', tools });
|
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
import { startServer } from '../core/runtime.js';
|
|
4
4
|
import tools from '../core/tools/agency-hosting.js';
|
|
5
5
|
|
|
6
|
-
startServer({ name: 'hostinger-agency-hosting-mcp', version: '1.
|
|
6
|
+
startServer({ name: 'hostinger-agency-hosting-mcp', version: '1.40.0', tools });
|
package/src/servers/all.js
CHANGED
package/src/servers/all.ts
CHANGED
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
package/src/servers/hosting.ts
CHANGED
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
|
@@ -3397,6 +3397,79 @@ Use the Get PHP details endpoint to see the versions available for the website.
|
|
|
3397
3397
|
response: any; // Response structure will depend on the API
|
|
3398
3398
|
};
|
|
3399
3399
|
|
|
3400
|
+
/**
|
|
3401
|
+
* Returns a paginated list of redirects configured for the selected website.
|
|
3402
|
+
*/
|
|
3403
|
+
"hosting_listWebsiteRedirectsV1": {
|
|
3404
|
+
params: {
|
|
3405
|
+
/**
|
|
3406
|
+
* username parameter
|
|
3407
|
+
*/
|
|
3408
|
+
username: string;
|
|
3409
|
+
/**
|
|
3410
|
+
* Domain name
|
|
3411
|
+
*/
|
|
3412
|
+
domain: string;
|
|
3413
|
+
/**
|
|
3414
|
+
* Page number
|
|
3415
|
+
*/
|
|
3416
|
+
page?: number;
|
|
3417
|
+
/**
|
|
3418
|
+
* Number of items per page
|
|
3419
|
+
*/
|
|
3420
|
+
per_page?: number;
|
|
3421
|
+
};
|
|
3422
|
+
response: any; // Response structure will depend on the API
|
|
3423
|
+
};
|
|
3424
|
+
|
|
3425
|
+
/**
|
|
3426
|
+
* Creates a redirect from a URL on the selected website to another URL or IP address.
|
|
3427
|
+
*/
|
|
3428
|
+
"hosting_createWebsiteRedirectV1": {
|
|
3429
|
+
params: {
|
|
3430
|
+
/**
|
|
3431
|
+
* username parameter
|
|
3432
|
+
*/
|
|
3433
|
+
username: string;
|
|
3434
|
+
/**
|
|
3435
|
+
* Domain name
|
|
3436
|
+
*/
|
|
3437
|
+
domain: string;
|
|
3438
|
+
/**
|
|
3439
|
+
* Source URL on the selected website
|
|
3440
|
+
*/
|
|
3441
|
+
from: string;
|
|
3442
|
+
/**
|
|
3443
|
+
* Destination URL or IP address
|
|
3444
|
+
*/
|
|
3445
|
+
to: string;
|
|
3446
|
+
};
|
|
3447
|
+
response: any; // Response structure will depend on the API
|
|
3448
|
+
};
|
|
3449
|
+
|
|
3450
|
+
/**
|
|
3451
|
+
* Permanently deletes the redirect identified by its source URL.
|
|
3452
|
+
|
|
3453
|
+
Pass the `from` value exactly as returned by the list redirects endpoint.
|
|
3454
|
+
*/
|
|
3455
|
+
"hosting_deleteWebsiteRedirectV1": {
|
|
3456
|
+
params: {
|
|
3457
|
+
/**
|
|
3458
|
+
* username parameter
|
|
3459
|
+
*/
|
|
3460
|
+
username: string;
|
|
3461
|
+
/**
|
|
3462
|
+
* Domain name
|
|
3463
|
+
*/
|
|
3464
|
+
domain: string;
|
|
3465
|
+
/**
|
|
3466
|
+
* Source URL returned by the list redirects endpoint.
|
|
3467
|
+
*/
|
|
3468
|
+
from: string;
|
|
3469
|
+
};
|
|
3470
|
+
response: any; // Response structure will depend on the API
|
|
3471
|
+
};
|
|
3472
|
+
|
|
3400
3473
|
/**
|
|
3401
3474
|
* Retrieve a paginated list of websites (main and addon types) accessible to the authenticated client.
|
|
3402
3475
|
|