mirror of
https://github.com/czlonkowski/n8n-mcp.git
synced 2026-04-01 23:23:12 +00:00
feat: add multi-step flow to n8n_generate_workflow tool (v2.44.0)
Enable AI agents to act as quality gates for workflow generation: proposals → review → deploy. New parameters: deploy_id, confirm_deploy. New types: GenerateWorkflowProposal, status field on result. Conceived by Romuald Członkowski - https://www.aiadvisors.pl/en Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2
dist/mcp/server.js
vendored
2
dist/mcp/server.js
vendored
@@ -1156,7 +1156,7 @@ class N8NDocumentationMCPServer {
|
||||
getWorkflow: (id) => n8nHandlers.handleGetWorkflow({ id }, ctx),
|
||||
};
|
||||
try {
|
||||
const result = await this.generateWorkflowHandler({ description: args.description, skip_cache: args.skip_cache }, ctx, helpers);
|
||||
const result = await this.generateWorkflowHandler(args, ctx, helpers);
|
||||
return result ?? { success: false, error: 'Handler returned no result' };
|
||||
}
|
||||
catch (err) {
|
||||
|
||||
Reference in New Issue
Block a user