MCP Ecommerce
n8n logo

Automation

n8n MCP Server Trigger

The MCP Server Trigger node turns an n8n workflow into an MCP server over SSE or Streamable HTTP, exposing attached tool nodes and sub-workflows to any MCP client with optional bearer or header auth.

n8n MCP Server Trigger setup guide: n8n's MCP documentation page on docs.n8n.io, shown in a browser frame (automation MCP server for e-commerce)
n8n MCP Server Trigger setup guide preview: n8n’s documentation on docs.n8n.io, captured Nov 17, 2026. The page may have changed since; the link opens the live version.

What it is and why it matters

The MCP Server Trigger is a core node in n8n, the workflow automation tool. It turns an n8n workflow into an MCP server. Any MCP client can connect to a URL the node exposes, list the tools attached to it and call them. Those tools can be n8n tool nodes or whole workflows attached through the Custom n8n Workflow Tool node. It supports Server-Sent Events (SSE) and streamable HTTP, runs on n8n Cloud or self-hosted instances, and can require bearer, header or n8n user (OAuth2) authentication.

This is useful for agencies that already run Shopify, Klaviyo or ad reporting automations in n8n and want an AI assistant to trigger them without rebuilding anything. It is not a ready-made store connector. What the assistant can do depends on which tools and workflows you attach, and what credentials those workflows use. Whether it works well also depends on your hosting: queue mode with several webhook replicas, or a reverse proxy such as nginx, needs specific configuration or connections will break.

What it does

  • Expose n8n tool nodes and workflows as MCP tools
  • Separate test and production URLs with custom paths
  • Bearer or header authentication
  • Works with n8n Cloud and self-hosted instances

Best for

Agencies that already automate Shopify, Klaviyo or ad reporting in n8n and want to hand those flows to an AI agent.

How to connect it

  1. In n8n, create a workflow and add the MCP Server Trigger node. Attach the tool nodes you want to expose. To expose an existing workflow, attach it with the Custom n8n Workflow Tool node, as described in the documentation.
  2. Set Authentication on the node. Choose Bearer auth or Header auth and create the credential, following the HTTP Request credentials documentation. Avoid None unless the instance is not reachable from the public internet. Optionally add Instructions, which are sent to clients when they connect.
  3. Test first. Select Listen for Test Event or Execute workflow to register the Test URL and try it from your client. When ready, publish the workflow to register the Production URL. You can keep the random default Path or set your own.
  4. Add the URL to your MCP client. For Claude Desktop, the documentation shows a configuration that runs npx with mcp-remote, the <MCP_URL> and an Authorization: Bearer header, with the token in an AUTH_TOKEN environment variable. Replace the placeholders with your node's URL and bearer token.
  5. If you self-host behind a reverse proxy, configure the MCP endpoint as described in the documentation: disable proxy buffering and gzip, disable chunked transfer encoding and clear the Connection header. In queue mode with multiple webhook replicas, route all /mcp* requests to one dedicated webhook replica.

Exact commands and addresses change. Use the official documentation for the current steps.

Installation guide for n8n MCP Server Trigger

Client-by-client steps, what to prepare, the first prompts to run and fixes for common errors.

ClaudeChatGPTGeminiMicrosoft CopilotPerplexityCursorClaude Code
→

Questions you can ask it

  • List the tools available on our n8n MCP server and describe what each one does.
  • Run the weekly ad spend report workflow for last week and summarize the results.
  • Use the Klaviyo workflow to pull the latest campaign stats and compare them with the previous month.
  • Check our Shopify orders workflow and tell me how many orders came in yesterday.

What it cannot do

  • It does not support stdio transport. Clients that only speak stdio need a gateway such as `mcp-remote`, as the documentation describes for Claude Desktop.
  • It is not a store connector. It only exposes tools and workflows you build and attach in n8n.
  • It cannot run reliably across multiple queue-mode webhook replicas unless all `/mcp*` traffic goes to a single dedicated replica.

Staying safe

  • Start with read-only tools, such as reporting workflows. Add tools that change orders, customers, emails or ad budgets only for supervised tasks, since the client can call any attached tool.
  • Do not leave Authentication on None for a production URL. Use bearer, header or n8n User Auth (OAuth2), and store tokens outside shared documents. With OAuth2, keep Require Workflow Execute Permission enabled (the default) so callers need permission to run the workflow.
  • Tools run with the credentials saved in n8n, so anyone who can call the server gets that access. Use least-privilege API keys in the connected workflows. Review execution logs in the Executions tab, since production runs do not display data in the editor.

Watch out for: No stdio support, queue mode needs a dedicated webhook replica and claude.ai prompts for sign-in even when auth is set to None.

Frequently asked questions

+

Does the n8n MCP Server Trigger work with claude.ai?

Yes, with a caveat. The documentation says claude.ai custom connectors ask you to sign in to n8n even when Authentication is set to None. It is the only client known to do this, because it assumes every MCP endpoint on your domain uses n8n user authentication. Expect the sign-in prompt.

Step-by-step: install n8n MCP Server Trigger in Claude, ChatGPT, Gemini, Copilot and more →

+

What is the difference between the test and production URL?

The test URL is registered when you select Listen for Test Event or Execute workflow on an inactive workflow, and n8n shows the data in the editor. The production URL is registered when you publish the workflow and does not show data in the editor. View production runs in the Executions tab.

+

Why do my MCP connections keep dropping on a self-hosted n8n?

Two causes are covered in the documentation. In queue mode with multiple webhook replicas, route all `/mcp*` requests to one dedicated webhook replica. Behind a reverse proxy such as nginx, disable proxy buffering, gzip and chunked transfer encoding for the MCP endpoint, and clear the Connection header.

Questions and answers

Questions readers and searchers ask about n8n MCP Server Trigger, answered by the site editor from the vendor documentation, plus reader experience. Every comment is reviewed before it appears.

Ask a question or share what worked

Reviewed before publishing. One link max, no HTML.

Related guides

Other servers to compare