Generated banner for Using N8n MCP Skills
Generated logo for Using N8n MCP Skills

Using N8n MCP Skills

Romuald CzlonkowskiCommunityCreated by Romuald Czlonkowski

  • Skill
  • Meta (authoring, orchestration, planning, memory)
  • Automation and integrations
  • MIT
  • No issues found

From the author

Use when building, editing, validating, testing, or debugging an n8n workflow through the n8n-mcp MCP server — designing a flow, configuring a node, writing an expression or Code node, wiring credentials, or fixing one that misbehaves. The entry-point skill for the n8n-mcp-skills pack: it routes you to the right specialist skill, gives working knowledge of every n8n-mcp tool from turn one, and states the rules that keep workflows from breaking in production. Always consult it first on any n8n, workflow, node, or automation task — even a quick one-off, and even when the user names no skill — because n8n's surface drifts between versions and the specialist skills prevent silent failures.
— the description by Romuald Czlonkowski

AutoGineer summary

Written by AutoGineer from the skill’s own files, not by the author

This skill serves as the mandatory starting point for any interaction with the n8n-mcp server. It acts as a central router, directing users to specialized skills for specific tasks like node configuration, expression syntax, or error handling. It enforces strict development protocols to prevent common production failures, such as silent data loss or misconfigured connections, and provides a comprehensive overview of the n8n-mcp toolset, including discovery, build, validation, and lifecycle management tools.

What it does

  • Routes users to the correct specialist skill based on the specific n8n task.
  • Provides a unified protocol for building, testing, and validating n8n workflows.
  • Outlines non-negotiable rules for credential management and workflow validation.
  • Maintains a directory of n8n-mcp tools for discovery, editing, and instance management.
  • Offers guidance on handling n8n version drift and live schema inspection.
  • Defines best practices for node selection and code-node usage.

When to use it

  • At the start of any n8n-related task, even for simple or one-off operations.
  • When you are unsure which specialist skill covers your current workflow challenge.
  • Before performing any configuration, validation, or deployment of an n8n workflow.
  • When you need to verify the current status or connection details of an n8n instance.
  • When you suspect tool drift or need to check the latest documentation for an n8n-mcp tool.

Advantages

  • Prevents silent failures by enforcing pre-activation validation and connection inspection.
  • Ensures consistent development practices across different n8n-mcp environments.
  • Reduces errors caused by relying on outdated training data rather than live schemas.
  • Centralizes complex workflow logic into manageable, specialized skill modules.
  • Provides clear guidance on when to use native nodes versus custom code.

Usage examples

“I need to build a new workflow to sync data between two apps in n8n.”
The agent will invoke this router to identify the correct workflow pattern and node configuration skills, ensuring the build follows established best practices.
“My n8n workflow is failing silently, how do I fix it?”
The agent will use this skill to route you to the validation and error-handling experts, ensuring you inspect connections and output values rather than just checking for syntax errors.
“How do I use the HTTP Request node for this API?”
The agent will guide you to check for a native node first, then provide the correct configuration steps or direct you to the tool-expert skill if custom HTTP logic is required.

Install

  1. Download the skill as a ZIP:

    https://mp-staging.autogineer.com/agent-skills/czlonkowski/using-n8n-mcp-skills/download
  2. Unzip it into the cross-client skills folder of your project:

    mkdir -p .agents/skills && unzip using-n8n-mcp-skills.zip -d .agents/skills

Documentation by Romuald Czlonkowski

Using the n8n-mcp Skills

This is a router, not a reference. It tells you which skill owns the rules for what you're about to do. The skill bodies hold the actual guidance — invoke them with the Skill tool. When in doubt, load more skills rather than fewer.

The community n8n-mcp server and n8n itself move faster than any model's training cutoff. Tool names, parameters, node typeVersions, and default behaviors drift between releases. When you spot drift — a tool a skill names doesn't exist, a parameter shape doesn't match what get_node returns, behavior differs from what a skill describes — trust the live tool, tell the user, and suggest updating the pack and the instance.

Non-negotiables

Three rules with no exceptions. Each one prevents a class of workflow that looks correct but breaks in production.

  1. Invoke the relevant skill before any n8n action — not just before MCP calls. Before writing an expression, configuring a node, designing a workflow, wiring a connection, or writing Code, invoke the matching skill. PreToolUse hooks remind you on the highest-impact tool calls, but they exist only in the Claude Code plugin install. Everywhere else — Claude.ai skill uploads, and any client that loads this pack as an Agent Plugin (Codex, Cursor, Copilot and the rest) — nothing nudges you and it's on you. Assume you are un-hooked unless you have seen a hook fire this session.

  2. Validate AND verify before activating. Run validate_workflow (or n8n_validate_workflow by id) before you activate, and call n8n_get_workflow after every create or update to inspect the connections object. Validation alone misses silently dropped wires, Merge index off-by-one, and error outputs that were never wired. Validation passing means the JSON is well-formed — not that the workflow is correct. A green test run isn't proof either: JS errors inside {{ }} resolve silently to null (a Filter with a broken condition drops every item and still shows success), so inspect the output values. See n8n-expression-syntax.

  3. Secrets never go in text fields. Tokens, API keys, and passwords always go through the n8n credential system. If no native node exists, use the HTTP Request node with the official credential type. A Set node holding a token referenced via {{ $json.token }} is a leak with extra steps. See n8n-mcp-tools-expert.

Lean on skills, not training data

n8n changes constantly. "Remembered" parameter names are often silently wrong — they validate as plain strings and then do nothing at runtime. If a skill contradicts your memory, trust the skill. If get_node contradicts a skill, trust the tool and flag the drift.

Strong defaults

These are the defaults; the Code exceptions below are a closed list.

Native node first, Code last. Pick in this order: the service's own node (HTTP Request only when no node covers the operation), then a native node for the job, then a short expression inside that node, then Code. A function body or several statements inside {{ }} is code: it belongs in a Code node.

JobUse
Flag that only picks a route; dropping itemsconditions in IF / Switch / Filter
Constant, error or return itemEdit Fields (Set)
Restore earlier context$('Node').item
Pick rows after a Data Table getthe get's order by + limit
Group and sumSummarize
Items to one array / array to itemsAggregate / Split Out
Join two listsMerge (combine by fields)
Diff or sync two listsCompare Datasets
Dedupe, also across runsRemove Duplicates
Top-NSort + Limit
DatesDate & Time, or a Luxon one-liner
XML / HTML / Markdown / CSV / XLSXXML, HTML, Markdown, Extract From File / Convert To File
Paging an API (no service node)HTTP Request's pagination option
Throttle callsHTTP Request's batching option, or Loop + Wait
Hash, HMAC, UUIDCrypto (+ Webhook raw body)

Code is right only for: loops or recursion no node expresses, state across runs, parsing no node handles, libraries, heavy all-items work on queue-mode workers (thousands of items, stated or measured), or one short Code node (~15 lines) replacing 4+ glue nodes that only reshape data. Every Code or HTTP Request node that stays gets the note Why Code: <native node considered> — <reason> (or Why HTTP:). See n8n-node-configuration and n8n-code-javascript.

  • A Set that only re-maps fields for the next node is the antipattern. Put those expressions in the next node. Edit Fields as a named step is fine. See n8n-expression-syntax.

  • Per-item iteration is automatic. Don't add a Loop Over Items node to "make it loop" when default per-item execution already handles the case.

  • Configure from the live schema, never from memory. get_node before you set parameters. See n8n-node-configuration.

Red flags: "about to ___" → invoke ___

If you catch yourself thinking any of these, stop and invoke the named skill first.

ThoughtInvoke
"This workflow is simple, I'll just build it"n8n-workflow-patterns — most "simple" flows ship at 10+ nodes
"I'll add a Set node to map these fields"n8n-expression-syntax — a Set that only re-maps for the next node is the antipattern; named steps are fine
"I'll just use a Code node, it's easier"the job table above, then n8n-code-javascript — Code only for the closed list, with a Why Code: note
"The user mentioned data, I'll write Python"n8n-code-javascript — default JS; Python (n8n-code-python) only on explicit ask
"I'm writing code an AI agent will call"n8n-code-tool — a different runtime contract from the Code node
"I'll call this API with HTTP Request"n8n-mcp-tools-expert — search_nodes for the service's own node first; a kept HTTP node gets Why HTTP:
"I'll wire a Merge with 3 sources"n8n-node-configuration — Merge defaults to 2 inputs (numberInputs); the 3rd silently drops
"Validation passed, I'm ready to activate"n8n-validation-expert + n8n-workflow-patterns — run the antipattern scan
"Validation threw an error I don't understand"n8n-validation-expert — what each error and warning means, and which are must-fix vs. best-practice advice
"I'll reference $json.x here"n8n-expression-syntax — prefer $('Node').item.json.x in branchy workflows
"This webhook/scheduled flow is happy-path only"n8n-error-handling — wire an error branch on every fallible node; 4xx caller faults, 5xx yours
"I'll pass this file/image through as JSON"n8n-binary-and-data — file contents live in $binary, and can't cross the agent-tool boundary
"I'll wire up an AI agent and give the model some tools"n8n-agents — tool names & descriptions ARE the prompt; memory, structured output, and topology have traps
"I'll copy this logic into another workflow" / "this is getting big"n8n-subworkflows — extract a reusable sub-workflow; search before building
"I'll create that credential / open that workflow" (account has >1 instance)n8n-multi-instance — name the target with instance: "<name>"; unnamed calls hit a default other chats can move

Skill index

SkillReach for it when
using-n8n-mcp-skillsThis router (auto-loaded). Names the skill that owns your task.
n8n-mcp-tools-expertChoosing or calling any n8n-mcp tool; node discovery; credentials; data tables; security audit; templates
n8n-workflow-patternsDesigning or building a workflow; picking an architecture (webhook / HTTP API / database / AI agent / scheduled / batch)
n8n-node-configurationConfiguring any node; operation-aware required fields; property dependencies; surgical field edits
n8n-expression-syntaxWriting {{ }}, $json/$node/$now; mapping data between nodes; the transform gatekeeper; Set-node discipline
n8n-validation-expertInterpreting validation errors/warnings; false positives; the validation loop; auto-fix; reviewing an existing workflow
n8n-code-javascriptAny Code node in JavaScript; data access; this.helpers; DateTime; SplitInBatches loop patterns
n8n-code-pythonA Code node specifically requested in Python; native runtime (_items/_item only, imports blocked by default, legacy _input code fails)
n8n-code-toolThe AI-agent-callable Custom Code Tool (toolCode) — returns a string, no $fromAI/$input
n8n-error-handlingWebhook/API or unattended workflows; wiring error outputs; retries; 4xx/5xx response shapes; silent failures
n8n-binary-and-dataFiles, images, PDFs, attachments, uploads/downloads, vision; passing a file to/from an agent tool
n8n-subworkflowsReusable / multi-step builds; Execute Workflow; extracting shared logic; Define-Below inputs; all-vs-each; exposing a workflow as an agent tool
n8n-agentsAI Agent / LLM-with-tools / Text Classifier; tool design & $fromAI; system prompts; structured output; memory; RAG; human review; chat bots
n8n-multi-instanceAccounts with several instances (n8n_instances present); the per-call instance argument; parallel agents; switch; credential writes; an unexpected NOT_FOUND, wrong/empty reads, INSTANCE_* errors
n8n-self-hostingDeployment, not workflow-building — self-hosting / installing / deploying n8n on a VM (Docker Compose + Caddy, single vs queue mode), or updating / backing up / hardening it. Triggers on its own; not part of the build flow above.

n8n-mcp tools — working knowledge from turn one

Qualified names look like mcp__<server>__<tool> (<server> is usually n8n-mcp).

Two tiers, and how to tell which one you have. The documentation and validation tools below work offline and are always present. The n8n_* management tools talk to a live n8n instance and appear only once one is connected. If they are absent, nothing is broken and nothing needs a retry — say so and point the user at the fix for their install:

  • Hosted (https://api.n8n-mcp.com/mcp) — sign in through the client's OAuth prompt on first use, then connect the n8n instance in the dashboard. No env vars or API keys in config.

  • Self-hosted (npx n8n-mcp, Docker) — the server needs N8N_API_URL and N8N_API_KEY in its environment, exported before the client starts.

n8n_health_check confirms a working connection and returns the resolved instance.

Discovery & docs

  • tools_documentation — meta-docs for every tool; {topic, depth:"full"} with ai_agents_guide or (n8n-mcp 2.97+) expression_helpers.

  • search_nodes — find nodes by keyword.

  • get_node — node info. Takes a single SHORT-form nodeType (nodes-base.httpRequest, nodes-langchain.agent), plus detail (minimal/standard/full) and mode (info/docs/search_properties/versions).

  • validate_node — validate one node's config in isolation (profiles: minimal/runtime/ai-friendly/strict).

  • search_templates / get_template — the template library (by keyword, nodes, task, metadata).

Build & edit

  • n8n_create_workflow — create from full workflow JSON.

  • n8n_update_partial_workflow — incremental diff ops ({id, operations:[…]}): addNode, updateNode, patchNodeField, addConnection, setNodeGroups, activateWorkflow, etc. Preferred for edits.

  • Canvas groups (n8n 2.28+) survive your edits; adjustments show in details.warnings. Create or change them with the setNodeGroups op. See n8n-mcp-tools-expert.

  • n8n_update_full_workflow — full replacement.

  • n8n_autofix_workflow — auto-fix common issues.

  • n8n_deploy_template — deploy a template to the instance.

Validate (necessary, not sufficient — always pair with the antipattern scan)

  • validate_workflow — full JSON in, errors/warnings/fixes out. Node types here are LONG form (n8n-nodes-base.set).

  • n8n_validate_workflow — validate a deployed workflow by {id} (no node JSON to inspect).

Inspect & lifecycle

  • n8n_get_workflow — fetch a workflow (full / structure / active / filtered / minimal). Use it to verify connections after edits; mode="filtered" + nodeNames reads one heavy node without pulling a whole workflow that can truncate client-side.

  • n8n_list_workflows — list/filter (search before duplicating logic).

  • n8n_delete_workflow; n8n_workflow_versions (history/rollback/diff; source: "native" includes UI edits); n8n_instances (multi-instance accounts only; every n8n tool also takes a per-call instance name — see n8n-multi-instance); n8n_health_check (resolved instanceName, plus officialMcp: is the instance-level server below reachable).

Test & run

  • n8n_test_workflow — runs real nodes (Code, HTTP, DB writes, sends all fire). Ask the user before running when side effects exist. method picks the path: auto (default) and trigger fire a webhook/form/chat trigger over HTTP on an active workflow; prepare/pinned/direct go through n8n's own MCP server and run workflows with no HTTP trigger (Manual, Schedule, sub-workflow) — see n8n-mcp-tools-expert.

  • n8n_executions — list/inspect executions. There is no execute_workflow tool.

  • n8n_evaluations — evaluation runs, metrics and per-case results (n8n ≥ 2.30); run/cancel (≥ 2.32). run fires real nodes across the whole dataset, so ask the user first. For a 403, see n8n-mcp-tools-expert.

Data, folders, credentials, audit

  • n8n_manage_datatable — Data Table CRUD, filtering, dry-run. addColumn/deleteColumn/renameColumn change an existing table's columns (the Public API cannot) through n8n's MCP server — deleteColumn drops the column's values along with it.

  • n8n_manage_folders — folder CRUD (n8n ≥ 2.19). Place workflows with parentFolderId or the moveToFolder op; verify via the folder's get counts, not the workflow. delete without transferToFolderId ARCHIVES the folder's workflows. See n8n-mcp-tools-expert.

  • n8n_manage_credentials — credential CRUD + getSchema discovery.

  • n8n_audit_instance — security audit (hardcoded secrets, unauthenticated webhooks, error-handling gaps).

Instance-level MCP server — a second endpoint alongside the Public API, gated on N8N_MCP_ACCESS_TOKEN (n8n 2.34+). n8n_health_check reports whether it is reachable; without it these calls answer NOT_CONFIGURED.

  • n8n_manage_agents — persisted n8n Agents: a standalone assistant artifact with its own lifecycle (model, instructions, skills, tasks, memory, channels), not the AI Agent workflow node. call runs it live with real credentials and may return approvals[]; publish only when the user asks. See n8n-agents.

  • n8n_explore_node_resources — resolve a node's live dropdown / resource-locator values through a real credential instead of guessing an ID. See n8n-node-configuration.

  • n8n_list_catalog — list projects (to get a projectId) or tags. The one tool here that also works without the token.

  • The same server backs n8n_test_workflow prepare/pinned/direct, source: "native" versions and Data Table column actions, gated per workflow: WORKFLOW_NOT_EXPOSED means "Available in MCP" is off, and turning it on (exposeToMcp: true) is a persistent change — ask the user first.

Node-type form trap: get_node / validate_node take SHORT form (nodes-base.set); workflow JSON inside validate_workflow / n8n_create_workflow uses LONG form (n8n-nodes-base.set). Mixing them is a common, silent mistake — see n8n-mcp-tools-expert.

The protocol, in order

  1. Recognize the matching skill from the index and invoke it before the first MCP call.

  2. Skim tools_documentation once per session to refresh the tool surface if you're unsure.

  3. get_node before configuring any node — read the live schema, don't assume.

  4. Build / edit, then validate_workflow before activating and n8n_get_workflow after to check connections.

  5. Surface any drift you notice (missing tool, changed parameter, diverging behavior).

When in doubt

  • Can't find a workflow the user built in the UI? The most common cause is per-workflow MCP access being off. Ask them to open it in n8n, go to Settings, and enable MCP access.

  • User says it's broken? Believe them. Re-check parameters against get_node, trace data references, inspect the execution. See n8n-validation-expert.

  • No skill fits and the task is non-trivial? Ask before guessing.

These are opinionated best practices, not laws. Disagree with a call? It's all markdown — edit the skill.

Files

README.md

Using n8n-mcp Skills (Router)

The always-on router for the n8n-mcp-skills pack. Loaded into every session by the plugin's SessionStart hook, it tells Claude which skill owns the task at hand, gives working knowledge of every n8n-mcp tool from turn one, and states the cross-cutting rules.


What This Skill Teaches

Core Concepts
  1. Route first — recognize which skill owns your task before the first MCP call

  2. Three non-negotiables — invoke the matching skill before any n8n action; validate AND verify connections before activating; secrets only via the credential system

  3. Lean on skills + live tools, not training data — n8n drifts faster than the model cutoff

  4. Strong defaults — native node first, Code last (a job-to-node table, a closed list of Code exceptions, and a Why Code: note on every Code / HTTP Request node that stays); a Set that only re-maps fields for the next node is the antipattern; per-item iteration is automatic

  5. The n8n-mcp tool surface — a one-line summary of every tool, including the SHORT-vs-LONG node-type-form trap and the absence of an execute_workflow tool


Skill Activation

This skill is loaded automatically at session start (via the SessionStart hook) when the pack is installed as a Claude Code / Codex plugin. It also activates by description whenever the user mentions n8n, workflows, nodes, or automation — which makes it work as a plain skill on Claude.ai too, where hooks are not available.

Example queries:

  • "Build me an n8n workflow that …"

  • "Which n8n skill should I use for …?"

  • "How do I edit a workflow with the n8n-mcp tools?"


File Structure

SKILL.md

The router itself — loaded every session.

  • The three non-negotiables and strong defaults

  • The "about to ___ → invoke ___" red-flags table

  • The skill index (which skill owns what)

  • A compact reference for every n8n-mcp tool

  • The protocol, in order; and the common "when in doubt" cases

This skill has no reference files — it is intentionally a thin router. Depth lives in the skills it points to.


Integration with Other Skills

This skill points to every other skill in the pack. It does not duplicate their content; it routes to them. The skills it most often hands off to first are n8n-mcp-tools-expert (tool usage), n8n-workflow-patterns (architecture), and n8n-node-configuration (node setup).


How It's Loaded

The plugin's hooks/session-start.sh reads this SKILL.md and injects it as additionalContext at the start of every session, re-firing on resume/clear/compact so the protocol survives compaction. If the file is missing or hooks aren't available, the session proceeds normally and the skill still activates by its description.


Version

Version: 1.0.0 Compatibility: n8n-mcp MCP server; hooks require the Claude Code / Codex plugin install.


Credits

Part of the n8n-skills project.

Remember: this is a router. It names the skill that owns your task — then get out of the way and let that skill do the work.

Requirements and compatibility

Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta

“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.

Needs: Needs an MCP server, Needs an API key, Needs Python, Needs Node.js

Security

No issues found by our static scan· No issues found

A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.

Attribution and licence

Created by
Romuald Czlonkowski
Publisher
Romuald Czlonkowski (Community)
Source
czlonkowski/n8n-skills · skills/using-n8n-mcp-skills · commit e037563
Licence
MIT License (redistribution allowed)
  • LICENSE (added by AutoGineer from LICENSE)
  • ATTRIBUTION.md (written by AutoGineer)
Synced

AutoGineer is not affiliated with or endorsed by Romuald Czlonkowski.

Download ZIP

The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download using-n8n-mcp-skills.zip