MCP Ecommerce
n8n logo

Installation guide

How to install n8n MCP Server Trigger

In Claude, ChatGPT, Gemini, Microsoft Copilot, Perplexity, Cursor and Claude Code, with what to check before you start and the first prompts to run.

The MCP Server Trigger node turns an n8n workflow into an MCP server. You build it inside n8n: add the node, attach tool nodes or sub-workflows, choose an authentication method, then copy the Test or Production URL into your MCP client. It supports SSE and streamable HTTP. It does not support stdio, so clients that only launch local commands need a proxy such as `mcp-remote`, which the n8n docs show for Claude Desktop.

This is best done by the n8n workflow owner or an agency developer with edit access to the target n8n Cloud or self-hosted instance. Use an account that can create and publish workflows. If the workflow touches store data (Shopify, Klaviyo, ad reporting), use Bearer or Header auth and start with read-only tools.

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.

Before you start

  • An n8n instance (Cloud or self-hosted) and an account that can create, edit and publish workflows.
  • A workflow with the MCP Server Trigger node and at least one read-only tool node attached, or an existing workflow attached with the Custom n8n Workflow Tool node.
  • A Bearer auth or Header auth credential, set up as described in the n8n HTTP Request credentials documentation.
  • The MCP URL (Test or Production) copied from the top of the node panel.
  • For Claude Desktop: Node.js with npx available, since the documented setup uses mcp-remote. For self-hosted setups behind nginx or a load balancer: access to the proxy configuration.
How it runs
Remote, added by URL
Access
Varies by tool
Server address
Copy it from the vendor documentation

n8n MCP Server Trigger in Claude

  1. In n8n, open the workflow with the MCP Server Trigger node, set Authentication to Bearer auth and copy the MCP URL. Use the Test URL while you build and the Production URL after you publish.
  2. For the Claude Desktop app, the docs describe running a gateway that proxies SSE messages to a stdio-based server. Open your Claude Desktop configuration file (claude_desktop_config.json, reachable from the app's developer settings).
  3. Add the n8n entry from the snippet below. Replace <MCP_URL> with the URL from the node and <MCP_BEARER_TOKEN> with the token from your Bearer credential.
  4. Save the file and restart Claude Desktop fully.
  5. For Claude.ai on the web, the docs do not give steps for adding the server. Use the standard custom connector flow in Settings > Connectors with the MCP URL. Note that claude.ai prompts you to sign in to n8n even when Authentication is None, which is a documented limitation.
  6. Confirm the n8n tools are listed, then run a read-only prompt first.
claude_desktop_config.json
{
  "mcpServers": {
    "n8n": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "<MCP_URL>",
        "--header",
        "Authorization: Bearer ${AUTH_TOKEN}"
      ],
      "env": {
        "AUTH_TOKEN": "<MCP_BEARER_TOKEN>"
      }
    }
  }
}

n8n MCP Server Trigger in ChatGPT

  1. The n8n docs do not cover ChatGPT. This uses the standard ChatGPT flow for custom MCP connectors, which requires Developer mode.
  2. In n8n, publish the workflow and copy the Production URL from the MCP Server Trigger node. The URL must be reachable from the public internet.
  3. In ChatGPT, enable Developer mode in the settings, then add a new custom connector or MCP server by URL.
  4. Paste the MCP URL. Choose an authentication option that matches the node setting (None, or the header-based option if your ChatGPT plan supports it). Take the exact fields from the OpenAI documentation.
  5. Save the connector and enable it in a new chat.
  6. Run a read-only prompt first and check the Executions tab in n8n to confirm the call arrived.
MCP URL (paste into the connector)
<MCP_URL>

n8n MCP Server Trigger in Gemini

  1. The n8n docs do not cover Gemini. This uses Gemini CLI's standard way of adding an MCP server in its settings file.
  2. In n8n, copy the MCP URL from the MCP Server Trigger node. Use Bearer or Header auth for anything that touches store data.
  3. Open the Gemini CLI settings JSON file and add an entry under mcpServers. Take the exact key for remote URLs and for custom headers from the Gemini CLI documentation.
  4. Alternatively, reuse the documented mcp-remote command from the Claude Desktop example as a local command and args entry, because the node does not support stdio directly.
  5. Restart Gemini CLI and list the MCP servers to check that the n8n tools appear.
  6. Run a read-only prompt first.

n8n MCP Server Trigger in Microsoft Copilot

  1. The n8n docs do not cover Microsoft Copilot Studio or GitHub Copilot. These steps use each product's standard way of adding a remote MCP server.
  2. In n8n, copy the MCP URL from the MCP Server Trigger node and note the credential you chose.
  3. For GitHub Copilot in VS Code, add a server entry in .vscode/mcp.json under the top-level servers object, with the MCP URL and any Authorization header for Bearer auth. Take the exact field names from the VS Code documentation.
  4. For Copilot Studio, add an MCP tool or custom connector to your agent and enter the MCP URL and the authentication type. Take the exact screens from the Microsoft documentation.
  5. Start the server in the client and check that the n8n tools are listed.
  6. Run a read-only prompt first.

n8n MCP Server Trigger in Perplexity

  1. The n8n docs do not cover Perplexity. This uses the standard way of adding a remote connector in the Perplexity desktop app.
  2. In n8n, publish the workflow and copy the Production URL. Prepare the bearer token if you use Bearer auth.
  3. In the Perplexity desktop app, open the connectors settings and add a custom or remote MCP connector.
  4. Paste the MCP URL and supply the authentication details if the app asks for them. Check Perplexity's documentation for what it supports.
  5. Save, then enable the connector for a new thread.
  6. Run a read-only prompt first.
MCP URL (paste into the connector)
<MCP_URL>

n8n MCP Server Trigger in Cursor

  1. The n8n docs do not cover Cursor. This uses Cursor's standard MCP settings.
  2. In n8n, copy the MCP URL from the MCP Server Trigger node and have your bearer token ready.
  3. Open Cursor's MCP settings and add a new server, or edit the mcp.json file it opens.
  4. Either add a remote entry with url set to the MCP URL and an Authorization: Bearer header (check the Cursor docs for the exact header key), or reuse the mcp-remote entry from the Claude Desktop example.
  5. Save and confirm the server shows as enabled with its tools listed.
  6. Run a read-only prompt first.
mcp.json (stdio proxy variant)
{
  "mcpServers": {
    "n8n": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "<MCP_URL>",
        "--header",
        "Authorization: Bearer ${AUTH_TOKEN}"
      ],
      "env": {
        "AUTH_TOKEN": "<MCP_BEARER_TOKEN>"
      }
    }
  }
}

n8n MCP Server Trigger in Claude Code

  1. The n8n docs do not cover Claude Code. This uses the standard claude mcp add command.
  2. In n8n, copy the MCP URL from the MCP Server Trigger node. Use the Test URL while building and the Production URL once the workflow is published.
  3. Run the command below in a terminal. The Authorization header is only needed if you set Bearer auth. Replace the placeholders with your values.
  4. Run claude mcp list to confirm the server is registered.
  5. Start claude and run a read-only prompt first.
  6. If the server will be used by a team, store the token in a secret manager rather than in shell history.
Terminal
claude mcp add --transport http n8n <MCP_URL> --header "Authorization: Bearer <MCP_BEARER_TOKEN>"

Check that it works

Start with questions that only read data. If these answer from your real account, the connection is good.

  • List the tools available from the n8n MCP server.
  • Use the read-only tool to fetch yesterday's summary data and show the raw result, without making any changes.
  • Describe what each exposed tool does and which ones can write data.

Troubleshooting

+

Why does claude.ai ask me to sign in to n8n when Authentication is None?

This is a documented limitation. claude.ai custom connectors assume every MCP endpoint on a domain uses n8n user authentication, because your instance offers it for other triggers. claude.ai is the only client known to do this. Complete the sign-in, or use a different client such as Claude Desktop through `mcp-remote`.

+

Why do connections drop or events fail when I self-host n8n?

SSE and streamable HTTP need the same server instance to handle a persistent connection. In queue mode with multiple webhook replicas, route all `/mcp*` requests to one dedicated webhook replica. Behind nginx, set `proxy_buffering off`, `gzip off`, `chunked_transfer_encoding off` and `proxy_set_header Connection ''` in the MCP location block.

+

Why do my calls work but I see no data in the n8n editor?

Production URL calls do not display data in the editor. Open the workflow's Executions tab and select the execution to inspect it. The Test URL only works after you select Listen for Test Event or Execute workflow, and the Production URL only works after you publish the workflow.

Written Nov 17, 2026 from the vendor documentation. Exact menus, addresses and commands change; the official documentation is the source of truth.

Questions and answers

Questions readers and searchers ask about installing 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.