From 4d4ef64bf62590735ca4139e082148341657bf8e Mon Sep 17 00:00:00 2001 From: czlonkowski Date: Sun, 22 Mar 2026 22:26:24 +0100 Subject: [PATCH] fix: data tables available on self-hosted too, not just enterprise/cloud Co-Authored-By: Claude Opus 4.6 (1M context) --- src/mcp/tool-docs/workflow_management/n8n-manage-datatable.ts | 4 ++-- src/mcp/tools-n8n-manager.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mcp/tool-docs/workflow_management/n8n-manage-datatable.ts b/src/mcp/tool-docs/workflow_management/n8n-manage-datatable.ts index 59a3bd0..3210d0a 100644 --- a/src/mcp/tool-docs/workflow_management/n8n-manage-datatable.ts +++ b/src/mcp/tool-docs/workflow_management/n8n-manage-datatable.ts @@ -14,7 +14,7 @@ export const n8nManageDatatableDoc: ToolDocumentation = { 'Use dryRun: true to preview update/upsert/delete before applying', 'Filter supports: eq, neq, like, ilike, gt, gte, lt, lte conditions', 'Use returnData: true to get affected rows back from update/upsert/delete', - 'Requires n8n enterprise or cloud with data tables feature' + 'Requires n8n instance with data tables feature enabled' ] }, full: { @@ -97,7 +97,7 @@ export const n8nManageDatatableDoc: ToolDocumentation = { ], pitfalls: [ 'Requires N8N_API_URL and N8N_API_KEY configured', - 'Feature only available on n8n enterprise or cloud plans', + 'Requires n8n instance with data tables feature enabled (available on cloud, enterprise, and self-hosted)', 'deleteTable permanently deletes all rows — cannot be undone', 'deleteRows requires a filter — cannot delete all rows without one', 'Column types cannot be changed after table creation via API', diff --git a/src/mcp/tools-n8n-manager.ts b/src/mcp/tools-n8n-manager.ts index 0b364a4..ca24503 100644 --- a/src/mcp/tools-n8n-manager.ts +++ b/src/mcp/tools-n8n-manager.ts @@ -609,7 +609,7 @@ export const n8nManagementTools: ToolDefinition[] = [ }, { name: 'n8n_manage_datatable', - description: `Manage n8n data tables and rows. Actions: createTable, listTables, getTable, updateTable, deleteTable, getRows, insertRows, updateRows, upsertRows, deleteRows. Requires n8n enterprise/cloud with data tables feature.`, + description: `Manage n8n data tables and rows. Actions: createTable, listTables, getTable, updateTable, deleteTable, getRows, insertRows, updateRows, upsertRows, deleteRows.`, inputSchema: { type: 'object', properties: {