Menu

1 / 2

n8n MCP Server: Build, Lint, and Debug Workflows From Your AI Agent

DEV Community·Artyom Rabzonov·6 months ago
#2W32lgrv
#ai#automation#n8n#webdev#tools
Reading 0:00
15s threshold

Overview

"Install @automatelab/n8n-mcp , point your AI agent at it, and get nine tools that generate, lint, and diagnose n8n workflow JSON correctly the first time."

The package addresses a specific problem: generic language models produce n8n JSON that imports successfully but fails during runtime due to incorrect connection topology, deprecated node types, and silent data loss between nodes.

Nine Tools: Four Stateless, Five Live-Instance

Stateless tools (no n8n instance required):

n8n_generate_workflow - Converts plain English descriptions to workflow JSON with AI-Agent-aware topology

n8n_scaffold_node - Generates TypeScript files for custom node packages

n8n_lint_workflow - Identifies errors and warnings in workflow JSON

n8n_explain_execution - Diagnoses failed executions with per-node analysis

Live-instance tools (require API credentials):

n8n_list_workflows

n8n_get_workflow

n8n_create_workflow

n8n_activate_workflow

n8n_list_executions

Installation

npm install -g…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.