Skip to content
agents.store
devautomation

n8n-dev

n8n workflow automation dev plugin. MCP tools guide (external + native), workflow patterns, expression syntax, validation, node configuration, Code node patterns, REST API reference, CLI recipes, and troubleshooting.

v1.2.7Updated

  • n8n
  • workflow
  • automation
  • dev
  • mcp
  • agents-store

Install

Pick your agent for the steps.

Install on Claude Code

  1. 1.Add the marketplace

    /plugin marketplace add Agents-Store/claude-plugins
  2. 2.Install the plugin

    /plugin install n8n-dev@agents-store-claude-plugins

    Type it inside Claude Code.

Claude Code install docs

What is inside

Skills (21)

  • n8n-api-reference

    n8n REST API reference with all endpoints, authentication, and curl examples. Use when making direct API calls, writing scripts that interact with n8n API, or when MCP tools are unavailable. Reference-only skill.

  • n8n-cli-recipes

    The n8n server CLI for self-hosted instances (execute, export and import of workflows and credentials, publish and unpublish, entities backup, user reset, security audit, community nodes) in npm, Docker or Docker Compose installs. Use when the task is an n8n command run on the host or in the container rather than a REST API or MCP tool call.

  • n8n-examples

    End-to-end n8n workflow development scenarios with step-by-step walkthroughs. Use when starting a new workflow, looking for real-world examples, wanting to see complete workflow creation from start to finish, or asking about "n8n example", "workflow example", "show me how to build", "sample workflow".

  • n8n-agents

    Design n8n AI agents the right way. Use when building or editing any @n8n/n8n-nodes-langchain.* AI node — an AI Agent, LLM chain, Text Classifier, or Information Extractor — and whenever the user mentions AI agents, LLM with tools, tool calling, $fromAI, system prompts, agent memory, sessionId, structured/JSON output, output parser, RAG, vector store, a chat assistant/bot, or human-in-the-loop review. Covers Agent-vs-chain-vs-classifier choice, the model/memory/tools/outputParser slots, tool names/descriptions as prompt, structured output with autoFix, memory, RAG, human review, and chat topologies.

  • n8n-binary-and-data

    Handle files and binary data in n8n correctly. Use when working with files, images, PDFs, attachments, uploads or downloads, base64, vision/multimodal input, or when an AI agent needs a file as tool input or output — and whenever the user mentions $binary, binaryPropertyName, "read the PDF", "attach the file", "send the image", Merge losing binary, or a CDN for chat images. Covers the $binary vs $json split, reading/writing binary, keeping binary alive across transforms with Merge, the agent-tool binary boundary, and the CDN/URL requirement for chat surfaces.

  • n8n-code-javascript

    Write JavaScript code in n8n Code nodes. Use when writing JavaScript in n8n, using $input/$json/$node syntax, making HTTP requests with this.helpers / the $helpers global, working with dates using DateTime, troubleshooting Code node errors, choosing between Code node modes, or doing any custom data transformation in n8n. Always use this skill when a workflow needs a Code node — whether for data aggregation, filtering, API calls, format conversion, batch processing logic, or any custom JavaScript. Covers SplitInBatches loop patterns, cross-iteration data, pairedItem, and real-world production patterns. Also use when asked why a Code node or workflow is slow, which execution mode is faster, or how to cut per-item overhead on large datasets. EXCEPTION — for the AI-agent-callable Custom Code Tool (@n8n/n8n-nodes-langchain.toolCode, a tool attached to an AI Agent), use the n8n-code-tool skill instead; it has a different runtime contract.

  • n8n-code-python

    Write Python in n8n Code nodes (native Python, `language` pythonNative, n8n 2.x). Use when the user explicitly wants Python in a Code node, when migrating old Pyodide/"Python (Beta)" code that used _input/_json/_node/_now, or when a Python Code node fails with NameError, "Security violations detected", "Import of standard library module … is disallowed", "__build_class__ not found", "A 'json' property isn't a dictionary", or "Python runner unavailable". Covers the only two variables (_items/_item), dict-only access, imports blocked by default, the sandbox's denied builtins, accepted return shapes, and how errors interact with onError. JavaScript is the default for Code nodes — native Python has no n8n helpers and, by default, no imports. EXCEPTION — for Python in the AI-agent-callable Custom Code Tool (@n8n/n8n-nodes-langchain.toolCode), use the n8n-code-tool skill instead (input is _query, return must be a string).

  • n8n-code-tool

    Write JavaScript or Python for the n8n Custom Code Tool (@n8n/n8n-nodes-langchain.toolCode) — the AI-agent-callable tool, NOT the workflow Code node. Use when building a Code Tool attached to an AI Agent, writing code that an LLM will invoke, parsing the `query` input, returning a string result, defining an input schema for structured arguments (specifyInputSchema, jsonSchemaExample, DynamicStructuredTool), or troubleshooting errors like "Wrong output type returned", "No execution data available", "The response property should be a string, but it is an object", "Cannot assign to read only property 'name'", or an AI agent that refuses to call the tool. Covers the critical differences between Code node and Code Tool: return format (string vs `[{json:{...}}]`), unavailability of `$fromAI`/`$input`/`$helpers` in the Code Tool sandbox, naming rules for AI invocation, and when to use `toolWorkflow`/HTTP Request Tool instead.

  • n8n-error-handling

    Wire n8n error handling so failures are loud, structured, and recoverable. Use when building any webhook/API workflow, a scheduled or unattended workflow, or any path where a silent failure would drop user-visible work — and whenever the user mentions error handling, onError, continueErrorOutput, error branches/outputs, retries, retryOnFail, Respond to Webhook status codes, 4xx/5xx, Error Trigger, or "my workflow fails silently". Covers per-node error outputs and wiring, retry/self-healing, error-trigger workflows, and 4xx/5xx response shapes.

  • n8n-expression-syntax

    Validate n8n expression syntax and fix common errors. Use when writing n8n expressions, using {{}} syntax, accessing $json/$node variables, troubleshooting expression errors, mapping data between nodes, or referencing webhook data in workflows. Use this skill whenever configuring node fields that reference data from previous nodes — expressions are how n8n passes data between nodes, and getting the syntax wrong is the most common source of workflow errors. Also use when asked whether a complex expression hurts performance.

  • n8n-mcp-tools-expert

    Expert guide for using n8n-mcp MCP tools effectively. Use when searching for nodes, validating configurations, accessing templates, managing workflows, organizing workflows into folders, managing credentials, auditing instance security, or using any n8n-mcp tool. Provides tool selection guidance, parameter formats, and common patterns. IMPORTANT — Always consult this skill before calling any n8n-mcp tool — it prevents common mistakes like wrong nodeType formats, incorrect parameter structures, and inefficient tool usage. If the user mentions n8n, workflows, nodes, or automation and you have n8n MCP tools available, use this skill first.

  • n8n-multi-instance

    Use when an n8n-mcp account targets more than one n8n instance — i.e. the `n8n_instances` tool is available, the user mentions multiple n8n instances or environments (prod vs staging, several teams or clients), a workflow / datatable / credential / execution call returns an unexpected NOT_FOUND or reads data you don't recognize, or a credential create/update/delete is refused with an `INSTANCE_AMBIGUOUS` error. Covers choosing and switching which instance this MCP session targets, verifying the target before high-stakes work — credential writes above all — and recovering from misroutes and ambiguous-write fail-closes. Always consult this skill before operating on a specific instance, before any credential create/update/delete on a multi-instance account, or when a call hits the wrong/empty data or an `INSTANCE_AMBIGUOUS` error.

  • n8n-native-mcp

    Guide for the n8n native (instance-level) MCP server. Use when creating workflows from SDK code, editing workflows with update_workflow operations, executing or testing workflows, publishing/unpublishing, getting node type definitions, calling get_workflow_sdk_reference or get_workflow_best_practices, building first-class n8n Agents (create_agent, mutate_agent, call_agent), or working with the official n8n MCP server. Also use when asking about "native MCP", "n8n SDK", "workflow from code", "execute workflow", "Available in MCP", "instance-level MCP".

  • n8n-node-configuration

    Operation-aware node configuration guidance. Use when configuring nodes, understanding property dependencies, determining required fields, choosing between get_node detail levels, or learning common configuration patterns by node type. Always use this skill when setting up node parameters — it explains which fields are required for each operation, how displayOptions control field visibility, and when to use patchNodeField for surgical edits vs full node updates.

  • n8n-self-hosting

    Deploy a production self-hosted n8n end-to-end to a fresh Linux VM over SSH, using Docker Compose behind a Caddy reverse proxy with automatic HTTPS. Use whenever the user wants to self-host, install, provision, or deploy n8n on their own server/VPS (Hetzner, DigitalOcean, AWS EC2, bare metal) — single/regular mode or queue mode with workers — or to update, back up, restore, or harden such an instance, or make Python Code nodes run on it (task runners). For SELF-HOSTED n8n (Docker), not n8n Cloud and not building workflows. The skill makes the agent ask single-vs-queue first, collect domain/SSH/timezone inputs, generate fresh secrets on the box, and bring the stack up with TLS. Trigger on "deploy n8n", "self-host n8n", "n8n docker compose", "n8n queue mode / workers", "n8n reverse proxy / SSL", "back up / update my n8n", "Python runner unavailable" / "n8nio/runners sidecar", or "we don't want to give every user the OAuth client secret" / "enable Sign in with Google" (credential overwrites).

  • n8n-subworkflows

    Build reusable, composable n8n sub-workflows. Use when extracting shared logic, building anything multi-step or reused across workflows, or any workflow over ~10 nodes — and whenever the user mentions sub-workflows, Execute Workflow, reuse, shared/common logic, modular workflows, "Define Below" inputs, waitForSubWorkflow, mode each vs all, or exposing a workflow as an agent tool. Covers typed sub-workflow inputs, all-vs-each execution, verb-first naming for discovery, stateless vs stateful design, and splitting by input shape.

  • n8n-validation-expert

    Interpret validation errors and guide fixing them. Use when encountering validation errors, validation warnings, false positives, operator structure issues, or need help understanding validation results. Also use when asking about validation profiles, error types, the validation loop process, or auto-fix capabilities. Consult this skill whenever a validate_node or validate_workflow call returns errors or warnings — it knows which warnings are false positives and which errors need real fixes.

  • n8n-workflow-patterns

    Proven workflow architectural patterns from real n8n workflows. Use when building new workflows, designing workflow structure, choosing workflow patterns, planning workflow architecture, or asking about webhook processing, HTTP API integration, database operations, AI agent workflows, batch processing, or scheduled tasks. Always consult this skill when the user asks to create, build, or design an n8n workflow, automate a process, or connect services — even if they don't explicitly mention 'patterns'. Covers webhook, API, database, AI, batch processing, and scheduled automation architectures. Also use when optimizing a slow workflow or speeding up large-item-count processing (node count, batchSize, all-items vs per-item).

  • n8n-setup

    Verify n8n MCP connection and configure n8n MCP servers. Use when the user asks to "verify n8n connection", "check n8n MCP", "test n8n setup", "configure n8n", "set up n8n MCP", or needs to confirm that n8n MCP integration is operational.

  • n8n-troubleshoot

    Diagnose n8n problems in workflow development — MCP connection failures for n8n-mcp-external and n8n-native-mcp, API errors by status code, publish failures such as PUBLISH_FORBIDDEN, execution failures, SQLITE_BUSY, a missing encryption key. Use when something in n8n fails. Validation and expression syntax are covered by n8n-validation-expert and n8n-expression-syntax.

  • using-n8n-mcp-skills

    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.

Agents (1)

  • n8n-developer

    Use this agent when the user needs help building n8n workflows — creating automations, debugging workflow issues, configuring nodes, writing Code node logic, or working with n8n MCP tools, API, or CLI. <example> Context: User wants to build a new n8n workflow user: "Help me create an n8n workflow that receives Stripe webhooks and sends Slack notifications" assistant: "I'll use the n8n-developer agent to design and build the webhook-to-Slack workflow." <commentary> Developer needs help building a workflow from scratch — agent can search nodes, create workflow, and configure connections. </commentary> </example> <example> Context: User is debugging a failing n8n workflow user: "My n8n workflow keeps failing with 'Cannot read property body of undefined' in the Code node" assistant: "I'll use the n8n-developer agent to diagnose the data access issue." <commentary> Developer is debugging a common webhook data access issue — agent knows that webhook data is under $json.body. </commentary> </example> <example> Context: User wants to interact with n8n via API or CLI user: "How do I export all my n8n workflows and import them into a new instance?" assistant: "I'll use the n8n-developer agent to guide the migration using CLI and API." <commentary> Developer needs operational guidance — agent knows both CLI commands and REST API endpoints. </commentary> </example>

README

n8n workflow automation development plugin for Agents Store. Comprehensive knowledge base for building, debugging, and managing n8n workflows and n8n Agents. Targets n8n 2.x (checked against 2.41).

Skills (21)

Vendored from czlonkowski/n8n-skills (15)

Mirrored verbatim from czlonkowski/n8n-skills (MIT) by scripts/sync-n8n-skills.sh. Do not edit them here.

SkillDescription
using-n8n-mcp-skillsUpstream router: which skill owns which task, working knowledge of the n8n-mcp tools
n8n-mcp-tools-expertExternal MCP tools guide — node search, validation, workflow CRUD, templates, credentials, audit
n8n-workflow-patternsProven architectural patterns (webhook, HTTP API, database, AI agent, scheduled)
n8n-node-configurationOperation-aware node configuration with property dependencies
n8n-validation-expertValidation error interpretation and fixing
n8n-expression-syntaxExpression patterns, {{}} syntax, $json / $('Node') references
n8n-code-javascriptJavaScript Code node — $input, $helpers, error patterns
n8n-code-pythonPython Code node on the native runner — _items / _item, imports blocked by default
n8n-code-toolThe AI-agent-callable Custom Code Tool
n8n-agentsAI Agent node design, tools, memory, structured output, RAG, persisted n8n Agents
n8n-error-handlingError outputs, error workflows, retries, response shapes
n8n-subworkflowsReusable sub-workflows, Execute Workflow, workflows as agent tools
n8n-binary-and-dataFiles, images and binary data, including the agent-tool boundary
n8n-multi-instanceTargeting one of several n8n instances safely
n8n-self-hostingDeploying and operating self-hosted n8n (Docker Compose, single and queue mode)

Local (6)

Hand-written for this plugin; the sync never touches them.

SkillDescription
n8n-native-mcpNative (instance-level) MCP guide — SDK workflows, atomic edits, tests, publishing, first-class Agents
api-referenceREST API reference — 154 operations across 26 tags (n8n 2.41.6 public API bundled from the n8n repo), curl examples
cli-recipesServer CLI (publish, export/import, license, users) and the remote @n8n/cli
setupMCP connection configuration and verification
troubleshootCommon errors, diagnostics, and solutions
examplesEnd-to-end scenario walkthroughs

Agent

n8n-developer — Specialist agent for workflow building, debugging, and n8n operations. It inherits all tools, including the configured n8n MCP servers.

Vendored vs local

Vendored (15)Local (6)
Directoriesevery upstream skill directory except the six on the rightn8n-native-mcp, api-reference, cli-recipes, setup, troubleshoot, examples
Source of truthczlonkowski/n8n-skillsthis repository
Changed byscripts/sync-n8n-skills.sh only (rsync --delete)hand
A fix goes toupstream; until it lands it is recorded as "pending upstream" in LEARNINGS.mdthe skill itself

The sync keeps the local list in one place (LOCAL at the top of the script). A new hand-written skill must be added there before the next sync; a directory that is neither local nor upstream is reported as a warning and never deleted.

./scripts/sync-n8n-skills.sh                       # latest upstream v* tag
UPSTREAM_REF=v1.35.0 ./scripts/sync-n8n-skills.sh   # pin a tag

The script prints the upstream commit SHA on stdout, copies the upstream licence to LICENSE-n8n-skills, and a weekly workflow (.github/workflows/sync-n8n-skills.yml, Monday 07:00 UTC, or on demand) opens a PR when anything changed. After a sync run ./scripts/scrub-check.sh plugins/n8n-dev: a finding inside a vendored file gets a baseline line in its own pull request, never an edit of the vendored file.

Prerequisites

This plugin provides knowledge only — no MCP servers are bundled. Configure n8n MCP servers at the project level:

Environment Variables

VariableUsed ByPurpose
N8N_API_URLExternal MCPn8n instance URL — root or ending in /api/v1
N8N_API_KEYExternal MCPPublic API key (Settings → n8n API)
N8N_MCP_ACCESS_TOKENExternal MCP (optional)Instance-level MCP access token; unlocks n8n_test_workflow prepare / pinned / direct, n8n_manage_agents, n8n_explore_node_resources, native version history, data-table column actions. A separate secret from N8N_API_KEY
N8N_NATIVE_MCP_URLNative MCPFull MCP endpoint URL (…/mcp-server/http), from Settings → Instance-level MCP → Connect
N8N_MCP_TOKENNative MCPMCP access token, from Settings → Instance-level MCP → Connect → API key tab

The instance must have MCP enabled (Settings → Instance-level MCP → Enable MCP access, owner or admin, n8n 2.2+; the builder tools need 2.13+). Each workflow a client may run or edit must also be switched on as Available in MCP. OAuth is the recommended sign-in: claude mcp add --transport http n8n-native-mcp https://<n8n-host>/mcp-server/http, then /mcp (keep the name n8n-native-mcp so the tool names in the skills resolve).

MCP Servers

External MCP (recommended for development; npx n8n-mcp pulls the latest release — pin it as n8n-mcp@<version> for a reproducible setup):

{
  "n8n-mcp-external": {
    "command": "npx",
    "args": ["n8n-mcp"],
    "env": {
      "MCP_MODE": "stdio",
      "N8N_API_URL": "${N8N_API_URL}",
      "N8N_API_KEY": "${N8N_API_KEY}",
      "N8N_MCP_ACCESS_TOKEN": "${N8N_MCP_ACCESS_TOKEN:-}"
    }
  }
}

Native MCP (for SDK workflows, tests, publishing and Agents):

{
  "n8n-native-mcp": {
    "type": "http",
    "url": "${N8N_NATIVE_MCP_URL}",
    "headers": {
      "Authorization": "Bearer ${N8N_MCP_TOKEN}"
    }
  }
}

Official n8n resources

  • n8n-io/skills — the official skill pack for the instance-level MCP server
  • n8n docs MCP server: claude mcp add --transport http n8n-docs https://docs.n8n.io/~gitbook/mcp
  • @n8n/cli — remote command-line client over the Public API

Credits

The vendored skills are from n8n-skills by Romuald Czlonkowski (MIT License, see LICENSE-n8n-skills). The local skills, the agent and the sync tooling are by Agents Store.