What this thread does
The problem
You want Claude Code (or Claude Desktop) to create and change n8n workflows instead of dragging nodes by hand. The first attempts look fine but break on import or at run time: node types or parameters that do not exist, wrong expression syntax, old node versions, and credentials you still have to wire up yourself.
What people use
A June 2026 r/n8n thread asking for real Claude Code setups (post) and a follow-up comparing the options (post) settle on two layers:
1. A live connection to your instance (read, create, update, run workflows):
- n8n's own instance-level MCP server. n8n's docs say workflow building and editing over MCP needs n8n 2.13.0+. Turn it on under Settings > Instance-level MCP (owner or admin), copy the server URL (it ends in
/mcp-server/http) and connect Claude Code with OAuth or an API key. Workflows you want to execute or modify must be marked "Available in MCP"; auto-exposing new workflows is off by default. A March 2026 r/n8n post on 2.14 (post) found it much better than before because the agent can fetch exact TypeScript node types before writing code. - czlonkowski/n8n-mcp (MIT; as of November 2026, v2.103.2, released 19 Nov 2026): a community MCP server with node docs, templates and validation tools, plus workflow management through the n8n API. The top comment in the June thread: Claude chat with the official connector for building, Claude Code with n8n-mcp for "surgical edits".
2. Node knowledge so the agent stops guessing:
- czlonkowski/n8n-skills (MIT): 14 Claude Code skills (expression syntax, MCP tool usage, node configuration, validation, Code node JavaScript and Python, workflow patterns) built for n8n-mcp. Commenters sum it up as "skill is knowledge and MCP is tool" and use both.
- n8n-as-code (MIT): node schemas, templates and git-like sync of workflows as TypeScript files. One commenter running an e-commerce business on n8n says Claude kept failing on fields and credentials with MCP connectors, and that this tool "just works" for them.
Setup that came up more than once
- Keep each workflow's exported JSON in a
workflows/folder and a shortWORKFLOWS.mdwith each workflow's purpose and data contract, so the agent sees the whole system without re-fetching it (two commenters). - Work on a dev instance or an unpublished copy; push to production only after a test run with real data.
- Pin your n8n version. A commenter warns of schema drift when the instance is a few versions behind what the MCP server targets.
Prompt wording
Before configuring any node, look it up (get_node or get_node_types) and use the typeVersion and parameter names from that response, never from memory. Validate the workflow before creating or updating it. Build it unpublished on the dev instance, run it once with test data, and show me the execution result. Do not create or change credentials; list the ones I need to connect.
Common mistakes
- Stale typeVersions. An April 2026 r/n8n post (post) found 30+ nodes on old versions across 23 AI-built workflows because Claude Code hardcoded them from memory instead of calling
get_node. They still ran, but an old IF node (v1 vs 2.3) has an incompatible schema, so migrating it blindly can silently change logic. - Letting the model drive writes. A commenter saw an agent retry a webhook four times and create duplicate records; keep retries and error handling inside the workflow, not in the chat.
- Too many Code nodes. Claude tends to reach for Code nodes where a built-in node exists; ask for built-in nodes first.
- Context overflow. Node catalogs are large; the 2.14 post says long builds hit the context ceiling before 1M context.
Limits
Not run by me. The n8n-mcp version is from GitHub, checked 24 November 2026; the rest is what the posts and n8n's docs say. Not every commenter found it faster than building by hand.
Primary source
Primary source: n8n docs, accessing the n8n MCP server (n8n). Checked: workflow building and editing over MCP from n8n 2.13.0, owner or admin enabling it in Settings, server URL ending in /mcp-server/http, OAuth or API key, the per-workflow Available in MCP toggle, and auto-expose off by default (the docs say it is rolling out from 2.36.0 and may not appear on every instance). The third-party repositories (n8n-mcp, n8n-skills, n8n-as-code) and the n8n-mcp release were checked on 24 November 2026; the Reddit reports remain unverified.
Started from a post by @Mission-Dentist-5971, packaged by the editor. Original post