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.

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 andat least one read-only toolnode 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
HTTPRequest credentials documentation. - The MCP URL (Test or Production) copied from the top of the
node panel. - For Claude Desktop:
Node.jswithnpxavailable, since the documented setup usesmcp-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
- 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.
- 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). - Add the
n8nentry from the snippet below. Replace<MCP_URL>with the URL from thenode and<MCP_BEARER_TOKEN>with the token from your Bearer credential. - Save the file and restart Claude Desktop fully.
- For Claude.ai on the web, the docs do not give steps for adding the server. Use the standard custom connector flow in
Settings > Connectorswith the MCP URL. Note that claude.ai prompts you to sign in to n8n even when Authentication is None, which is a documented limitation. - Confirm the n8n tools are listed, then run a read-only prompt first.
{
"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
- The n8n docs do not cover ChatGPT. This uses the standard ChatGPT flow for custom MCP connectors, which requires Developer mode.
- 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.
- In ChatGPT, enable Developer mode in the settings, then add a new custom connector or MCP server by URL.
- 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. - Save the connector and enable it in a new chat.
- Run a read-only prompt first and check the Executions tab in n8n to confirm the call arrived.
<MCP_URL>
n8n MCP Server Trigger in Gemini
- The n8n docs do not cover Gemini. This uses Gemini CLI's standard way of adding an MCP server in its settings file.
- In n8n, copy the MCP URL from the MCP Server Trigger node. Use Bearer or Header auth for anything that touches store data.
- Open the Gemini CLI settings
JSONfile and add an entry undermcpServers. Take the exact key for remote URLs and for custom headers from the Gemini CLI documentation. - Alternatively, reuse the documented
mcp-remotecommand from the Claude Desktop example as a localcommandandargsentry, because thenode doesnot support stdio directly. - Restart Gemini CLI and list the MCP servers to check that the n8n tools appear.
- Run a read-only prompt first.
n8n MCP Server Trigger in Microsoft Copilot
- 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.
- In n8n, copy the MCP URL from the MCP Server Trigger
node andnote the credential you chose. - For GitHub Copilot in VS Code, add a server entry in
.vscode/mcp.jsonunder the top-levelserversobject, with the MCP URL and anyAuthorizationheader for Bearer auth. Take the exact field names from the VS Code documentation. - 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.
- Start the server in the client and check that the n8n tools are listed.
- Run a read-only prompt first.
n8n MCP Server Trigger in Perplexity
- The n8n docs do not cover Perplexity. This uses the standard way of adding a remote connector in the Perplexity desktop app.
- In n8n, publish the workflow and copy the Production URL. Prepare the bearer token if you use Bearer auth.
- In the Perplexity desktop app, open the connectors settings and add a custom or remote MCP connector.
- Paste the MCP URL and supply the authentication details if the app asks for them. Check Perplexity's documentation for what it supports.
- Save, then enable the connector for a new thread.
- Run a read-only prompt first.
<MCP_URL>
n8n MCP Server Trigger in Cursor
- The n8n docs do not cover Cursor. This uses Cursor's standard MCP settings.
- In n8n, copy the MCP URL from the MCP Server Trigger
node andhave your bearer token ready. - Open Cursor's MCP settings and add a new server, or edit the
mcp.jsonfile it opens. - Either add a remote entry with
urlset to the MCP URL and anAuthorization: Bearerheader (check the Cursor docs for the exact header key), or reuse themcp-remoteentry from the Claude Desktop example. - Save and confirm the server shows as enabled with its tools listed.
- Run a read-only prompt first.
{
"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
- The n8n docs do not cover Claude Code. This uses the standard
claude mcp addcommand. - 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.
- Run the command below in a terminal. The
Authorizationheader is only needed if you set Bearer auth. Replace the placeholders with your values. - Run
claude mcp listto confirm the server is registered. - Start
claudeand run a read-only prompt first. - If the server will be used by a team, store the token in a secret manager rather than in shell history.
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.