See the demo

n8n MCP: the MCP Server Trigger, the MCP Client Tool, and what to expose

n8n speaks MCP three ways: the MCP Server Trigger node, the MCP Client Tool node and an instance-level server. What each exposes, and what to keep out.

· 8 min read · Gabriel Sorato

n8n supports MCP in three places, according to its documentation read on November 23, 2026: the MCP Server Trigger node turns a workflow into an MCP server, the MCP Client Tool node lets an n8n agent call tools on an external server, and the instance-level MCP server lets Claude or ChatGPT search and run the workflows you enable. Each takes minutes to wire up. What deserves the time is deciding which tools to expose.

n8n MCP is the set of n8n features that implement the Model Context Protocol: a trigger node that publishes tools to MCP clients, a client node that consumes tools from other servers, and a server built into each instance at a URL ending in /mcp-server/http.

What are the three ways n8n uses MCP?

Here’s what n8n’s docs say about each, as of November 23, 2026:

FeatureDirectionWhat it exposesDocumented auth
MCP Server Trigger noden8n is the serverThe tool nodes attached to that one workflowNone, n8n User Auth (OAuth2), Bearer auth, Header auth
MCP Client Tool noden8n is the clientTools from an external server, filtered by “Tools to Include”Bearer, header, multiple headers, OAuth2 or None
Instance-level MCP servern8n is the serverWorkflow search, runs of enabled workflows, workflow editing, data tablesOAuth or a personal API key

Sources: MCP Server Trigger, MCP Client Tool, Connect to n8n MCP server.

The MCP Server Trigger node has a test URL and a production URL; the production URL is registered only once you publish the workflow. Unlike a normal trigger, it “only connects to and executes tool nodes”: the client lists the tools and calls them one at a time. To expose a whole workflow as a tool, the docs point to the Call n8n Workflow Tool node (n8n). An optional Instructions field is sent to clients when they connect, and clients that support it usually add it to the model’s system prompt.

The MCP Client Tool node sits inside an n8n AI agent. Its “Tools to Include” setting takes All, Selected or All Except. The node panel also has a registry of MCP servers you can sign in to without creating a credential by hand (MCP servers).

The instance-level server is switched on under Settings > Instance-level MCP by an owner or admin, and each workflow needs its own Available in MCP toggle. Since version 2.13.0 the same server can also build and edit workflows (n8n).

What does inconsistent revenue look like in n8n?

Three answers to “what did we sell yesterday”, all from the same n8n instance.

Picture a Shopify brand whose ops lead built three things over three months: a workflow that posts a sales recap to Slack at 8 a.m., an AI agent that answers questions in a team channel, and a daily target alert. Each one reads the orders table that lands in Postgres or BigQuery, through the Postgres or Google BigQuery node. A round-number example, synthetic:

WorkflowHow it computes “yesterday’s revenue”Result
8 a.m. Slack recapSum of total_price, every financial status$124,000
Agent in the channelSQL the model wrote on the spot, refunds excluded$113,000
Target alertLine items only, no shipping or tax, refunds excluded$102,000

Nothing errors. Every run shows green in the Executions tab. The VP reads one figure in Slack and hears another from the agent two hours later, and the first meeting of the day turns into a debate about which one is right. All three queries are valid SQL, and each one uses a different rule.

Why does each workflow compute the metric its own way?

Because the revenue rule lives inside the node, not in a place all three read from.

In the Postgres node, the Execute Query operation runs whatever SQL someone typed (n8n). The rule for refunds, shipping and discounts sits in that text box, invisible to anyone who only sees the output. Duplicating the workflow duplicates the rule; editing one copy doesn’t touch the others.

With an agent it gets worse. n8n lets the model fill tool parameters with the AI button or the $fromAI() function, which the docs describe as using “AI to dynamically fill in parameters” (Use AI for parameters). If the parameter is the SQL query itself, the model decides what counts as a sale in every conversation. That’s metric hallucination: the number comes from real data, and the definition was made up on the spot.

MCP doesn’t change this. The protocol spec defines a tool by name, description and inputSchema. It has no field for what “revenue” means. When an MCP Server Trigger publishes a “query_sales” tool that accepts free SQL, the Claude on the other end inherits the same problem. How an MCP server differs from a plain API is covered in what is an MCP server.

What can a client see through the instance-level server?

More than “enable a workflow” suggests. The tools reference, read November 23, 2026, documents five things worth knowing:

  • search_workflows returns previews of every workflow the user can view, whether or not it’s marked Available in MCP. The docs flag this as “IMPORTANT”.
  • get_workflow_execution returns metadata by default, but with includeData: true it returns the full output of each node. If the workflow processed orders with customer names, emails and addresses, the MCP client can read them.
  • Access “isn’t scoped to each MCP client”: Claude Desktop and ChatGPT connected under the same user see the same enabled workflows (n8n).
  • execute_workflow runs the published version in "production" mode and the current, unpublished version in "manual" mode.
  • Since version 2.24.0 you can toggle MCP access for every workflow in a project or folder at once, and an Auto-expose new workflows setting, off by default, exposes workflows created afterward. Both are convenient, and both widen what a connected client can run without anyone reviewing each workflow.

From version 2.47.0, a protected (read-only) instance blocks every tool not annotated readOnlyHint: true, except execute_workflow in production mode, per the same reference.

How do you audit your n8n instance?

Six checks an instance admin can run in an afternoon.

CheckWhere to lookWhat signals a problem
How many workflows compute revenueSearch the workflow list for “revenue”, “sales”, “GMV”More than one, with different SQL
Who writes the queryQuery field of a Postgres or Google BigQuery node wired to an agentAI button on, or $fromAI() inside the SQL
Trigger authenticationAuthentication on the MCP Server TriggerNone on a production URL
Tools handed to the agentTools to Include on the MCP Client ToolAll on a server that can write
Instance server scopeSettings > Instance-level MCP, Connected clientsA client allowed to create and run workflows it has no reason to touch
Personal data in runsNode output in executions of enabled workflowsCustomer email, phone or address in the results

Sources: MCP Server Trigger, MCP Client Tool, Connect to n8n MCP server.

Then ask the agent “what did we sell yesterday” in three fresh conversations and compare with the Slack recap. If the numbers move, your revenue rule is scattered.

How do you fix it?

1. One definition, outside the workflow. Pull the revenue rule out of each node’s SQL. Write it once, with a name (“net invoiced revenue”), a version and an owner, and have all three workflows read the same result. That’s what a semantic layer holds; what goes into one is in what goes into a semantic layer.

2. Named-metric tools, not free SQL. On the MCP Client Tool, use Selected and expose only tools that return a defined metric. On the MCP Server Trigger, publish “net_revenue(period)”, not “run_query(sql)”. n8n’s own docs say a built-in node used as a tool gives “tighter control” because you fix the operation and pin parameters, while an MCP server gives the agent “more room, at the cost of control” (MCP servers).

3. Authentication on every production URL. On the trigger, use n8n User Auth (OAuth2) or Bearer auth. On the instance server, review Connected clients and tighten Allowed callback URLs, which by default allows any URL (n8n).

4. Read-only credentials for agents. The Postgres node can also delete, insert and update. An agent that only answers questions should connect as a read-only database user, against a replica. Why free-text fields in that data matter is in prompt injection through marketing data, and token scope in MCP security for marketing data.

5. Keep personal data off the path. To answer “which channel drives the most repeat buyers”, the agent doesn’t need an email address. Swap identity for a pseudonymous key before the data reaches the workflow, as in giving an AI agent customer context without exposing PII.

This is where Precisian fits. Ad, analytics, store and ERP data lands in a data lake isolated per customer, on Precisian’s infrastructure, with a semantic layer on top and access through Precisian’s MCP server, API or BI. n8n stays your automation tool: the node points at a metric that’s already defined, and all three workflows return the same number because none of them wrote the math. Precisian doesn’t claim a ready-made n8n connector; the link is MCP or API, the same way any client would connect.

When can’t it be fixed?

When n8n runs multiple webhook replicas without a dedicated route. The docs warn that the MCP Server Trigger relies on SSE or streamable HTTP on one instance; with several replicas, all /mcp* traffic must go to a single replica, or connections “will frequently break” (n8n). The fix is in the infrastructure, and no metric definition helps.

When each client should see only some workflows. The instance server doesn’t restrict workflows per MCP client. If finance’s Claude and marketing’s ChatGPT connect as the same user, they see the same set. The documented way out is separate users and projects.

When the sale was never recorded. A wholesale order closed over email and never entered in Shopify or the ERP isn’t in any table, MCP or not.

When the job is to act, not to measure. If the agent exists to open tickets, send messages or update the CRM, a built-in node with pinned parameters does the job, and a semantic layer adds nothing. In that case Precisian is the wrong choice.

What does this article not cover?

It isn’t a setup guide: n8n’s connection docs have client-by-client steps. It doesn’t compare n8n Cloud and self-hosted pricing, and it doesn’t evaluate the community-built n8n MCP servers on GitHub. The versions cited (2.13.0, 2.24.0, 2.47.0) and menu names were checked on November 23, 2026 and change often. When two or more MCP servers share a chat and each returns its own “revenue”, you get the problem in three MCPs, three revenues.


If more than one n8n workflow sums your sales, start by opening each one’s SQL and writing down what’s in the math and what’s out. Watch a governed MCP answer over an isolated lake, with no contract commitment.