@appaflytech/wappa-mcp 0.0.11 → 0.0.12
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/dist/client.d.ts +6 -0
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +52 -0
- package/dist/client.js.map +1 -1
- package/dist/factory.d.ts.map +1 -1
- package/dist/factory.js +38 -0
- package/dist/factory.js.map +1 -1
- package/dist/tools/ai-chat-sessions.d.ts +143 -0
- package/dist/tools/ai-chat-sessions.d.ts.map +1 -0
- package/dist/tools/ai-chat-sessions.js +144 -0
- package/dist/tools/ai-chat-sessions.js.map +1 -0
- package/dist/tools/app-users.d.ts +440 -0
- package/dist/tools/app-users.d.ts.map +1 -0
- package/dist/tools/app-users.js +347 -0
- package/dist/tools/app-users.js.map +1 -0
- package/dist/tools/component-categories.d.ts +157 -0
- package/dist/tools/component-categories.d.ts.map +1 -0
- package/dist/tools/component-categories.js +162 -0
- package/dist/tools/component-categories.js.map +1 -0
- package/dist/tools/countries.d.ts +148 -0
- package/dist/tools/countries.d.ts.map +1 -0
- package/dist/tools/countries.js +142 -0
- package/dist/tools/countries.js.map +1 -0
- package/dist/tools/db-routines.d.ts +229 -0
- package/dist/tools/db-routines.d.ts.map +1 -0
- package/dist/tools/db-routines.js +233 -0
- package/dist/tools/db-routines.js.map +1 -0
- package/dist/tools/dynamic-entities.d.ts +166 -0
- package/dist/tools/dynamic-entities.d.ts.map +1 -1
- package/dist/tools/dynamic-entities.js +147 -0
- package/dist/tools/dynamic-entities.js.map +1 -1
- package/dist/tools/entities.d.ts +119 -0
- package/dist/tools/entities.d.ts.map +1 -1
- package/dist/tools/entities.js +116 -0
- package/dist/tools/entities.js.map +1 -1
- package/dist/tools/error-logs.d.ts +67 -0
- package/dist/tools/error-logs.d.ts.map +1 -0
- package/dist/tools/error-logs.js +74 -0
- package/dist/tools/error-logs.js.map +1 -0
- package/dist/tools/general.d.ts.map +1 -1
- package/dist/tools/general.js +218 -0
- package/dist/tools/general.js.map +1 -1
- package/dist/tools/layouts.d.ts +21 -0
- package/dist/tools/layouts.d.ts.map +1 -1
- package/dist/tools/layouts.js +19 -0
- package/dist/tools/layouts.js.map +1 -1
- package/dist/tools/operations.d.ts +184 -0
- package/dist/tools/operations.d.ts.map +1 -0
- package/dist/tools/operations.js +217 -0
- package/dist/tools/operations.js.map +1 -0
- package/dist/tools/page-entities.d.ts +522 -0
- package/dist/tools/page-entities.d.ts.map +1 -0
- package/dist/tools/page-entities.js +535 -0
- package/dist/tools/page-entities.js.map +1 -0
- package/dist/tools/pages.d.ts +226 -0
- package/dist/tools/pages.d.ts.map +1 -1
- package/dist/tools/pages.js +194 -0
- package/dist/tools/pages.js.map +1 -1
- package/dist/tools/plugins.d.ts +230 -0
- package/dist/tools/plugins.d.ts.map +1 -0
- package/dist/tools/plugins.js +218 -0
- package/dist/tools/plugins.js.map +1 -0
- package/dist/tools/queries.d.ts +266 -0
- package/dist/tools/queries.d.ts.map +1 -1
- package/dist/tools/queries.js +288 -0
- package/dist/tools/queries.js.map +1 -1
- package/dist/tools/query-categories.d.ts +192 -0
- package/dist/tools/query-categories.d.ts.map +1 -0
- package/dist/tools/query-categories.js +204 -0
- package/dist/tools/query-categories.js.map +1 -0
- package/dist/tools/regions.d.ts +148 -0
- package/dist/tools/regions.d.ts.map +1 -0
- package/dist/tools/regions.js +148 -0
- package/dist/tools/regions.js.map +1 -0
- package/dist/tools/roles.d.ts +284 -0
- package/dist/tools/roles.d.ts.map +1 -0
- package/dist/tools/roles.js +291 -0
- package/dist/tools/roles.js.map +1 -0
- package/dist/tools/settings.d.ts +160 -0
- package/dist/tools/settings.d.ts.map +1 -0
- package/dist/tools/settings.js +187 -0
- package/dist/tools/settings.js.map +1 -0
- package/dist/tools/showcases.d.ts +184 -0
- package/dist/tools/showcases.d.ts.map +1 -0
- package/dist/tools/showcases.js +179 -0
- package/dist/tools/showcases.js.map +1 -0
- package/dist/tools/storage.d.ts +297 -0
- package/dist/tools/storage.d.ts.map +1 -0
- package/dist/tools/storage.js +302 -0
- package/dist/tools/storage.js.map +1 -0
- package/dist/tools/system-tools.d.ts +124 -0
- package/dist/tools/system-tools.d.ts.map +1 -0
- package/dist/tools/system-tools.js +147 -0
- package/dist/tools/system-tools.js.map +1 -0
- package/dist/tools/system-variables.d.ts +167 -0
- package/dist/tools/system-variables.d.ts.map +1 -0
- package/dist/tools/system-variables.js +176 -0
- package/dist/tools/system-variables.js.map +1 -0
- package/dist/tools/users.d.ts +266 -0
- package/dist/tools/users.d.ts.map +1 -0
- package/dist/tools/users.js +235 -0
- package/dist/tools/users.js.map +1 -0
- package/dist/tools/workflows.d.ts +278 -0
- package/dist/tools/workflows.d.ts.map +1 -0
- package/dist/tools/workflows.js +267 -0
- package/dist/tools/workflows.js.map +1 -0
- package/package.json +2 -2
|
@@ -0,0 +1,267 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MCP Tools for WAP Workflows
|
|
3
|
+
* Workflows = step-based automation flows (run, preview, AI-assisted build) per site.
|
|
4
|
+
* Site-scoped routes: /{site}/Workflows
|
|
5
|
+
*/
|
|
6
|
+
export function getWorkflowTools(client) {
|
|
7
|
+
return {
|
|
8
|
+
// ─── List Workflows ────────────────────────────────────
|
|
9
|
+
list_workflows: {
|
|
10
|
+
description: "Site üzerindeki tüm workflow'ları (otomasyon akışlarını) listeler. İsim ve açıklama ile filtrelenebilir.",
|
|
11
|
+
inputSchema: {
|
|
12
|
+
type: "object",
|
|
13
|
+
properties: {
|
|
14
|
+
name: { type: "string", description: "Workflow adı ile filtrele" },
|
|
15
|
+
description: {
|
|
16
|
+
type: "string",
|
|
17
|
+
description: "Workflow açıklaması ile filtrele",
|
|
18
|
+
},
|
|
19
|
+
pageIndex: {
|
|
20
|
+
type: "number",
|
|
21
|
+
description: "Sayfa numarası (0-based)",
|
|
22
|
+
},
|
|
23
|
+
pageLength: {
|
|
24
|
+
type: "number",
|
|
25
|
+
description: "Sayfa boyutu (varsayılan: 20)",
|
|
26
|
+
},
|
|
27
|
+
},
|
|
28
|
+
},
|
|
29
|
+
handler: async (args) => {
|
|
30
|
+
const params = {};
|
|
31
|
+
if (args.name)
|
|
32
|
+
params.name = args.name;
|
|
33
|
+
if (args.description)
|
|
34
|
+
params.description = args.description;
|
|
35
|
+
if (args.pageIndex !== undefined)
|
|
36
|
+
params.pageIndex = String(args.pageIndex);
|
|
37
|
+
if (args.pageLength !== undefined)
|
|
38
|
+
params.pageLength = String(args.pageLength);
|
|
39
|
+
const result = await client.request("GET", "/{site}/Workflows", undefined, params);
|
|
40
|
+
return {
|
|
41
|
+
content: [
|
|
42
|
+
{ type: "text", text: JSON.stringify(result, null, 2) },
|
|
43
|
+
],
|
|
44
|
+
};
|
|
45
|
+
},
|
|
46
|
+
},
|
|
47
|
+
// ─── Get Workflow ──────────────────────────────────────
|
|
48
|
+
get_workflow: {
|
|
49
|
+
description: "Belirli bir workflow'un detaylarını ID ile getirir.",
|
|
50
|
+
inputSchema: {
|
|
51
|
+
type: "object",
|
|
52
|
+
properties: {
|
|
53
|
+
id: { type: "string", description: "Workflow ID (GUID)" },
|
|
54
|
+
},
|
|
55
|
+
required: ["id"],
|
|
56
|
+
},
|
|
57
|
+
handler: async (args) => {
|
|
58
|
+
const result = await client.request("GET", `/{site}/Workflows/${args.id}`);
|
|
59
|
+
return {
|
|
60
|
+
content: [
|
|
61
|
+
{ type: "text", text: JSON.stringify(result, null, 2) },
|
|
62
|
+
],
|
|
63
|
+
};
|
|
64
|
+
},
|
|
65
|
+
},
|
|
66
|
+
// ─── Create Workflow ───────────────────────────────────
|
|
67
|
+
create_workflow: {
|
|
68
|
+
description: `Yeni bir workflow (otomasyon akışı) oluşturur.
|
|
69
|
+
'name': Workflow adı (zorunlu).
|
|
70
|
+
'description': Açıklama.
|
|
71
|
+
'steps': Workflow adımları dizisi. Her adım stepId, activityName (Start/End/CallService/RunJs/Delay/Condition/SetVariable/Transform/SendEmail/DatabaseQuery/Loop/RunQuery vb.), onSuccessStepId, onFailStepId ve adım tipine özel alanlar (httpMethod, url, headers, body, jsCode, delayMs, conditionExpression, variableKey/variableValue, transformCode, emailTo/emailSubject/emailBody, sqlQuery, loopExpression/loopCode, queryName/queryType) içerir.
|
|
72
|
+
'authorizationRequired': Çalıştırmak için yetki gerekip gerekmediği.`,
|
|
73
|
+
inputSchema: {
|
|
74
|
+
type: "object",
|
|
75
|
+
properties: {
|
|
76
|
+
name: { type: "string", description: "Workflow adı" },
|
|
77
|
+
description: { type: "string", description: "Workflow açıklaması" },
|
|
78
|
+
steps: {
|
|
79
|
+
type: "array",
|
|
80
|
+
description: "Workflow adımları dizisi. Her eleman bir step nesnesi (stepId, activityName ve tipe özel alanlar).",
|
|
81
|
+
},
|
|
82
|
+
authorizationRequired: {
|
|
83
|
+
type: "boolean",
|
|
84
|
+
description: "Çalıştırmak için yetkilendirme gerekli mi",
|
|
85
|
+
},
|
|
86
|
+
},
|
|
87
|
+
required: ["name", "steps"],
|
|
88
|
+
},
|
|
89
|
+
handler: async (args) => {
|
|
90
|
+
const result = await client.request("POST", "/{site}/Workflows", args);
|
|
91
|
+
return {
|
|
92
|
+
content: [
|
|
93
|
+
{ type: "text", text: JSON.stringify(result, null, 2) },
|
|
94
|
+
],
|
|
95
|
+
};
|
|
96
|
+
},
|
|
97
|
+
},
|
|
98
|
+
// ─── Update Workflow ───────────────────────────────────
|
|
99
|
+
update_workflow: {
|
|
100
|
+
description: "Mevcut bir workflow'u günceller. 'name', 'description', 'steps' (adım dizisi) ve 'authorizationRequired' alanlarını alır.",
|
|
101
|
+
inputSchema: {
|
|
102
|
+
type: "object",
|
|
103
|
+
properties: {
|
|
104
|
+
id: { type: "string", description: "Güncellenecek workflow ID" },
|
|
105
|
+
name: { type: "string", description: "Yeni workflow adı" },
|
|
106
|
+
description: { type: "string", description: "Yeni açıklama" },
|
|
107
|
+
steps: {
|
|
108
|
+
type: "array",
|
|
109
|
+
description: "Güncellenmiş workflow adımları dizisi (stepId, activityName ve tipe özel alanlar).",
|
|
110
|
+
},
|
|
111
|
+
authorizationRequired: {
|
|
112
|
+
type: "boolean",
|
|
113
|
+
description: "Çalıştırmak için yetkilendirme gerekli mi",
|
|
114
|
+
},
|
|
115
|
+
},
|
|
116
|
+
required: ["id", "name", "steps"],
|
|
117
|
+
},
|
|
118
|
+
handler: async (args) => {
|
|
119
|
+
const { id, ...data } = args;
|
|
120
|
+
const result = await client.request("PUT", `/{site}/Workflows/${id}`, data);
|
|
121
|
+
return {
|
|
122
|
+
content: [
|
|
123
|
+
{ type: "text", text: JSON.stringify(result, null, 2) },
|
|
124
|
+
],
|
|
125
|
+
};
|
|
126
|
+
},
|
|
127
|
+
},
|
|
128
|
+
// ─── Delete Workflow ───────────────────────────────────
|
|
129
|
+
delete_workflow: {
|
|
130
|
+
description: "Bir workflow'u siler. DİKKAT: Bu işlem geri alınamaz.",
|
|
131
|
+
inputSchema: {
|
|
132
|
+
type: "object",
|
|
133
|
+
properties: {
|
|
134
|
+
id: { type: "string", description: "Silinecek workflow ID" },
|
|
135
|
+
},
|
|
136
|
+
required: ["id"],
|
|
137
|
+
},
|
|
138
|
+
handler: async (args) => {
|
|
139
|
+
const result = await client.request("DELETE", `/{site}/Workflows/${args.id}`);
|
|
140
|
+
return {
|
|
141
|
+
content: [
|
|
142
|
+
{ type: "text", text: JSON.stringify(result, null, 2) },
|
|
143
|
+
],
|
|
144
|
+
};
|
|
145
|
+
},
|
|
146
|
+
},
|
|
147
|
+
// ─── Run Workflow ──────────────────────────────────────
|
|
148
|
+
run_workflow: {
|
|
149
|
+
description: "Kayıtlı bir workflow'u ID ile çalıştırır. 'variables' nesnesi içindeki anahtar-değer çiftleri workflow'a parametre olarak geçirilir.",
|
|
150
|
+
inputSchema: {
|
|
151
|
+
type: "object",
|
|
152
|
+
properties: {
|
|
153
|
+
id: { type: "string", description: "Çalıştırılacak workflow ID" },
|
|
154
|
+
variables: {
|
|
155
|
+
type: "object",
|
|
156
|
+
description: "Workflow'a geçirilecek parametreler (anahtar-değer çiftleri). Boş bırakılabilir.",
|
|
157
|
+
},
|
|
158
|
+
},
|
|
159
|
+
required: ["id"],
|
|
160
|
+
},
|
|
161
|
+
handler: async (args) => {
|
|
162
|
+
const result = await client.request("POST", `/{site}/Workflows/run/${args.id}`, args.variables ?? {});
|
|
163
|
+
return {
|
|
164
|
+
content: [
|
|
165
|
+
{ type: "text", text: JSON.stringify(result, null, 2) },
|
|
166
|
+
],
|
|
167
|
+
};
|
|
168
|
+
},
|
|
169
|
+
},
|
|
170
|
+
// ─── Preview Workflow ──────────────────────────────────
|
|
171
|
+
preview_workflow: {
|
|
172
|
+
description: "Kaydetmeden bir workflow'u önizler/test çalıştırır. 'steps' adım dizisi ve 'parameters' (parametre nesnesi) ile gönderilir.",
|
|
173
|
+
inputSchema: {
|
|
174
|
+
type: "object",
|
|
175
|
+
properties: {
|
|
176
|
+
steps: {
|
|
177
|
+
type: "array",
|
|
178
|
+
description: "Önizlenecek workflow adımları dizisi (stepId, activityName ve tipe özel alanlar).",
|
|
179
|
+
},
|
|
180
|
+
parameters: {
|
|
181
|
+
type: "object",
|
|
182
|
+
description: "Önizleme sırasında workflow'a geçirilecek parametreler (anahtar-değer çiftleri).",
|
|
183
|
+
},
|
|
184
|
+
},
|
|
185
|
+
required: ["steps"],
|
|
186
|
+
},
|
|
187
|
+
handler: async (args) => {
|
|
188
|
+
const body = {
|
|
189
|
+
steps: args.steps,
|
|
190
|
+
parameters: args.parameters ?? {},
|
|
191
|
+
};
|
|
192
|
+
const result = await client.request("POST", "/{site}/Workflows/preview", body);
|
|
193
|
+
return {
|
|
194
|
+
content: [
|
|
195
|
+
{ type: "text", text: JSON.stringify(result, null, 2) },
|
|
196
|
+
],
|
|
197
|
+
};
|
|
198
|
+
},
|
|
199
|
+
},
|
|
200
|
+
// ─── AI Suggest ────────────────────────────────────────
|
|
201
|
+
ai_suggest_workflow: {
|
|
202
|
+
description: "Yapay zekadan workflow JS kodu için öneri alır (sohbet tabanlı). 'messages' sohbet geçmişi (role: user/assistant, content), 'currentCode' mevcut kod, 'context' bağlam bilgisi ile gönderilir.",
|
|
203
|
+
inputSchema: {
|
|
204
|
+
type: "object",
|
|
205
|
+
properties: {
|
|
206
|
+
messages: {
|
|
207
|
+
type: "array",
|
|
208
|
+
description: "Sohbet mesajları dizisi. Her eleman { role: 'user' | 'assistant', content: string } biçimindedir.",
|
|
209
|
+
},
|
|
210
|
+
currentCode: {
|
|
211
|
+
type: "string",
|
|
212
|
+
description: "Üzerinde çalışılan mevcut JS kodu",
|
|
213
|
+
},
|
|
214
|
+
context: {
|
|
215
|
+
type: "string",
|
|
216
|
+
description: "Yapay zekaya verilecek ek bağlam bilgisi",
|
|
217
|
+
},
|
|
218
|
+
},
|
|
219
|
+
required: ["messages"],
|
|
220
|
+
},
|
|
221
|
+
handler: async (args) => {
|
|
222
|
+
const body = {
|
|
223
|
+
messages: args.messages,
|
|
224
|
+
currentCode: args.currentCode ?? "",
|
|
225
|
+
context: args.context ?? "",
|
|
226
|
+
};
|
|
227
|
+
const result = await client.request("POST", "/{site}/Workflows/ai-suggest", body);
|
|
228
|
+
return {
|
|
229
|
+
content: [
|
|
230
|
+
{ type: "text", text: JSON.stringify(result, null, 2) },
|
|
231
|
+
],
|
|
232
|
+
};
|
|
233
|
+
},
|
|
234
|
+
},
|
|
235
|
+
// ─── AI Build ──────────────────────────────────────────
|
|
236
|
+
ai_build_workflow: {
|
|
237
|
+
description: "Yapay zekadan tam bir workflow (adım dizisi) oluşturmasını ister (sohbet tabanlı). 'messages' sohbet geçmişi (role: user/assistant, content), 'currentWorkflow' mevcut workflow tanımı ile gönderilir.",
|
|
238
|
+
inputSchema: {
|
|
239
|
+
type: "object",
|
|
240
|
+
properties: {
|
|
241
|
+
messages: {
|
|
242
|
+
type: "array",
|
|
243
|
+
description: "Sohbet mesajları dizisi. Her eleman { role: 'user' | 'assistant', content: string } biçimindedir.",
|
|
244
|
+
},
|
|
245
|
+
currentWorkflow: {
|
|
246
|
+
type: "string",
|
|
247
|
+
description: "Üzerinde çalışılan mevcut workflow tanımı (metin/JSON)",
|
|
248
|
+
},
|
|
249
|
+
},
|
|
250
|
+
required: ["messages"],
|
|
251
|
+
},
|
|
252
|
+
handler: async (args) => {
|
|
253
|
+
const body = {
|
|
254
|
+
messages: args.messages,
|
|
255
|
+
currentWorkflow: args.currentWorkflow ?? "",
|
|
256
|
+
};
|
|
257
|
+
const result = await client.request("POST", "/{site}/Workflows/ai-build", body);
|
|
258
|
+
return {
|
|
259
|
+
content: [
|
|
260
|
+
{ type: "text", text: JSON.stringify(result, null, 2) },
|
|
261
|
+
],
|
|
262
|
+
};
|
|
263
|
+
},
|
|
264
|
+
},
|
|
265
|
+
};
|
|
266
|
+
}
|
|
267
|
+
//# sourceMappingURL=workflows.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workflows.js","sourceRoot":"","sources":["../../src/tools/workflows.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH,MAAM,UAAU,gBAAgB,CAAC,MAAiB;IAChD,OAAO;QACL,0DAA0D;QAC1D,cAAc,EAAE;YACd,WAAW,EACT,0GAA0G;YAC5G,WAAW,EAAE;gBACX,IAAI,EAAE,QAAiB;gBACvB,UAAU,EAAE;oBACV,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,2BAA2B,EAAE;oBAClE,WAAW,EAAE;wBACX,IAAI,EAAE,QAAQ;wBACd,WAAW,EAAE,kCAAkC;qBAChD;oBACD,SAAS,EAAE;wBACT,IAAI,EAAE,QAAQ;wBACd,WAAW,EAAE,0BAA0B;qBACxC;oBACD,UAAU,EAAE;wBACV,IAAI,EAAE,QAAQ;wBACd,WAAW,EAAE,+BAA+B;qBAC7C;iBACF;aACF;YACD,OAAO,EAAE,KAAK,EAAE,IAKf,EAAE,EAAE;gBACH,MAAM,MAAM,GAA2B,EAAE,CAAC;gBAC1C,IAAI,IAAI,CAAC,IAAI;oBAAE,MAA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AAI,EAAE,OAAO;wBACb,WAAW,EACT,mGAAmG;qBACtG;oBACD,eAAe,EAAE;wBACf,IAAI,EAAE,QAAQ;wBACd,WAAW,EAAE,wDAAwD;qBACtE;iBACF;gBACD,QAAQ,EAAE,CAAC,UAAU,CAAC;aACvB;YACD,OAAO,EAAE,KAAK,EAAE,IAGf,EAAE,EAAE;gBACH,MAAM,IAAI,GAAG;oBACX,QAAQ,EAAE,IAAI,CAAC,QAAQ;oBACvB,eAAe,EAAE,IAAI,CAAC,eAAe,IAAI,EAAE;iBAC5C,CAAC;gBACF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,OAAO,CACjC,MAAM,EACN,4BAA4B,EAC5B,IAAI,CACL,CAAC;gBACF,OAAO;oBACL,OAAO,EAAE;wBACP,EAAE,IAAI,EAAE,MAAe,EAAE,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,EAAE;qBACjE;iBACF,CAAC;YACJ,CAAC;SACF;KACF,CAAC;AACJ,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@appaflytech/wappa-mcp",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.12",
|
|
4
4
|
"description": "MCP Server for WAPPA (Content Management System & Web Site Tools) Admin API — Claude Code integration for component, page, widget, and site management",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -66,4 +66,4 @@
|
|
|
66
66
|
"typescript": "^5.7.0",
|
|
67
67
|
"vitest": "^4.1.7"
|
|
68
68
|
}
|
|
69
|
-
}
|
|
69
|
+
}
|