Generates, audits, debugs, and manages n8n workflows through MCP tools.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent ā or use 1-click editor setup below.
This server is confirmed live ā we successfully called its tools/list endpoint directly (see the verified badge above). We haven't yet sandbox-tested the stdio install command below specifically, which is a separate, ongoing check.
š” Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by N8n MCP.
node_scaffoldScaffold 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.
workflow_generateGenerate 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).
workflow_lintLint 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.
workflow_diffSemantic 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.
execution_explainDiagnose 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.
execution_replayBuild 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.
AutomateLab-tech/n8n-mcp MCP server gives MCP clients focused tools for building and troubleshooting n8n workflows. Its stateless operations accept descriptions or JSON directly, so they can generate a workflow, inspect its structure, compare two versions, or analyze an execution without connecting to n8n. The server also provides live-instance operations for listing, reading, creating, activating, and inspecting workflows and executions.
Workflow generation supports webhook, schedule, and RSS triggers; common services such as Slack, Google Sheets, Discord, Gmail, Notion, and HTTP; and AI Agent arrangements with LangChain agent, chat model, memory, and optional HTTP tool connections. Generated workflows include node IDs, positions, connections, and node type versions.
The tools are exposed over MCP using dot-notation groups for nodes, workflows, and executions. node_scaffold produces one TypeScript file containing an INodeType skeleton for a custom n8n node. It does not write files or make network requests. workflow_lint applies deterministic checks for issues such as deprecated node types, missing credentials, invalid connections, absent type versions, expression references to missing nodes, and several n8n-specific configuration risks.
For debugging, provide execution JSON from the n8n interface or from the executions API. execution_explain summarizes each node, identifies zero-item outputs and unresolved expressions, and reports errors with hints. execution_timeline instead presents timing, item counts, and error status in a markdown table. execution_replay creates a smaller workflow containing a Manual Trigger, pinned seed data, and the selected target node.
workflow_diff compares workflows semantically, including node fields, connections, and settings, while ignoring small position changes and timestamp metadata. The live tools use the n8n API and can be combined with generation, linting, and explanation for describe-to-deploy or deployed-workflow audit flows.
Install the AutomateLab-tech/n8n-mcp MCP server with Node.js 20 or later. A local MCP host can run npx -y @automatelab/n8n-mcp. The README provides configuration examples for Claude Desktop and Cursor, including the server command and optional environment variables.
The stateless tools do not need n8n credentials. Set N8N_API_URL and N8N_API_KEY to enable live-instance tools. The API key is created in n8n under Settings, API, and Create API key. Runtime policy variables can restrict access: N8N_MCP_READ_ONLY disables selected mutating tools, N8N_MCP_DISABLED_TOOLS prevents named tools from registering, and workflow ID or tag allowlists constrain REST operations.
Generated workflow output is non-deterministic because node IDs and webhook paths are randomized. The server generates code and JSON but does not write files for node scaffolding. Live operations require access to an n8n API and the two n8n credentials described above; stateless analysis cannot retrieve data from a running instance by itself.
The AutomateLab-tech/n8n-mcp MCP server uses dot-notation tool names in the current release. Older prompts or scripts using the former n8n_* names need updating. Creating a workflow leaves it inactive, so activation is a separate operation. The server is released under the MIT license.
Factual signals from GitHub, npm, and our automated checks ā not a rating.
No reviews yet ā be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/automatelab-tech-n8n-mcp)<a href="https://allmcps.com/mcp/automatelab-tech-n8n-mcp"><img src="https://allmcps.com/api/badge/automatelab-tech-n8n-mcp?style=directory" alt="N8n MCP on AllMCPs" /></a>