n8n-mcp 2.26.0 → 2.26.2
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 +2 -2
- package/data/nodes.db +0 -0
- package/dist/mcp/tool-docs/configuration/get-node.d.ts +3 -0
- package/dist/mcp/tool-docs/configuration/get-node.d.ts.map +1 -0
- package/dist/mcp/tool-docs/configuration/get-node.js +92 -0
- package/dist/mcp/tool-docs/configuration/get-node.js.map +1 -0
- package/dist/mcp/tool-docs/configuration/index.d.ts +1 -6
- package/dist/mcp/tool-docs/configuration/index.d.ts.map +1 -1
- package/dist/mcp/tool-docs/configuration/index.js +3 -13
- package/dist/mcp/tool-docs/configuration/index.js.map +1 -1
- package/dist/mcp/tool-docs/discovery/index.d.ts +0 -3
- package/dist/mcp/tool-docs/discovery/index.d.ts.map +1 -1
- package/dist/mcp/tool-docs/discovery/index.js +1 -7
- package/dist/mcp/tool-docs/discovery/index.js.map +1 -1
- package/dist/mcp/tool-docs/discovery/search-nodes.js +1 -1
- package/dist/mcp/tool-docs/discovery/search-nodes.js.map +1 -1
- package/dist/mcp/tool-docs/guides/ai-agents-guide.d.ts.map +1 -1
- package/dist/mcp/tool-docs/guides/ai-agents-guide.js +2 -3
- package/dist/mcp/tool-docs/guides/ai-agents-guide.js.map +1 -1
- package/dist/mcp/tool-docs/index.d.ts.map +1 -1
- package/dist/mcp/tool-docs/index.js +3 -23
- package/dist/mcp/tool-docs/index.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-template.js +4 -4
- package/dist/mcp/tool-docs/templates/get-template.js.map +1 -1
- package/dist/mcp/tool-docs/templates/index.d.ts +0 -4
- package/dist/mcp/tool-docs/templates/index.d.ts.map +1 -1
- package/dist/mcp/tool-docs/templates/index.js +1 -9
- package/dist/mcp/tool-docs/templates/index.js.map +1 -1
- package/dist/mcp/tool-docs/templates/search-templates.d.ts.map +1 -1
- package/dist/mcp/tool-docs/templates/search-templates.js +102 -48
- package/dist/mcp/tool-docs/templates/search-templates.js.map +1 -1
- package/dist/mcp/tool-docs/validation/index.d.ts +1 -4
- package/dist/mcp/tool-docs/validation/index.d.ts.map +1 -1
- package/dist/mcp/tool-docs/validation/index.js +3 -9
- package/dist/mcp/tool-docs/validation/index.js.map +1 -1
- package/dist/mcp/tool-docs/validation/validate-node.d.ts +3 -0
- package/dist/mcp/tool-docs/validation/validate-node.d.ts.map +1 -0
- package/dist/mcp/tool-docs/validation/validate-node.js +84 -0
- package/dist/mcp/tool-docs/validation/validate-node.js.map +1 -0
- package/dist/mcp/tool-docs/validation/validate-workflow.js +1 -1
- package/dist/mcp/tool-docs/validation/validate-workflow.js.map +1 -1
- package/dist/mcp/tool-docs/workflow_management/index.d.ts +1 -6
- package/dist/mcp/tool-docs/workflow_management/index.d.ts.map +1 -1
- package/dist/mcp/tool-docs/workflow_management/index.js +3 -13
- package/dist/mcp/tool-docs/workflow_management/index.js.map +1 -1
- package/dist/mcp/tool-docs/workflow_management/n8n-autofix-workflow.d.ts.map +1 -1
- package/dist/mcp/tool-docs/workflow_management/n8n-autofix-workflow.js +2 -3
- package/dist/mcp/tool-docs/workflow_management/n8n-autofix-workflow.js.map +1 -1
- package/dist/mcp/tool-docs/workflow_management/n8n-delete-workflow.js +1 -1
- package/dist/mcp/tool-docs/workflow_management/n8n-delete-workflow.js.map +1 -1
- package/dist/mcp/tool-docs/workflow_management/n8n-executions.d.ts +3 -0
- package/dist/mcp/tool-docs/workflow_management/n8n-executions.d.ts.map +1 -0
- package/dist/mcp/tool-docs/workflow_management/n8n-executions.js +86 -0
- package/dist/mcp/tool-docs/workflow_management/n8n-executions.js.map +1 -0
- package/dist/mcp/tool-docs/workflow_management/n8n-get-workflow.d.ts.map +1 -1
- package/dist/mcp/tool-docs/workflow_management/n8n-get-workflow.js +44 -25
- package/dist/mcp/tool-docs/workflow_management/n8n-get-workflow.js.map +1 -1
- package/dist/mcp/tool-docs/workflow_management/n8n-list-workflows.js +1 -1
- package/dist/mcp/tool-docs/workflow_management/n8n-list-workflows.js.map +1 -1
- package/dist/mcp/tool-docs/workflow_management/n8n-trigger-webhook-workflow.js +8 -8
- package/dist/mcp/tool-docs/workflow_management/n8n-trigger-webhook-workflow.js.map +1 -1
- package/dist/mcp/tools-documentation.d.ts.map +1 -1
- package/dist/mcp/tools-documentation.js +39 -34
- package/dist/mcp/tools-documentation.js.map +1 -1
- package/dist/mcp/tools-n8n-friendly.d.ts.map +1 -1
- package/dist/mcp/tools-n8n-friendly.js +20 -62
- package/dist/mcp/tools-n8n-friendly.js.map +1 -1
- package/package.json +1 -1
- package/dist/mcp/tool-docs/configuration/get-node-as-tool-info.d.ts +0 -3
- package/dist/mcp/tool-docs/configuration/get-node-as-tool-info.d.ts.map +0 -1
- package/dist/mcp/tool-docs/configuration/get-node-as-tool-info.js +0 -73
- package/dist/mcp/tool-docs/configuration/get-node-as-tool-info.js.map +0 -1
- package/dist/mcp/tool-docs/configuration/get-node-documentation.d.ts +0 -3
- package/dist/mcp/tool-docs/configuration/get-node-documentation.d.ts.map +0 -1
- package/dist/mcp/tool-docs/configuration/get-node-documentation.js +0 -47
- package/dist/mcp/tool-docs/configuration/get-node-documentation.js.map +0 -1
- package/dist/mcp/tool-docs/configuration/get-node-essentials.d.ts +0 -3
- package/dist/mcp/tool-docs/configuration/get-node-essentials.d.ts.map +0 -1
- package/dist/mcp/tool-docs/configuration/get-node-essentials.js +0 -88
- package/dist/mcp/tool-docs/configuration/get-node-essentials.js.map +0 -1
- package/dist/mcp/tool-docs/configuration/get-node-info.d.ts +0 -3
- package/dist/mcp/tool-docs/configuration/get-node-info.d.ts.map +0 -1
- package/dist/mcp/tool-docs/configuration/get-node-info.js +0 -100
- package/dist/mcp/tool-docs/configuration/get-node-info.js.map +0 -1
- package/dist/mcp/tool-docs/configuration/get-property-dependencies.d.ts +0 -3
- package/dist/mcp/tool-docs/configuration/get-property-dependencies.d.ts.map +0 -1
- package/dist/mcp/tool-docs/configuration/get-property-dependencies.js +0 -81
- package/dist/mcp/tool-docs/configuration/get-property-dependencies.js.map +0 -1
- package/dist/mcp/tool-docs/configuration/search-node-properties.d.ts +0 -3
- package/dist/mcp/tool-docs/configuration/search-node-properties.d.ts.map +0 -1
- package/dist/mcp/tool-docs/configuration/search-node-properties.js +0 -99
- package/dist/mcp/tool-docs/configuration/search-node-properties.js.map +0 -1
- package/dist/mcp/tool-docs/discovery/get-database-statistics.d.ts +0 -3
- package/dist/mcp/tool-docs/discovery/get-database-statistics.d.ts.map +0 -1
- package/dist/mcp/tool-docs/discovery/get-database-statistics.js +0 -69
- package/dist/mcp/tool-docs/discovery/get-database-statistics.js.map +0 -1
- package/dist/mcp/tool-docs/discovery/list-ai-tools.d.ts +0 -3
- package/dist/mcp/tool-docs/discovery/list-ai-tools.d.ts.map +0 -1
- package/dist/mcp/tool-docs/discovery/list-ai-tools.js +0 -53
- package/dist/mcp/tool-docs/discovery/list-ai-tools.js.map +0 -1
- package/dist/mcp/tool-docs/discovery/list-nodes.d.ts +0 -3
- package/dist/mcp/tool-docs/discovery/list-nodes.d.ts.map +0 -1
- package/dist/mcp/tool-docs/discovery/list-nodes.js +0 -54
- package/dist/mcp/tool-docs/discovery/list-nodes.js.map +0 -1
- package/dist/mcp/tool-docs/templates/get-templates-for-task.d.ts +0 -3
- package/dist/mcp/tool-docs/templates/get-templates-for-task.d.ts.map +0 -1
- package/dist/mcp/tool-docs/templates/get-templates-for-task.js +0 -76
- package/dist/mcp/tool-docs/templates/get-templates-for-task.js.map +0 -1
- package/dist/mcp/tool-docs/templates/list-node-templates.d.ts +0 -3
- package/dist/mcp/tool-docs/templates/list-node-templates.d.ts.map +0 -1
- package/dist/mcp/tool-docs/templates/list-node-templates.js +0 -80
- package/dist/mcp/tool-docs/templates/list-node-templates.js.map +0 -1
- package/dist/mcp/tool-docs/templates/list-tasks.d.ts +0 -3
- package/dist/mcp/tool-docs/templates/list-tasks.d.ts.map +0 -1
- package/dist/mcp/tool-docs/templates/list-tasks.js +0 -48
- package/dist/mcp/tool-docs/templates/list-tasks.js.map +0 -1
- package/dist/mcp/tool-docs/templates/search-templates-by-metadata.d.ts +0 -3
- package/dist/mcp/tool-docs/templates/search-templates-by-metadata.d.ts.map +0 -1
- package/dist/mcp/tool-docs/templates/search-templates-by-metadata.js +0 -120
- package/dist/mcp/tool-docs/templates/search-templates-by-metadata.js.map +0 -1
- package/dist/mcp/tool-docs/validation/validate-node-minimal.d.ts +0 -3
- package/dist/mcp/tool-docs/validation/validate-node-minimal.d.ts.map +0 -1
- package/dist/mcp/tool-docs/validation/validate-node-minimal.js +0 -49
- package/dist/mcp/tool-docs/validation/validate-node-minimal.js.map +0 -1
- package/dist/mcp/tool-docs/validation/validate-node-operation.d.ts +0 -3
- package/dist/mcp/tool-docs/validation/validate-node-operation.d.ts.map +0 -1
- package/dist/mcp/tool-docs/validation/validate-node-operation.js +0 -100
- package/dist/mcp/tool-docs/validation/validate-node-operation.js.map +0 -1
- package/dist/mcp/tool-docs/validation/validate-workflow-connections.d.ts +0 -3
- package/dist/mcp/tool-docs/validation/validate-workflow-connections.d.ts.map +0 -1
- package/dist/mcp/tool-docs/validation/validate-workflow-connections.js +0 -58
- package/dist/mcp/tool-docs/validation/validate-workflow-connections.js.map +0 -1
- package/dist/mcp/tool-docs/validation/validate-workflow-expressions.d.ts +0 -3
- package/dist/mcp/tool-docs/validation/validate-workflow-expressions.d.ts.map +0 -1
- package/dist/mcp/tool-docs/validation/validate-workflow-expressions.js +0 -58
- package/dist/mcp/tool-docs/validation/validate-workflow-expressions.js.map +0 -1
- package/dist/mcp/tool-docs/workflow_management/n8n-delete-execution.d.ts +0 -3
- package/dist/mcp/tool-docs/workflow_management/n8n-delete-execution.d.ts.map +0 -1
- package/dist/mcp/tool-docs/workflow_management/n8n-delete-execution.js +0 -59
- package/dist/mcp/tool-docs/workflow_management/n8n-delete-execution.js.map +0 -1
- package/dist/mcp/tool-docs/workflow_management/n8n-get-execution.d.ts +0 -3
- package/dist/mcp/tool-docs/workflow_management/n8n-get-execution.d.ts.map +0 -1
- package/dist/mcp/tool-docs/workflow_management/n8n-get-execution.js +0 -270
- package/dist/mcp/tool-docs/workflow_management/n8n-get-execution.js.map +0 -1
- package/dist/mcp/tool-docs/workflow_management/n8n-get-workflow-details.d.ts +0 -3
- package/dist/mcp/tool-docs/workflow_management/n8n-get-workflow-details.d.ts.map +0 -1
- package/dist/mcp/tool-docs/workflow_management/n8n-get-workflow-details.js +0 -51
- package/dist/mcp/tool-docs/workflow_management/n8n-get-workflow-details.js.map +0 -1
- package/dist/mcp/tool-docs/workflow_management/n8n-get-workflow-minimal.d.ts +0 -3
- package/dist/mcp/tool-docs/workflow_management/n8n-get-workflow-minimal.d.ts.map +0 -1
- package/dist/mcp/tool-docs/workflow_management/n8n-get-workflow-minimal.js +0 -51
- package/dist/mcp/tool-docs/workflow_management/n8n-get-workflow-minimal.js.map +0 -1
- package/dist/mcp/tool-docs/workflow_management/n8n-get-workflow-structure.d.ts +0 -3
- package/dist/mcp/tool-docs/workflow_management/n8n-get-workflow-structure.d.ts.map +0 -1
- package/dist/mcp/tool-docs/workflow_management/n8n-get-workflow-structure.js +0 -51
- package/dist/mcp/tool-docs/workflow_management/n8n-get-workflow-structure.js.map +0 -1
- package/dist/mcp/tool-docs/workflow_management/n8n-list-executions.d.ts +0 -3
- package/dist/mcp/tool-docs/workflow_management/n8n-list-executions.d.ts.map +0 -1
- package/dist/mcp/tool-docs/workflow_management/n8n-list-executions.js +0 -86
- package/dist/mcp/tool-docs/workflow_management/n8n-list-executions.js.map +0 -1
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.listNodesDoc = void 0;
|
|
4
|
-
exports.listNodesDoc = {
|
|
5
|
-
name: 'list_nodes',
|
|
6
|
-
category: 'discovery',
|
|
7
|
-
essentials: {
|
|
8
|
-
description: 'Lists n8n nodes with filtering options. Returns up to 525 total nodes. Default limit is 50, use limit:200 to get all nodes. Filter by category to find specific node types like triggers (104 nodes) or AI nodes (263 nodes).',
|
|
9
|
-
keyParameters: ['category', 'package', 'limit', 'isAITool'],
|
|
10
|
-
example: 'list_nodes({limit:200})',
|
|
11
|
-
performance: '<10ms for any query size',
|
|
12
|
-
tips: [
|
|
13
|
-
'Use limit:200 to get all 525 nodes',
|
|
14
|
-
'Categories: trigger (104), transform (250+), output/input (50+)',
|
|
15
|
-
'Use search_nodes for keyword search'
|
|
16
|
-
]
|
|
17
|
-
},
|
|
18
|
-
full: {
|
|
19
|
-
description: 'Lists n8n nodes with comprehensive filtering options. Returns an array of node metadata including type, name, description, and category. Database contains 525 total nodes: 456 from n8n-nodes-base package and 69 from @n8n/n8n-nodes-langchain package.',
|
|
20
|
-
parameters: {
|
|
21
|
-
category: { type: 'string', description: 'Filter by category: "trigger" (104 nodes), "transform" (250+ nodes), "output", "input", or "AI"', required: false },
|
|
22
|
-
package: { type: 'string', description: 'Filter by package: "n8n-nodes-base" (456 core nodes) or "@n8n/n8n-nodes-langchain" (69 AI nodes)', required: false },
|
|
23
|
-
limit: { type: 'number', description: 'Maximum results to return. Default: 50. Use 200+ to get all 525 nodes', required: false },
|
|
24
|
-
isAITool: { type: 'boolean', description: 'Filter to show only AI-capable nodes (263 nodes)', required: false },
|
|
25
|
-
developmentStyle: { type: 'string', description: 'Filter by style: "programmatic" or "declarative". Most nodes are programmatic', required: false }
|
|
26
|
-
},
|
|
27
|
-
returns: 'Array of node objects, each containing: nodeType (e.g., "nodes-base.webhook"), displayName (e.g., "Webhook"), description, category, package, isAITool flag',
|
|
28
|
-
examples: [
|
|
29
|
-
'list_nodes({limit:200}) - Returns all 525 nodes',
|
|
30
|
-
'list_nodes({category:"trigger"}) - Returns 104 trigger nodes (Webhook, Schedule, Email Trigger, etc.)',
|
|
31
|
-
'list_nodes({package:"@n8n/n8n-nodes-langchain"}) - Returns 69 AI/LangChain nodes',
|
|
32
|
-
'list_nodes({isAITool:true}) - Returns 263 AI-capable nodes',
|
|
33
|
-
'list_nodes({category:"trigger", isAITool:true}) - Combines filters for AI-capable triggers'
|
|
34
|
-
],
|
|
35
|
-
useCases: [
|
|
36
|
-
'Browse all available nodes when building workflows',
|
|
37
|
-
'Find all trigger nodes to start workflows',
|
|
38
|
-
'Discover AI/ML nodes for intelligent automation',
|
|
39
|
-
'Check available nodes in specific packages'
|
|
40
|
-
],
|
|
41
|
-
performance: '<10ms for any query size. Results are cached in memory',
|
|
42
|
-
bestPractices: [
|
|
43
|
-
'Use limit:200 when you need the complete node inventory',
|
|
44
|
-
'Filter by category for focused discovery',
|
|
45
|
-
'Combine with get_node_essentials to configure selected nodes'
|
|
46
|
-
],
|
|
47
|
-
pitfalls: [
|
|
48
|
-
'No text search capability - use search_nodes for keyword search',
|
|
49
|
-
'developmentStyle filter rarely useful - most nodes are "programmatic"'
|
|
50
|
-
],
|
|
51
|
-
relatedTools: ['search_nodes for keyword search', 'list_ai_tools for AI-specific discovery', 'get_node_essentials to configure nodes']
|
|
52
|
-
}
|
|
53
|
-
};
|
|
54
|
-
//# sourceMappingURL=list-nodes.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"list-nodes.js","sourceRoot":"","sources":["../../../../src/mcp/tool-docs/discovery/list-nodes.ts"],"names":[],"mappings":";;;AAEa,QAAA,YAAY,GAAsB;IAC7C,IAAI,EAAE,YAAY;IAClB,QAAQ,EAAE,WAAW;IACrB,UAAU,EAAE;QACV,WAAW,EAAE,+NAA+N;QAC5O,aAAa,EAAE,CAAC,UAAU,EAAE,SAAS,EAAE,OAAO,EAAE,UAAU,CAAC;QAC3D,OAAO,EAAE,yBAAyB;QAClC,WAAW,EAAE,0BAA0B;QACvC,IAAI,EAAE;YACJ,oCAAoC;YACpC,iEAAiE;YACjE,qCAAqC;SACtC;KACF;IACD,IAAI,EAAE;QACJ,WAAW,EAAE,2PAA2P;QACxQ,UAAU,EAAE;YACV,QAAQ,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,iGAAiG,EAAE,QAAQ,EAAE,KAAK,EAAE;YAC7J,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,kGAAkG,EAAE,QAAQ,EAAE,KAAK,EAAE;YAC7J,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,uEAAuE,EAAE,QAAQ,EAAE,KAAK,EAAE;YAChI,QAAQ,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,WAAW,EAAE,kDAAkD,EAAE,QAAQ,EAAE,KAAK,EAAE;YAC/G,gBAAgB,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,+EAA+E,EAAE,QAAQ,EAAE,KAAK,EAAE;SACpJ;QACD,OAAO,EAAE,6JAA6J;QACtK,QAAQ,EAAE;YACR,iDAAiD;YACjD,uGAAuG;YACvG,kFAAkF;YAClF,4DAA4D;YAC5D,4FAA4F;SAC7F;QACD,QAAQ,EAAE;YACR,oDAAoD;YACpD,2CAA2C;YAC3C,iDAAiD;YACjD,4CAA4C;SAC7C;QACD,WAAW,EAAE,wDAAwD;QACrE,aAAa,EAAE;YACb,yDAAyD;YACzD,0CAA0C;YAC1C,8DAA8D;SAC/D;QACD,QAAQ,EAAE;YACR,iEAAiE;YACjE,uEAAuE;SACxE;QACD,YAAY,EAAE,CAAC,iCAAiC,EAAE,yCAAyC,EAAE,wCAAwC,CAAC;KACvI;CACF,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-templates-for-task.d.ts","sourceRoot":"","sources":["../../../../src/mcp/tool-docs/templates/get-templates-for-task.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAE7C,eAAO,MAAM,sBAAsB,EAAE,iBAuEpC,CAAC"}
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getTemplatesForTaskDoc = void 0;
|
|
4
|
-
exports.getTemplatesForTaskDoc = {
|
|
5
|
-
name: 'get_templates_for_task',
|
|
6
|
-
category: 'templates',
|
|
7
|
-
essentials: {
|
|
8
|
-
description: 'Curated templates by task: ai_automation, data_sync, webhooks, email, slack, data_transform, files, scheduling, api, database.',
|
|
9
|
-
keyParameters: ['task'],
|
|
10
|
-
example: 'get_templates_for_task({task: "slack_integration"})',
|
|
11
|
-
performance: 'Fast (<100ms) - pre-categorized results',
|
|
12
|
-
tips: [
|
|
13
|
-
'Returns hand-picked templates for specific automation tasks',
|
|
14
|
-
'Available tasks: ai_automation, data_sync, webhook_processing, email_automation, slack_integration, etc.',
|
|
15
|
-
'Templates are curated for quality and relevance'
|
|
16
|
-
]
|
|
17
|
-
},
|
|
18
|
-
full: {
|
|
19
|
-
description: `Retrieves curated workflow templates for specific automation tasks. This tool provides hand-picked templates organized by common use cases, making it easy to find the right workflow for your needs. Each task category contains the most popular and effective templates for that particular automation scenario.`,
|
|
20
|
-
parameters: {
|
|
21
|
-
task: {
|
|
22
|
-
type: 'string',
|
|
23
|
-
required: true,
|
|
24
|
-
description: 'The type of task to get templates for. Options: ai_automation, data_sync, webhook_processing, email_automation, slack_integration, data_transformation, file_processing, scheduling, api_integration, database_operations'
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
returns: `Returns an object containing:
|
|
28
|
-
- task: The requested task type
|
|
29
|
-
- templates: Array of curated templates
|
|
30
|
-
- id: Template ID
|
|
31
|
-
- name: Template name
|
|
32
|
-
- description: What the workflow does
|
|
33
|
-
- author: Creator information
|
|
34
|
-
- nodes: Array of node types used
|
|
35
|
-
- views: Popularity metric
|
|
36
|
-
- created: Creation date
|
|
37
|
-
- url: Link to template
|
|
38
|
-
- totalFound: Number of templates in this category
|
|
39
|
-
- availableTasks: List of all task categories (if no templates found)`,
|
|
40
|
-
examples: [
|
|
41
|
-
'get_templates_for_task({task: "slack_integration"}) - Get Slack automation workflows',
|
|
42
|
-
'get_templates_for_task({task: "ai_automation"}) - Get AI-powered workflows',
|
|
43
|
-
'get_templates_for_task({task: "data_sync"}) - Get data synchronization workflows',
|
|
44
|
-
'get_templates_for_task({task: "webhook_processing"}) - Get webhook handler workflows',
|
|
45
|
-
'get_templates_for_task({task: "email_automation"}) - Get email automation workflows'
|
|
46
|
-
],
|
|
47
|
-
useCases: [
|
|
48
|
-
'Find workflows for specific business needs',
|
|
49
|
-
'Discover best practices for common automations',
|
|
50
|
-
'Get started quickly with pre-built solutions',
|
|
51
|
-
'Learn patterns for specific integration types',
|
|
52
|
-
'Browse curated collections of quality workflows'
|
|
53
|
-
],
|
|
54
|
-
performance: `Excellent performance with pre-categorized templates:
|
|
55
|
-
- Query time: <10ms (indexed by task)
|
|
56
|
-
- No filtering needed (pre-curated)
|
|
57
|
-
- Returns 5-20 templates per category
|
|
58
|
-
- Total response time: <100ms`,
|
|
59
|
-
bestPractices: [
|
|
60
|
-
'Start with task-based search for faster results',
|
|
61
|
-
'Review multiple templates to find best patterns',
|
|
62
|
-
'Check template age for most current approaches',
|
|
63
|
-
'Combine templates from same category for complex workflows',
|
|
64
|
-
'Use returned node lists to understand requirements'
|
|
65
|
-
],
|
|
66
|
-
pitfalls: [
|
|
67
|
-
'Not all tasks have many templates available',
|
|
68
|
-
'Task categories are predefined - no custom categories',
|
|
69
|
-
'Some templates may overlap between categories',
|
|
70
|
-
'Curation is subjective - browse all results',
|
|
71
|
-
'Templates may need updates for latest n8n features'
|
|
72
|
-
],
|
|
73
|
-
relatedTools: ['search_templates', 'list_node_templates', 'get_template', 'list_tasks']
|
|
74
|
-
}
|
|
75
|
-
};
|
|
76
|
-
//# sourceMappingURL=get-templates-for-task.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-templates-for-task.js","sourceRoot":"","sources":["../../../../src/mcp/tool-docs/templates/get-templates-for-task.ts"],"names":[],"mappings":";;;AAEa,QAAA,sBAAsB,GAAsB;IACvD,IAAI,EAAE,wBAAwB;IAC9B,QAAQ,EAAE,WAAW;IACrB,UAAU,EAAE;QACV,WAAW,EAAE,gIAAgI;QAC7I,aAAa,EAAE,CAAC,MAAM,CAAC;QACvB,OAAO,EAAE,qDAAqD;QAC9D,WAAW,EAAE,yCAAyC;QACtD,IAAI,EAAE;YACJ,6DAA6D;YAC7D,0GAA0G;YAC1G,iDAAiD;SAClD;KACF;IACD,IAAI,EAAE;QACJ,WAAW,EAAE,qTAAqT;QAClU,UAAU,EAAE;YACV,IAAI,EAAE;gBACJ,IAAI,EAAE,QAAQ;gBACd,QAAQ,EAAE,IAAI;gBACd,WAAW,EAAE,2NAA2N;aACzO;SACF;QACD,OAAO,EAAE;;;;;;;;;;;;sEAYyD;QAClE,QAAQ,EAAE;YACR,sFAAsF;YACtF,4EAA4E;YAC5E,kFAAkF;YAClF,sFAAsF;YACtF,qFAAqF;SACtF;QACD,QAAQ,EAAE;YACR,4CAA4C;YAC5C,gDAAgD;YAChD,8CAA8C;YAC9C,+CAA+C;YAC/C,iDAAiD;SAClD;QACD,WAAW,EAAE;;;;8BAIa;QAC1B,aAAa,EAAE;YACb,iDAAiD;YACjD,iDAAiD;YACjD,gDAAgD;YAChD,4DAA4D;YAC5D,oDAAoD;SACrD;QACD,QAAQ,EAAE;YACR,6CAA6C;YAC7C,uDAAuD;YACvD,+CAA+C;YAC/C,6CAA6C;YAC7C,oDAAoD;SACrD;QACD,YAAY,EAAE,CAAC,kBAAkB,EAAE,qBAAqB,EAAE,cAAc,EAAE,YAAY,CAAC;KACxF;CACF,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"list-node-templates.d.ts","sourceRoot":"","sources":["../../../../src/mcp/tool-docs/templates/list-node-templates.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAE7C,eAAO,MAAM,oBAAoB,EAAE,iBA2ElC,CAAC"}
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.listNodeTemplatesDoc = void 0;
|
|
4
|
-
exports.listNodeTemplatesDoc = {
|
|
5
|
-
name: 'list_node_templates',
|
|
6
|
-
category: 'templates',
|
|
7
|
-
essentials: {
|
|
8
|
-
description: 'Find templates using specific nodes. 399 community workflows. Use FULL types: "n8n-nodes-base.httpRequest".',
|
|
9
|
-
keyParameters: ['nodeTypes', 'limit'],
|
|
10
|
-
example: 'list_node_templates({nodeTypes: ["n8n-nodes-base.slack"]})',
|
|
11
|
-
performance: 'Fast (<100ms) - indexed node search',
|
|
12
|
-
tips: [
|
|
13
|
-
'Must use FULL node type with package prefix: "n8n-nodes-base.slack"',
|
|
14
|
-
'Can search for multiple nodes to find workflows using all of them',
|
|
15
|
-
'Returns templates sorted by popularity (view count)'
|
|
16
|
-
]
|
|
17
|
-
},
|
|
18
|
-
full: {
|
|
19
|
-
description: `Finds workflow templates that use specific n8n nodes. This is the best way to discover how particular nodes are used in real workflows. Search the community library of 399+ templates by specifying which nodes you want to see in action. Templates are sorted by popularity to show the most useful examples first.`,
|
|
20
|
-
parameters: {
|
|
21
|
-
nodeTypes: {
|
|
22
|
-
type: 'array',
|
|
23
|
-
required: true,
|
|
24
|
-
description: 'Array of node types to search for. Must use full type names with package prefix (e.g., ["n8n-nodes-base.httpRequest", "n8n-nodes-base.openAi"])'
|
|
25
|
-
},
|
|
26
|
-
limit: {
|
|
27
|
-
type: 'number',
|
|
28
|
-
required: false,
|
|
29
|
-
description: 'Maximum number of templates to return. Default 10, max 100'
|
|
30
|
-
}
|
|
31
|
-
},
|
|
32
|
-
returns: `Returns an object containing:
|
|
33
|
-
- templates: Array of matching templates
|
|
34
|
-
- id: Template ID for retrieval
|
|
35
|
-
- name: Template name
|
|
36
|
-
- description: What the workflow does
|
|
37
|
-
- author: Creator details (name, username, verified)
|
|
38
|
-
- nodes: Complete list of nodes used
|
|
39
|
-
- views: View count (popularity metric)
|
|
40
|
-
- created: Creation date
|
|
41
|
-
- url: Link to template on n8n.io
|
|
42
|
-
- totalFound: Total number of matching templates
|
|
43
|
-
- tip: Usage hints if no results`,
|
|
44
|
-
examples: [
|
|
45
|
-
'list_node_templates({nodeTypes: ["n8n-nodes-base.slack"]}) - Find all Slack workflows',
|
|
46
|
-
'list_node_templates({nodeTypes: ["n8n-nodes-base.httpRequest", "n8n-nodes-base.postgres"]}) - Find workflows using both HTTP and Postgres',
|
|
47
|
-
'list_node_templates({nodeTypes: ["@n8n/n8n-nodes-langchain.openAi"], limit: 20}) - Find AI workflows with OpenAI',
|
|
48
|
-
'list_node_templates({nodeTypes: ["n8n-nodes-base.webhook", "n8n-nodes-base.respondToWebhook"]}) - Find webhook examples'
|
|
49
|
-
],
|
|
50
|
-
useCases: [
|
|
51
|
-
'Learn how to use specific nodes through examples',
|
|
52
|
-
'Find workflows combining particular integrations',
|
|
53
|
-
'Discover patterns for node combinations',
|
|
54
|
-
'See real-world usage of complex nodes',
|
|
55
|
-
'Find templates for your exact tech stack'
|
|
56
|
-
],
|
|
57
|
-
performance: `Optimized for node-based searches:
|
|
58
|
-
- Indexed by node type for fast lookups
|
|
59
|
-
- Query time: <50ms for single node
|
|
60
|
-
- Multiple nodes: <100ms (uses AND logic)
|
|
61
|
-
- Returns pre-sorted by popularity
|
|
62
|
-
- No full-text search needed`,
|
|
63
|
-
bestPractices: [
|
|
64
|
-
'Always use full node type with package prefix',
|
|
65
|
-
'Search for core nodes that define the workflow purpose',
|
|
66
|
-
'Start with single node searches, then refine',
|
|
67
|
-
'Check node types with list_nodes if unsure of names',
|
|
68
|
-
'Review multiple templates to learn different approaches'
|
|
69
|
-
],
|
|
70
|
-
pitfalls: [
|
|
71
|
-
'Node types must match exactly - no partial matches',
|
|
72
|
-
'Package prefix required: "slack" won\'t work, use "n8n-nodes-base.slack"',
|
|
73
|
-
'Some nodes have version numbers: "n8n-nodes-base.httpRequestV3"',
|
|
74
|
-
'Templates may use old node versions not in current n8n',
|
|
75
|
-
'AND logic means all specified nodes must be present'
|
|
76
|
-
],
|
|
77
|
-
relatedTools: ['get_template', 'search_templates', 'get_templates_for_task', 'list_nodes']
|
|
78
|
-
}
|
|
79
|
-
};
|
|
80
|
-
//# sourceMappingURL=list-node-templates.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"list-node-templates.js","sourceRoot":"","sources":["../../../../src/mcp/tool-docs/templates/list-node-templates.ts"],"names":[],"mappings":";;;AAEa,QAAA,oBAAoB,GAAsB;IACrD,IAAI,EAAE,qBAAqB;IAC3B,QAAQ,EAAE,WAAW;IACrB,UAAU,EAAE;QACV,WAAW,EAAE,6GAA6G;QAC1H,aAAa,EAAE,CAAC,WAAW,EAAE,OAAO,CAAC;QACrC,OAAO,EAAE,4DAA4D;QACrE,WAAW,EAAE,qCAAqC;QAClD,IAAI,EAAE;YACJ,qEAAqE;YACrE,mEAAmE;YACnE,qDAAqD;SACtD;KACF;IACD,IAAI,EAAE;QACJ,WAAW,EAAE,wTAAwT;QACrU,UAAU,EAAE;YACV,SAAS,EAAE;gBACT,IAAI,EAAE,OAAO;gBACb,QAAQ,EAAE,IAAI;gBACd,WAAW,EAAE,iJAAiJ;aAC/J;YACD,KAAK,EAAE;gBACL,IAAI,EAAE,QAAQ;gBACd,QAAQ,EAAE,KAAK;gBACf,WAAW,EAAE,4DAA4D;aAC1E;SACF;QACD,OAAO,EAAE;;;;;;;;;;;iCAWoB;QAC7B,QAAQ,EAAE;YACR,uFAAuF;YACvF,2IAA2I;YAC3I,kHAAkH;YAClH,yHAAyH;SAC1H;QACD,QAAQ,EAAE;YACR,kDAAkD;YAClD,kDAAkD;YAClD,yCAAyC;YACzC,uCAAuC;YACvC,0CAA0C;SAC3C;QACD,WAAW,EAAE;;;;;6BAKY;QACzB,aAAa,EAAE;YACb,+CAA+C;YAC/C,wDAAwD;YACxD,8CAA8C;YAC9C,qDAAqD;YACrD,yDAAyD;SAC1D;QACD,QAAQ,EAAE;YACR,oDAAoD;YACpD,0EAA0E;YAC1E,iEAAiE;YACjE,wDAAwD;YACxD,qDAAqD;SACtD;QACD,YAAY,EAAE,CAAC,cAAc,EAAE,kBAAkB,EAAE,wBAAwB,EAAE,YAAY,CAAC;KAC3F;CACF,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"list-tasks.d.ts","sourceRoot":"","sources":["../../../../src/mcp/tool-docs/templates/list-tasks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAE7C,eAAO,MAAM,YAAY,EAAE,iBA2C1B,CAAC"}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.listTasksDoc = void 0;
|
|
4
|
-
exports.listTasksDoc = {
|
|
5
|
-
name: 'list_tasks',
|
|
6
|
-
category: 'templates',
|
|
7
|
-
essentials: {
|
|
8
|
-
description: 'List task templates by category: HTTP/API, Webhooks, Database, AI, Data Processing, Communication.',
|
|
9
|
-
keyParameters: ['category'],
|
|
10
|
-
example: 'list_tasks({category: "HTTP/API"})',
|
|
11
|
-
performance: 'Instant',
|
|
12
|
-
tips: [
|
|
13
|
-
'Categories: HTTP/API, Webhooks, Database, AI',
|
|
14
|
-
'Shows pre-configured node settings',
|
|
15
|
-
'Use get_node_for_task for details'
|
|
16
|
-
]
|
|
17
|
-
},
|
|
18
|
-
full: {
|
|
19
|
-
description: 'Lists available task templates organized by category. Each task represents a common automation pattern with pre-configured node settings. Categories include HTTP/API, Webhooks, Database, AI, Data Processing, and Communication.',
|
|
20
|
-
parameters: {
|
|
21
|
-
category: { type: 'string', description: 'Filter by category (optional)' }
|
|
22
|
-
},
|
|
23
|
-
returns: 'Array of tasks with name, category, description, nodeType',
|
|
24
|
-
examples: [
|
|
25
|
-
'list_tasks() - Get all task templates',
|
|
26
|
-
'list_tasks({category: "Database"}) - Database-related tasks',
|
|
27
|
-
'list_tasks({category: "AI"}) - AI automation tasks'
|
|
28
|
-
],
|
|
29
|
-
useCases: [
|
|
30
|
-
'Discover common automation patterns',
|
|
31
|
-
'Find pre-configured solutions',
|
|
32
|
-
'Learn node usage patterns',
|
|
33
|
-
'Quick workflow setup'
|
|
34
|
-
],
|
|
35
|
-
performance: 'Instant - Static task list',
|
|
36
|
-
bestPractices: [
|
|
37
|
-
'Browse all categories first',
|
|
38
|
-
'Use get_node_for_task for config',
|
|
39
|
-
'Combine multiple tasks in workflows'
|
|
40
|
-
],
|
|
41
|
-
pitfalls: [
|
|
42
|
-
'Tasks are templates, customize as needed',
|
|
43
|
-
'Not all nodes have task templates'
|
|
44
|
-
],
|
|
45
|
-
relatedTools: ['get_node_for_task', 'search_templates', 'get_templates_for_task']
|
|
46
|
-
}
|
|
47
|
-
};
|
|
48
|
-
//# sourceMappingURL=list-tasks.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"list-tasks.js","sourceRoot":"","sources":["../../../../src/mcp/tool-docs/templates/list-tasks.ts"],"names":[],"mappings":";;;AAEa,QAAA,YAAY,GAAsB;IAC7C,IAAI,EAAE,YAAY;IAClB,QAAQ,EAAE,WAAW;IACrB,UAAU,EAAE;QACV,WAAW,EAAE,oGAAoG;QACjH,aAAa,EAAE,CAAC,UAAU,CAAC;QAC3B,OAAO,EAAE,oCAAoC;QAC7C,WAAW,EAAE,SAAS;QACtB,IAAI,EAAE;YACJ,8CAA8C;YAC9C,oCAAoC;YACpC,mCAAmC;SACpC;KACF;IACD,IAAI,EAAE;QACJ,WAAW,EAAE,oOAAoO;QACjP,UAAU,EAAE;YACV,QAAQ,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,+BAA+B,EAAE;SAC3E;QACD,OAAO,EAAE,2DAA2D;QACpE,QAAQ,EAAE;YACR,uCAAuC;YACvC,6DAA6D;YAC7D,oDAAoD;SACrD;QACD,QAAQ,EAAE;YACR,qCAAqC;YACrC,+BAA+B;YAC/B,2BAA2B;YAC3B,sBAAsB;SACvB;QACD,WAAW,EAAE,4BAA4B;QACzC,aAAa,EAAE;YACb,6BAA6B;YAC7B,kCAAkC;YAClC,qCAAqC;SACtC;QACD,QAAQ,EAAE;YACR,0CAA0C;YAC1C,mCAAmC;SACpC;QACD,YAAY,EAAE,CAAC,mBAAmB,EAAE,kBAAkB,EAAE,wBAAwB,CAAC;KAClF;CACF,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"search-templates-by-metadata.d.ts","sourceRoot":"","sources":["../../../../src/mcp/tool-docs/templates/search-templates-by-metadata.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAE7C,eAAO,MAAM,4BAA4B,EAAE,iBAmH1C,CAAC"}
|
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.searchTemplatesByMetadataDoc = void 0;
|
|
4
|
-
exports.searchTemplatesByMetadataDoc = {
|
|
5
|
-
name: 'search_templates_by_metadata',
|
|
6
|
-
category: 'templates',
|
|
7
|
-
essentials: {
|
|
8
|
-
description: 'Search templates using AI-generated metadata filters. Find templates by complexity, setup time, required services, or target audience. Enables smart template discovery beyond simple text search.',
|
|
9
|
-
keyParameters: ['category', 'complexity', 'maxSetupMinutes', 'targetAudience'],
|
|
10
|
-
example: 'search_templates_by_metadata({complexity: "simple", maxSetupMinutes: 30})',
|
|
11
|
-
performance: 'Fast (<100ms) - JSON extraction queries',
|
|
12
|
-
tips: [
|
|
13
|
-
'All filters are optional - combine them for precise results',
|
|
14
|
-
'Use getAvailableCategories() to see valid category values',
|
|
15
|
-
'Complexity levels: simple, medium, complex',
|
|
16
|
-
'Setup time is in minutes (5-480 range)'
|
|
17
|
-
]
|
|
18
|
-
},
|
|
19
|
-
full: {
|
|
20
|
-
description: `Advanced template search using AI-generated metadata. Each template has been analyzed by GPT-4 to extract structured information about its purpose, complexity, setup requirements, and target users. This enables intelligent filtering beyond simple keyword matching, helping you find templates that match your specific needs, skill level, and available time.`,
|
|
21
|
-
parameters: {
|
|
22
|
-
category: {
|
|
23
|
-
type: 'string',
|
|
24
|
-
required: false,
|
|
25
|
-
description: 'Filter by category like "automation", "integration", "data processing", "communication". Use template service getAvailableCategories() for full list.'
|
|
26
|
-
},
|
|
27
|
-
complexity: {
|
|
28
|
-
type: 'string (enum)',
|
|
29
|
-
required: false,
|
|
30
|
-
description: 'Filter by implementation complexity: "simple" (beginner-friendly), "medium" (some experience needed), or "complex" (advanced features)'
|
|
31
|
-
},
|
|
32
|
-
maxSetupMinutes: {
|
|
33
|
-
type: 'number',
|
|
34
|
-
required: false,
|
|
35
|
-
description: 'Maximum acceptable setup time in minutes (5-480). Find templates you can implement within your time budget.'
|
|
36
|
-
},
|
|
37
|
-
minSetupMinutes: {
|
|
38
|
-
type: 'number',
|
|
39
|
-
required: false,
|
|
40
|
-
description: 'Minimum setup time in minutes (5-480). Find more substantial templates that offer comprehensive solutions.'
|
|
41
|
-
},
|
|
42
|
-
requiredService: {
|
|
43
|
-
type: 'string',
|
|
44
|
-
required: false,
|
|
45
|
-
description: 'Filter by required external service like "openai", "slack", "google", "shopify". Ensures you have necessary accounts/APIs.'
|
|
46
|
-
},
|
|
47
|
-
targetAudience: {
|
|
48
|
-
type: 'string',
|
|
49
|
-
required: false,
|
|
50
|
-
description: 'Filter by intended users: "developers", "marketers", "analysts", "operations", "sales". Find templates for your role.'
|
|
51
|
-
},
|
|
52
|
-
limit: {
|
|
53
|
-
type: 'number',
|
|
54
|
-
required: false,
|
|
55
|
-
description: 'Maximum results to return. Default 20, max 100.'
|
|
56
|
-
},
|
|
57
|
-
offset: {
|
|
58
|
-
type: 'number',
|
|
59
|
-
required: false,
|
|
60
|
-
description: 'Pagination offset for results. Default 0.'
|
|
61
|
-
}
|
|
62
|
-
},
|
|
63
|
-
returns: `Returns an object containing:
|
|
64
|
-
- items: Array of matching templates with full metadata
|
|
65
|
-
- id: Template ID
|
|
66
|
-
- name: Template name
|
|
67
|
-
- description: Purpose and functionality
|
|
68
|
-
- author: Creator details
|
|
69
|
-
- nodes: Array of nodes used
|
|
70
|
-
- views: Popularity count
|
|
71
|
-
- metadata: AI-generated structured data
|
|
72
|
-
- categories: Primary use categories
|
|
73
|
-
- complexity: Difficulty level
|
|
74
|
-
- use_cases: Specific applications
|
|
75
|
-
- estimated_setup_minutes: Time to implement
|
|
76
|
-
- required_services: External dependencies
|
|
77
|
-
- key_features: Main capabilities
|
|
78
|
-
- target_audience: Intended users
|
|
79
|
-
- total: Total matching templates
|
|
80
|
-
- filters: Applied filter criteria
|
|
81
|
-
- filterSummary: Human-readable filter description
|
|
82
|
-
- availableCategories: Suggested categories if no results
|
|
83
|
-
- availableAudiences: Suggested audiences if no results
|
|
84
|
-
- tip: Contextual guidance`,
|
|
85
|
-
examples: [
|
|
86
|
-
'search_templates_by_metadata({complexity: "simple"}) - Find beginner-friendly templates',
|
|
87
|
-
'search_templates_by_metadata({category: "automation", maxSetupMinutes: 30}) - Quick automation templates',
|
|
88
|
-
'search_templates_by_metadata({targetAudience: "marketers"}) - Marketing-focused workflows',
|
|
89
|
-
'search_templates_by_metadata({requiredService: "openai", complexity: "medium"}) - AI templates with moderate complexity',
|
|
90
|
-
'search_templates_by_metadata({minSetupMinutes: 60, category: "integration"}) - Comprehensive integration solutions'
|
|
91
|
-
],
|
|
92
|
-
useCases: [
|
|
93
|
-
'Finding beginner-friendly templates by setting complexity:"simple"',
|
|
94
|
-
'Discovering templates you can implement quickly with maxSetupMinutes:30',
|
|
95
|
-
'Finding role-specific workflows with targetAudience filter',
|
|
96
|
-
'Identifying templates that need specific APIs with requiredService filter',
|
|
97
|
-
'Combining multiple filters for precise template discovery'
|
|
98
|
-
],
|
|
99
|
-
performance: 'Fast (<100ms) - Uses SQLite JSON extraction on pre-generated metadata. 97.5% coverage (2,534/2,598 templates).',
|
|
100
|
-
bestPractices: [
|
|
101
|
-
'Start with broad filters and narrow down based on results',
|
|
102
|
-
'Use getAvailableCategories() to discover valid category values',
|
|
103
|
-
'Combine complexity and setup time for skill-appropriate templates',
|
|
104
|
-
'Check required services before selecting templates to ensure you have necessary accounts'
|
|
105
|
-
],
|
|
106
|
-
pitfalls: [
|
|
107
|
-
'Not all templates have metadata (97.5% coverage)',
|
|
108
|
-
'Setup time estimates assume basic n8n familiarity',
|
|
109
|
-
'Categories/audiences use partial matching - be specific',
|
|
110
|
-
'Metadata is AI-generated and may occasionally be imprecise'
|
|
111
|
-
],
|
|
112
|
-
relatedTools: [
|
|
113
|
-
'list_templates',
|
|
114
|
-
'search_templates',
|
|
115
|
-
'list_node_templates',
|
|
116
|
-
'get_templates_for_task'
|
|
117
|
-
]
|
|
118
|
-
}
|
|
119
|
-
};
|
|
120
|
-
//# sourceMappingURL=search-templates-by-metadata.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"search-templates-by-metadata.js","sourceRoot":"","sources":["../../../../src/mcp/tool-docs/templates/search-templates-by-metadata.ts"],"names":[],"mappings":";;;AAEa,QAAA,4BAA4B,GAAsB;IAC7D,IAAI,EAAE,8BAA8B;IACpC,QAAQ,EAAE,WAAW;IACrB,UAAU,EAAE;QACV,WAAW,EAAE,oMAAoM;QACjN,aAAa,EAAE,CAAC,UAAU,EAAE,YAAY,EAAE,iBAAiB,EAAE,gBAAgB,CAAC;QAC9E,OAAO,EAAE,2EAA2E;QACpF,WAAW,EAAE,yCAAyC;QACtD,IAAI,EAAE;YACJ,6DAA6D;YAC7D,2DAA2D;YAC3D,4CAA4C;YAC5C,wCAAwC;SACzC;KACF;IACD,IAAI,EAAE;QACJ,WAAW,EAAE,sWAAsW;QACnX,UAAU,EAAE;YACV,QAAQ,EAAE;gBACR,IAAI,EAAE,QAAQ;gBACd,QAAQ,EAAE,KAAK;gBACf,WAAW,EAAE,uJAAuJ;aACrK;YACD,UAAU,EAAE;gBACV,IAAI,EAAE,eAAe;gBACrB,QAAQ,EAAE,KAAK;gBACf,WAAW,EAAE,wIAAwI;aACtJ;YACD,eAAe,EAAE;gBACf,IAAI,EAAE,QAAQ;gBACd,QAAQ,EAAE,KAAK;gBACf,WAAW,EAAE,6GAA6G;aAC3H;YACD,eAAe,EAAE;gBACf,IAAI,EAAE,QAAQ;gBACd,QAAQ,EAAE,KAAK;gBACf,WAAW,EAAE,4GAA4G;aAC1H;YACD,eAAe,EAAE;gBACf,IAAI,EAAE,QAAQ;gBACd,QAAQ,EAAE,KAAK;gBACf,WAAW,EAAE,4HAA4H;aAC1I;YACD,cAAc,EAAE;gBACd,IAAI,EAAE,QAAQ;gBACd,QAAQ,EAAE,KAAK;gBACf,WAAW,EAAE,uHAAuH;aACrI;YACD,KAAK,EAAE;gBACL,IAAI,EAAE,QAAQ;gBACd,QAAQ,EAAE,KAAK;gBACf,WAAW,EAAE,iDAAiD;aAC/D;YACD,MAAM,EAAE;gBACN,IAAI,EAAE,QAAQ;gBACd,QAAQ,EAAE,KAAK;gBACf,WAAW,EAAE,2CAA2C;aACzD;SACF;QACD,OAAO,EAAE;;;;;;;;;;;;;;;;;;;;;2BAqBc;QACvB,QAAQ,EAAE;YACR,yFAAyF;YACzF,0GAA0G;YAC1G,2FAA2F;YAC3F,yHAAyH;YACzH,oHAAoH;SACrH;QACD,QAAQ,EAAE;YACR,oEAAoE;YACpE,yEAAyE;YACzE,4DAA4D;YAC5D,2EAA2E;YAC3E,2DAA2D;SAC5D;QACD,WAAW,EAAE,gHAAgH;QAC7H,aAAa,EAAE;YACb,2DAA2D;YAC3D,gEAAgE;YAChE,mEAAmE;YACnE,0FAA0F;SAC3F;QACD,QAAQ,EAAE;YACR,kDAAkD;YAClD,mDAAmD;YACnD,yDAAyD;YACzD,4DAA4D;SAC7D;QACD,YAAY,EAAE;YACZ,gBAAgB;YAChB,kBAAkB;YAClB,qBAAqB;YACrB,wBAAwB;SACzB;KACF;CACF,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"validate-node-minimal.d.ts","sourceRoot":"","sources":["../../../../src/mcp/tool-docs/validation/validate-node-minimal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAE7C,eAAO,MAAM,sBAAsB,EAAE,iBA4CpC,CAAC"}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.validateNodeMinimalDoc = void 0;
|
|
4
|
-
exports.validateNodeMinimalDoc = {
|
|
5
|
-
name: 'validate_node_minimal',
|
|
6
|
-
category: 'validation',
|
|
7
|
-
essentials: {
|
|
8
|
-
description: 'Fast check for missing required fields only. No warnings/suggestions. Returns: list of missing fields.',
|
|
9
|
-
keyParameters: ['nodeType', 'config'],
|
|
10
|
-
example: 'validate_node_minimal("nodes-base.slack", {resource: "message"})',
|
|
11
|
-
performance: 'Instant',
|
|
12
|
-
tips: [
|
|
13
|
-
'Returns only missing required fields',
|
|
14
|
-
'No warnings or suggestions',
|
|
15
|
-
'Perfect for real-time validation'
|
|
16
|
-
]
|
|
17
|
-
},
|
|
18
|
-
full: {
|
|
19
|
-
description: 'Minimal validation that only checks for missing required fields. Returns array of missing field names without any warnings or suggestions. Ideal for quick validation during node configuration.',
|
|
20
|
-
parameters: {
|
|
21
|
-
nodeType: { type: 'string', required: true, description: 'Node type with prefix (e.g., "nodes-base.slack")' },
|
|
22
|
-
config: { type: 'object', required: true, description: 'Node configuration to validate' }
|
|
23
|
-
},
|
|
24
|
-
returns: 'Array of missing required field names (empty if valid)',
|
|
25
|
-
examples: [
|
|
26
|
-
'validate_node_minimal("nodes-base.slack", {resource: "message", operation: "post"}) - Check Slack config',
|
|
27
|
-
'validate_node_minimal("nodes-base.httpRequest", {method: "GET"}) - Check HTTP config'
|
|
28
|
-
],
|
|
29
|
-
useCases: [
|
|
30
|
-
'Real-time form validation',
|
|
31
|
-
'Quick configuration checks',
|
|
32
|
-
'Pre-deployment validation',
|
|
33
|
-
'Interactive configuration builders'
|
|
34
|
-
],
|
|
35
|
-
performance: 'Instant - Simple field checking without complex validation',
|
|
36
|
-
bestPractices: [
|
|
37
|
-
'Use for quick feedback loops',
|
|
38
|
-
'Follow with validate_node_operation for thorough check',
|
|
39
|
-
'Check return array length for validity'
|
|
40
|
-
],
|
|
41
|
-
pitfalls: [
|
|
42
|
-
'Only checks required fields',
|
|
43
|
-
'No type validation',
|
|
44
|
-
'No operation-specific validation'
|
|
45
|
-
],
|
|
46
|
-
relatedTools: ['validate_node_operation', 'get_node_essentials', 'get_property_dependencies']
|
|
47
|
-
}
|
|
48
|
-
};
|
|
49
|
-
//# sourceMappingURL=validate-node-minimal.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"validate-node-minimal.js","sourceRoot":"","sources":["../../../../src/mcp/tool-docs/validation/validate-node-minimal.ts"],"names":[],"mappings":";;;AAEa,QAAA,sBAAsB,GAAsB;IACvD,IAAI,EAAE,uBAAuB;IAC7B,QAAQ,EAAE,YAAY;IACtB,UAAU,EAAE;QACV,WAAW,EAAE,wGAAwG;QACrH,aAAa,EAAE,CAAC,UAAU,EAAE,QAAQ,CAAC;QACrC,OAAO,EAAE,kEAAkE;QAC3E,WAAW,EAAE,SAAS;QACtB,IAAI,EAAE;YACJ,sCAAsC;YACtC,4BAA4B;YAC5B,kCAAkC;SACnC;KACF;IACD,IAAI,EAAE;QACJ,WAAW,EAAE,kMAAkM;QAC/M,UAAU,EAAE;YACV,QAAQ,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,WAAW,EAAE,kDAAkD,EAAE;YAC7G,MAAM,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,WAAW,EAAE,gCAAgC,EAAE;SAC1F;QACD,OAAO,EAAE,wDAAwD;QACjE,QAAQ,EAAE;YACR,0GAA0G;YAC1G,sFAAsF;SACvF;QACD,QAAQ,EAAE;YACR,2BAA2B;YAC3B,4BAA4B;YAC5B,2BAA2B;YAC3B,oCAAoC;SACrC;QACD,WAAW,EAAE,4DAA4D;QACzE,aAAa,EAAE;YACb,8BAA8B;YAC9B,wDAAwD;YACxD,wCAAwC;SACzC;QACD,QAAQ,EAAE;YACR,6BAA6B;YAC7B,oBAAoB;YACpB,kCAAkC;SACnC;QACD,YAAY,EAAE,CAAC,yBAAyB,EAAE,qBAAqB,EAAE,2BAA2B,CAAC;KAC9F;CACF,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"validate-node-operation.d.ts","sourceRoot":"","sources":["../../../../src/mcp/tool-docs/validation/validate-node-operation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAE7C,eAAO,MAAM,wBAAwB,EAAE,iBA+FtC,CAAC"}
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.validateNodeOperationDoc = void 0;
|
|
4
|
-
exports.validateNodeOperationDoc = {
|
|
5
|
-
name: 'validate_node_operation',
|
|
6
|
-
category: 'validation',
|
|
7
|
-
essentials: {
|
|
8
|
-
description: 'Validates node configuration with operation awareness. Checks required fields, data types, and operation-specific rules. Returns specific errors with automated fix suggestions. Different profiles for different validation needs.',
|
|
9
|
-
keyParameters: ['nodeType', 'config', 'profile'],
|
|
10
|
-
example: 'validate_node_operation({nodeType: "nodes-base.slack", config: {resource: "message", operation: "post", text: "Hi"}})',
|
|
11
|
-
performance: '<100ms',
|
|
12
|
-
tips: [
|
|
13
|
-
'Profile choices: minimal (editing), runtime (execution), ai-friendly (balanced), strict (deployment)',
|
|
14
|
-
'Returns fixes you can apply directly',
|
|
15
|
-
'Operation-aware - knows Slack post needs text',
|
|
16
|
-
'Validates operator structures for IF and Switch nodes with conditions'
|
|
17
|
-
]
|
|
18
|
-
},
|
|
19
|
-
full: {
|
|
20
|
-
description: 'Comprehensive node configuration validation that understands operation context. For example, it knows Slack message posting requires text field, while channel listing doesn\'t. Provides different validation profiles for different stages of workflow development.',
|
|
21
|
-
parameters: {
|
|
22
|
-
nodeType: { type: 'string', required: true, description: 'Full node type with prefix: "nodes-base.slack", "nodes-base.httpRequest"' },
|
|
23
|
-
config: { type: 'object', required: true, description: 'Node configuration. Must include operation fields (resource/operation/action) if the node has multiple operations' },
|
|
24
|
-
profile: { type: 'string', required: false, description: 'Validation profile - controls what\'s checked. Default: "ai-friendly"' }
|
|
25
|
-
},
|
|
26
|
-
returns: `Object containing:
|
|
27
|
-
{
|
|
28
|
-
"isValid": false,
|
|
29
|
-
"errors": [
|
|
30
|
-
{
|
|
31
|
-
"field": "channel",
|
|
32
|
-
"message": "Required field 'channel' is missing",
|
|
33
|
-
"severity": "error",
|
|
34
|
-
"fix": "#general"
|
|
35
|
-
}
|
|
36
|
-
],
|
|
37
|
-
"warnings": [
|
|
38
|
-
{
|
|
39
|
-
"field": "retryOnFail",
|
|
40
|
-
"message": "Consider enabling retry for reliability",
|
|
41
|
-
"severity": "warning",
|
|
42
|
-
"fix": true
|
|
43
|
-
}
|
|
44
|
-
],
|
|
45
|
-
"suggestions": [
|
|
46
|
-
{
|
|
47
|
-
"field": "timeout",
|
|
48
|
-
"message": "Set timeout to prevent hanging",
|
|
49
|
-
"fix": 30000
|
|
50
|
-
}
|
|
51
|
-
],
|
|
52
|
-
"fixes": {
|
|
53
|
-
"channel": "#general",
|
|
54
|
-
"retryOnFail": true,
|
|
55
|
-
"timeout": 30000
|
|
56
|
-
}
|
|
57
|
-
}`,
|
|
58
|
-
examples: [
|
|
59
|
-
'// Missing required field',
|
|
60
|
-
'validate_node_operation({nodeType: "nodes-base.slack", config: {resource: "message", operation: "post"}})',
|
|
61
|
-
'// Returns: {isValid: false, errors: [{field: "text", message: "Required field missing"}], fixes: {text: "Message text"}}',
|
|
62
|
-
'',
|
|
63
|
-
'// Validate with strict profile for production',
|
|
64
|
-
'validate_node_operation({nodeType: "nodes-base.httpRequest", config: {method: "POST", url: "https://api.example.com"}, profile: "strict"})',
|
|
65
|
-
'',
|
|
66
|
-
'// Apply fixes automatically',
|
|
67
|
-
'const result = validate_node_operation({nodeType: "nodes-base.slack", config: myConfig});',
|
|
68
|
-
'if (!result.isValid) {',
|
|
69
|
-
' myConfig = {...myConfig, ...result.fixes};',
|
|
70
|
-
'}'
|
|
71
|
-
],
|
|
72
|
-
useCases: [
|
|
73
|
-
'Validate configuration before workflow execution',
|
|
74
|
-
'Debug why a node isn\'t working as expected',
|
|
75
|
-
'Generate configuration fixes automatically',
|
|
76
|
-
'Different validation for editing vs production',
|
|
77
|
-
'Check IF/Switch operator structures (binary vs unary operators)',
|
|
78
|
-
'Validate conditions.options metadata for filter-based nodes'
|
|
79
|
-
],
|
|
80
|
-
performance: '<100ms for most nodes, <200ms for complex nodes with many conditions',
|
|
81
|
-
bestPractices: [
|
|
82
|
-
'Use "minimal" profile during user editing for fast feedback',
|
|
83
|
-
'Use "runtime" profile (default) before execution',
|
|
84
|
-
'Use "ai-friendly" when AI configures nodes',
|
|
85
|
-
'Use "strict" profile before production deployment',
|
|
86
|
-
'Always include operation fields (resource/operation) in config',
|
|
87
|
-
'Apply suggested fixes to resolve issues quickly'
|
|
88
|
-
],
|
|
89
|
-
pitfalls: [
|
|
90
|
-
'Must include operation fields for multi-operation nodes',
|
|
91
|
-
'Fixes are suggestions - review before applying',
|
|
92
|
-
'Profile affects what\'s validated - minimal skips many checks',
|
|
93
|
-
'**Binary vs Unary operators**: Binary operators (equals, contains, greaterThan) must NOT have singleValue:true. Unary operators (isEmpty, isNotEmpty, true, false) REQUIRE singleValue:true',
|
|
94
|
-
'**IF and Switch nodes with conditions**: Must have complete conditions.options structure: {version: 2, leftValue: "", caseSensitive: true/false, typeValidation: "strict"}',
|
|
95
|
-
'**Operator type field**: Must be data type (string/number/boolean/dateTime/array/object), NOT operation name (e.g., use type:"string" operation:"equals", not type:"equals")'
|
|
96
|
-
],
|
|
97
|
-
relatedTools: ['validate_node_minimal for quick checks', 'get_node_essentials for valid examples', 'validate_workflow for complete workflow validation']
|
|
98
|
-
}
|
|
99
|
-
};
|
|
100
|
-
//# sourceMappingURL=validate-node-operation.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"validate-node-operation.js","sourceRoot":"","sources":["../../../../src/mcp/tool-docs/validation/validate-node-operation.ts"],"names":[],"mappings":";;;AAEa,QAAA,wBAAwB,GAAsB;IACzD,IAAI,EAAE,yBAAyB;IAC/B,QAAQ,EAAE,YAAY;IACtB,UAAU,EAAE;QACV,WAAW,EAAE,qOAAqO;QAClP,aAAa,EAAE,CAAC,UAAU,EAAE,QAAQ,EAAE,SAAS,CAAC;QAChD,OAAO,EAAE,uHAAuH;QAChI,WAAW,EAAE,QAAQ;QACrB,IAAI,EAAE;YACJ,sGAAsG;YACtG,sCAAsC;YACtC,+CAA+C;YAC/C,uEAAuE;SACxE;KACF;IACD,IAAI,EAAE;QACJ,WAAW,EAAE,uQAAuQ;QACpR,UAAU,EAAE;YACV,QAAQ,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,WAAW,EAAE,0EAA0E,EAAE;YACrI,MAAM,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,WAAW,EAAE,mHAAmH,EAAE;YAC5K,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE,WAAW,EAAE,uEAAuE,EAAE;SACnI;QACD,OAAO,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+BX;QACE,QAAQ,EAAE;YACR,2BAA2B;YAC3B,2GAA2G;YAC3G,2HAA2H;YAC3H,EAAE;YACF,gDAAgD;YAChD,4IAA4I;YAC5I,EAAE;YACF,8BAA8B;YAC9B,2FAA2F;YAC3F,wBAAwB;YACxB,8CAA8C;YAC9C,GAAG;SACJ;QACD,QAAQ,EAAE;YACR,kDAAkD;YAClD,6CAA6C;YAC7C,4CAA4C;YAC5C,gDAAgD;YAChD,iEAAiE;YACjE,6DAA6D;SAC9D;QACD,WAAW,EAAE,sEAAsE;QACnF,aAAa,EAAE;YACb,6DAA6D;YAC7D,kDAAkD;YAClD,4CAA4C;YAC5C,mDAAmD;YACnD,gEAAgE;YAChE,iDAAiD;SAClD;QACD,QAAQ,EAAE;YACR,yDAAyD;YACzD,gDAAgD;YAChD,+DAA+D;YAC/D,6LAA6L;YAC7L,4KAA4K;YAC5K,8KAA8K;SAC/K;QACD,YAAY,EAAE,CAAC,wCAAwC,EAAE,wCAAwC,EAAE,oDAAoD,CAAC;KACzJ;CACF,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"validate-workflow-connections.d.ts","sourceRoot":"","sources":["../../../../src/mcp/tool-docs/validation/validate-workflow-connections.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAE7C,eAAO,MAAM,8BAA8B,EAAE,iBAqD5C,CAAC"}
|