An MCP server for n8n that gives Claude, Cursor, and other AI agents tools for generating workflows, linting, diagnosing failed executions, and driving live n8n instances.
n8n-mcp is an MCP project maintained in the ratamaha-git/n8n-mcp repository. The maintainer describes its purpose as “An MCP server for n8n that gives Claude, Cursor, and other AI agents tools for generating workflows, linting, diagnosing failed executions, and driving live n8n…”. Read the project documentation for the complete scope.
The documented npm package is @automatelab/n8n-mcp. The configuration below comes from the maintainer’s example; adapt its paths and account values to your environment.
The example declares N8N_API_URL, N8N_API_KEY. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.
Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.
Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.
| Tool | What it does |
|---|---|
| workflow_generate | |
| node_scaffold | Description → single INodeType TypeScript file for a custom n8n package. |
| workflow_lint | |
| workflow_diff | Two workflows → semantic diff (nodes added/removed/modified, connections, settings). |
| execution_explain | |
| execution_replay | Workflow + node → self-contained replay workflow that exercises just that node. |
| execution_timeline | Execution JSON → per-node timeline table (start, duration, items in/out, errors). |
| workflow_list | Paginate workflows; filter by active/tags/name. |
| workflow_get | Fetch a workflow by id. |
| workflow_create | POST a workflow. Strips read-only fields. |
| workflow_activate | Flip active on/off. |
| execution_list | Browse executions; pass includeData: true for the full body. |
{
"mcpServers": {
"n8n": {
"command": "npx",
"args": [
"-y",
"@automatelab/n8n-mcp"
],
"env": {
"N8N_API_URL": "https://your-n8n.example.com",
"N8N_API_KEY": "YOUR_N8N_API_KEY"
}
}
}
}From the project documentation. Replace placeholders and example paths before connecting.
| Variable | Description | Required |
|---|---|---|
| N8N_API_URL | Declared in the maintainer’s client configuration. | Check documentation |
| N8N_API_KEY | Declared in the maintainer’s client configuration. | Check documentation |
Stop letting your assistant hallucinate n8n node parameters — this server hands it the real schemas, templates and validation.
Enables AI assistants to interact with and manage n8n workflows through natural language.
Dify Workflows MCP exposes configured Dify applications as assistant tools through a local TypeScript server.
Integrate Linear project management with Claude for enhanced workflow automation.
Build and run agents and automations across hundreds of apps using natural language.
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs