From cd8903c01906f81f3f86f72b5fef8166dab16a77 Mon Sep 17 00:00:00 2001 From: TheSethRose Date: Tue, 1 Jul 2025 18:36:56 -0500 Subject: [PATCH] Fix MCP schema validation for Cursor Desktop compatibility - Add additionalProperties: true to workflow nodes schema in n8n_update_full_workflow tool - Resolves 'additional properties not allowed' errors in Cursor Desktop - Improves MCP tool reliability for workflow management operations --- src/mcp/tools-n8n-manager.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/mcp/tools-n8n-manager.ts b/src/mcp/tools-n8n-manager.ts index aaaabd9..3cc2070 100644 --- a/src/mcp/tools-n8n-manager.ts +++ b/src/mcp/tools-n8n-manager.ts @@ -140,7 +140,11 @@ export const n8nManagementTools: ToolDefinition[] = [ }, nodes: { type: 'array', - description: 'Complete array of workflow nodes (required if modifying workflow structure)' + description: 'Complete array of workflow nodes (required if modifying workflow structure)', + items: { + type: 'object', + additionalProperties: true + } }, connections: { type: 'object',