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,…
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
Claude Code
$ npx -y skills add czlonkowski/n8n-mcp --skill n8n-mcp-tools-expert --agent claude-code
Codex
$ npx skills add czlonkowski/n8n-mcp --skill n8n-mcp-tools-expert -a codex -y
Cursor
$ npx skills add czlonkowski/n8n-mcp --skill n8n-mcp-tools-expert -a cursor -y
Gemini CLI
$ npx skills add czlonkowski/n8n-mcp --skill n8n-mcp-tools-expert -a gemini-cli -y
GitHub Copilot
$ npx skills add czlonkowski/n8n-mcp --skill n8n-mcp-tools-expert -a github-copilot -y
OpenCode
$ npx skills add czlonkowski/n8n-mcp --skill n8n-mcp-tools-expert -a opencode -y
Windsurf
$ npx skills add czlonkowski/n8n-mcp --skill n8n-mcp-tools-expert -a windsurf -y
name: n8n-mcp-tools-expert description: 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.
Master guide for using n8n-mcp MCP server tools to build workflows.
---
n8n-mcp provides tools organized into categories:
1. **Node Discovery** → [SEARCH_GUIDE.md](SEARCH_GUIDE.md) 2. **Configuration Validation** → [VALIDATION_GUIDE.md](VALIDATION_GUIDE.md) 3. **Workflow Management** → [WORKFLOW_GUIDE.md](WORKFLOW_GUIDE.md) 4. **Template Library** - Search and deploy 2,700+ real workflows 5. **Data Tables** - Manage n8n data tables, rows and columns (`n8n_manage_datatable`) 6. **Workflow Folders** - Folder CRUD + workflow placement (`n8n_manage_folders`) 7. **Variables** - Instance variables read as `{{ $vars.KEY }}` (`n8n_manage_variables`, needs a license that includes Variables) 8. **Credential Management** - Full credential CRUD + schema discovery (`n8n_manage_credentials`) 9. **Security & Audit** - Instance security auditing with custom deep scan (`n8n_audit_instance`) 10. **Documentation & Guides** - Tool docs, AI agent guide, Code node guides 11. **Agents** - Create, configure, validate, run and publish persisted n8n Agents (`n8n_manage_agents`, requires `N8N_MCP_ACCESS_TOKEN`) 12. **Node Resource Resolution** - Resolve live dropdown/resource-locator values with a real credential (`n8n_explore_node_resources`, requires `N8N_MCP_ACCESS_TOKEN`) 13. **Instance Catalog** - List projects and tags (`n8n_list_catalog`)
---
| Tool | Use When | Speed | |------|----------|-------| | `search_nodes` | Finding nodes by keyword | <20ms | | `get_node` | Understanding node operations (detail="standard") | <10ms | | `validate_node` | Checking configurations (mode="full") | <100ms | | `n8n_create_workflow` | Creating workflows | 100-500ms | | `n8n_update_partial_workflow` | Editing workflows (MOST USED!) | 50-200ms | | `validate_workflow` | Checking complete workflow | 100-500ms | | `n8n_deploy_template` | Deploy template to n8n instance | 200-500ms | | `n8n_manage_datatable` | Managing data tables and rows | 50-500ms | | `n8n_manage_folders` | Folder CRUD + organizing workflows | 100-500ms | | `n8n_manage_variables` | Instance variables (`$vars`) | 100-500ms | | `n8n_manage_credentials` | Credential CRUD + schema discovery | 50-500ms | | `n8n_audit_instance` | Security audit (built-in + custom scan) | 500-5000ms | | `n8n_autofix_workflow` | Auto-fix validation errors | 200-1500ms | | `n8n_manage_agents` | Persisted n8n Agent CRUD/validate/publish | 150-400ms; `call` action: 5-60s | | `n8n_explore_node_resources` | Resolve live loadOptions/listSearch values | 200 ms - 5 s | | `n8n_list_catalog` | List projects or tags | 50-300ms |
---
**Workflow**:
1. search_nodes({query: "keyword"})
2. get_node({nodeType: "nodes-base.name"})
3. [Optional] get_node({nodeType: "nodes-base.name", mode: "docs"})**Example**:
// Step 1: Search
search_nodes({query: "slack"})
// Returns: nodes-base.slack
// Step 2: Get details
get_node({nodeType: "nodes-base.slack"})
// Returns: operations, properties, examples (standard detail)
// Step 3: Get readable documentation
get_node({nodeType: "nodes-base.slack", mode: "docs"})
// Returns: markdown documentation**Common pattern**: search → get_node (18s average)
**Workflow**:
1. validate_node({nodeType, config: {}, mode: "minimal"}) - Check required fields
2. validate_node({nodeType, config, profile: "runtime"}) - Full validation
3. [Repeat] Fix errors, validate again**Common pattern**: validate → fix → validate (23s thinking, 58s fixing per cycle)
**Workflow**:
1. n8n_create_workflow({name, nodes, connections})
2. n8n_validate_workflow({id})
3. n8n_update_partial_workflow({id, operations: [...]})
4. n8n_validate_workflow({id}) again
5. n8n_update_partial_workflow({id, operations: [{type: "activateWorkflow"}]})**Common pattern**: iterative updates (56s average between edits)
Three structural mistakes in generated node JSON break the n8n UI even when the workflow validates:
1. **Never emit a `credentials` block with a placeholder ID.** A fake ID like `"id": "REPLACE_ME"` renders the credential selector permanently disabled and non-clickable in the n8n UI ("No credentials yet") — the user has to recreate the node from scratch. If you don't know the real credential ID, **omit the `credentials` block entirely**; an absent block shows a normal empty dropdown the user can click. Use `n8n_manage_credentials({action: "list"})` to discover real credential IDs first.
// ❌ Breaks the credential selector
"credentials": {"httpHeaderAuth": {"id": "REPLACE_ME", "name": "My API Key"}}
// ✅ Unknown ID → omit credentials block; user picks in UI
// ✅ Known ID (from n8n_manage_credentials list) → use the real ID2. **Generate UUID v4 values for node `id`** — not human-readable strings like `"http-list-node"`. n8n's frontend uses node IDs for form binding and credential component initialization; non-UUID IDs cause subtle UI breakage.
3. **Use the current `typeVersion`** for each node — check `get_node` rather than hardcoding remembered versions (e.g. httpRequest is at 4.4+,
n8n-MCP is an open-source MCP server that lets Claude, ChatGPT, Cursor, and other AI assistants operate n8n: read failed executions, edit workflows in place, validate and test them, manage credentials, and build new workflows.
Design n8n AI agents the right way. Use when building or editing any @n8n/n8n-nodes-langchain.* AI node — an AI Agent, LLM chain,…
Handle files and binary data in n8n correctly. Use when working with files, images, PDFs, attachments, uploads or downloads,…
Write, review, or debug JavaScript in an n8n Code node. Use when a Code node is already in the workflow (editing it, fixing an…
Write Python in n8n Code nodes (native Python, `language` pythonNative, n8n 2.x). Use when the user explicitly wants Python in a…
Write JavaScript or Python for the n8n Custom Code Tool (@n8n/n8n-nodes-langchain.toolCode) — the AI-agent-callable tool, NOT the…
Wire n8n error handling so failures are loud, structured, and recoverable. Use when building any webhook/API workflow, a…
Use when the user needs to run GitNexus CLI commands like analyze/index a repo, check status, clean the index, generate a wiki,…
Query and invoke tools on MCP servers using fastmcp list and fastmcp call. Use when you need to discover what tools a server…
小红书内容发布技能。支持两种发布模式:(1) 上传图文模式 - 图片+短文;(2) 写长文模式 - 长篇文章+排版模板。 支持两种输入方式:用户提供完整内容和图片/图片URL,直接发布;或提供网页URL,自动提取内容和图片。…