From 93816fce303fafa3df7c486d817fcffd8aead583 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romuald=20Cz=C5=82onkowski?= <56956555+czlonkowski@users.noreply.github.com> Date: Sun, 22 Mar 2026 22:29:19 +0100 Subject: [PATCH] fix: data tables available on all n8n plans, remove redundant pitfalls (#656) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Data tables are available on self-hosted n8n too, not just enterprise/cloud. Removed incorrect availability restriction from tool description and docs. Removed redundant pitfalls (API key requirement implicit, plan restriction wrong). Conceived by Romuald Członkowski - https://www.aiadvisors.pl/en Co-authored-by: Claude Opus 4.6 (1M context) --- CHANGELOG.md | 9 +++++++++ package.json | 2 +- .../workflow_management/n8n-manage-datatable.ts | 4 +--- src/mcp/tools-n8n-manager.ts | 2 +- 4 files changed, 12 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 30cde08..987ba98 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [2.40.4] - 2026-03-22 + +### Fixed + +- **Incorrect data tables availability info**: Removed "enterprise/cloud only" restriction from tool description and documentation — data tables are available on all n8n plans including self-hosted +- **Redundant pitfalls removed**: Removed "Requires N8N_API_URL and N8N_API_KEY" and "enterprise or cloud plans" pitfalls — the first is implicit for all n8n management tools, the second was incorrect + +Conceived by Romuald Członkowski - https://www.aiadvisors.pl/en + ## [2.40.3] - 2026-03-22 ### Fixed diff --git a/package.json b/package.json index 2818522..3d456e5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "n8n-mcp", - "version": "2.40.3", + "version": "2.40.4", "description": "Integration between n8n workflow automation and Model Context Protocol (MCP)", "main": "dist/index.js", "types": "dist/index.d.ts", 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..1e8a8d4 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_API_URL and N8N_API_KEY configured' ] }, full: { @@ -96,8 +96,6 @@ export const n8nManageDatatableDoc: ToolDocumentation = { 'Use sortBy for deterministic row ordering', ], pitfalls: [ - 'Requires N8N_API_URL and N8N_API_KEY configured', - 'Feature only available on n8n enterprise or cloud plans', '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: {