hostinger-api-mcp 1.60.0 → 1.60.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 +32 -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 +72 -0
- package/src/core/tools/all.ts +72 -0
- package/src/core/tools/hosting.js +72 -0
- package/src/core/tools/hosting.ts +72 -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 +46 -0
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
|
+
## v1.60.1 — 2026-09-15
|
|
8
|
+
|
|
9
|
+
### Tools
|
|
10
|
+
|
|
11
|
+
- Added `hosting_listGitInstallationsV1` — List Git installations
|
|
12
|
+
- Added `hosting_listGitInstallationRepositoriesV1` — List Git installation repositories
|
|
13
|
+
|
|
14
|
+
### Also in this release
|
|
15
|
+
|
|
16
|
+
- Documentation: `README.md`
|
|
17
|
+
- Dependencies: `package-lock.json`
|
|
18
|
+
- Request handling and authentication: `src/core/runtime.js`, `src/core/runtime.ts`
|
|
19
|
+
- Build and packaging: `types.d.ts`
|
|
20
|
+
|
|
7
21
|
## v1.60.0 — 2026-09-14
|
|
8
22
|
|
|
9
23
|
### Also in this release
|
package/README.md
CHANGED
|
@@ -69,14 +69,14 @@ 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 with every tool (
|
|
72
|
+
- `hostinger-api-mcp` — unified server with every tool (389 total)
|
|
73
73
|
- `hostinger-agency-hosting-mcp` — 38 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` — 41 tools for domains
|
|
77
77
|
- `hostinger-ecommerce-mcp` — 29 tools for ecommerce
|
|
78
78
|
- `hostinger-horizons-mcp` — 6 tools for horizons
|
|
79
|
-
- `hostinger-hosting-mcp` —
|
|
79
|
+
- `hostinger-hosting-mcp` — 66 tools for hosting
|
|
80
80
|
- `hostinger-mail-mcp` — 38 tools for mail
|
|
81
81
|
- `hostinger-reach-mcp` — 52 tools for reach
|
|
82
82
|
- `hostinger-vps-mcp` — 64 tools for vps
|
|
@@ -2038,6 +2038,36 @@ containing secrets (e.g. credential files) — none of these are returned by thi
|
|
|
2038
2038
|
- **Method**: `GET`
|
|
2039
2039
|
- **Path**: `/api/hosting/v1/accounts/{username}/domains/{domain}/files/content`
|
|
2040
2040
|
|
|
2041
|
+
#### hosting_listGitInstallationsV1
|
|
2042
|
+
|
|
2043
|
+
Lists the Git provider accounts the customer has connected. Only installations with status
|
|
2044
|
+
`active` are returned unless the `status` filter says otherwise.
|
|
2045
|
+
|
|
2046
|
+
An empty list means the customer has no active installation. Check `status=suspended` and
|
|
2047
|
+
`status=pending` as well. If there is none at all, GitHub has to be connected once in hPanel
|
|
2048
|
+
(Websites, Manage, Advanced, Git, Connect GitHub; or Add Website, Node.js Web App, Import Git
|
|
2049
|
+
Repository, Continue with GitHub); this endpoint then lists the new installation.
|
|
2050
|
+
|
|
2051
|
+
Use `uuid` as the path parameter of `List Git installation repositories`.
|
|
2052
|
+
|
|
2053
|
+
- **Method**: `GET`
|
|
2054
|
+
- **Path**: `/api/hosting/v1/git/installations`
|
|
2055
|
+
|
|
2056
|
+
#### hosting_listGitInstallationRepositoriesV1
|
|
2057
|
+
|
|
2058
|
+
Lists the repositories the Git installation can access, read live from the provider. Works
|
|
2059
|
+
for github and gitlab installations. Use an active installation: a suspended or pending one
|
|
2060
|
+
is still queried and the call fails with whatever the provider answers. The list is cut at
|
|
2061
|
+
the first 500 repositories in the order the provider returns them; when the account has
|
|
2062
|
+
more, name the repository directly instead of searching this list.
|
|
2063
|
+
|
|
2064
|
+
`owner`, `name` and `default_branch` identify a repository and a branch to deploy. Returns
|
|
2065
|
+
404 when the installation does not belong to the customer. Limited to 10 calls per minute
|
|
2066
|
+
per API client (429 above that).
|
|
2067
|
+
|
|
2068
|
+
- **Method**: `GET`
|
|
2069
|
+
- **Path**: `/api/hosting/v1/git/installations/{uuid}/repositories`
|
|
2070
|
+
|
|
2041
2071
|
#### hosting_listNodeJSBuildsV1
|
|
2042
2072
|
|
|
2043
2073
|
Retrieve a paginated list of Node.js build processes for a specific website.
|
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.60.
|
|
9
|
+
"version": "1.60.1",
|
|
10
10
|
"packages": [
|
|
11
11
|
{
|
|
12
12
|
"registryType": "npm",
|
|
13
13
|
"identifier": "@hostinger/mcp",
|
|
14
|
-
"version": "1.60.
|
|
14
|
+
"version": "1.60.1",
|
|
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
|
@@ -6716,6 +6716,78 @@ export default [
|
|
|
6716
6716
|
],
|
|
6717
6717
|
"group": "hosting"
|
|
6718
6718
|
},
|
|
6719
|
+
{
|
|
6720
|
+
"name": "hosting_listGitInstallationsV1",
|
|
6721
|
+
"title": "List Git installations",
|
|
6722
|
+
"annotations": {
|
|
6723
|
+
"title": "List Git installations",
|
|
6724
|
+
"readOnlyHint": true,
|
|
6725
|
+
"destructiveHint": false
|
|
6726
|
+
},
|
|
6727
|
+
"description": "Lists the Git provider accounts the customer has connected. Only installations with status\n`active` are returned unless the `status` filter says otherwise.\n\nAn empty list means the customer has no active installation. Check `status=suspended` and\n`status=pending` as well. If there is none at all, GitHub has to be connected once in hPanel\n(Websites, Manage, Advanced, Git, Connect GitHub; or Add Website, Node.js Web App, Import Git\nRepository, Continue with GitHub); this endpoint then lists the new installation.\n\nUse `uuid` as the path parameter of `List Git installation repositories`.",
|
|
6728
|
+
"method": "GET",
|
|
6729
|
+
"path": "/api/hosting/v1/git/installations",
|
|
6730
|
+
"inputSchema": {
|
|
6731
|
+
"type": "object",
|
|
6732
|
+
"properties": {
|
|
6733
|
+
"provider": {
|
|
6734
|
+
"type": "string",
|
|
6735
|
+
"description": "Filter by Git provider",
|
|
6736
|
+
"enum": [
|
|
6737
|
+
"github",
|
|
6738
|
+
"gitlab",
|
|
6739
|
+
"bitbucket"
|
|
6740
|
+
]
|
|
6741
|
+
},
|
|
6742
|
+
"status": {
|
|
6743
|
+
"type": "string",
|
|
6744
|
+
"description": "Filter by installation status",
|
|
6745
|
+
"enum": [
|
|
6746
|
+
"pending",
|
|
6747
|
+
"active",
|
|
6748
|
+
"suspended"
|
|
6749
|
+
]
|
|
6750
|
+
}
|
|
6751
|
+
},
|
|
6752
|
+
"required": []
|
|
6753
|
+
},
|
|
6754
|
+
"security": [
|
|
6755
|
+
{
|
|
6756
|
+
"apiToken": []
|
|
6757
|
+
}
|
|
6758
|
+
],
|
|
6759
|
+
"group": "hosting"
|
|
6760
|
+
},
|
|
6761
|
+
{
|
|
6762
|
+
"name": "hosting_listGitInstallationRepositoriesV1",
|
|
6763
|
+
"title": "List Git installation repositories",
|
|
6764
|
+
"annotations": {
|
|
6765
|
+
"title": "List Git installation repositories",
|
|
6766
|
+
"readOnlyHint": true,
|
|
6767
|
+
"destructiveHint": false
|
|
6768
|
+
},
|
|
6769
|
+
"description": "Lists the repositories the Git installation can access, read live from the provider. Works\nfor github and gitlab installations. Use an active installation: a suspended or pending one\nis still queried and the call fails with whatever the provider answers. The list is cut at\nthe first 500 repositories in the order the provider returns them; when the account has\nmore, name the repository directly instead of searching this list.\n\n`owner`, `name` and `default_branch` identify a repository and a branch to deploy. Returns\n404 when the installation does not belong to the customer. Limited to 10 calls per minute\nper API client (429 above that).",
|
|
6770
|
+
"method": "GET",
|
|
6771
|
+
"path": "/api/hosting/v1/git/installations/{uuid}/repositories",
|
|
6772
|
+
"inputSchema": {
|
|
6773
|
+
"type": "object",
|
|
6774
|
+
"properties": {
|
|
6775
|
+
"uuid": {
|
|
6776
|
+
"type": "string",
|
|
6777
|
+
"description": "Git installation UUID from the List Git installations endpoint"
|
|
6778
|
+
}
|
|
6779
|
+
},
|
|
6780
|
+
"required": [
|
|
6781
|
+
"uuid"
|
|
6782
|
+
]
|
|
6783
|
+
},
|
|
6784
|
+
"security": [
|
|
6785
|
+
{
|
|
6786
|
+
"apiToken": []
|
|
6787
|
+
}
|
|
6788
|
+
],
|
|
6789
|
+
"group": "hosting"
|
|
6790
|
+
},
|
|
6719
6791
|
{
|
|
6720
6792
|
"name": "hosting_listNodeJSBuildsV1",
|
|
6721
6793
|
"title": "List NodeJS builds",
|
package/src/core/tools/all.ts
CHANGED
|
@@ -6730,6 +6730,78 @@ const tools: OpenApiTool[] = [
|
|
|
6730
6730
|
],
|
|
6731
6731
|
"group": "hosting"
|
|
6732
6732
|
},
|
|
6733
|
+
{
|
|
6734
|
+
"name": "hosting_listGitInstallationsV1",
|
|
6735
|
+
"title": "List Git installations",
|
|
6736
|
+
"annotations": {
|
|
6737
|
+
"title": "List Git installations",
|
|
6738
|
+
"readOnlyHint": true,
|
|
6739
|
+
"destructiveHint": false
|
|
6740
|
+
},
|
|
6741
|
+
"description": "Lists the Git provider accounts the customer has connected. Only installations with status\n`active` are returned unless the `status` filter says otherwise.\n\nAn empty list means the customer has no active installation. Check `status=suspended` and\n`status=pending` as well. If there is none at all, GitHub has to be connected once in hPanel\n(Websites, Manage, Advanced, Git, Connect GitHub; or Add Website, Node.js Web App, Import Git\nRepository, Continue with GitHub); this endpoint then lists the new installation.\n\nUse `uuid` as the path parameter of `List Git installation repositories`.",
|
|
6742
|
+
"method": "GET",
|
|
6743
|
+
"path": "/api/hosting/v1/git/installations",
|
|
6744
|
+
"inputSchema": {
|
|
6745
|
+
"type": "object",
|
|
6746
|
+
"properties": {
|
|
6747
|
+
"provider": {
|
|
6748
|
+
"type": "string",
|
|
6749
|
+
"description": "Filter by Git provider",
|
|
6750
|
+
"enum": [
|
|
6751
|
+
"github",
|
|
6752
|
+
"gitlab",
|
|
6753
|
+
"bitbucket"
|
|
6754
|
+
]
|
|
6755
|
+
},
|
|
6756
|
+
"status": {
|
|
6757
|
+
"type": "string",
|
|
6758
|
+
"description": "Filter by installation status",
|
|
6759
|
+
"enum": [
|
|
6760
|
+
"pending",
|
|
6761
|
+
"active",
|
|
6762
|
+
"suspended"
|
|
6763
|
+
]
|
|
6764
|
+
}
|
|
6765
|
+
},
|
|
6766
|
+
"required": []
|
|
6767
|
+
},
|
|
6768
|
+
"security": [
|
|
6769
|
+
{
|
|
6770
|
+
"apiToken": []
|
|
6771
|
+
}
|
|
6772
|
+
],
|
|
6773
|
+
"group": "hosting"
|
|
6774
|
+
},
|
|
6775
|
+
{
|
|
6776
|
+
"name": "hosting_listGitInstallationRepositoriesV1",
|
|
6777
|
+
"title": "List Git installation repositories",
|
|
6778
|
+
"annotations": {
|
|
6779
|
+
"title": "List Git installation repositories",
|
|
6780
|
+
"readOnlyHint": true,
|
|
6781
|
+
"destructiveHint": false
|
|
6782
|
+
},
|
|
6783
|
+
"description": "Lists the repositories the Git installation can access, read live from the provider. Works\nfor github and gitlab installations. Use an active installation: a suspended or pending one\nis still queried and the call fails with whatever the provider answers. The list is cut at\nthe first 500 repositories in the order the provider returns them; when the account has\nmore, name the repository directly instead of searching this list.\n\n`owner`, `name` and `default_branch` identify a repository and a branch to deploy. Returns\n404 when the installation does not belong to the customer. Limited to 10 calls per minute\nper API client (429 above that).",
|
|
6784
|
+
"method": "GET",
|
|
6785
|
+
"path": "/api/hosting/v1/git/installations/{uuid}/repositories",
|
|
6786
|
+
"inputSchema": {
|
|
6787
|
+
"type": "object",
|
|
6788
|
+
"properties": {
|
|
6789
|
+
"uuid": {
|
|
6790
|
+
"type": "string",
|
|
6791
|
+
"description": "Git installation UUID from the List Git installations endpoint"
|
|
6792
|
+
}
|
|
6793
|
+
},
|
|
6794
|
+
"required": [
|
|
6795
|
+
"uuid"
|
|
6796
|
+
]
|
|
6797
|
+
},
|
|
6798
|
+
"security": [
|
|
6799
|
+
{
|
|
6800
|
+
"apiToken": []
|
|
6801
|
+
}
|
|
6802
|
+
],
|
|
6803
|
+
"group": "hosting"
|
|
6804
|
+
},
|
|
6733
6805
|
{
|
|
6734
6806
|
"name": "hosting_listNodeJSBuildsV1",
|
|
6735
6807
|
"title": "List NodeJS builds",
|
|
@@ -1396,6 +1396,78 @@ export default [
|
|
|
1396
1396
|
],
|
|
1397
1397
|
"group": "hosting"
|
|
1398
1398
|
},
|
|
1399
|
+
{
|
|
1400
|
+
"name": "hosting_listGitInstallationsV1",
|
|
1401
|
+
"title": "List Git installations",
|
|
1402
|
+
"annotations": {
|
|
1403
|
+
"title": "List Git installations",
|
|
1404
|
+
"readOnlyHint": true,
|
|
1405
|
+
"destructiveHint": false
|
|
1406
|
+
},
|
|
1407
|
+
"description": "Lists the Git provider accounts the customer has connected. Only installations with status\n`active` are returned unless the `status` filter says otherwise.\n\nAn empty list means the customer has no active installation. Check `status=suspended` and\n`status=pending` as well. If there is none at all, GitHub has to be connected once in hPanel\n(Websites, Manage, Advanced, Git, Connect GitHub; or Add Website, Node.js Web App, Import Git\nRepository, Continue with GitHub); this endpoint then lists the new installation.\n\nUse `uuid` as the path parameter of `List Git installation repositories`.",
|
|
1408
|
+
"method": "GET",
|
|
1409
|
+
"path": "/api/hosting/v1/git/installations",
|
|
1410
|
+
"inputSchema": {
|
|
1411
|
+
"type": "object",
|
|
1412
|
+
"properties": {
|
|
1413
|
+
"provider": {
|
|
1414
|
+
"type": "string",
|
|
1415
|
+
"description": "Filter by Git provider",
|
|
1416
|
+
"enum": [
|
|
1417
|
+
"github",
|
|
1418
|
+
"gitlab",
|
|
1419
|
+
"bitbucket"
|
|
1420
|
+
]
|
|
1421
|
+
},
|
|
1422
|
+
"status": {
|
|
1423
|
+
"type": "string",
|
|
1424
|
+
"description": "Filter by installation status",
|
|
1425
|
+
"enum": [
|
|
1426
|
+
"pending",
|
|
1427
|
+
"active",
|
|
1428
|
+
"suspended"
|
|
1429
|
+
]
|
|
1430
|
+
}
|
|
1431
|
+
},
|
|
1432
|
+
"required": []
|
|
1433
|
+
},
|
|
1434
|
+
"security": [
|
|
1435
|
+
{
|
|
1436
|
+
"apiToken": []
|
|
1437
|
+
}
|
|
1438
|
+
],
|
|
1439
|
+
"group": "hosting"
|
|
1440
|
+
},
|
|
1441
|
+
{
|
|
1442
|
+
"name": "hosting_listGitInstallationRepositoriesV1",
|
|
1443
|
+
"title": "List Git installation repositories",
|
|
1444
|
+
"annotations": {
|
|
1445
|
+
"title": "List Git installation repositories",
|
|
1446
|
+
"readOnlyHint": true,
|
|
1447
|
+
"destructiveHint": false
|
|
1448
|
+
},
|
|
1449
|
+
"description": "Lists the repositories the Git installation can access, read live from the provider. Works\nfor github and gitlab installations. Use an active installation: a suspended or pending one\nis still queried and the call fails with whatever the provider answers. The list is cut at\nthe first 500 repositories in the order the provider returns them; when the account has\nmore, name the repository directly instead of searching this list.\n\n`owner`, `name` and `default_branch` identify a repository and a branch to deploy. Returns\n404 when the installation does not belong to the customer. Limited to 10 calls per minute\nper API client (429 above that).",
|
|
1450
|
+
"method": "GET",
|
|
1451
|
+
"path": "/api/hosting/v1/git/installations/{uuid}/repositories",
|
|
1452
|
+
"inputSchema": {
|
|
1453
|
+
"type": "object",
|
|
1454
|
+
"properties": {
|
|
1455
|
+
"uuid": {
|
|
1456
|
+
"type": "string",
|
|
1457
|
+
"description": "Git installation UUID from the List Git installations endpoint"
|
|
1458
|
+
}
|
|
1459
|
+
},
|
|
1460
|
+
"required": [
|
|
1461
|
+
"uuid"
|
|
1462
|
+
]
|
|
1463
|
+
},
|
|
1464
|
+
"security": [
|
|
1465
|
+
{
|
|
1466
|
+
"apiToken": []
|
|
1467
|
+
}
|
|
1468
|
+
],
|
|
1469
|
+
"group": "hosting"
|
|
1470
|
+
},
|
|
1399
1471
|
{
|
|
1400
1472
|
"name": "hosting_listNodeJSBuildsV1",
|
|
1401
1473
|
"title": "List NodeJS builds",
|
|
@@ -1410,6 +1410,78 @@ const tools: OpenApiTool[] = [
|
|
|
1410
1410
|
],
|
|
1411
1411
|
"group": "hosting"
|
|
1412
1412
|
},
|
|
1413
|
+
{
|
|
1414
|
+
"name": "hosting_listGitInstallationsV1",
|
|
1415
|
+
"title": "List Git installations",
|
|
1416
|
+
"annotations": {
|
|
1417
|
+
"title": "List Git installations",
|
|
1418
|
+
"readOnlyHint": true,
|
|
1419
|
+
"destructiveHint": false
|
|
1420
|
+
},
|
|
1421
|
+
"description": "Lists the Git provider accounts the customer has connected. Only installations with status\n`active` are returned unless the `status` filter says otherwise.\n\nAn empty list means the customer has no active installation. Check `status=suspended` and\n`status=pending` as well. If there is none at all, GitHub has to be connected once in hPanel\n(Websites, Manage, Advanced, Git, Connect GitHub; or Add Website, Node.js Web App, Import Git\nRepository, Continue with GitHub); this endpoint then lists the new installation.\n\nUse `uuid` as the path parameter of `List Git installation repositories`.",
|
|
1422
|
+
"method": "GET",
|
|
1423
|
+
"path": "/api/hosting/v1/git/installations",
|
|
1424
|
+
"inputSchema": {
|
|
1425
|
+
"type": "object",
|
|
1426
|
+
"properties": {
|
|
1427
|
+
"provider": {
|
|
1428
|
+
"type": "string",
|
|
1429
|
+
"description": "Filter by Git provider",
|
|
1430
|
+
"enum": [
|
|
1431
|
+
"github",
|
|
1432
|
+
"gitlab",
|
|
1433
|
+
"bitbucket"
|
|
1434
|
+
]
|
|
1435
|
+
},
|
|
1436
|
+
"status": {
|
|
1437
|
+
"type": "string",
|
|
1438
|
+
"description": "Filter by installation status",
|
|
1439
|
+
"enum": [
|
|
1440
|
+
"pending",
|
|
1441
|
+
"active",
|
|
1442
|
+
"suspended"
|
|
1443
|
+
]
|
|
1444
|
+
}
|
|
1445
|
+
},
|
|
1446
|
+
"required": []
|
|
1447
|
+
},
|
|
1448
|
+
"security": [
|
|
1449
|
+
{
|
|
1450
|
+
"apiToken": []
|
|
1451
|
+
}
|
|
1452
|
+
],
|
|
1453
|
+
"group": "hosting"
|
|
1454
|
+
},
|
|
1455
|
+
{
|
|
1456
|
+
"name": "hosting_listGitInstallationRepositoriesV1",
|
|
1457
|
+
"title": "List Git installation repositories",
|
|
1458
|
+
"annotations": {
|
|
1459
|
+
"title": "List Git installation repositories",
|
|
1460
|
+
"readOnlyHint": true,
|
|
1461
|
+
"destructiveHint": false
|
|
1462
|
+
},
|
|
1463
|
+
"description": "Lists the repositories the Git installation can access, read live from the provider. Works\nfor github and gitlab installations. Use an active installation: a suspended or pending one\nis still queried and the call fails with whatever the provider answers. The list is cut at\nthe first 500 repositories in the order the provider returns them; when the account has\nmore, name the repository directly instead of searching this list.\n\n`owner`, `name` and `default_branch` identify a repository and a branch to deploy. Returns\n404 when the installation does not belong to the customer. Limited to 10 calls per minute\nper API client (429 above that).",
|
|
1464
|
+
"method": "GET",
|
|
1465
|
+
"path": "/api/hosting/v1/git/installations/{uuid}/repositories",
|
|
1466
|
+
"inputSchema": {
|
|
1467
|
+
"type": "object",
|
|
1468
|
+
"properties": {
|
|
1469
|
+
"uuid": {
|
|
1470
|
+
"type": "string",
|
|
1471
|
+
"description": "Git installation UUID from the List Git installations endpoint"
|
|
1472
|
+
}
|
|
1473
|
+
},
|
|
1474
|
+
"required": [
|
|
1475
|
+
"uuid"
|
|
1476
|
+
]
|
|
1477
|
+
},
|
|
1478
|
+
"security": [
|
|
1479
|
+
{
|
|
1480
|
+
"apiToken": []
|
|
1481
|
+
}
|
|
1482
|
+
],
|
|
1483
|
+
"group": "hosting"
|
|
1484
|
+
},
|
|
1413
1485
|
{
|
|
1414
1486
|
"name": "hosting_listNodeJSBuildsV1",
|
|
1415
1487
|
"title": "List NodeJS builds",
|
|
@@ -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.60.
|
|
6
|
+
startServer({ name: 'hostinger-agency-hosting-mcp', version: '1.60.1', 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.60.
|
|
6
|
+
startServer({ name: 'hostinger-agency-hosting-mcp', version: '1.60.1', 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
|
@@ -3770,6 +3770,52 @@ containing secrets (e.g. credential files) — none of these are returned by thi
|
|
|
3770
3770
|
response: any; // Response structure will depend on the API
|
|
3771
3771
|
};
|
|
3772
3772
|
|
|
3773
|
+
/**
|
|
3774
|
+
* Lists the Git provider accounts the customer has connected. Only installations with status
|
|
3775
|
+
`active` are returned unless the `status` filter says otherwise.
|
|
3776
|
+
|
|
3777
|
+
An empty list means the customer has no active installation. Check `status=suspended` and
|
|
3778
|
+
`status=pending` as well. If there is none at all, GitHub has to be connected once in hPanel
|
|
3779
|
+
(Websites, Manage, Advanced, Git, Connect GitHub; or Add Website, Node.js Web App, Import Git
|
|
3780
|
+
Repository, Continue with GitHub); this endpoint then lists the new installation.
|
|
3781
|
+
|
|
3782
|
+
Use `uuid` as the path parameter of `List Git installation repositories`.
|
|
3783
|
+
*/
|
|
3784
|
+
"hosting_listGitInstallationsV1": {
|
|
3785
|
+
params: {
|
|
3786
|
+
/**
|
|
3787
|
+
* Filter by Git provider
|
|
3788
|
+
*/
|
|
3789
|
+
provider?: string;
|
|
3790
|
+
/**
|
|
3791
|
+
* Filter by installation status
|
|
3792
|
+
*/
|
|
3793
|
+
status?: string;
|
|
3794
|
+
};
|
|
3795
|
+
response: any; // Response structure will depend on the API
|
|
3796
|
+
};
|
|
3797
|
+
|
|
3798
|
+
/**
|
|
3799
|
+
* Lists the repositories the Git installation can access, read live from the provider. Works
|
|
3800
|
+
for github and gitlab installations. Use an active installation: a suspended or pending one
|
|
3801
|
+
is still queried and the call fails with whatever the provider answers. The list is cut at
|
|
3802
|
+
the first 500 repositories in the order the provider returns them; when the account has
|
|
3803
|
+
more, name the repository directly instead of searching this list.
|
|
3804
|
+
|
|
3805
|
+
`owner`, `name` and `default_branch` identify a repository and a branch to deploy. Returns
|
|
3806
|
+
404 when the installation does not belong to the customer. Limited to 10 calls per minute
|
|
3807
|
+
per API client (429 above that).
|
|
3808
|
+
*/
|
|
3809
|
+
"hosting_listGitInstallationRepositoriesV1": {
|
|
3810
|
+
params: {
|
|
3811
|
+
/**
|
|
3812
|
+
* Git installation UUID from the List Git installations endpoint
|
|
3813
|
+
*/
|
|
3814
|
+
uuid: string;
|
|
3815
|
+
};
|
|
3816
|
+
response: any; // Response structure will depend on the API
|
|
3817
|
+
};
|
|
3818
|
+
|
|
3773
3819
|
/**
|
|
3774
3820
|
* Retrieve a paginated list of Node.js build processes for a specific website.
|
|
3775
3821
|
|