n8n-mcp 2.24.1 → 2.26.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/README.md +119 -163
- package/data/nodes.db +0 -0
- package/dist/mcp/handlers-n8n-manager.d.ts +0 -1
- package/dist/mcp/handlers-n8n-manager.d.ts.map +1 -1
- package/dist/mcp/handlers-n8n-manager.js +6 -61
- package/dist/mcp/handlers-n8n-manager.js.map +1 -1
- package/dist/mcp/server.d.ts.map +1 -1
- package/dist/mcp/server.js +105 -115
- package/dist/mcp/server.js.map +1 -1
- package/dist/mcp/tool-docs/system/tools-documentation.js +1 -1
- package/dist/mcp/tool-docs/system/tools-documentation.js.map +1 -1
- package/dist/mcp/tool-docs/templates/get-templates-for-task.js +1 -1
- package/dist/mcp/tool-docs/templates/get-templates-for-task.js.map +1 -1
- package/dist/mcp/tool-docs/workflow_management/n8n-validate-workflow.js +1 -1
- package/dist/mcp/tool-docs/workflow_management/n8n-validate-workflow.js.map +1 -1
- package/dist/mcp/tools-documentation.d.ts.map +1 -1
- package/dist/mcp/tools-documentation.js +6 -7
- package/dist/mcp/tools-documentation.js.map +1 -1
- package/dist/mcp/tools-n8n-manager.d.ts.map +1 -1
- package/dist/mcp/tools-n8n-manager.js +33 -107
- package/dist/mcp/tools-n8n-manager.js.map +1 -1
- package/dist/mcp/tools.d.ts.map +1 -1
- package/dist/mcp/tools.js +43 -382
- package/dist/mcp/tools.js.map +1 -1
- package/dist/services/n8n-validation.d.ts +2 -2
- package/package.json +1 -1
package/dist/mcp/tools.js
CHANGED
|
@@ -21,37 +21,6 @@ exports.n8nDocumentationToolsFinal = [
|
|
|
21
21
|
},
|
|
22
22
|
},
|
|
23
23
|
},
|
|
24
|
-
{
|
|
25
|
-
name: 'list_nodes',
|
|
26
|
-
description: `List n8n nodes. Common: list_nodes({limit:200}) for all, list_nodes({category:'trigger'}) for triggers. Package: "n8n-nodes-base" or "@n8n/n8n-nodes-langchain". Categories: trigger/transform/output/input.`,
|
|
27
|
-
inputSchema: {
|
|
28
|
-
type: 'object',
|
|
29
|
-
properties: {
|
|
30
|
-
package: {
|
|
31
|
-
type: 'string',
|
|
32
|
-
description: '"n8n-nodes-base" (core) or "@n8n/n8n-nodes-langchain" (AI)',
|
|
33
|
-
},
|
|
34
|
-
category: {
|
|
35
|
-
type: 'string',
|
|
36
|
-
description: 'trigger|transform|output|input|AI',
|
|
37
|
-
},
|
|
38
|
-
developmentStyle: {
|
|
39
|
-
type: 'string',
|
|
40
|
-
enum: ['declarative', 'programmatic'],
|
|
41
|
-
description: 'Usually "programmatic"',
|
|
42
|
-
},
|
|
43
|
-
isAITool: {
|
|
44
|
-
type: 'boolean',
|
|
45
|
-
description: 'Filter AI-capable nodes',
|
|
46
|
-
},
|
|
47
|
-
limit: {
|
|
48
|
-
type: 'number',
|
|
49
|
-
description: 'Max results (default 50, use 200+ for all)',
|
|
50
|
-
default: 50,
|
|
51
|
-
},
|
|
52
|
-
},
|
|
53
|
-
},
|
|
54
|
-
},
|
|
55
24
|
{
|
|
56
25
|
name: 'search_nodes',
|
|
57
26
|
description: `Search n8n nodes by keyword with optional real-world examples. Pass query as string. Example: query="webhook" or query="database". Returns max 20 results. Use includeExamples=true to get top 2 template configs per node.`,
|
|
@@ -82,39 +51,9 @@ exports.n8nDocumentationToolsFinal = [
|
|
|
82
51
|
required: ['query'],
|
|
83
52
|
},
|
|
84
53
|
},
|
|
85
|
-
{
|
|
86
|
-
name: 'list_ai_tools',
|
|
87
|
-
description: `List 263 AI-optimized nodes. Note: ANY node can be AI tool! Connect any node to AI Agent's tool port. Community nodes need N8N_COMMUNITY_PACKAGES_ALLOW_TOOL_USAGE=true.`,
|
|
88
|
-
inputSchema: {
|
|
89
|
-
type: 'object',
|
|
90
|
-
properties: {},
|
|
91
|
-
},
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
name: 'get_node_documentation',
|
|
95
|
-
description: `Get readable docs with examples/auth/patterns. Better than raw schema! 87% coverage. Format: "nodes-base.slack"`,
|
|
96
|
-
inputSchema: {
|
|
97
|
-
type: 'object',
|
|
98
|
-
properties: {
|
|
99
|
-
nodeType: {
|
|
100
|
-
type: 'string',
|
|
101
|
-
description: 'Full type with prefix: "nodes-base.slack"',
|
|
102
|
-
},
|
|
103
|
-
},
|
|
104
|
-
required: ['nodeType'],
|
|
105
|
-
},
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
name: 'get_database_statistics',
|
|
109
|
-
description: `Node stats: 525 total, 263 AI tools, 104 triggers, 87% docs coverage. Verifies MCP working.`,
|
|
110
|
-
inputSchema: {
|
|
111
|
-
type: 'object',
|
|
112
|
-
properties: {},
|
|
113
|
-
},
|
|
114
|
-
},
|
|
115
54
|
{
|
|
116
55
|
name: 'get_node',
|
|
117
|
-
description: `Get node info with progressive detail levels. Detail: minimal (~200 tokens), standard (~1-2K, default), full (~3-8K).
|
|
56
|
+
description: `Get node info with progressive detail levels and multiple modes. Detail: minimal (~200 tokens), standard (~1-2K, default), full (~3-8K). Modes: info (default), docs (markdown documentation), search_properties (find properties), versions/compare/breaking/migrations (version info). Use format='docs' for readable documentation, mode='search_properties' with propertyQuery for finding specific fields.`,
|
|
118
57
|
inputSchema: {
|
|
119
58
|
type: 'object',
|
|
120
59
|
properties: {
|
|
@@ -130,9 +69,9 @@ exports.n8nDocumentationToolsFinal = [
|
|
|
130
69
|
},
|
|
131
70
|
mode: {
|
|
132
71
|
type: 'string',
|
|
133
|
-
enum: ['info', 'versions', 'compare', 'breaking', 'migrations'],
|
|
72
|
+
enum: ['info', 'docs', 'search_properties', 'versions', 'compare', 'breaking', 'migrations'],
|
|
134
73
|
default: 'info',
|
|
135
|
-
description: 'Operation mode. info=node
|
|
74
|
+
description: 'Operation mode. info=node schema, docs=readable markdown documentation, search_properties=find specific properties, versions/compare/breaking/migrations=version info',
|
|
136
75
|
},
|
|
137
76
|
includeTypeInfo: {
|
|
138
77
|
type: 'boolean',
|
|
@@ -152,49 +91,22 @@ exports.n8nDocumentationToolsFinal = [
|
|
|
152
91
|
type: 'string',
|
|
153
92
|
description: 'Target version for compare mode (e.g., "2.0"). Defaults to latest if omitted.',
|
|
154
93
|
},
|
|
155
|
-
|
|
156
|
-
required: ['nodeType'],
|
|
157
|
-
},
|
|
158
|
-
},
|
|
159
|
-
{
|
|
160
|
-
name: 'search_node_properties',
|
|
161
|
-
description: `Find specific properties in a node (auth, headers, body, etc). Returns paths and descriptions.`,
|
|
162
|
-
inputSchema: {
|
|
163
|
-
type: 'object',
|
|
164
|
-
properties: {
|
|
165
|
-
nodeType: {
|
|
94
|
+
propertyQuery: {
|
|
166
95
|
type: 'string',
|
|
167
|
-
description: '
|
|
96
|
+
description: 'For mode=search_properties: search term to find properties (e.g., "auth", "header", "body")',
|
|
168
97
|
},
|
|
169
|
-
|
|
170
|
-
type: 'string',
|
|
171
|
-
description: 'Property to find: "auth", "header", "body", "json"',
|
|
172
|
-
},
|
|
173
|
-
maxResults: {
|
|
98
|
+
maxPropertyResults: {
|
|
174
99
|
type: 'number',
|
|
175
|
-
description: '
|
|
100
|
+
description: 'For mode=search_properties: max results (default 20)',
|
|
176
101
|
default: 20,
|
|
177
102
|
},
|
|
178
103
|
},
|
|
179
|
-
required: ['nodeType'
|
|
180
|
-
},
|
|
181
|
-
},
|
|
182
|
-
{
|
|
183
|
-
name: 'list_tasks',
|
|
184
|
-
description: `List task templates by category: HTTP/API, Webhooks, Database, AI, Data Processing, Communication.`,
|
|
185
|
-
inputSchema: {
|
|
186
|
-
type: 'object',
|
|
187
|
-
properties: {
|
|
188
|
-
category: {
|
|
189
|
-
type: 'string',
|
|
190
|
-
description: 'Filter by category (optional)',
|
|
191
|
-
},
|
|
192
|
-
},
|
|
104
|
+
required: ['nodeType'],
|
|
193
105
|
},
|
|
194
106
|
},
|
|
195
107
|
{
|
|
196
|
-
name: '
|
|
197
|
-
description: `Validate n8n node configuration.
|
|
108
|
+
name: 'validate_node',
|
|
109
|
+
description: `Validate n8n node configuration. Use mode='full' for comprehensive validation with errors/warnings/suggestions, mode='minimal' for quick required fields check. Example: nodeType="nodes-base.slack", config={resource:"channel",operation:"create"}`,
|
|
198
110
|
inputSchema: {
|
|
199
111
|
type: 'object',
|
|
200
112
|
properties: {
|
|
@@ -206,10 +118,16 @@ exports.n8nDocumentationToolsFinal = [
|
|
|
206
118
|
type: 'object',
|
|
207
119
|
description: 'Configuration as object. For simple nodes use {}. For complex nodes include fields like {resource:"channel",operation:"create"}',
|
|
208
120
|
},
|
|
121
|
+
mode: {
|
|
122
|
+
type: 'string',
|
|
123
|
+
enum: ['full', 'minimal'],
|
|
124
|
+
description: 'Validation mode. full=comprehensive validation with errors/warnings/suggestions, minimal=quick required fields check only. Default is "full"',
|
|
125
|
+
default: 'full',
|
|
126
|
+
},
|
|
209
127
|
profile: {
|
|
210
128
|
type: 'string',
|
|
211
129
|
enum: ['strict', 'runtime', 'ai-friendly', 'minimal'],
|
|
212
|
-
description: 'Profile
|
|
130
|
+
description: 'Profile for mode=full: "minimal", "runtime", "ai-friendly", or "strict". Default is "ai-friendly"',
|
|
213
131
|
default: 'ai-friendly',
|
|
214
132
|
},
|
|
215
133
|
},
|
|
@@ -248,6 +166,11 @@ exports.n8nDocumentationToolsFinal = [
|
|
|
248
166
|
}
|
|
249
167
|
},
|
|
250
168
|
suggestions: { type: 'array', items: { type: 'string' } },
|
|
169
|
+
missingRequiredFields: {
|
|
170
|
+
type: 'array',
|
|
171
|
+
items: { type: 'string' },
|
|
172
|
+
description: 'Only present in mode=minimal'
|
|
173
|
+
},
|
|
251
174
|
summary: {
|
|
252
175
|
type: 'object',
|
|
253
176
|
properties: {
|
|
@@ -258,132 +181,7 @@ exports.n8nDocumentationToolsFinal = [
|
|
|
258
181
|
}
|
|
259
182
|
}
|
|
260
183
|
},
|
|
261
|
-
required: ['nodeType', 'displayName', 'valid'
|
|
262
|
-
},
|
|
263
|
-
},
|
|
264
|
-
{
|
|
265
|
-
name: 'validate_node_minimal',
|
|
266
|
-
description: `Check n8n node required fields. Pass nodeType as string and config as empty object {}. Example: nodeType="nodes-base.webhook", config={}`,
|
|
267
|
-
inputSchema: {
|
|
268
|
-
type: 'object',
|
|
269
|
-
properties: {
|
|
270
|
-
nodeType: {
|
|
271
|
-
type: 'string',
|
|
272
|
-
description: 'Node type as string. Example: "nodes-base.slack"',
|
|
273
|
-
},
|
|
274
|
-
config: {
|
|
275
|
-
type: 'object',
|
|
276
|
-
description: 'Configuration object. Always pass {} for empty config',
|
|
277
|
-
},
|
|
278
|
-
},
|
|
279
|
-
required: ['nodeType', 'config'],
|
|
280
|
-
additionalProperties: false,
|
|
281
|
-
},
|
|
282
|
-
outputSchema: {
|
|
283
|
-
type: 'object',
|
|
284
|
-
properties: {
|
|
285
|
-
nodeType: { type: 'string' },
|
|
286
|
-
displayName: { type: 'string' },
|
|
287
|
-
valid: { type: 'boolean' },
|
|
288
|
-
missingRequiredFields: {
|
|
289
|
-
type: 'array',
|
|
290
|
-
items: { type: 'string' }
|
|
291
|
-
}
|
|
292
|
-
},
|
|
293
|
-
required: ['nodeType', 'displayName', 'valid', 'missingRequiredFields']
|
|
294
|
-
},
|
|
295
|
-
},
|
|
296
|
-
{
|
|
297
|
-
name: 'get_property_dependencies',
|
|
298
|
-
description: `Shows property dependencies and visibility rules. Example: sendBody=true reveals body fields. Test visibility with optional config.`,
|
|
299
|
-
inputSchema: {
|
|
300
|
-
type: 'object',
|
|
301
|
-
properties: {
|
|
302
|
-
nodeType: {
|
|
303
|
-
type: 'string',
|
|
304
|
-
description: 'The node type to analyze (e.g., "nodes-base.httpRequest")',
|
|
305
|
-
},
|
|
306
|
-
config: {
|
|
307
|
-
type: 'object',
|
|
308
|
-
description: 'Optional partial configuration to check visibility impact',
|
|
309
|
-
},
|
|
310
|
-
},
|
|
311
|
-
required: ['nodeType'],
|
|
312
|
-
},
|
|
313
|
-
},
|
|
314
|
-
{
|
|
315
|
-
name: 'get_node_as_tool_info',
|
|
316
|
-
description: `How to use ANY node as AI tool. Shows requirements, use cases, examples. Works for all nodes, not just AI-marked ones.`,
|
|
317
|
-
inputSchema: {
|
|
318
|
-
type: 'object',
|
|
319
|
-
properties: {
|
|
320
|
-
nodeType: {
|
|
321
|
-
type: 'string',
|
|
322
|
-
description: 'Full node type WITH prefix: "nodes-base.slack", "nodes-base.googleSheets", etc.',
|
|
323
|
-
},
|
|
324
|
-
},
|
|
325
|
-
required: ['nodeType'],
|
|
326
|
-
},
|
|
327
|
-
},
|
|
328
|
-
{
|
|
329
|
-
name: 'list_templates',
|
|
330
|
-
description: `List all templates with minimal data (id, name, description, views, node count). Optionally include AI-generated metadata for smart filtering.`,
|
|
331
|
-
inputSchema: {
|
|
332
|
-
type: 'object',
|
|
333
|
-
properties: {
|
|
334
|
-
limit: {
|
|
335
|
-
type: 'number',
|
|
336
|
-
description: 'Number of results (1-100). Default 10.',
|
|
337
|
-
default: 10,
|
|
338
|
-
minimum: 1,
|
|
339
|
-
maximum: 100,
|
|
340
|
-
},
|
|
341
|
-
offset: {
|
|
342
|
-
type: 'number',
|
|
343
|
-
description: 'Pagination offset. Default 0.',
|
|
344
|
-
default: 0,
|
|
345
|
-
minimum: 0,
|
|
346
|
-
},
|
|
347
|
-
sortBy: {
|
|
348
|
-
type: 'string',
|
|
349
|
-
enum: ['views', 'created_at', 'name'],
|
|
350
|
-
description: 'Sort field. Default: views (popularity).',
|
|
351
|
-
default: 'views',
|
|
352
|
-
},
|
|
353
|
-
includeMetadata: {
|
|
354
|
-
type: 'boolean',
|
|
355
|
-
description: 'Include AI-generated metadata (categories, complexity, setup time, etc.). Default false.',
|
|
356
|
-
default: false,
|
|
357
|
-
},
|
|
358
|
-
},
|
|
359
|
-
},
|
|
360
|
-
},
|
|
361
|
-
{
|
|
362
|
-
name: 'list_node_templates',
|
|
363
|
-
description: `Find templates using specific nodes. Returns paginated results. Use FULL types: "n8n-nodes-base.httpRequest".`,
|
|
364
|
-
inputSchema: {
|
|
365
|
-
type: 'object',
|
|
366
|
-
properties: {
|
|
367
|
-
nodeTypes: {
|
|
368
|
-
type: 'array',
|
|
369
|
-
items: { type: 'string' },
|
|
370
|
-
description: 'Array of node types to search for (e.g., ["n8n-nodes-base.httpRequest", "n8n-nodes-base.openAi"])',
|
|
371
|
-
},
|
|
372
|
-
limit: {
|
|
373
|
-
type: 'number',
|
|
374
|
-
description: 'Maximum number of templates to return. Default 10.',
|
|
375
|
-
default: 10,
|
|
376
|
-
minimum: 1,
|
|
377
|
-
maximum: 100,
|
|
378
|
-
},
|
|
379
|
-
offset: {
|
|
380
|
-
type: 'number',
|
|
381
|
-
description: 'Pagination offset. Default 0.',
|
|
382
|
-
default: 0,
|
|
383
|
-
minimum: 0,
|
|
384
|
-
},
|
|
385
|
-
},
|
|
386
|
-
required: ['nodeTypes'],
|
|
184
|
+
required: ['nodeType', 'displayName', 'valid']
|
|
387
185
|
},
|
|
388
186
|
},
|
|
389
187
|
{
|
|
@@ -408,13 +206,19 @@ exports.n8nDocumentationToolsFinal = [
|
|
|
408
206
|
},
|
|
409
207
|
{
|
|
410
208
|
name: 'search_templates',
|
|
411
|
-
description: `Search templates
|
|
209
|
+
description: `Search templates with multiple modes. Use searchMode='keyword' for text search, 'by_nodes' to find templates using specific nodes, 'by_task' for curated task-based templates, 'by_metadata' for filtering by complexity/setup time/services.`,
|
|
412
210
|
inputSchema: {
|
|
413
211
|
type: 'object',
|
|
414
212
|
properties: {
|
|
213
|
+
searchMode: {
|
|
214
|
+
type: 'string',
|
|
215
|
+
enum: ['keyword', 'by_nodes', 'by_task', 'by_metadata'],
|
|
216
|
+
description: 'Search mode. keyword=text search (default), by_nodes=find by node types, by_task=curated task templates, by_metadata=filter by complexity/services',
|
|
217
|
+
default: 'keyword',
|
|
218
|
+
},
|
|
415
219
|
query: {
|
|
416
220
|
type: 'string',
|
|
417
|
-
description: '
|
|
221
|
+
description: 'For searchMode=keyword: search keyword (e.g., "chatbot")',
|
|
418
222
|
},
|
|
419
223
|
fields: {
|
|
420
224
|
type: 'array',
|
|
@@ -422,31 +226,13 @@ exports.n8nDocumentationToolsFinal = [
|
|
|
422
226
|
type: 'string',
|
|
423
227
|
enum: ['id', 'name', 'description', 'author', 'nodes', 'views', 'created', 'url', 'metadata'],
|
|
424
228
|
},
|
|
425
|
-
description: '
|
|
426
|
-
},
|
|
427
|
-
limit: {
|
|
428
|
-
type: 'number',
|
|
429
|
-
description: 'Maximum number of results. Default 20.',
|
|
430
|
-
default: 20,
|
|
431
|
-
minimum: 1,
|
|
432
|
-
maximum: 100,
|
|
229
|
+
description: 'For searchMode=keyword: fields to include in response. Default: all fields.',
|
|
433
230
|
},
|
|
434
|
-
|
|
435
|
-
type: '
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
minimum: 0,
|
|
231
|
+
nodeTypes: {
|
|
232
|
+
type: 'array',
|
|
233
|
+
items: { type: 'string' },
|
|
234
|
+
description: 'For searchMode=by_nodes: array of node types (e.g., ["n8n-nodes-base.httpRequest", "n8n-nodes-base.slack"])',
|
|
439
235
|
},
|
|
440
|
-
},
|
|
441
|
-
required: ['query'],
|
|
442
|
-
},
|
|
443
|
-
},
|
|
444
|
-
{
|
|
445
|
-
name: 'get_templates_for_task',
|
|
446
|
-
description: `Curated templates by task. Returns paginated results sorted by popularity.`,
|
|
447
|
-
inputSchema: {
|
|
448
|
-
type: 'object',
|
|
449
|
-
properties: {
|
|
450
236
|
task: {
|
|
451
237
|
type: 'string',
|
|
452
238
|
enum: [
|
|
@@ -461,59 +247,36 @@ exports.n8nDocumentationToolsFinal = [
|
|
|
461
247
|
'api_integration',
|
|
462
248
|
'database_operations'
|
|
463
249
|
],
|
|
464
|
-
description: '
|
|
465
|
-
},
|
|
466
|
-
limit: {
|
|
467
|
-
type: 'number',
|
|
468
|
-
description: 'Maximum number of results. Default 10.',
|
|
469
|
-
default: 10,
|
|
470
|
-
minimum: 1,
|
|
471
|
-
maximum: 100,
|
|
472
|
-
},
|
|
473
|
-
offset: {
|
|
474
|
-
type: 'number',
|
|
475
|
-
description: 'Pagination offset. Default 0.',
|
|
476
|
-
default: 0,
|
|
477
|
-
minimum: 0,
|
|
250
|
+
description: 'For searchMode=by_task: the type of task',
|
|
478
251
|
},
|
|
479
|
-
},
|
|
480
|
-
required: ['task'],
|
|
481
|
-
},
|
|
482
|
-
},
|
|
483
|
-
{
|
|
484
|
-
name: 'search_templates_by_metadata',
|
|
485
|
-
description: `Search templates by AI-generated metadata. Filter by category, complexity, setup time, services, or audience. Returns rich metadata for smart template discovery.`,
|
|
486
|
-
inputSchema: {
|
|
487
|
-
type: 'object',
|
|
488
|
-
properties: {
|
|
489
252
|
category: {
|
|
490
253
|
type: 'string',
|
|
491
|
-
description: '
|
|
254
|
+
description: 'For searchMode=by_metadata: filter by category (e.g., "automation", "integration")',
|
|
492
255
|
},
|
|
493
256
|
complexity: {
|
|
494
257
|
type: 'string',
|
|
495
258
|
enum: ['simple', 'medium', 'complex'],
|
|
496
|
-
description: '
|
|
259
|
+
description: 'For searchMode=by_metadata: filter by complexity level',
|
|
497
260
|
},
|
|
498
261
|
maxSetupMinutes: {
|
|
499
262
|
type: 'number',
|
|
500
|
-
description: '
|
|
263
|
+
description: 'For searchMode=by_metadata: maximum setup time in minutes',
|
|
501
264
|
minimum: 5,
|
|
502
265
|
maximum: 480,
|
|
503
266
|
},
|
|
504
267
|
minSetupMinutes: {
|
|
505
268
|
type: 'number',
|
|
506
|
-
description: '
|
|
269
|
+
description: 'For searchMode=by_metadata: minimum setup time in minutes',
|
|
507
270
|
minimum: 5,
|
|
508
271
|
maximum: 480,
|
|
509
272
|
},
|
|
510
273
|
requiredService: {
|
|
511
274
|
type: 'string',
|
|
512
|
-
description: '
|
|
275
|
+
description: 'For searchMode=by_metadata: filter by required service (e.g., "openai", "slack")',
|
|
513
276
|
},
|
|
514
277
|
targetAudience: {
|
|
515
278
|
type: 'string',
|
|
516
|
-
description: '
|
|
279
|
+
description: 'For searchMode=by_metadata: filter by target audience (e.g., "developers", "marketers")',
|
|
517
280
|
},
|
|
518
281
|
limit: {
|
|
519
282
|
type: 'number',
|
|
@@ -529,7 +292,6 @@ exports.n8nDocumentationToolsFinal = [
|
|
|
529
292
|
minimum: 0,
|
|
530
293
|
},
|
|
531
294
|
},
|
|
532
|
-
additionalProperties: false,
|
|
533
295
|
},
|
|
534
296
|
},
|
|
535
297
|
{
|
|
@@ -617,106 +379,5 @@ exports.n8nDocumentationToolsFinal = [
|
|
|
617
379
|
required: ['valid', 'summary']
|
|
618
380
|
},
|
|
619
381
|
},
|
|
620
|
-
{
|
|
621
|
-
name: 'validate_workflow_connections',
|
|
622
|
-
description: `Check workflow connections only: valid nodes, no cycles, proper triggers, AI tool links. Fast structure validation.`,
|
|
623
|
-
inputSchema: {
|
|
624
|
-
type: 'object',
|
|
625
|
-
properties: {
|
|
626
|
-
workflow: {
|
|
627
|
-
type: 'object',
|
|
628
|
-
description: 'The workflow JSON with nodes array and connections object.',
|
|
629
|
-
},
|
|
630
|
-
},
|
|
631
|
-
required: ['workflow'],
|
|
632
|
-
additionalProperties: false,
|
|
633
|
-
},
|
|
634
|
-
outputSchema: {
|
|
635
|
-
type: 'object',
|
|
636
|
-
properties: {
|
|
637
|
-
valid: { type: 'boolean' },
|
|
638
|
-
statistics: {
|
|
639
|
-
type: 'object',
|
|
640
|
-
properties: {
|
|
641
|
-
totalNodes: { type: 'number' },
|
|
642
|
-
triggerNodes: { type: 'number' },
|
|
643
|
-
validConnections: { type: 'number' },
|
|
644
|
-
invalidConnections: { type: 'number' }
|
|
645
|
-
}
|
|
646
|
-
},
|
|
647
|
-
errors: {
|
|
648
|
-
type: 'array',
|
|
649
|
-
items: {
|
|
650
|
-
type: 'object',
|
|
651
|
-
properties: {
|
|
652
|
-
node: { type: 'string' },
|
|
653
|
-
message: { type: 'string' }
|
|
654
|
-
}
|
|
655
|
-
}
|
|
656
|
-
},
|
|
657
|
-
warnings: {
|
|
658
|
-
type: 'array',
|
|
659
|
-
items: {
|
|
660
|
-
type: 'object',
|
|
661
|
-
properties: {
|
|
662
|
-
node: { type: 'string' },
|
|
663
|
-
message: { type: 'string' }
|
|
664
|
-
}
|
|
665
|
-
}
|
|
666
|
-
}
|
|
667
|
-
},
|
|
668
|
-
required: ['valid', 'statistics']
|
|
669
|
-
},
|
|
670
|
-
},
|
|
671
|
-
{
|
|
672
|
-
name: 'validate_workflow_expressions',
|
|
673
|
-
description: `Validate n8n expressions: syntax {{}}, variables ($json/$node), references. Returns errors with locations.`,
|
|
674
|
-
inputSchema: {
|
|
675
|
-
type: 'object',
|
|
676
|
-
properties: {
|
|
677
|
-
workflow: {
|
|
678
|
-
type: 'object',
|
|
679
|
-
description: 'The workflow JSON to check for expression errors.',
|
|
680
|
-
},
|
|
681
|
-
},
|
|
682
|
-
required: ['workflow'],
|
|
683
|
-
additionalProperties: false,
|
|
684
|
-
},
|
|
685
|
-
outputSchema: {
|
|
686
|
-
type: 'object',
|
|
687
|
-
properties: {
|
|
688
|
-
valid: { type: 'boolean' },
|
|
689
|
-
statistics: {
|
|
690
|
-
type: 'object',
|
|
691
|
-
properties: {
|
|
692
|
-
totalNodes: { type: 'number' },
|
|
693
|
-
expressionsValidated: { type: 'number' }
|
|
694
|
-
}
|
|
695
|
-
},
|
|
696
|
-
errors: {
|
|
697
|
-
type: 'array',
|
|
698
|
-
items: {
|
|
699
|
-
type: 'object',
|
|
700
|
-
properties: {
|
|
701
|
-
node: { type: 'string' },
|
|
702
|
-
message: { type: 'string' }
|
|
703
|
-
}
|
|
704
|
-
}
|
|
705
|
-
},
|
|
706
|
-
warnings: {
|
|
707
|
-
type: 'array',
|
|
708
|
-
items: {
|
|
709
|
-
type: 'object',
|
|
710
|
-
properties: {
|
|
711
|
-
node: { type: 'string' },
|
|
712
|
-
message: { type: 'string' }
|
|
713
|
-
}
|
|
714
|
-
}
|
|
715
|
-
},
|
|
716
|
-
tips: { type: 'array', items: { type: 'string' } }
|
|
717
|
-
},
|
|
718
|
-
required: ['valid', 'statistics']
|
|
719
|
-
},
|
|
720
|
-
},
|
|
721
382
|
];
|
|
722
383
|
//# sourceMappingURL=tools.js.map
|
package/dist/mcp/tools.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tools.js","sourceRoot":"","sources":["../../src/mcp/tools.ts"],"names":[],"mappings":";;;AAQa,QAAA,0BAA0B,GAAqB;IAC1D;QACE,IAAI,EAAE,qBAAqB;QAC3B,WAAW,EAAE,oMAAoM;QACjN,WAAW,EAAE;YACX,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE;gBACV,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;oBACd,WAAW,EAAE,oGAAoG;iBAClH;gBACD,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;oBACd,IAAI,EAAE,CAAC,YAAY,EAAE,MAAM,CAAC;oBAC5B,WAAW,EAAE,6FAA6F;oBAC1G,OAAO,EAAE,YAAY;iBACtB;aACF;SACF;KACF;IACD;QACE,IAAI,EAAE,YAAY;QAClB,WAAW,EAAE,8MAA8M;QAC3N,WAAW,EAAE;YACX,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE;gBACV,OAAO,EAAE;oBACP,IAAI,EAAE,QAAQ;oBACd,WAAW,EAAE,4DAA4D;iBAC1E;gBACD,QAAQ,EAAE;oBACR,IAAI,EAAE,QAAQ;oBACd,WAAW,EAAE,mCAAmC;iBACjD;gBACD,gBAAgB,EAAE;oBAChB,IAAI,EAAE,QAAQ;oBACd,IAAI,EAAE,CAAC,aAAa,EAAE,cAAc,CAAC;oBACrC,WAAW,EAAE,wBAAwB;iBACtC;gBACD,QAAQ,EAAE;oBACR,IAAI,EAAE,SAAS;oBACf,WAAW,EAAE,yBAAyB;iBACvC;gBACD,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;oBACd,WAAW,EAAE,4CAA4C;oBACzD,OAAO,EAAE,EAAE;iBACZ;aACF;SACF;KACF;IACD;QACE,IAAI,EAAE,cAAc;QACpB,WAAW,EAAE,6NAA6N;QAC1O,W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,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;yBAC5B;qBACF;iBACF;gBACD,WAAW,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;aAC1D;YACD,QAAQ,EAAE,CAAC,OAAO,EAAE,SAAS,CAAC;SAC/B;KACF;CACF,CAAC"}
|
|
@@ -19,8 +19,8 @@ export declare const workflowNodeSchema: z.ZodObject<{
|
|
|
19
19
|
executeOnce: z.ZodOptional<z.ZodBoolean>;
|
|
20
20
|
}, "strip", z.ZodTypeAny, {
|
|
21
21
|
type: string;
|
|
22
|
-
name: string;
|
|
23
22
|
id: string;
|
|
23
|
+
name: string;
|
|
24
24
|
typeVersion: number;
|
|
25
25
|
position: [number, number];
|
|
26
26
|
parameters: Record<string, unknown>;
|
|
@@ -36,8 +36,8 @@ export declare const workflowNodeSchema: z.ZodObject<{
|
|
|
36
36
|
notesInFlow?: boolean | undefined;
|
|
37
37
|
}, {
|
|
38
38
|
type: string;
|
|
39
|
-
name: string;
|
|
40
39
|
id: string;
|
|
40
|
+
name: string;
|
|
41
41
|
typeVersion: number;
|
|
42
42
|
position: [number, number];
|
|
43
43
|
parameters: Record<string, unknown>;
|