n8n MCP security: what the server can read and change

What an AI client can see and change through n8n's MCP server, how workflow exposure and tool annotations limit it, and what to lock down before rollout.

On this page

Can n8n MCP security limits meet our access control requirement?

Whether n8n's MCP controls meet your access requirement depends on whether you need control per client or per workflow, user and instance. Both the built-in instance-level MCP server and the MCP Server Trigger node document access controls, and those controls are scoped by workflow, user and instance rather than by individual AI client. The protected read-only mode, which blocks every MCP tool not annotated readOnlyHint true (with the exception of execute_workflow in production mode), is available from n8n 2.47.0. Confirm that your instance is on that version or later before you rely on it for read-only access.

On the instance-level server, enabling MCP access requires instance owner or admin permissions, and this applies to both Cloud and self-hosted instances. MCP must then be enabled on each workflow, with one exception: search_workflows can reach any workflow the user may view but returns only previews. Project and folder-level toggles are available from n8n 2.24.0, and the Auto-expose new workflows setting is off by default and rolling out gradually from n8n 2.36.0, so check its state on your instance. On self-hosted instances, setting N8N_DISABLED_MODULES=mcp removes the MCP endpoints and hides the related UI, which is the strongest lockdown if MCP is not approved. Cloud customers cannot set that variable, so confirm the equivalent control with n8n.

The gap to document for reviewers is per-client scoping. Every connected client, such as Claude Desktop or ChatGPT, sees all workflows enabled for MCP, while each user sees only the MCP-enabled workflows they can access. If your requirement is that one client may see a subset of workflows, n8n's documented controls do not meet it on their own. Treat this as a decision: limit MCP exposure to a dedicated set of workflows, restrict which users can connect clients, or accept the risk in writing. Ask n8n to confirm how per-client restrictions are handled before approval.

Which MCP security controls exist, by deployment and version

This table compares each n8n MCP control by where it applies, the earliest n8n version named in the researched documentation, and whether it comes from the built-in server or the MCP Server Trigger node. Where a cell says to confirm, ask your n8n contact before approval. The main takeaway is that the instance-level server does not scope access per client, so exposure limits depend on workflow, project and folder settings and on read-only mode.

ControlAvailabilityMinimum n8n versionBuilt in or outside component
Instance-level MCP accessCloud and self-hosted; enabling requires owner or adminSetup dialog needs 2.33.0; building and editing workflows needs 2.13.0Built-in server
MCP Server Trigger node and transportsConfirm for Cloud and self-hosted; supports SSE and streamable HTTP, not stdioTo confirmBuilt-in core node, exposes only tools attached in one workflow
Per-workflow exposureMCP must be enabled on the instance and on each workflow; confirm by deploymentTo confirmBuilt-in server
Project and folder togglesConfirm for Cloud and self-hosted2.24.0Built-in server
Auto-expose new workflowsOff by default; rolling out gradually2.36.0 (gradual rollout)Built-in server
Protected read-only modeConfirm for Cloud and self-hosted; blocks tools not marked readOnlyHint true2.47.0Built-in server
Disable MCP with N8N_DISABLED_MODULES=mcpSelf-hosted only; removes MCP endpoints and hides related UITo confirmEnvironment variable on the instance
Credential data strippingReturned nodes show only each credential's id and nameTo confirmBuilt-in server
Per-client scopingNot available; every connected client sees all MCP-enabled workflows the user can accessNot applicableBuilt-in server, design limit

What an MCP client can reach on n8n

The first decision is how far an MCP client can reach. With instance-level MCP enabled, which an instance owner or admin must do on Cloud or self-hosted instances, one connection gives the client access to the instance. Connected clients can search workflows, trigger and test exposed workflows, and create and edit workflows and data tables, with building and editing available from n8n 2.13.0. Exposure happens in two steps: MCP must be enabled on the instance and then on each workflow. The exception is search_workflows, which can reach any workflow the user may view but returns only previews. Access is also shared across clients. Every connected client, such as Claude Desktop or ChatGPT, sees all MCP-enabled workflows the user can access. Confirm which people hold owner or admin rights, since they decide what gets exposed in the first place.

The risky tools are the ones that change or run things. Creating and editing workflows and data tables, and triggering or testing exposed workflows, let a client alter automation that may touch production systems. The tools reference says sensitive credential data is stripped from returned nodes, leaving only each credential's id and name, so a client does not read secret values back. Confirm with n8n what a triggered workflow can do with its own credentials, because that depends on the workflow design rather than the client. The MCP Server Trigger node has a narrower reach. It only connects to and executes the tool nodes attached inside that workflow, and clients can list those tools and call them one at a time. Treat the attached tool nodes as the complete list of what that endpoint can do, and review them before publishing. The node supports Server-Sent Events and streamable HTTP only, not stdio.

Lockdown starts with the instance switches. On self-hosted instances, setting N8N_DISABLED_MODULES=mcp removes the MCP endpoints and hides the related UI, which suits instances that never need MCP. Where MCP stays on, use the project and folder-level MCP access toggles, available from n8n 2.24.0, and keep Auto-expose new workflows off. That setting is off by default and is rolling out gradually from n8n 2.36.0, so check its state on your version. A protected read-only instance, available from n8n 2.47.0, blocks every MCP tool not annotated readOnlyHint true, except execute_workflow in production mode. Confirm which of these controls your version and deployment support, then test that a read-only client cannot create or edit workflows before you write the policy. The MCP server tools reference lists each tool and its annotations.

Decisions to make before enabling instance-level MCP

Enabling instance-level MCP is a set of separate choices about scope, ownership and blast radius. Each card below covers one decision, what it changes in practice, and what to confirm in your own instance before any client connects.

Who decides which workflows are exposed

Enabling MCP on the instance and then on each workflow determines what connected clients can find and run. Name one owner, usually a platform or automation lead with instance owner or admin rights, and make that person accountable for the list of MCP-enabled workflows. Every connected client sees all MCP-enabled workflows, and each user sees only those they can access, so an exposed workflow reaches every client that user connects. Confirm who is allowed to flip the per-workflow flag and whether that change is reviewed.

Connect to n8n MCP server

Project and folder toggles or per-workflow flags

Project and folder-level MCP access toggles, available from n8n 2.24.0, let you expose a whole group of workflows at once. That is faster to manage but widens exposure when a new workflow lands in a folder. Per-workflow flags keep each exposure deliberate but take more upkeep. Decide which model fits your team, then confirm on your version whether a folder toggle covers workflows added later. Record the choice so reviewers can trace why a given workflow is reachable.

Connect to n8n MCP server

Keeping auto-expose switched off

The Auto-expose new workflows setting is off by default and is rolling out gradually from n8n 2.36.0. When it is on, a workflow built by someone else can become callable by AI clients without a review step. Keeping it off means every new workflow starts unexposed and needs an explicit decision. Check the setting on each instance, since rollout timing differs by version, and confirm who is notified when it changes.

Connect to n8n MCP server

Running protected read-only mode in production

From n8n 2.47.0, a protected (read-only) instance blocks every MCP tool not annotated readOnlyHint true, except execute_workflow in production mode. That means clients can still search and read, but cannot create or edit workflows or data tables through MCP. For production instances where clients should not change automation logic, this is the strongest built-in guard. Confirm your instance version supports it, test that write tools are actually blocked, and remember that workflows executed in production can still run their own side effects.

MCP server tools reference

Using the MCP Server Trigger for narrow tools

The MCP Server Trigger node exposes only the tool nodes attached inside a single workflow, so a client sees a narrow, purpose-built set of tools rather than the whole instance. It supports Server-Sent Events and streamable HTTP, but not stdio. This is often the better fit when one team needs one capability, such as running a single lookup. Weigh it against instance-level access, which gives one connection with centralized authentication across many workflows, and decide per use case rather than by default.

MCP Server Trigger

Removing the MCP module on self-hosted instances

On self-hosted instances, setting the environment variable N8N_DISABLED_MODULES=mcp removes the MCP endpoints and hides the related UI. This is the simplest control when no MCP use is approved, and it stops the instance from offering the surface at all. The trade-off is that teams with a valid need must wait for a change, so document a request path. Confirm the variable on a test instance before applying it to production, and verify the endpoints no longer respond.

Connect to n8n MCP server

How the answer changes by deployment and workflow mix

Both Cloud and self-hosted instances offer instance-level MCP settings, and an owner or admin must enable MCP access on either. The difference is who controls the platform underneath. On a self-hosted instance, your team controls the environment and can switch the MCP modules off directly. On Cloud, n8n operates the platform, so you rely on the admin settings and on confirming when each change reaches your tenant. Check the details in the Connect to n8n MCP server documentation against your version.

  • Kill switch: On self-hosted instances, setting N8N_DISABLED_MODULES=mcp removes the MCP endpoints and hides the related UI.
  • Admin enablement: Enabling instance-level MCP requires owner or admin permissions on both deployment types, so keep those roles small.
  • Version gates: Project and folder-level toggles start from n8n 2.24.0, and Auto-expose new workflows, off by default, is rolling out gradually from 2.36.0.
  • Upgrade timing: On self-hosted, your team chooses when to upgrade, which sets when new access controls arrive. On Cloud, confirm the rollout date with n8n.
  • Read-only mode: The protected (read-only) instance behavior is documented from 2.47.0, so confirm your version supports it before relying on it.

Confirm the running version, who holds owner or admin roles, and whether MCP is disabled on any instance that does not need it.

Order of work before enabling MCP in production

This sequence lets a security or platform team confirm who controls the n8n instance, limit what the MCP server can reach, and record evidence of each control before any AI client connects to production workflows.

  1. Confirm the n8n version and admin ownership

    The platform owner confirms which n8n version runs in each environment and which named people hold instance owner or admin permissions, since enabling MCP access requires one of those roles on Cloud or self-hosted instances. Some features depend on the version: building or editing workflows through MCP needs n8n 2.13.0 or later, the setup layout with Allowed callback URLs needs 2.33.0 or later, and project and folder-level MCP toggles need 2.24.0 or later. Done when the version, the admin list and the feature set you plan to use are written down and match the installed build.

  2. Decide the enablement scope before switching anything on

    The security lead and the workflow owners decide whether the organization wants one instance-level connection with centralized authentication, or narrower exposure through the MCP Server Trigger node inside individual workflows. Remember that enabling MCP on the instance does not expose every workflow: MCP must also be enabled on each workflow, and every connected client sees all MCP-enabled workflows the user can access, so access is not scoped per client. Done when the chosen model, the list of clients allowed to connect and the owner of each exposed workflow are recorded in the change ticket.

  3. Enable MCP only on reviewed workflows

    Workflow owners enable MCP on a short list of workflows that have been reviewed for what their nodes read, write, send or delete, and that do not hold data the connected clients should not see. Confirm that the Auto-expose new workflows setting is off, since it is off by default and is rolling out gradually from n8n 2.36.0, so new workflows do not appear to MCP clients without a decision. Check that search_workflows returns only previews for anything outside the enabled list. Done when a reviewer has signed off each enabled workflow and the instance shows no other workflows as exposed.

  4. Set read-only mode for production

    The platform team places production instances in protected (read-only) mode before clients connect, where supported. On n8n 2.47.0 and later, this blocks every MCP tool not annotated readOnlyHint true, except execute_workflow in production mode, so creating, editing and deleting workflows through MCP stop working. Confirm the setting on a test instance first and then in production, and check that the tool list a client receives matches what the reviewer expected. Where the instance is older than 2.47.0, confirm with the vendor what equivalent restriction exists. Done when a test client cannot create or edit a workflow in production.

  5. Check what MCP Server Trigger tool nodes can call

    For any workflow that uses the MCP Server Trigger node, the workflow owner lists every attached tool node and the systems, credentials and HTTP endpoints each one can reach. The trigger only connects to and executes tool nodes, and clients can list tools and call them individually, so each attached tool is a separate capability. Remove tools that are not needed, and confirm the trigger uses only streamable HTTP or Server-Sent Events, since stdio is not supported. Done when the tool inventory for each trigger workflow is documented and every tool has a named business purpose.

  6. Verify credential output in a test run

    The security reviewer connects a test client to a non-production instance and inspects what the tools return. The tools reference states that sensitive credential data is stripped from returned nodes, leaving only each credential's id and name, so the reviewer confirms that no secret values, tokens or connection strings appear in responses, workflow previews or execution output. Check execution logs and any data the workflow passes to the client. Done when the reviewer has saved the test output and found no secret values, or has logged a fix and retested.

  7. Set a review cadence and an owner for changes

    The platform owner sets a recurring review of the MCP-enabled workflow list, the admin list, the read-only setting and the attached tool nodes, and names who approves any change to them. Each review compares the current state with the approved record from the earlier steps and checks the instance version against the release notes, because MCP features have changed across 2.x releases. Ask the vendor or the community project which events are logged, since the documentation reviewed here does not establish the full audit trail. Done when the cadence, the approver and the first review date are recorded and the evidence from each step is filed with them.

What a security reviewer asks to see for MCP access

This table lists the evidence a reviewer should request from the n8n instance and maps each item to the control it proves. Read it as a checklist: an item that cannot be produced from the instance or its change records is a gap to close before approval. Each row names where the evidence comes from in n8n and what it shows about what an MCP client can read or change.

Evidence itemWhere it comes from in n8nControl it proves
MCP-enabled workflows and ownersInstance MCP settings and each workflow's MCP access toggle, with the owner recorded per workflowOnly intended workflows are reachable by clients, and a named person answers for each one
Admin permission holdersUsers with instance owner or admin role, since enabling MCP access requires one of these rolesFew people can switch MCP on or change exposure
Module disablement settingEnvironment variable N8N_DISABLED_MODULES on self-hosted instances, plus the deployment configuration that sets itMCP endpoints are removed where the business case does not need them
Read-only mode statusProtected (read-only) instance setting, available from n8n 2.47.0Tools not annotated as read-only are blocked on the instance
Tool annotations reviewedMCP server tools reference listing each tool and its read-only hintReviewers know which tools can change workflows, data tables or executions
Credential output sampleA test MCP call that returns node details, checked for credential id and name onlySecret values are not returned to the connected client
Version recordInstalled n8n version on the instance, compared with the version that introduced each feature usedControls named in the review exist on the version actually running
Project and folder access togglesProject and folder MCP settings, available from n8n 2.24.0Exposure follows team boundaries rather than the whole instance

Questions buyers ask before approving n8n MCP

Is MCP included in n8n Cloud and self-hosted instances?

The instance-level MCP settings are documented for both n8n Cloud and self-hosted instances, so the feature is not limited to one deployment type. Confirm the exact edition, plan and version your organization runs before approval, because the documented features depend on the n8n version. Building or editing workflows through MCP requires n8n 2.13.0 or later, and the Connect a client dialog with Allowed callback URLs requires n8n 2.33.0 or later. Project and folder-level MCP toggles arrive from 2.24.0, and the Auto-expose new workflows setting is off by default and rolling out gradually from 2.36.0. Ask n8n which features your plan includes and whether any are gated by plan, rather than assuming parity across deployments. Read the Connect to n8n MCP server page for the current layout.

Who is allowed to turn on MCP access in n8n?

Enabling MCP access on an instance requires instance owner or admin permissions. Regular members cannot switch on the instance-level server, so the control sits with the people who already administer the instance. Enabling MCP on the instance is only the first step: MCP must also be enabled on each workflow, with the exception that search_workflows can reach any workflow the user may view but returns only previews. Set a short list of owners, document who holds those roles, and review them when staff change. On self-hosted instances, you can also remove the MCP endpoints entirely by setting N8N_DISABLED_MODULES to mcp, which hides the related UI. Use that setting for environments where no AI client should ever connect.

Can I give each AI client its own scope in n8n?

No. Access is not scoped per client, so every connected client, such as Claude Desktop or ChatGPT, sees all workflows enabled for MCP. What limits a client is the signed-in user: each user only sees MCP-enabled workflows they have access to. In practice, a client connected under a broad account can reach more than a narrow task needs. Reduce exposure by enabling MCP only on the workflows that need it, using project and folder-level toggles where your version supports them (from 2.24.0), and keeping the Auto-expose new workflows setting off. Connect clients under accounts with limited roles, and test what a restricted user can see before rollout. Confirm with n8n whether a per-client scope is planned.

Should we use the community n8n-mcp server instead of the built-in one?

Start with the built-in server unless you have a specific reason not to. The czlonkowski/n8n-mcp repository is a separate community project under the MIT license, not n8n's built-in server, and it lets AI assistants build and manage workflows. Its own README says the built-in server is enough for a single instance on a recent n8n 2.x, and it suggests the community server for multiple instances or for credential creation. Credential creation is the capability that changes your risk profile most, so it needs its own review, including who maintains the code, how it is pinned and where its credentials are stored. Treat it as a separate software supply chain decision with its own owner and change control.

What does it cost to implement n8n MCP securely?

The license cost depends on your n8n plan and is set by n8n, so confirm it directly with them. Implementation effort is driven by the number of instances, how many workflows you expose, whether you use the community server, how many client types need approval and how much logging and review evidence your compliance team needs. Recurring costs include version upgrades, since MCP features depend on specific n8n releases, and periodic review of enabled workflows and user roles. One-time costs include the initial configuration review and any testing you commission. To get a comparable quote, ask for the written scope, the deliverables, the n8n version assumed, and which items are one-time and which recur. DeployOpen quotes follow from a written scope and are not published as a price list.

What can an AI client do on n8n without DeployOpen involved?

Once an admin enables MCP and a user connects a client, the client can search workflows, trigger and test exposed workflows, and create and edit workflows and data tables, depending on the tools available to that user. Without outside help, a team can change the instance-level toggle, the per-workflow settings and the Auto-expose behavior, and can stop access by disabling MCP or removing the module on self-hosted instances. The tools reference says sensitive credential data is stripped from returned nodes, leaving only each credential's id and name. Read-only protection exists from n8n 2.47.0, when a protected instance blocks every MCP tool not annotated readOnlyHint true, except execute_workflow in production mode. Check which of these controls your version supports before relying on them.

What should we confirm with n8n before approving the rollout?

Confirm the questions the public documentation leaves open for your setup. Ask which n8n version and edition your instance runs and whether every feature you need is available on it. Ask whether per-client scoping, audit logging of MCP tool calls and retention of those logs are offered, and where they are recorded. Ask how the protected read-only mode applies to your deployment and what counts as production mode. Ask how credentials are handled when tools return nodes, and how the Allowed callback URLs setting restricts which clients can connect. Ask for your data handling terms and where data is processed for Cloud deployments. Get the answers in writing so your security review records the version and the controls it relied on.

How DeployOpen helps teams lock down n8n MCP

DeployOpen works on n8n MCP security by first agreeing in writing which clients, workflows and tools may reach the server, then testing and hardening the instance inside your own infrastructure. The result is a documented, reviewable setup that security and IT can approve, with the read and change exposure stated plainly.

How we scope

  • Inventory which n8n instances, projects and workflows have MCP enabled, and which users can reach them.
  • Map each client, such as Claude Desktop or Cursor, to the tools it may call and the data it may read.
  • Agree the fixed scope, deliverables and timeline in writing before any configuration work begins.

How we build

  • Review instance-level and per-workflow MCP settings, including project and folder toggles and the auto-expose default.
  • Test risky tools, such as workflow creation, edits and data table writes, against the read-only protection setting.
  • Check how credentials appear in returned nodes and confirm sign-in, callback URL and owner or admin permissions.

How we hand over

  • Deliver a findings report with fixes, configuration evidence and a documented lockdown baseline for each instance.
  • Walk through the exposure map with the security, IT and compliance reviewers who must approve the rollout.
  • Retest the setup after fixes so the reviewers can see the changes took effect before approval.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers, so the lockdown keeps pace with n8n releases.
  • Re-run access reviews when new workflows, clients or projects are added to MCP.
  • Keep evidence current for later security reviews, using the same scope and findings format.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.