MCP server for n8n with tools for generating workflows, linting, diagnosing failed executions, and driving live n8n instances. Built for AI agents.
The n8n MCP server demonstrates strong definition quality overall with well-structured tool naming, comprehensive descriptions, and explicit input/output schemas. All 12 tools follow verb_noun or verb_object conventions. Descriptions are substantial (100-300+ chars), exceeding baseline minimums. Input schemas use Zod with proper type definitions and parameter descriptions. Output shapes are explicitly defined via output-schemas.js. However, there are notable gaps: (1) output schemas are referenced but not visible in source (reduces confidence), (2) some parameter descriptions lack constraint details (format, range), (3) error handling guidance is mentioned in descriptions but implementation details not visible, (4) composition between tools could be clearer (e.g., how workflow_generate output feeds into workflow_create).
Diagnose a failed or surprising n8n execution. Paste the execution JSON (from the n8n UI 'Show details' or `GET /executions/:id?includeData=true`); returns a per-node summary highlighting nodes that returned 0 items, unresolved `={{ ... }}` expressions, errors with hints, and LLM token usage. Hits the most common debugging pain point: items 'silently disappearing' between nodes. Deterministic, rule-based.
List executions for a workflow on the connected n8n instance. Optionally include full execution data (includeData=true). Requires N8N_API_URL and N8N_API_KEY environment variables.
Build a self-contained replay workflow that exercises a single node from a larger workflow. The replay workflow is Manual Trigger -> Replay Seed (Code node with pinned items) -> target node. Optional `inputItems` or an `execution` payload pins what the target sees. Useful for iterating on one stubborn node without re-running the whole pipeline. Returns workflow JSON ready to import or push via workflow_create.
Render an n8n execution as a per-node timeline: start offset, duration, items in/out, error flag. Complements execution_explain — that one surfaces *why*, this surfaces *when*. Output is a markdown table sorted by start time. Deterministic.
Output schemas are referenced (output-schemas.js) but not visible in provided source code; cannot verify completeness, field naming consistency, or adherence to mxe:include-chaining-ids pattern. High-confidence schema scoring requires seeing the actual definitions.
REST API tools (workflow_list, workflow_get, workflow_create, workflow_activate, execution_list) have minimal descriptions (1-2 sentences) lacking guidance on prerequisites (N8N_API_URL/N8N_API_KEY environment variables). Descriptions should explain discovery, when to use, and dependencies.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | C | 66 | 2025-06-18+ | v2 |
Scaffold a TypeScript skeleton for an n8n custom node from a plain-English description. Returns a single TypeScript file implementing INodeType with description, credentials reference, and an execute method stub. Pure code generation — no network, no filesystem writes.
Activate or deactivate a workflow on the connected n8n instance. Requires N8N_API_URL and N8N_API_KEY environment variables.
Create a new workflow on the connected n8n instance. Accepts a workflow JSON object and returns the created workflow with its assigned ID. Requires N8N_API_URL and N8N_API_KEY environment variables.
Semantic diff between two workflows. Reports nodes added / removed / modified (with field-level deltas: type, typeVersion, parameters, credentials, disabled, position), connection topology changes, and settings drift. Ignores noise (small position deltas, createdAt/updatedAt). Pair with workflow_get to compare deployed vs local. Deterministic.
Generate a valid n8n workflow JSON from a plain-English description. Handles webhook/schedule/RSS triggers, common action nodes (Slack, Google Sheets, Discord, Gmail, Notion, HTTP), and AI Agent setups (LangChain root agent + chat model + memory + optional HTTP tool, wired with ai_languageModel / ai_memory / ai_tool connections). Returns workflow JSON with unique node IDs, connections, positions, and typeVersion on every node. Output is non-deterministic (random node IDs and webhook paths).
Fetch a single workflow by ID from the connected n8n instance. Returns the full workflow JSON including nodes, connections, and settings. Requires N8N_API_URL and N8N_API_KEY environment variables.
Lint an n8n workflow JSON. Returns concrete errors and warnings: missing credentials, deprecated node types (Function -> Code, spreadsheetFile -> convertToFile/extractFromFile), broken connections, missing or non-numeric typeVersion, duplicate node names or IDs, AI Agent missing ai_languageModel sub-node, Webhook missing webhookId, IF node still on v1 condition schema, rate-sensitive nodes without retries, Code-node sandbox violations, expression staleness (`$('NodeName')` referencing missing nodes), manualTrigger in active workflows, disabled-but-wired nodes, empty Set nodes, HTTP method/body mismatches, Schedule trigger DST risk, credential drift, webhook test paths in active workflows. Deterministic, rule-based.
List workflows on the connected n8n instance. Optionally filter by tags. Requires N8N_API_URL and N8N_API_KEY environment variables.
Parameter constraints are documented inline in descriptions (e.g., 'PascalCase', '1+ chars') but not formally expressed as JSON Schema constraints (pattern, minLength, minItems). This forces LLMs to parse natural language rather than reading structured metadata.
Error handling patterns mentioned in descriptions ('Returns concrete errors', 'Deterministic, rule-based') but recovery guidance is absent. No examples like 'If validation fails, check nodes for [specific issue]. Call workflow_lint to see all errors.' LLMs need explicit next-step guidance.
REST API tools (workflow_create, workflow_activate) lack confirmation or dry-run patterns despite being destructive (activation enables webhook triggers, creation persists state). No mention of idempotency or retry safety in descriptions.
execution_replay accepts optional 'inputItems' and 'execution' parameters with overlapping semantics. Descriptions do not clarify mutual exclusivity, precedence, or which combination is preferred. LLMs may pass both, causing ambiguity.