NEW Browse AI tools across categories — updated daily. See what's new →

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), ite...

Version1.0.0
LicenseMIT
Token count~1,381
UpdatedJun 5, 2026

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.

Install

Quick install

via npx skills · works with 57+ agents
npx skills add https://github.com/ratamaha-git/n8n-mcp
Or pick agent:
npx skills add ratamaha-git/n8n-mcp --agent claude-code
npx skills add ratamaha-git/n8n-mcp --agent cursor
npx skills add ratamaha-git/n8n-mcp --agent codex
npx skills add ratamaha-git/n8n-mcp --agent opencode
npx skills add ratamaha-git/n8n-mcp --agent github-copilot
npx skills add ratamaha-git/n8n-mcp --agent windsurf
More install options

Shorthand — useful for multi-skill repos:

npx skills add ratamaha-git/n8n-mcp

Manual — clone the repo and drop the folder into your agent's skills directory:

git clone https://github.com/ratamaha-git/n8n-mcp.git
cp -r n8n-mcp ~/.claude/skills/
How to use: Once installed, ask your agent to "use the n8n skill" or describe what you want (e.g. "Use when the user wants to build, debug, or extend an n8n workflow - generating"). Requires Node.js 18+.

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.

---
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.generateworkflow.lint → (if env configured) workflow.createworkflow.activate.

  • Audit a deployed workflow: workflow.listworkflow.getworkflow.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):

{
  "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. Source: github.com/ratamaha-git/n8n-mcp.

---

Source: https://github.com/ratamaha-git/n8n-mcp
Author: AutomateLab-tech
Discovered via: skillsdirectory.com
Genre: ai-agents

SKILL.md source

---
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), ite...
---

# 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.

---
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).


---

**Source**: https://github.com/ratamaha-git/n8n-mcp
**Author**: AutomateLab-tech
**Discovered via**: skillsdirectory.com
**Genre**: ai-agents

Related skills 6

running-claude-code-via-litellm-copilot

★ Featured

Use when routing Claude Code through a local LiteLLM proxy to GitHub Copilot, reducing direct Anthropic spend, configuring ANTHROPIC_BASE_URL or ANTHROPIC_MODEL overrides, or troubleshooting Copilot proxy setup failures such as model-not-found, no localhost traffic, or GitHub 401/403 auth errors.

xixu-me 155k
AI & ML

skills-cli

★ Featured

Use when users ask to discover, install, list, check, update, remove, back up, restore, sync, or initialize Agent Skills, mention `bunx skills`, `npx skills`, `skills.sh`, or `skills-lock.json`, ask "find a skill for X", or want help extending agent capabilities with installable skills.

xixu-me 155k
AI & ML

repo-intake-and-plan

★ Featured

Narrow RigorPilot helper for README-first deep learning repo reproduction. Use when the task is specifically to scan a repository, read the README and common project files, extract documented commands, classify inference, evaluation, and training candidates, and return the smallest trustworthy reproduction plan to the main orchestrator. Do not use for environment setup, asset download, command execution, final reporting, paper lookup, or end-to-end orchestration.

lllllllama 127k
AI & ML

image-to-video

★ Featured

Animate any still image on RunComfy — this skill is a smart router that matches the user's intent to the right i2v model in the RunComfy catalog. Picks HappyHorse 1.0 I2V (Arena #1, native audio, identity preservation) for general animations, Wan 2.7 with `audio_url` for custom-voiceover lip-sync, or Seedance 2.0 Pro for multi-modal animation from image + reference video + reference audio. Bundles each model's documented prompting patterns so the caller gets sharper output without burning ite...

agentspace-so 121k
AI & ML

video-edit

★ Featured

Edit existing video on RunComfy — this skill is a smart router that matches the user's intent to the right edit model in the RunComfy catalog. Picks Wan 2.7 Edit-Video (general restyle / background swap / packaging swap, identity + motion preservation), Kling 2.6 Pro Motion Control (transfer precise motion from a reference video to a target character), or Lucy Edit Restyle (lightweight identity-stable restyle / outfit swap). Bundles each model's documented prompting patterns so the skill gets...

agentspace-so 121k
AI & ML

nano-banana-2

★ Featured

Generate images with Google Nano Banana 2 (Gemini-family flash-tier text-to-image) on RunComfy — bundled with the model's documented prompting patterns so the skill gets sharper output than naive prompting against the same model. Documents Nano Banana 2's strengths (rapid iteration, in-image typography rendering, predictable framing, optional web-grounded context), the resolution-tier pricing, the safety-tolerance dial, and when to route to Nano Banana Pro / GPT Image 2 / Flux 2 / Seedream in...

agentspace-so 121k
AI & ML