n8n MCP server setup: official vs community, OAuth and tokens

How n8n's official built-in MCP server authenticates clients with OAuth or API keys, how admins limit callback URLs and revoke access, and where the community n8n-mcp server differs.

On this page

Does the n8n MCP server meet our access control requirement?

A head of IT or security deciding whether Claude Code, Codex or Cursor may connect to n8n needs to know first that the built-in instance-level MCP server supports OAuth (recommended) and API key authentication. Both options are documented for Cloud and self-hosted instances, and enabling MCP access requires instance owner or admin permissions. The setup layout with the Connect a client dialog and Allowed callback URLs requires n8n 2.33.0, so any instance older than that version cannot be evaluated against the controls described on this page. Confirm the version in your environment before the review starts.

The reviewer should separate the two authentication paths because they leave different audit trails. With OAuth, each connected client holds only the permissions granted when it connected, and owners and admins can review those clients in a table and revoke one, which disconnects it at once. With an API key, the personal access token belongs to a user's account and clients using it do not appear in that list. Ask n8n which controls govern personal tokens, who can issue them, and how an admin would find and revoke one, because the facts available here do not settle that. Also confirm whether Allowed callback URLs is set to Only trusted URls, since the default allows any callback URL.

The supplied facts do not establish that MCP clients can sign in through a company identity provider such as an enterprise SSO service, so do not assume it. Ask n8n whether instance-level MCP access can be restricted to identities from your directory, whether an enforced policy can block API key use, and whether offboarding a user removes their tokens and client grants automatically. If the answer is no, the access control requirement will need compensating controls, such as limiting who holds owner or admin roles and reviewing the connected clients table on a fixed schedule. Record the answers in writing before approving any client.

Which MCP capabilities are built in, paid or outside components

This table compares the n8n MCP features covered by the supplied facts, from instance-level OAuth and API key connections to the MCP Server Trigger node and the community n8n-mcp project. Read each row as a question to confirm with n8n for your plan and version. The main takeaway is that the built-in instance server centralizes sign-in and revocation, while the trigger node and community server carry their own access settings.

CapabilityBuilt-in instance-level MCP serverMCP Server Trigger node or community n8n-mcp
OAuth client connectionOffered as the recommended option in the Connect a client dialogTrigger node offers n8n User Auth (OAuth2) on node version 2 and later
API key connectionPersonal access token tied to the user's account, sent as a Bearer headerBearer auth and Header auth are configured on the trigger node
Owner and admin revocationOwners and admins review connected OAuth clients and revoke access at onceConfirm with n8n how revocation applies to trigger node credentials
Allowed callback URLs restrictionOwners and admins can set Only trusted URLs; default allows any callback URLNot applicable
Instance-level MCP accessOne connection per instance with centralized authentication; owner or admin permission needed to enableTrigger exposes only tools attached inside one workflow
Require Workflow Execute PermissionNot applicableEnabled by default on the MCP Server Trigger node
Transport supportServer URL ends in /mcp-server/httpServer-Sent Events and streamable HTTP; no stdio transport on the trigger node
Community n8n-mcp serverNot part of n8n's built-in server; MIT licensed separate projectCan route some operations to n8n when N8N_MCP_ACCESS_TOKEN is set; confirm its token handling before use

How clients reach n8n through instance-level MCP and the trigger node

Before approving any client, the reviewer needs to know which of two entry points is in play, because they carry different blast radii. Instance-level MCP access gives one connection per n8n instance, and authentication is centralized at that level. The MCP Server Trigger node works differently: it exposes only the tools attached inside a single workflow. Clients such as Claude Code, Codex and Cursor are configured against the entry point you choose, so the approval decision starts with which one the team will use. The instance-level server URL ends in /mcp-server/http and is copied from Settings > Instance-level MCP > Connect a client. Only owners and admins can enable that setting, on both Cloud and self-hosted instances, so the people who can open the door are a short, named list that should be recorded.

The trigger node has a narrower surface but its own controls. It supports Server-Sent Events and streamable HTTP, and it does not support standard input/output (stdio) transport, which matters if a team expects a local process model. Its authentication options are None, n8n User Auth (OAuth2) on node version 2 and later, Bearer auth and Header auth, and Require Workflow Execute Permission is enabled by default. Confirm in each workflow that the trigger is not set to None and that the attached tools are the only ones an agent can reach, since a broad workflow can still expose sensitive operations.

Decisions are enforced in three different places. Instance owner and admin settings govern whether instance-level MCP is on and which callback URLs are accepted. With OAuth, each connected client holds only the permissions granted when it connected, and an owner or admin can revoke it from the connected clients table, which disconnects it at once. With an API key, the personal access token is tied to the user's account, is sent as an Authorization: Bearer header, and does not appear in the OAuth clients list, so reviewers must track those tokens through the user's account rather than the client table. Ask who holds owner or admin rights, and whether API key use is permitted at all.

Choices to make before connecting: auth method, callback URLs, token owner

Before any AI client connects to n8n, the reviewer has to settle how the client authenticates, which callback URLs may receive sign-in responses, whose identity the connection carries, and how wide the server's reach should be. Each choice determines what shows up in the connected clients list, what survives an employee leaving, and what the audit trail can attribute.

OAuth or API key

The Connect a client dialog offers OAuth, which the docs recommend, or API key authentication. OAuth connections appear in the connected clients table, carry only the permissions granted at connection time, and can be revoked there so the client disconnects at once. An API key generates a personal access token sent as an Authorization: Bearer header, and those clients do not appear in that table. Make OAuth the default and require a written exception for API keys.

Connect to n8n MCP server

Restrict allowed callback URLs

Owners and admins can set Allowed callback URLs to Only trusted URLs. The default allows any callback URL, which the docs describe as less secure, because an OAuth flow can then return a authorization response to an address an attacker controls. Before rollout, list the exact callback addresses your approved clients use and switch the setting to restricted. Ask the platform team to confirm that the setting is applied on the instance rather than assumed from the dialog.

Token owner and offboarding

An API key token is tied to the account of the user who created it, so the connection and its permissions follow that person. If that employee leaves or changes role, the access may be affected in ways the OAuth table will not show. Decide whether connections belong to named individuals, a shared service identity, or are issued only through OAuth. Record the owner for every connection so offboarding can revoke it on the same day the account is disabled.

Instance-wide server or single-workflow trigger

Instance-level MCP access gives one connection per n8n instance with centralized authentication, and it can search, trigger, create and edit workflows and data tables. The MCP Server Trigger node exposes only the tools attached inside one workflow. Choose the instance-level server for administrators or platform owners who need broad reach, and the trigger node for a narrow tool set. Confirm which scope each client needs before enabling instance-wide access.

MCP Server Trigger docs

Official server or community project

The built-in server is n8n's own, while czlonkowski/n8n-mcp is a separate MIT-licensed community project that is not n8n's server. The community README says the built-in server is enough for a single instance on a recent n8n 2.x, and suggests the community project for multiple instances or credential creation. Before approving any community server, confirm who maintains it, which credentials it holds, and whether it can route operations through an access token. Keep the decision in writing with the reviewer's name.

Community README

How the answer changes by deployment and team size

The instance-level MCP settings are documented for both n8n Cloud and self-hosted instances, so the core flow of enabling access and connecting a client is the same in either model. The differences lie in who controls the instance and what the organization must verify itself. Enabling MCP access requires instance owner or admin permissions, so the reviewer should confirm who holds those roles on each deployment before any client connects.

  • Permission holders: Confirm which named people hold the owner or admin role on the instance, since they can enable access and manage connected clients.
  • Version floor: Building or editing workflows through MCP requires n8n 2.13.0 or later, and the Connect a client layout with Allowed callback URLs requires 2.33.0 or later. Check the running version on both Cloud and self-hosted instances.
  • Upgrade ownership: On self-hosted instances, the organization controls when upgrades happen, so it must plan to reach the version floor. Confirm the upgrade path with the vendor documentation.
  • Network exposure: Confirm how clients reach the instance URL and whether that path is restricted by the organization's own network controls.
  • Callback policy: Set Allowed callback URLs to trusted URLs on either deployment, since the default allows any callback URL.

Before approving either model, check the running version, the owner and admin list, and the callback URL setting.

Reviewing n8n MCP access before the approval decision

A security review of this setup should start with which clients are actually connected to the instance and which account sits behind each one. Under OAuth, each connected client holds only the permissions granted when it connected, and owners and admins can review those clients in a table. Ask the instance owner or admin for that table and compare it with the approved client list. Any client that is not on the list needs an explanation before approval. API key connections need separate attention, because they are personal access tokens tied to a user's account and they do not appear in the connected OAuth clients list. The review should therefore ask for an inventory of every personal access token that carries MCP access, the user each token belongs to, and whether that user's role gives broader rights than the rollout needs.

The second decision is the callback URL policy. By default n8n allows any callback URL, which the docs describe as less secure. Confirm with the owner or admin whether Allowed callback URLs is set to Only trusted URLs, and get the exact list of trusted addresses. Reviewers should also confirm that the instance runs a version that exposes this setting, since the docs tie the current setup layout, including Allowed callback URLs, to n8n 2.33.0. Ask who can change this setting and whether changes are logged in the platform or the surrounding infrastructure, because a loosened callback policy is a quiet way to widen which applications can receive authorization.

The third check is a revocation test. Documentation says revoking a client in the table disconnects it at once, but a reviewer should confirm that in the organization's own environment before approving. Pick a non-production client, connect it, revoke it, and then confirm that the client can no longer search workflows or run tools. Repeat the check for an API key connection, where the path is different and the token must be removed from the user's account. Record the results, the time each test took and the person who ran it. A rollout that cannot show a working revocation path is not ready for approval, regardless of how the setup was documented.

Order of work to approve n8n MCP access in production

This sequence moves from confirming the instance version and admin ownership through callback restrictions, client-by-client authentication choices, and revocation testing, ending with a decision on the community server. The output is a documented approval record that a security reviewer can check against the instance.

  1. Confirm version and admin ownership

    Confirm with the instance owner which n8n version runs on the instance, whether it is Cloud or self-hosted, and who holds owner or admin permissions. The setup layout with the Connect a client dialog and Allowed callback URLs is documented for n8n 2.33.0 and later, and building or editing workflows through MCP starts at 2.13.0, so a lower version changes what you can approve. Record the version, the deployment type and the named owner and admins. This step is done when the version is written in the approval record and someone outside the request has confirmed it from the instance settings.

  2. Restrict allowed callback URLs to trusted URLs

    Under the instance-level MCP settings, an owner or admin should change Allowed callback URLs from the default, which accepts any callback URL, to Only trusted URLs. Build the list of trusted callback addresses with the teams that will connect clients, and check each one against the client's documented redirect behavior before saving. This step is done when the setting reads Only trusted URLs, the trusted list is stored with the approval record, and a test connection from an approved client succeeds while an unlisted callback is refused.

  3. Assign OAuth or API key by client group

    Group the requesting clients into CLI tools such as Claude Code, Codex and Gemini CLI, web clients such as Claude.ai and ChatGPT, and IDE clients such as Cursor, VS Code and Windsurf. The Connect a client dialog offers OAuth as the recommended option and API key as the alternative. Use OAuth wherever the client supports it, and allow API keys only for named groups with a stated reason. This step is done when each client group has one authentication method written next to it, with the owner of each group named.

  4. Limit owner and admin rights

    Owner and admin rights control enabling MCP access, reviewing connected clients and revoking them, so keep that list short and documented. Remove any admin rights that exist only for convenience, and confirm that developers who connect clients hold only ordinary user access. Ask the instance owner for the current list of accounts with owner or admin permissions and compare it against the approved list. This step is done when the owner and admin list matches the approval record and each person on it has a named business reason.

  5. Test revocation and confirm the disconnect

    Connect one test client using OAuth, confirm that it appears in the connected OAuth clients table with only the permissions granted at connection, then revoke it as an owner or admin. Verify that the client is disconnected at once by running a read request from the client after revocation and confirming it fails. Repeat the test for one client using an API key, because keys do not appear in the OAuth table and must be revoked through the user's account. This step is done when both revocation paths have been tested and the results are recorded in the approval file.

  6. Inventory existing API key tokens

    Each API key is a personal access token tied to a user's account and sent as an Authorization: Bearer header. Ask each user who has connected a client with an API key to list the tokens they created, and ask the owner to confirm the accounts they belong to. Because these clients do not appear in the connected OAuth clients list, this inventory is the only central record. Revoke tokens that are not on the approved list, and move the remaining ones to OAuth where the client supports it. This step is done when the token inventory is complete, unapproved tokens are gone, and the remaining tokens are assigned to named users.

  7. Decide whether the community server is permitted

    Decide separately whether the community czlonkowski/n8n-mcp project may run. It is a separate MIT-licensed community project and is not n8n's built-in server. Its README says the built-in server is enough for a single instance on a recent n8n 2.x, and suggests the community server for multiple instances or credential creation. Its README also describes routing some operations to n8n's server when N8N_MCP_ACCESS_TOKEN is set. Approve it only after a security review of its code, its access token handling and the credentials it can create, and record the decision with the reason. This step is done when the decision is written as either not permitted or permitted with named conditions.

Evidence a security reviewer asks for and where it comes from

This table maps each control a reviewer usually asks about to the evidence that shows it and the place in n8n where it is set. Use it to plan the review walkthrough, and confirm each location against the n8n version and plan your instance runs, since menu labels change between releases. The main takeaway is that OAuth clients, API key tokens and MCP Server Trigger settings are recorded in different places, so one review rarely covers all three.

ControlEvidence to requestWhere it is found in n8n
OAuth connected clientsExport or screenshot of the connected clients table showing each client and its granted permissionsSettings > Instance-level MCP, client review table (confirm on your version)
Revocation of accessRecord of which clients were revoked, when, and by which owner or admin, plus the procedure usedRevoke action in the connected clients table; confirm whether your version keeps a revocation history
Allowed callback URLsCurrent setting value, with the decision to restrict it to trusted URLs documentedInstance-level MCP settings, Allowed callback URLs (default allows any URL)
Owner and admin role assignmentsList of users holding owner or admin rights, reviewed against current staffInstance user management and role settings; enabling MCP access requires owner or admin permission
API key ownershipInventory of personal access tokens, mapped to the user who created each oneEach user's personal settings, where the API key option issues tokens; these clients do not appear in the OAuth list
MCP Server Trigger authenticationAuth method set on each trigger node (None, OAuth2, Bearer or Header) and the workflow it belongs toInside each workflow that contains an MCP Server Trigger node, in the node parameters
Require Workflow Execute PermissionConfirmation that the setting is enabled on every trigger node, or a documented exceptionMCP Server Trigger node options; enabled by default, so confirm no node has it turned off
Community server configurationDeployment record for n8n-mcp, including the MIT-licensed version used and whether N8N_MCP_ACCESS_TOKEN is setEnvironment configuration of the host running the community server, outside the n8n interface

Questions buyers ask before approving n8n MCP access

Does the n8n MCP server support SSO with our identity provider?

The supplied n8n documentation does not state that the instance-level MCP server integrates with a specific identity provider through SSO, so confirm this with n8n before approval. What the docs do describe is OAuth (recommended) or API key authentication in the Connect a client dialog, with each OAuth client limited to the permissions granted when it connected. Ask n8n whether your login provider can gate MCP connections and whether those sign-ins follow your instance's existing SSO configuration. Also confirm how the MCP Server Trigger node's n8n User Auth (OAuth2) option behaves for your deployment, since that option is separate from instance-level access.

What does enabling n8n MCP access cost, and which plan includes it?

The supplied sources document instance-level MCP settings for both n8n Cloud and self-hosted instances, but they do not give a plan name, price or license tier that includes it. Ask n8n which plan and edition your instance needs, whether MCP access is metered or counted against executions, and whether the feature requires a specific n8n version. The docs also note that building or editing workflows through MCP needs n8n 2.13.0 or later, and the Connect a client layout needs 2.33.0, so version upgrades may be part of the cost. Cost drivers are the license tier, any upgrade work and internal review time. Get these items in writing before you approve access.

Can our team set up the n8n MCP connection without outside help?

Yes, the setup path is documented in the n8n docs: enabling MCP access requires instance owner or admin permissions, and the server URL, which ends in /mcp-server/http, is copied from Settings > Instance-level MCP > Connect a client. Your team needs an owner or admin to enable the feature and choose the callback URL policy, and an engineer to connect each client. The effort depends on how many clients you connect, how many instances you run and how much review your security team requires. If you want an independent check of the setup, DeployOpen runs AI agent rollout security reviews that test SSO and admin settings and deliver a findings report with fixes and a retest, scoped in writing before work starts.

What drives the effort of rolling out n8n MCP to staff?

Effort grows with the number of clients, instances and workflows you expose. The supplied docs describe one connection per instance with centralized authentication, so a single-instance rollout is simpler than a multi-instance one. Other drivers include whether staff use OAuth or API keys, how many people need owner or admin review, and how many workflows you need to tag or expose to the MCP server before connecting clients. Clients grouped as CLI, Web or IDE may need different handling, and your policy on callback URLs adds a review step. Ask for each of these items to be listed separately in any written scope so you can compare options.

How do we revoke an AI client's access to n8n?

Owners and admins can review connected OAuth clients in a table and revoke access, which disconnects the client at once. Each OAuth client has only the permissions granted when it connected, so revocation removes that grant. API key connections work differently: the key is a personal access token tied to the user's account, sent as an Authorization: Bearer header, and those clients do not appear in the connected OAuth clients list. That means your revocation process must include finding and deleting the token through the user's account, not just clicking revoke in the OAuth table. Write a joint offboarding procedure covering both paths and test it before rollout.

Is the community n8n-mcp server safe to use?

The community czlonkowski/n8n-mcp repository is a separate project under the MIT license, and it is not n8n's built-in server. Its README says the built-in server is enough for a single instance on a recent n8n 2.x, and it suggests the community project for multiple instances or for credential creation. The community project can route some operations to n8n's own server when N8N_MCP_ACCESS_TOKEN is set. Treat it as third-party code that needs its own review: check who maintains it, what it can read and change, how it handles tokens, and whether your security team approves it. The license does not by itself make it safe for production credentials.

What should we ask n8n before approving MCP access?

Ask n8n these questions in writing: which plan and version include instance-level MCP access, whether SSO or your identity provider gates client sign-in, and how OAuth scopes map to workflow and data table permissions. Ask whether Allowed callback URLs can be restricted to trusted URLs on your instance, since the default allows any callback URL, which the docs call less secure. Ask how MCP Server Trigger workflows authenticate, whether Require Workflow Execute Permission remains enabled, and what audit records exist for client actions. Finally, ask what is logged when a client reads or edits a workflow, and how long those records are kept.

Primary sources to check each claim against

Check every setup claim in this topic against n8n's Connect to n8n MCP server documentation first. It covers the Connect a client dialog, the OAuth and API key options, the server URL ending in /mcp-server/http that is copied from Settings > Instance-level MCP, the Allowed callback URLs setting and the table where owners and admins revoke connected clients. Before you promise a feature to staff, confirm your instance version. The page states that building or editing workflows through MCP requires n8n 2.13.0, and that the current dialog layout and callback URL controls require 2.33.0. Also confirm whether the page matches your deployment, since it covers both Cloud and self-hosted instances and enabling MCP access requires instance owner or admin permissions.

Next, read the MCP Server Trigger documentation. This is the workflow-level path, which exposes only the tools attached inside one workflow. It documents Server-Sent Events and streamable HTTP, and it states that standard input/output transport is not supported. Review the authentication options (None, n8n User Auth (OAuth2) on node version 2 and later, Bearer auth and Header auth) and confirm that Require Workflow Execute Permission remains enabled. For the instance-level server, open the MCP server tools reference alongside this page. It lists each tool the server exposes, so match that list against the read and write actions you are willing to allow before any client connects.

Finally, review the community project's README on GitHub. The czlonkowski/n8n-mcp repository is an MIT-licensed community project, and it is not n8n's built-in server. Its 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. It also notes that some operations can be routed to n8n's own server when N8N_MCP_ACCESS_TOKEN is set. Treat it as a separate third-party dependency with its own review, including license terms for your legal team, version pinning and a check of which credentials it can reach.

How DeployOpen tests and governs n8n MCP access

DeployOpen plans, implements and tests self-hosted open-source platforms inside the client's own infrastructure, and it runs AI agent rollout security reviews. For n8n MCP access, the work starts with a written scope that separates the built-in instance-level server from the community n8n-mcp project and from MCP Server Trigger workflows, then tests authentication, callback URLs, token handling and admin settings before anything is approved.

How we scope

  • Confirm whether the rollout uses instance-level MCP, the MCP Server Trigger node, the community n8n-mcp server, or a mix of them
  • Record which clients are in scope, such as Claude Code, Codex or Cursor, and which authentication path each will use
  • Agree in writing which owner and admin settings, callback URL rules and revocation steps the review will check

How we build

  • Configure a test instance with OAuth or API key access and document the permissions each connected client receives
  • Test prompt injection, workflow exposure, write actions and token handling against the agreed scope and tool list
  • Check Allowed callback URLs, revocation of OAuth clients and the limits of personal access tokens that stay outside that list

How we hand over

  • Deliver a findings report with severity, evidence and a fix for each gap in access, exposure or admin configuration
  • Provide a written access standard covering which clients may connect, who approves them and how access is revoked
  • Retest the agreed fixes and document the results so the security or procurement reviewer can verify the final state

How we support

  • Engagements are fixed-scope, so scope, deliverables and timelines are agreed in writing before work starts
  • Ongoing support, upgrades and continuous testing are available as retainers when the n8n version or client list changes
  • Quotes follow from the written scope, so ask for the scope items, deliverables and retest steps each price covers

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.