hostinger-api-mcp 0.2.13 → 0.2.14
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 +12 -2
- 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 -0
- package/src/core/tools/all.ts +37 -0
- package/src/core/tools/reach.js +37 -0
- package/src/core/tools/reach.ts +37 -0
- 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/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/types.d.ts +28 -0
package/README.md
CHANGED
|
@@ -49,14 +49,14 @@ pnpm update -g hostinger-api-mcp
|
|
|
49
49
|
|
|
50
50
|
This package installs the following MCP server commands:
|
|
51
51
|
|
|
52
|
-
- `hostinger-api-mcp` — unified server with every tool (
|
|
52
|
+
- `hostinger-api-mcp` — unified server with every tool (140 total)
|
|
53
53
|
- `hostinger-billing-mcp` — 7 tools for billing
|
|
54
54
|
- `hostinger-dns-mcp` — 8 tools for dns
|
|
55
55
|
- `hostinger-domains-mcp` — 18 tools for domains
|
|
56
56
|
- `hostinger-ecommerce-mcp` — 2 tools for ecommerce
|
|
57
57
|
- `hostinger-horizons-mcp` — 2 tools for horizons
|
|
58
58
|
- `hostinger-hosting-mcp` — 30 tools for hosting
|
|
59
|
-
- `hostinger-reach-mcp` —
|
|
59
|
+
- `hostinger-reach-mcp` — 11 tools for reach
|
|
60
60
|
- `hostinger-vps-mcp` — 62 tools for vps
|
|
61
61
|
|
|
62
62
|
Pick the binary that matches your agent's scope. `hostinger-api-mcp` remains the backwards-compatible default.
|
|
@@ -1004,6 +1004,16 @@ The segment can be configured with specific criteria like email, name, subscript
|
|
|
1004
1004
|
- **Method**: `POST`
|
|
1005
1005
|
- **Path**: `/api/reach/v1/segmentation/segments`
|
|
1006
1006
|
|
|
1007
|
+
#### reach_listProfileSegmentContactsV1
|
|
1008
|
+
|
|
1009
|
+
Retrieve contacts associated with a specific segment for a given profile.
|
|
1010
|
+
|
|
1011
|
+
This endpoint allows you to fetch and filter contacts that belong to a particular segment,
|
|
1012
|
+
identified by its UUID, scoped to a specific profile.
|
|
1013
|
+
|
|
1014
|
+
- **Method**: `GET`
|
|
1015
|
+
- **Path**: `/api/reach/v1/profiles/{profileUuid}/segmentation/segments/{segmentUuid}/contacts`
|
|
1016
|
+
|
|
1007
1017
|
#### reach_listSegmentContactsV1
|
|
1008
1018
|
|
|
1009
1019
|
Retrieve contacts associated with a specific segment.
|
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": "0.2.
|
|
9
|
+
"version": "0.2.14",
|
|
10
10
|
"packages": [
|
|
11
11
|
{
|
|
12
12
|
"registryType": "npm",
|
|
13
13
|
"identifier": "hostinger-api-mcp",
|
|
14
|
-
"version": "0.2.
|
|
14
|
+
"version": "0.2.14",
|
|
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
|
@@ -2573,6 +2573,43 @@ export default [
|
|
|
2573
2573
|
],
|
|
2574
2574
|
"group": "reach"
|
|
2575
2575
|
},
|
|
2576
|
+
{
|
|
2577
|
+
"name": "reach_listProfileSegmentContactsV1",
|
|
2578
|
+
"description": "Retrieve contacts associated with a specific segment for a given profile.\n\nThis endpoint allows you to fetch and filter contacts that belong to a particular segment,\nidentified by its UUID, scoped to a specific profile.",
|
|
2579
|
+
"method": "GET",
|
|
2580
|
+
"path": "/api/reach/v1/profiles/{profileUuid}/segmentation/segments/{segmentUuid}/contacts",
|
|
2581
|
+
"inputSchema": {
|
|
2582
|
+
"type": "object",
|
|
2583
|
+
"properties": {
|
|
2584
|
+
"profileUuid": {
|
|
2585
|
+
"type": "string",
|
|
2586
|
+
"description": "Profile uuid parameter"
|
|
2587
|
+
},
|
|
2588
|
+
"segmentUuid": {
|
|
2589
|
+
"type": "string",
|
|
2590
|
+
"description": "Segment uuid parameter"
|
|
2591
|
+
},
|
|
2592
|
+
"page": {
|
|
2593
|
+
"type": "integer",
|
|
2594
|
+
"description": "Page number"
|
|
2595
|
+
},
|
|
2596
|
+
"per_page": {
|
|
2597
|
+
"type": "integer",
|
|
2598
|
+
"description": "Number of items per page"
|
|
2599
|
+
}
|
|
2600
|
+
},
|
|
2601
|
+
"required": [
|
|
2602
|
+
"profileUuid",
|
|
2603
|
+
"segmentUuid"
|
|
2604
|
+
]
|
|
2605
|
+
},
|
|
2606
|
+
"security": [
|
|
2607
|
+
{
|
|
2608
|
+
"apiToken": []
|
|
2609
|
+
}
|
|
2610
|
+
],
|
|
2611
|
+
"group": "reach"
|
|
2612
|
+
},
|
|
2576
2613
|
{
|
|
2577
2614
|
"name": "reach_listSegmentContactsV1",
|
|
2578
2615
|
"description": "Retrieve contacts associated with a specific segment.\n\nThis endpoint allows you to fetch and filter contacts that belong to a particular segment,\nidentified by its UUID.",
|
package/src/core/tools/all.ts
CHANGED
|
@@ -2583,6 +2583,43 @@ const tools: OpenApiTool[] = [
|
|
|
2583
2583
|
],
|
|
2584
2584
|
"group": "reach"
|
|
2585
2585
|
},
|
|
2586
|
+
{
|
|
2587
|
+
"name": "reach_listProfileSegmentContactsV1",
|
|
2588
|
+
"description": "Retrieve contacts associated with a specific segment for a given profile.\n\nThis endpoint allows you to fetch and filter contacts that belong to a particular segment,\nidentified by its UUID, scoped to a specific profile.",
|
|
2589
|
+
"method": "GET",
|
|
2590
|
+
"path": "/api/reach/v1/profiles/{profileUuid}/segmentation/segments/{segmentUuid}/contacts",
|
|
2591
|
+
"inputSchema": {
|
|
2592
|
+
"type": "object",
|
|
2593
|
+
"properties": {
|
|
2594
|
+
"profileUuid": {
|
|
2595
|
+
"type": "string",
|
|
2596
|
+
"description": "Profile uuid parameter"
|
|
2597
|
+
},
|
|
2598
|
+
"segmentUuid": {
|
|
2599
|
+
"type": "string",
|
|
2600
|
+
"description": "Segment uuid parameter"
|
|
2601
|
+
},
|
|
2602
|
+
"page": {
|
|
2603
|
+
"type": "integer",
|
|
2604
|
+
"description": "Page number"
|
|
2605
|
+
},
|
|
2606
|
+
"per_page": {
|
|
2607
|
+
"type": "integer",
|
|
2608
|
+
"description": "Number of items per page"
|
|
2609
|
+
}
|
|
2610
|
+
},
|
|
2611
|
+
"required": [
|
|
2612
|
+
"profileUuid",
|
|
2613
|
+
"segmentUuid"
|
|
2614
|
+
]
|
|
2615
|
+
},
|
|
2616
|
+
"security": [
|
|
2617
|
+
{
|
|
2618
|
+
"apiToken": []
|
|
2619
|
+
}
|
|
2620
|
+
],
|
|
2621
|
+
"group": "reach"
|
|
2622
|
+
},
|
|
2586
2623
|
{
|
|
2587
2624
|
"name": "reach_listSegmentContactsV1",
|
|
2588
2625
|
"description": "Retrieve contacts associated with a specific segment.\n\nThis endpoint allows you to fetch and filter contacts that belong to a particular segment,\nidentified by its UUID.",
|
package/src/core/tools/reach.js
CHANGED
|
@@ -236,6 +236,43 @@ export default [
|
|
|
236
236
|
],
|
|
237
237
|
"group": "reach"
|
|
238
238
|
},
|
|
239
|
+
{
|
|
240
|
+
"name": "reach_listProfileSegmentContactsV1",
|
|
241
|
+
"description": "Retrieve contacts associated with a specific segment for a given profile.\n\nThis endpoint allows you to fetch and filter contacts that belong to a particular segment,\nidentified by its UUID, scoped to a specific profile.",
|
|
242
|
+
"method": "GET",
|
|
243
|
+
"path": "/api/reach/v1/profiles/{profileUuid}/segmentation/segments/{segmentUuid}/contacts",
|
|
244
|
+
"inputSchema": {
|
|
245
|
+
"type": "object",
|
|
246
|
+
"properties": {
|
|
247
|
+
"profileUuid": {
|
|
248
|
+
"type": "string",
|
|
249
|
+
"description": "Profile uuid parameter"
|
|
250
|
+
},
|
|
251
|
+
"segmentUuid": {
|
|
252
|
+
"type": "string",
|
|
253
|
+
"description": "Segment uuid parameter"
|
|
254
|
+
},
|
|
255
|
+
"page": {
|
|
256
|
+
"type": "integer",
|
|
257
|
+
"description": "Page number"
|
|
258
|
+
},
|
|
259
|
+
"per_page": {
|
|
260
|
+
"type": "integer",
|
|
261
|
+
"description": "Number of items per page"
|
|
262
|
+
}
|
|
263
|
+
},
|
|
264
|
+
"required": [
|
|
265
|
+
"profileUuid",
|
|
266
|
+
"segmentUuid"
|
|
267
|
+
]
|
|
268
|
+
},
|
|
269
|
+
"security": [
|
|
270
|
+
{
|
|
271
|
+
"apiToken": []
|
|
272
|
+
}
|
|
273
|
+
],
|
|
274
|
+
"group": "reach"
|
|
275
|
+
},
|
|
239
276
|
{
|
|
240
277
|
"name": "reach_listSegmentContactsV1",
|
|
241
278
|
"description": "Retrieve contacts associated with a specific segment.\n\nThis endpoint allows you to fetch and filter contacts that belong to a particular segment,\nidentified by its UUID.",
|
package/src/core/tools/reach.ts
CHANGED
|
@@ -246,6 +246,43 @@ const tools: OpenApiTool[] = [
|
|
|
246
246
|
],
|
|
247
247
|
"group": "reach"
|
|
248
248
|
},
|
|
249
|
+
{
|
|
250
|
+
"name": "reach_listProfileSegmentContactsV1",
|
|
251
|
+
"description": "Retrieve contacts associated with a specific segment for a given profile.\n\nThis endpoint allows you to fetch and filter contacts that belong to a particular segment,\nidentified by its UUID, scoped to a specific profile.",
|
|
252
|
+
"method": "GET",
|
|
253
|
+
"path": "/api/reach/v1/profiles/{profileUuid}/segmentation/segments/{segmentUuid}/contacts",
|
|
254
|
+
"inputSchema": {
|
|
255
|
+
"type": "object",
|
|
256
|
+
"properties": {
|
|
257
|
+
"profileUuid": {
|
|
258
|
+
"type": "string",
|
|
259
|
+
"description": "Profile uuid parameter"
|
|
260
|
+
},
|
|
261
|
+
"segmentUuid": {
|
|
262
|
+
"type": "string",
|
|
263
|
+
"description": "Segment uuid parameter"
|
|
264
|
+
},
|
|
265
|
+
"page": {
|
|
266
|
+
"type": "integer",
|
|
267
|
+
"description": "Page number"
|
|
268
|
+
},
|
|
269
|
+
"per_page": {
|
|
270
|
+
"type": "integer",
|
|
271
|
+
"description": "Number of items per page"
|
|
272
|
+
}
|
|
273
|
+
},
|
|
274
|
+
"required": [
|
|
275
|
+
"profileUuid",
|
|
276
|
+
"segmentUuid"
|
|
277
|
+
]
|
|
278
|
+
},
|
|
279
|
+
"security": [
|
|
280
|
+
{
|
|
281
|
+
"apiToken": []
|
|
282
|
+
}
|
|
283
|
+
],
|
|
284
|
+
"group": "reach"
|
|
285
|
+
},
|
|
249
286
|
{
|
|
250
287
|
"name": "reach_listSegmentContactsV1",
|
|
251
288
|
"description": "Retrieve contacts associated with a specific segment.\n\nThis endpoint allows you to fetch and filter contacts that belong to a particular segment,\nidentified by its UUID.",
|
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/reach.js
CHANGED
package/src/servers/reach.ts
CHANGED
package/src/servers/vps.js
CHANGED
package/src/servers/vps.ts
CHANGED
package/types.d.ts
CHANGED
|
@@ -1692,6 +1692,34 @@ The segment can be configured with specific criteria like email, name, subscript
|
|
|
1692
1692
|
response: any; // Response structure will depend on the API
|
|
1693
1693
|
};
|
|
1694
1694
|
|
|
1695
|
+
/**
|
|
1696
|
+
* Retrieve contacts associated with a specific segment for a given profile.
|
|
1697
|
+
|
|
1698
|
+
This endpoint allows you to fetch and filter contacts that belong to a particular segment,
|
|
1699
|
+
identified by its UUID, scoped to a specific profile.
|
|
1700
|
+
*/
|
|
1701
|
+
"reach_listProfileSegmentContactsV1": {
|
|
1702
|
+
params: {
|
|
1703
|
+
/**
|
|
1704
|
+
* Profile uuid parameter
|
|
1705
|
+
*/
|
|
1706
|
+
profileUuid: string;
|
|
1707
|
+
/**
|
|
1708
|
+
* Segment uuid parameter
|
|
1709
|
+
*/
|
|
1710
|
+
segmentUuid: string;
|
|
1711
|
+
/**
|
|
1712
|
+
* Page number
|
|
1713
|
+
*/
|
|
1714
|
+
page?: number;
|
|
1715
|
+
/**
|
|
1716
|
+
* Number of items per page
|
|
1717
|
+
*/
|
|
1718
|
+
per_page?: number;
|
|
1719
|
+
};
|
|
1720
|
+
response: any; // Response structure will depend on the API
|
|
1721
|
+
};
|
|
1722
|
+
|
|
1695
1723
|
/**
|
|
1696
1724
|
* Retrieve contacts associated with a specific segment.
|
|
1697
1725
|
|