hostinger-api-mcp 1.35.5 → 1.36.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 +74 -33
- package/gemini-extension.json +1 -1
- package/package.json +1 -1
- package/server.json +2 -2
- package/src/core/runtime.js +3 -3
- package/src/core/runtime.ts +3 -3
- package/src/core/tools/agency-hosting.js +27 -27
- package/src/core/tools/agency-hosting.ts +27 -27
- package/src/core/tools/all.js +171 -32
- package/src/core/tools/all.ts +171 -32
- package/src/core/tools/ecommerce.js +37 -5
- package/src/core/tools/ecommerce.ts +37 -5
- package/src/core/tools/reach.js +107 -0
- package/src/core/tools/reach.ts +107 -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 +134 -32
package/src/core/tools/reach.js
CHANGED
|
@@ -1,5 +1,112 @@
|
|
|
1
1
|
// Auto-generated tool list for group: reach
|
|
2
2
|
export default [
|
|
3
|
+
{
|
|
4
|
+
"name": "reach_getAutomationDetailsV1",
|
|
5
|
+
"description": "Get a single automation with the counts of contacts that entered it, are moving through it,\nfinished it or failed on the way.\n\nThis describes the automation itself. To see the workflow it runs, use the steps endpoint.",
|
|
6
|
+
"method": "GET",
|
|
7
|
+
"path": "/api/reach/v1/profiles/{profileUuid}/automations/{automationUuid}",
|
|
8
|
+
"inputSchema": {
|
|
9
|
+
"type": "object",
|
|
10
|
+
"properties": {
|
|
11
|
+
"profileUuid": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"description": "Profile uuid parameter"
|
|
14
|
+
},
|
|
15
|
+
"automationUuid": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"description": "Automation uuid parameter"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"required": [
|
|
21
|
+
"profileUuid",
|
|
22
|
+
"automationUuid"
|
|
23
|
+
]
|
|
24
|
+
},
|
|
25
|
+
"security": [
|
|
26
|
+
{
|
|
27
|
+
"apiToken": []
|
|
28
|
+
}
|
|
29
|
+
],
|
|
30
|
+
"group": "reach"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "reach_listAutomationsV1",
|
|
34
|
+
"description": "Get a paginated list of the automations in a profile.\n\nEvery automation comes with the counts of contacts that entered it, are moving through it,\nfinished it or failed on the way. Those counts describe the contact journey and are not\nemail engagement metrics - for opens, clicks and unsubscribes use the campaign statistics\nendpoint instead.",
|
|
35
|
+
"method": "GET",
|
|
36
|
+
"path": "/api/reach/v1/profiles/{profileUuid}/automations",
|
|
37
|
+
"inputSchema": {
|
|
38
|
+
"type": "object",
|
|
39
|
+
"properties": {
|
|
40
|
+
"profileUuid": {
|
|
41
|
+
"type": "string",
|
|
42
|
+
"description": "Profile uuid parameter"
|
|
43
|
+
},
|
|
44
|
+
"status": {
|
|
45
|
+
"type": "string",
|
|
46
|
+
"description": "Filter automations by status.\n\nThere is no `completed` status. An automation that has finished for every contact still\nreports `active`.",
|
|
47
|
+
"enum": [
|
|
48
|
+
"active",
|
|
49
|
+
"paused",
|
|
50
|
+
"draft"
|
|
51
|
+
]
|
|
52
|
+
},
|
|
53
|
+
"sort_direction": {
|
|
54
|
+
"type": "string",
|
|
55
|
+
"description": "Order automations by creation date. Newest first unless set to `asc`.",
|
|
56
|
+
"enum": [
|
|
57
|
+
"asc",
|
|
58
|
+
"desc"
|
|
59
|
+
]
|
|
60
|
+
},
|
|
61
|
+
"page": {
|
|
62
|
+
"type": "integer",
|
|
63
|
+
"description": "Page number"
|
|
64
|
+
},
|
|
65
|
+
"per_page": {
|
|
66
|
+
"type": "integer",
|
|
67
|
+
"description": "Number of items per page"
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
"required": [
|
|
71
|
+
"profileUuid"
|
|
72
|
+
]
|
|
73
|
+
},
|
|
74
|
+
"security": [
|
|
75
|
+
{
|
|
76
|
+
"apiToken": []
|
|
77
|
+
}
|
|
78
|
+
],
|
|
79
|
+
"group": "reach"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"name": "reach_listAutomationStepsV1",
|
|
83
|
+
"description": "Get the workflow of an automation as a flat list of steps.\n\nThe steps form a tree rather than a straight line: follow `parent_uuid` to reconstruct the\nbranches, and use `step_order` to order the steps that share a parent. An automation with no\nsteps yet returns an empty list.",
|
|
84
|
+
"method": "GET",
|
|
85
|
+
"path": "/api/reach/v1/profiles/{profileUuid}/automations/{automationUuid}/steps",
|
|
86
|
+
"inputSchema": {
|
|
87
|
+
"type": "object",
|
|
88
|
+
"properties": {
|
|
89
|
+
"profileUuid": {
|
|
90
|
+
"type": "string",
|
|
91
|
+
"description": "Profile uuid parameter"
|
|
92
|
+
},
|
|
93
|
+
"automationUuid": {
|
|
94
|
+
"type": "string",
|
|
95
|
+
"description": "Automation uuid parameter"
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
"required": [
|
|
99
|
+
"profileUuid",
|
|
100
|
+
"automationUuid"
|
|
101
|
+
]
|
|
102
|
+
},
|
|
103
|
+
"security": [
|
|
104
|
+
{
|
|
105
|
+
"apiToken": []
|
|
106
|
+
}
|
|
107
|
+
],
|
|
108
|
+
"group": "reach"
|
|
109
|
+
},
|
|
3
110
|
{
|
|
4
111
|
"name": "reach_deleteAContactV1",
|
|
5
112
|
"description": "Delete a contact with the specified UUID.\n\nThis endpoint permanently removes a contact from the email marketing system.\n\n**Deprecated.** This endpoint cannot target a profile, so it always falls back to the\nclient's default profile and cannot delete contacts of any other profile. Use\n`DELETE /api/reach/v1/profiles/{profileUuid}/contacts/{contactUuid}` instead.",
|
package/src/core/tools/reach.ts
CHANGED
|
@@ -14,6 +14,113 @@ export interface OpenApiTool extends Tool {
|
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
const tools: OpenApiTool[] = [
|
|
17
|
+
{
|
|
18
|
+
"name": "reach_getAutomationDetailsV1",
|
|
19
|
+
"description": "Get a single automation with the counts of contacts that entered it, are moving through it,\nfinished it or failed on the way.\n\nThis describes the automation itself. To see the workflow it runs, use the steps endpoint.",
|
|
20
|
+
"method": "GET",
|
|
21
|
+
"path": "/api/reach/v1/profiles/{profileUuid}/automations/{automationUuid}",
|
|
22
|
+
"inputSchema": {
|
|
23
|
+
"type": "object",
|
|
24
|
+
"properties": {
|
|
25
|
+
"profileUuid": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"description": "Profile uuid parameter"
|
|
28
|
+
},
|
|
29
|
+
"automationUuid": {
|
|
30
|
+
"type": "string",
|
|
31
|
+
"description": "Automation uuid parameter"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"required": [
|
|
35
|
+
"profileUuid",
|
|
36
|
+
"automationUuid"
|
|
37
|
+
]
|
|
38
|
+
},
|
|
39
|
+
"security": [
|
|
40
|
+
{
|
|
41
|
+
"apiToken": []
|
|
42
|
+
}
|
|
43
|
+
],
|
|
44
|
+
"group": "reach"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"name": "reach_listAutomationsV1",
|
|
48
|
+
"description": "Get a paginated list of the automations in a profile.\n\nEvery automation comes with the counts of contacts that entered it, are moving through it,\nfinished it or failed on the way. Those counts describe the contact journey and are not\nemail engagement metrics - for opens, clicks and unsubscribes use the campaign statistics\nendpoint instead.",
|
|
49
|
+
"method": "GET",
|
|
50
|
+
"path": "/api/reach/v1/profiles/{profileUuid}/automations",
|
|
51
|
+
"inputSchema": {
|
|
52
|
+
"type": "object",
|
|
53
|
+
"properties": {
|
|
54
|
+
"profileUuid": {
|
|
55
|
+
"type": "string",
|
|
56
|
+
"description": "Profile uuid parameter"
|
|
57
|
+
},
|
|
58
|
+
"status": {
|
|
59
|
+
"type": "string",
|
|
60
|
+
"description": "Filter automations by status.\n\nThere is no `completed` status. An automation that has finished for every contact still\nreports `active`.",
|
|
61
|
+
"enum": [
|
|
62
|
+
"active",
|
|
63
|
+
"paused",
|
|
64
|
+
"draft"
|
|
65
|
+
]
|
|
66
|
+
},
|
|
67
|
+
"sort_direction": {
|
|
68
|
+
"type": "string",
|
|
69
|
+
"description": "Order automations by creation date. Newest first unless set to `asc`.",
|
|
70
|
+
"enum": [
|
|
71
|
+
"asc",
|
|
72
|
+
"desc"
|
|
73
|
+
]
|
|
74
|
+
},
|
|
75
|
+
"page": {
|
|
76
|
+
"type": "integer",
|
|
77
|
+
"description": "Page number"
|
|
78
|
+
},
|
|
79
|
+
"per_page": {
|
|
80
|
+
"type": "integer",
|
|
81
|
+
"description": "Number of items per page"
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
"required": [
|
|
85
|
+
"profileUuid"
|
|
86
|
+
]
|
|
87
|
+
},
|
|
88
|
+
"security": [
|
|
89
|
+
{
|
|
90
|
+
"apiToken": []
|
|
91
|
+
}
|
|
92
|
+
],
|
|
93
|
+
"group": "reach"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"name": "reach_listAutomationStepsV1",
|
|
97
|
+
"description": "Get the workflow of an automation as a flat list of steps.\n\nThe steps form a tree rather than a straight line: follow `parent_uuid` to reconstruct the\nbranches, and use `step_order` to order the steps that share a parent. An automation with no\nsteps yet returns an empty list.",
|
|
98
|
+
"method": "GET",
|
|
99
|
+
"path": "/api/reach/v1/profiles/{profileUuid}/automations/{automationUuid}/steps",
|
|
100
|
+
"inputSchema": {
|
|
101
|
+
"type": "object",
|
|
102
|
+
"properties": {
|
|
103
|
+
"profileUuid": {
|
|
104
|
+
"type": "string",
|
|
105
|
+
"description": "Profile uuid parameter"
|
|
106
|
+
},
|
|
107
|
+
"automationUuid": {
|
|
108
|
+
"type": "string",
|
|
109
|
+
"description": "Automation uuid parameter"
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
"required": [
|
|
113
|
+
"profileUuid",
|
|
114
|
+
"automationUuid"
|
|
115
|
+
]
|
|
116
|
+
},
|
|
117
|
+
"security": [
|
|
118
|
+
{
|
|
119
|
+
"apiToken": []
|
|
120
|
+
}
|
|
121
|
+
],
|
|
122
|
+
"group": "reach"
|
|
123
|
+
},
|
|
17
124
|
{
|
|
18
125
|
"name": "reach_deleteAContactV1",
|
|
19
126
|
"description": "Delete a contact with the specified UUID.\n\nThis endpoint permanently removes a contact from the email marketing system.\n\n**Deprecated.** This endpoint cannot target a profile, so it always falls back to the\nclient's default profile and cannot delete contacts of any other profile. Use\n`DELETE /api/reach/v1/profiles/{profileUuid}/contacts/{contactUuid}` instead.",
|
|
@@ -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.36.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.36.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