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
This commit is contained in:
TheSethRose
2025-07-01 18:36:56 -05:00
parent b9b70d68dd
commit cd8903c019

View File

@@ -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',