Library / Claude Code + n8n: What Runs Where / Full guide
Claude Code + n8n: What Runs Where
A G E N T S & A U T O M AT I O N S
Claude Code + n8n
What runs where
Let an AI assistant build and fix your n8n workflows
while n8n runs them reliably: how to connect them,
what to allow and what to keep under your control.
BrightForgeLotus
BrightForgeLotus: Knowledge Unlimited brightforgelotus.com
Created in October 2026
PART 1 · THE IDEA
Claude builds, n8n runs
Who this is for: people who run, or want to run, automations in n8n and wonder what an
AI assistant like Claude Code adds.
The problem: it is unclear whether Claude replaces n8n or works with it. They do
different jobs. An n8n workflow runs the steps you configured every time it triggers and
keeps an execution log. An AI assistant is good at building that workflow from a
description and at explaining or repairing it, but its answers can vary from run to run.
JOB
BETTER AS A FIXED N8N
WORKFLOW
BETTER WITH AN AI
ASSISTANT
Same steps every time: fetch,
filter, send
Yes. Runs on a schedule or trigger. Not needed once built.
Building a new workflow from an
idea
Possible by hand. Yes. Describe it, review the
result.
Fixing or explaining an existing
workflow
Possible by hand. Yes. Ask it to read the
workflow.
Judging messy text: summarise,
classify
Use an AI step, with a human
review step.
Yes, in a chat.
A RULE OF THUMB
Use the assistant to create and maintain workflows. Use n8n to run them. If an AI step
sits inside a workflow, add a human approval before anything is sent or published.
In our own setup, n8n runs the recurring content workflows. The same split works for
most small teams.
BrightForgeLotus · Claude Code + n8n Page 2
PART 2 · CONNECTING THEM
Three pieces, often confused
PIECE WHAT IT IS USE IT FOR
n8n's built-in MCP
server (instancelevel MCP)
Part of n8n itself. Lets MCP clients such as
Claude Code search, run, create and edit
workflows and data tables on your
instance.
Letting Claude Code work directly
with your instance. Building and
editing needs n8n 2.13 or newer.
n8n-mcp
(community project,
MIT)
A separate MCP server that gives an
assistant knowledge of n8n nodes, their
properties and example workflows.
Helping the assistant build correct
workflows. Free hosted tier of 100
tool calls a day, or self-host.
n8n-skills
(community project)
14 skills for Claude Code, plus a router
skill, that teach it to build n8n workflows
with n8n-mcp.
Better first-time results when
building.
n8n also has two workflow nodes for MCP: the MCP Server Trigger turns one workflow
into its own MCP server exposing only tools you design, and the MCP Client Tool lets a
workflow call external MCP servers. They are different from the instance-level server
above.
NOT THE SAME THING
n8n's built-in server connects your assistant to your instance. The community n8nmcp connects it to knowledge about n8n. You can use either or both.
BrightForgeLotus · Claude Code + n8n Page 3
PART 3 · SET IT UP
Connect Claude Code to n8n
These steps follow n8n's documentation for its built-in MCP server.
1. Enable MCP access. In n8n, open Settings, then Instance-level MCP, and select
Enable MCP access. This needs the instance owner or admin role.
2. Copy the server address. From Settings, Instance-level MCP, Connect a client. The
address ends in /mcp-server/http. (The per-client setup dialog is available from n8n
2.33.0; older versions use the manual steps in the docs.)
3. Add it to Claude Code, replacing the placeholder with your own n8n domain:
claude mcp add --transport http n8n https://YOUR-N8N-DOMAIN/mcp-server/http
4. Authorise. In Claude Code run /mcp, select n8n and complete the sign-in. n8n
recommends OAuth. An API key with a bearer header is the alternative; keep that key
out of chats.
5. Choose what is visible. n8n does not expose all workflows. You switch on MCP access
for each workflow you want clients to see. One exception: the search tool can show
previews of every workflow your user can view.
GOOD TO KNOW
All connected clients see the same enabled workflows; you cannot restrict a workflow
to one client. You can review and revoke connected clients under Instance-level MCP.
To switch the feature off entirely on a self-hosted instance, n8n documents the setting
N8N_DISABLED_MODULES=mcp.
BrightForgeLotus · Claude Code + n8n Page 4
PART 4 · SAFE USE
What the tools can do, and how to stay in control
n8n's MCP server offers tools for searching, testing and running workflows, publishing
them, editing them, reading execution results and managing data tables. Some are
harmless reads. Others change things.
TOOL WHAT THE N8N DOCS SAY TAKE CARE BECAUSE
execute_workflow Runs a workflow. You must choose manual mode
(tests the current version) or production mode
(runs the published version).
Production mode can send
real emails or messages.
publish_workflow Publishes (activates) a workflow so it can run in
production.
It turns a draft into live
automation.
update_workflow Applies targeted edits to an existing workflow. It changes a workflow you
may rely on.
test_workflow Tests with pinned (simulated) data for triggers,
credentials and HTTP requests.
Other nodes still run normally,
including file and command
nodes.
list_credentials Lists credentials you can access, never their
secrets (from n8n 2.21.0).
It reveals which accounts are
connected.
Seven habits
1. Never let an AI edit a production workflow directly. The n8n-mcp README says
exactly this: copy first, test in a development setup, keep backups. 2. Enable MCP only
on workflows you want visible. 3. Prefer manual mode while testing. 4. Review any
workflow before publishing it. 5. n8n keeps workflow versions, so you can look at history
and restore one. 6. Add a human approval to AI steps that send or publish; n8n
documents human-in-the-loop for agent tools. 7. Use a scoped account, revoke clients
you no longer use, and keep credentials out of chats.
BrightForgeLotus · Claude Code + n8n Page 5
PART 5 · TRY IT
Three starter prompts
Run these on a test instance first. We have not run them ourselves.
1 · Look, do not touch
Using the n8n connection, list the workflows available to you
and explain in one sentence what each one does. Do not change,
run or publish anything.
2 · Build a draft
Create a new workflow called [name] that does this: [describe
the steps]. Use a Manual Trigger so I can test it. Do not publish
it. Tell me which nodes you used and what I must configure.
3 · Explain and review
Open the workflow [name]. Walk me through it node by node,
mention anything that could fail or send data somewhere
unexpected, and suggest fixes. Do not edit it yet.
LIMITS, SOURCES AND LAST-CHECKED DATE
The assistant can be wrong, so you stay the reviewer. Building needs n8n 2.13 or
newer and list_credentials needs 2.21 or newer. Community projects are maintained
by individuals. Checked on 5 October 2026: docs.n8n.io (Use n8n MCP server,
Connect to n8n MCP server, MCP client examples, MCP server tools reference) and the
READMEs of czlonkowski/n8n-mcp and czlonkowski/n8n-skills. Not hands-on tested by
us.
BrightForgeLotus · Claude Code + n8n Page 6
