Skip to content
Skills Library
Personal productivity · Building & coding

n8n

/n8n

Use when the user wants to build, debug, or extend an n8n workflow - generating workflow JSON from a description, scaffolding a custom TypeScript node, building an AI agent (LangChain cluster), iterating over items, writing Code-node JS, linting an existing workflow, diagnosing a failed execution, or driving a live n8n instance via REST.

Repository
n8n-mcp ↗
Licence
MIT
Last repository change
22.10.2026

Assessment and security

95/ 100Class: good
Format20 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
34
Scripts
0
HTML comments
0
URLs in SKILL.md
4
Deprecation

No signals detected. Repository changed on 22.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Use when the user wants to build, debug, or extend an n8n workflow - generating workflow JSON from a description, scaffolding a custom TypeScript node, building an AI agent (LangChain cluster), iterating over items, writing Code-node JS, linting an existing workflow, diagnosing a failed execution, or driving a live n8n instance via REST.

Original author description

Use when the user wants to build, debug, or extend an n8n workflow - generating workflow JSON from a description, scaffolding a custom TypeScript node, building an AI agent (LangChain cluster), iterating over items, writing Code-node JS, linting an existing workflow, diagnosing a failed execution, or driving a live n8n instance via REST.

How it works

  1. Tool routing
  2. When the user describes a flow
  3. When the user pastes execution data and says "why is X empty?"
  4. Loading deeper context
  5. Server setup
Original SKILL.md headings · 76 lines, 588 words
SKILL.md preview
---
name: n8n
description: Use when the user wants to build, debug, or extend an n8n workflow - generating workflow JSON from a description, scaffolding a custom TypeScript node, building an AI agent (LangChain cluster), iterating over items, writing Code-node JS, linting an existing workflow, diagnosing a failed execution, or driving a live n8n instance via REST.
version: 0.4.0
license: MIT
homepage: https://github.com/ratamaha-git/n8n-mcp
compatibility:
  hosts:
    - claude-code
    - cursor
    - claude-desktop
    - windsurf
    - vscode
    - zed
    - continue
    - cline
    - jetbrains
    - warp
metadata:
  npm: "@automatelab/n8n-mcp"
  mcpName: io.github.ratamaha-git/n8n-mcp
---

# n8n

Pairs with the `@automatelab/n8n-mcp` server. The server exposes 9 MCP tools; this skill tells you when to use which and where to load deeper context.

## Tool routing

Tool names use dot-notation: `node.*`, `workflow.*`, `execution.*` (renamed in v0.4.0 from `n8n_*`).

**Stateless tools** (work without any n8n instance):

- `workflow_generate` - plain-English description → workflow JSON. Detects AI-agent intent and emits a LangChain cluster.
- `node_scaffold` - description → single `INodeType` TypeScript file for a custom n8n package.
- `workflow_lint` - workflow JSON → list of issues (deprecated types, missing `typeVersion`, broken connections, AI Agent without `ai_languageModel`, IF v1 schema, etc.).
- `execution_explain` - failed/surprising execution JSON → diagnosis. Catches the #1 n8n pain point: items "silently disappearing" between nodes. Also flags unresolved `={{ ... }}` expressions and surfaces LLM token usage.

**Live-instance tools** (require `N8N_API_URL` + `N8N_API_KEY` env vars):

- `workflow_list` - paginate workflows; filter by active/tags/name.
- `workflow_get` - fetch a workflow by id. Pair with `workflow_lint` to audit deployed workflows.
- `workflow_create` - POST a generated workflow. Strips read-only fields. Workflow is created inactive.
- `workflow_activate` - flip active on/off.
- `execution_list` - browse executions; pass `includeData: true` for the full body. Pair with `execution_explain`.

Default chains:
- *Generate, then ship*: `workflow_generate` → `workflow_lint` → (if env configured) `workflow_create` → `workflow_activate`.
- *Audit a deployed workflow*: `workflow_list` → `workflow_get` → `workflow_lint`.
- *Diagnose a failure*: `execution_list {status: "error"}` → pick one → `execution_list {includeData: true, ...}` → `execution_explain`.

## When the user describes a flow

1. Run `workflow_generate` with their description verbatim.
2. Run `workflow_lint` on the result.
3. If lint clean → return the JSON. If warnings → return JSON + a one-line summary of warnings. If errors → fix them (usually by editing the JSON inline or re-prompting the user) before returning.

## When the user pastes execution data and says "why is X empty?"

1. Run `execution_explain` with the JSON.
2. Read the findings; if the answer is in the report (e.g. "Node Y returned 0 items because IF condition routed to other branch"), summarize. Otherwise inspect the workflow node's `parameters` block manually.

## Loading deeper context

The skill stays small to keep your context window free. Load from `references/` only when the task actually needs that depth:

- `references/expressions.md` - `$json`, `$input.all()`, `$("Node Name")`, auto-iteration. **Load when**: writing or debugging expressions, or the user says "use `$json[0]`" (common mistake).
- `references/ai-agents.md` - LangChain cluster topology, `ai_languageModel` / `ai_memory` / `ai_tool` connection types, sub-node catalog. **Load when**: building an AI agent or the lint flags an agent without a language model.
- `references/code-node.md` - Code node return-shape contract, what breaks, sandbox limits. **Load when**: writing a Code node or the user reports "Code node fails silently."
- `references/workflow-json.md` - `nodes`/`connections` structure, required fields, credential block. **Load when**: hand-editing workflow JSON or merging two workflows.
- `references/iteration.md` - Split Out vs Loop Over Items vs Aggregate. **Load when**: the user says "loop over an array" or "process N at a time."
- `references/deprecations.md` - retired node types and their replacements. **Load when**: lint flags a deprecation or the user is migrating an old workflow.

## Server setup

Add to the user's MCP config (Cursor: `~/.cursor/mcp.json`, Claude Desktop: `claude_desktop_config.json`):

```json
{
  "mcpServers": {
    "n8n": {
      "command": "npx",
      "args": ["-y", "@automatelab/n8n-mcp"],
      "env": {
        "N8N_API_URL": "https://your-n8n.example.com",
        "N8N_API_KEY": "n8n_..."
      }
    }
  }
}
```

The `env` block is optional — the 4 stateless tools work without it. Get an API key from n8n: Settings → API → Create API key.

---

Developed by [AutomateLab](https://automatelab.tech). Source: [github.com/ratamaha-git/n8n-mcp](https://github.com/ratamaha-git/n8n-mcp).
Files in this package (34)
  • .dockerignore 1 KB
  • .gitignore 1 KB
  • .mcp.json 1 KB
  • ACTION.md 6 KB
  • CONTRIBUTING.md 1 KB
  • Dockerfile 1 KB
  • GEMINI.md 3 KB
  • GITHUB-ACTION-SETUP.md 4 KB
  • LICENSE 1 KB
  • README.md 9 KB
  • SECURITY.md 1 KB
  • SKILL.md 5 KB
  • action.yml 2 KB
  • fly.toml 1 KB
  • gemini-extension.json 1 KB
  • glama.json 1 KB
  • llms-install.md 5 KB
  • openclaw.plugin.json 1 KB
  • package-lock.json 67 KB
  • package.json 2 KB
  • railway.toml 1 KB
  • render.yaml 1 KB
  • server.json 1 KB
  • smithery.yaml 1 KB
  • tsconfig.json 1 KB
  • examples/workflow-ai-agent-webhook.json 2 KB
  • examples/workflow-rss-to-discord.json 2 KB
  • examples/workflow-stripe-to-slack.json 3 KB
  • references/ai-agents.md 4 KB
  • references/code-node.md 2 KB
  • references/deprecations.md 2 KB
  • references/expressions.md 2 KB
  • references/iteration.md 3 KB
  • references/workflow-json.md 3 KB

Versions

RepositoryScoreLicence
This page · automatelab-tech/n8n-mcp95MIT
ericrisco/rsc-harness100MIT
TerminalSkills/skills100Apache-2.0
naveedharri/benai-skills100MIT
felipefontoura/bento100MIT
PIXARTSeu/Synapse100AGPL-3.0
poly-gents/syncolab-skills100Apache-2.0
LeoYeAI/openclaw-master-skills95MIT
envigoinnovations/subscriby-agentic-kit90MIT

Database snapshot: 13.11.2026 · package version 6deff2b28e57 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 90agent-workflow
    Create, update, run, resume, or continue agent workflows. Use when the user asks to create or fix workflow JSON, execute an existing workflow, run a workflow with a prompt, resume a workflow run, or continue the next node in a waiting multi-step workflow.
  • 100n8n-workflow-sdk
    Build n8n workflows as TypeScript code with the official @n8n/workflow-sdk package: define nodes and connections, validate them, convert between n8n JSON and SDK code, and push the result to an n8n instance. Use when a user asks to create n8n workflows programmatically, generate…
  • 100n8n-builder
    Build, change, debug, review and harden n8n workflows on any instance (self-hosted or cloud) through n8n-mcp tools, n8n's own instance MCP or the REST API. Use for any n8n or automation task: designing a workflow (webhook, HTTP API, database, scheduled, batch, AI agent),…
  • 100langchain-core-workflow-b
    Build LangChain agents with tools for autonomous task execution. Use when creating AI agents, implementing tool calling, or building autonomous workflows with decision-making. Trigger with phrases like "langchain agents", "langchain tools", "tool calling", "langchain…
  • 100workflow-node-setup
    Configure, adjust, debug, and verify React Flow workflow nodes. Use when working on custom node components, especially for node handles, multi-channel connections, edge ids/styles, NodeResizer behavior, drag handles, nodrag/nowheel areas, and markdown scroll containers.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.