Merged
Size
XL
Change Breakdown
Feature90%
Maintenance10%
#27811feat(core): Add data table MCP tool

AI agents can now manage n8n data tables via MCP

AI agents can now manage n8n data tables via MCP
CH
CharlieKolb
·Apr 2, 2026

New MCP tools give AI agents the ability to search, create, and modify data tables in n8n workflows — with per-user permission checks and protection for read-only instances.

n8n workflows can store structured data in tables, but that data has historically been accessible only through the platform UI or internal APIs. This PR exposes data table operations to external callers — specifically AI agents using the Model Context Protocol — through seven new tools.

AI agents can now search for tables by name or project, create new tables with specific column schemas, rename tables, add or delete columns, and insert rows. Each operation runs through a new proxy layer that enforces user-scoped permissions: before any write action, the system verifies the calling user has the appropriate scope on the target project. Read operations pass through the same permission check. Protected instances — those in source control read-only mode — block all write operations with a clear error message.

The tools use a shared schema library for common types like column names, data types, and pagination limits. The implementation follows existing MCP patterns in the codebase, with consistent telemetry tracking for each tool invocation.

This sits within a broader effort to expand MCP tool coverage. The proxy architecture ensures permissions are enforced consistently as new tools are added.

View Original GitHub DescriptionFact Check

Summary

Expose the following data table functionality for MCP:

  • Search/List data tables
  • Create and rename data tables (remarkably no deletion for now)
  • Add/delete/rename columns
  • Insert rows (remarkably no reading for now)

Related Linear tickets, Github issues, and Community forum posts

https://linear.app/n8n/issue/ADO-4938

Review / Merge checklist

  • PR title and summary are descriptive. (conventions) <!-- **Remember, the title automatically goes into the changelog. Use `(no-changelog)` otherwise.** -->
  • Docs updated or follow-up ticket created.
  • Tests included. <!-- A bug is not considered fixed, unless a test is added to prevent it from happening again. A feature is not complete without tests. -->
  • PR Labeled with Backport to Beta, Backport to Stable, or Backport to v1 (if the PR is an urgent fix that needs to be backported)
© 2026 · via Gitpulse