What the n8n MCP Server Does for You
n8n can act as an MCP server with the MCP Server Trigger node. Here is what that means, how it differs from n8n's client side, and what to check before you expose workflows to outside agents.
- published
MCP is an open-source standard for connecting AI applications to external systems. MCP servers expose your data and tools. MCP clients are the applications that connect to those servers. n8n can sit on either side of that line. This page covers the server side, where n8n offers workflows to outside AI agents. The trade each side makes is described in what MCP clients and servers offer each other.
What the n8n MCP server is
The docs say the MCP Server Trigger node lets n8n act as a Model Context Protocol server. The same docs call it an entry point into n8n for MCP clients. In plain terms, a chat app or other AI client connects to your n8n instance, sees a list of tools, and runs them.
The docs say you can build and manage agents from an MCP client through n8n's instance-level MCP server. That is a second server n8n offers, at the instance level. Here, n8n is the thing being called.
Server vs. client: which side of MCP n8n is on
The two directions get mixed up often, so it helps to name them. When n8n runs the MCP Server Trigger, n8n is the server. An outside AI application is the client. It calls in.
When n8n connects to an external MCP server to give an agent more tools, n8n is on the client side. That side is covered in the material on the n8n AI agent. The server side is what you expose. The client side is what you consume.
What external agents can call through the MCP Server Trigger node
The docs say the MCP Server Trigger node only connects to and executes tool nodes. So an agent cannot wander through your whole instance. It can only reach the tools you attach.
The docs for this node say the Custom n8n Workflow Tool node lets you make n8n workflows available to clients. You build a workflow that does a job, wrap it as a tool, and the outside agent can run that job on request.
The specification says servers can offer resources, prompts and tools to clients. This node sticks to tools. Plan around that when you design what to expose.
Transports and connection details
The docs say the MCP Server Trigger node supports Server-Sent Events (SSE) and streamable HTTP. Standard input/output (stdio) transport is not supported.
That last part matters for desktop apps. Some desktop MCP clients expect stdio. You cannot hand them your n8n URL directly. More on that below.
Test and production MCP URLs
The docs say the node has two MCP URLs, test and production. The docs for this node say publishing the workflow is what registers a production MCP URL.
The docs also say a production MCP URL doesn't display workflow data, but you can view production executions. So you can still debug a live setup after handover, through the executions list rather than the URL itself.
Build against the test URL. Publish when the workflow is ready, and point the client at the production URL.
Authentication and the URL path
The docs for this node say clients connecting to your MCP URL can be asked to authenticate. Switch that on before anything goes live for a client.
The docs say the Path field holds a randomly generated MCP URL path by default. They also say you can set your own MCP URL path, for example to keep endpoint URLs consistent.
The specification says hosts must obtain explicit user consent before invoking any tool. It also says explicit user consent to, and understanding of, all data access and operations is required. Consent happens on the client side, but it is a reason to keep the tool list small and named clearly.
Connecting desktop and web MCP clients
The docs for this node say the MCP Server Trigger node accepts connections from Claude Desktop. The method is a gateway that proxies SSE messages to stdio. That is the workaround for the missing stdio support.
For the web side, the docs say claude.ai asks users to sign in to n8n even when Authentication is set to None. Expect that prompt and warn the client about it, so it does not look like a mistake.
Deployment notes: queue mode and reverse proxies
Two deployment details can break a working setup. The docs say the MCP Server Trigger node works as expected in queue mode with a single webhook replica. They also say that with multiple webhook replicas in queue mode, you must route all /mcp* requests to one dedicated webhook replica.
The docs also say that behind a reverse proxy like nginx, you need to disable proxy buffering for the MCP endpoint.
Where to go next
If you want to build your own server rather than use n8n's node, read how to build an MCP server. For ideas of what other teams expose, see MCP server examples. Start small, expose one tool, test both URLs, then add more.