n8n

v1.0.0Business Applicationsstable

A comprehensive MCP server that provides full control over n8n automation workflows through natural language. It offers 43 tools for managing workflows, executions, credentials, and data tables, with safety features like write-mode protection and dou

aiapisautomationclidata-flow
Share:
189,137
Stars
0
Downloads
0
Weekly
0/5

What is n8n?

n8n is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to comprehensive mcp server that provides full control over n8n automation workflows through natural language. it offers 43 tools for managing workflows, executions, credentials, and data tables, with sa...

A comprehensive MCP server that provides full control over n8n automation workflows through natural language. It offers 43 tools for managing workflows, executions, credentials, and data tables, with safety features like write-mode protection and dou

This server falls under the Business Applications category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • init-n8n
  • list-workflows
  • get-workflow
  • create-workflow
  • update-workflow

Use Cases

Automation workflow management
Integration framework control
Workflow execution tracking
Siddharth0903

Maintainer

LicenseMIT License
Languagetypescript
Versionv1.0.0
UpdatedMay 22, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

NPM

npx -y @illuminaresolutions/n8n-mcp-server

Manual Installation

npx -y @illuminaresolutions/n8n-mcp-server

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use n8n

The n8n MCP server is a comprehensive Python-based server that gives AI clients like Claude full control over an n8n automation instance through 43 tools, 8 prompt templates, and 6 browsable resources. It covers the entire n8n REST API surface — workflows, executions, credentials, tags, variables, and data tables — with write-mode protection enabled by default so read operations are always safe. Developers and teams use it to build, debug, and manage complex integration workflows through natural language without touching the n8n UI directly.

Prerequisites

  • Python 3.10 or higher installed
  • A running n8n instance (local via Docker or cloud-hosted)
  • An n8n API key generated from n8n Settings > n8n API
  • An MCP-compatible client such as Claude Desktop or Claude Code CLI
  • Git installed to clone the repository
1

Clone and install the server

Clone the repository, create a Python virtual environment, and install the package in editable mode.

git clone https://github.com/Siddharth0903/n8n-mcp.git
cd n8n-mcp
python3 -m venv .venv
source .venv/bin/activate
pip install -e .
2

Start n8n (if not already running)

If you do not have an n8n instance running, launch one locally using the included Docker Compose file. This starts n8n with a PostgreSQL backend at http://localhost:5678.

docker compose up -d
3

Generate an n8n API key

Open http://localhost:5678 in your browser, complete the initial setup, then go to Settings (gear icon) > n8n API and click 'Create an API key'. Copy the key for the next step.

4

Configure environment variables

Copy the example environment file and edit it with your n8n URL, API key, and write-mode preference. Set N8N_MCP_WRITE_MODE=true only when you want to allow create, update, and delete operations.

cp .env.example .env
# Edit .env with your values:
# N8N_MCP_BASE_URL=http://localhost:5678
# N8N_MCP_API_KEY=your-api-key-here
# N8N_MCP_WRITE_MODE=false
5

Add to your MCP client configuration

Register the server with Claude Desktop by editing the config file. Use the absolute path to the n8n-mcp binary inside your virtualenv. On macOS the config lives at ~/Library/Application Support/Claude/claude_desktop_config.json.

{
  "mcpServers": {
    "n8n": {
      "command": "/absolute/path/to/.venv/bin/n8n-mcp",
      "env": {
        "N8N_MCP_BASE_URL": "http://localhost:5678",
        "N8N_MCP_API_KEY": "your-api-key-here",
        "N8N_MCP_WRITE_MODE": "true"
      }
    }
  }
}
6

Verify the connection

Restart Claude Desktop and ask it to list your n8n workflows. If the server is configured correctly you will see a list of workflows returned from your n8n instance.

n8n Examples

Client configuration

Full Claude Desktop config block for the n8n MCP server using the installed virtualenv binary.

{
  "mcpServers": {
    "n8n": {
      "command": "/Users/yourname/n8n-mcp/.venv/bin/n8n-mcp",
      "env": {
        "N8N_MCP_BASE_URL": "http://localhost:5678",
        "N8N_MCP_API_KEY": "n8n_api_abc123",
        "N8N_MCP_WRITE_MODE": "true",
        "N8N_MCP_TIMEOUT": "30",
        "N8N_MCP_MAX_ITEMS": "100"
      }
    }
  }
}

Prompts to try

Example natural language prompts that exercise the 43 tools and 8 prompt templates the server exposes.

- "List all my n8n workflows and show which ones are active"
- "Run a security audit on my n8n instance and summarize the findings"
- "Create a new workflow that sends a Slack message when a new row is added to my Postgres table"
- "Show me the last 10 executions of the 'Daily Report' workflow and highlight any failures"
- "Debug why my 'Email Sync' workflow keeps failing at the HTTP Request node"

Troubleshooting n8n

Tools are available but create/update/delete operations return 'Write mode disabled'

Set N8N_MCP_WRITE_MODE=true in your environment configuration. By design all mutating operations are blocked until you explicitly opt in.

Server fails to start with 'N8N_MCP_API_KEY is required'

Make sure the N8N_MCP_API_KEY variable is set either in the .env file in the project directory or in the env block of your MCP client config. Generate a key from n8n Settings > n8n API if you have not done so yet.

Claude Desktop cannot find the n8n-mcp binary

The command path must be the absolute path to the binary inside your virtualenv, for example /home/user/n8n-mcp/.venv/bin/n8n-mcp. Relative paths and the bare command name will not work from the MCP client launcher.

Frequently Asked Questions about n8n

What is n8n?

n8n is a Model Context Protocol (MCP) server that comprehensive mcp server that provides full control over n8n automation workflows through natural language. it offers 43 tools for managing workflows, executions, credentials, and data tables, with safety features like write-mode protection and dou It connects AI assistants to external tools and data sources through a standardized interface.

How do I install n8n?

Install via npm with the command: npx -y @illuminaresolutions/n8n-mcp-server. Then add the server configuration to your AI client's JSON config file (e.g., claude_desktop_config.json or .cursor/mcp.json).

Which AI clients work with n8n?

n8n works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is n8n free to use?

Yes, n8n is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.

n8n Alternatives — Similar Business Applications Servers

Looking for alternatives to n8n? Here are other popular business applications servers you can use with Claude, Cursor, and VS Code.

LobeHub

77.5k

🤯 LobeHub is your Chief Agent Operator, organizing your agents into 7×24 operations by hiring, scheduling, and reporting on your entire AI team.

Jeecgboot

46.4k

AI 低代码平台,「低代码 + 零代码」双模式驱动:低代码一键生成前后端代码,零代码 5 分钟搭建系统,AI Skills 一句话画流程、设计表单、生成整套系统。内置 AI聊天、知识库、流程编排、MCP插件等,兼容主流大模型。引领「AI 生成 → 在线配置 → 代码生成 → 手工合并->AI修改」开发模式,消除 Java 项目 80% 的重复工作,提效而不失灵活。

CowAgent

44.7k

CowAgent (chatgpt-on-wechat) 是基于大模型的超级AI助理,能主动思考和任务规划、访问操作系统和外部资源、创造和执行Skills、通过长期记忆和知识库不断成长,比OpenClaw更轻量和便捷。同时支持微信、飞书、钉钉、企微、QQ、公众号、网页等接入,可选择DeepSeek/OpenAI/Claude/Gemini/ MiniMax/Qwen/GLM/LinkAI,能处理文本、语音、图片和文件,可快速搭建个人AI助理和企业数字员工。

Minds Platform

39.2k

Platform dedicated to building an open foundation for applied Artificial Intelligence, designed for people seeking production-ready AI systems they can truly control, extend and deploy anywhere.

Astrbot

32.8k

AI Agent Assistant & development framework that integrates lots of IM platforms, LLMs, plugins and AI feature, and can be your openclaw alternative. ✨

FastGPT

28.1k

FastGPT is a knowledge-based platform built on the LLMs, offers a comprehensive suite of out-of-the-box capabilities such as data processing, RAG retrieval, and visual AI workflow orchestration, letting you easily develop and deploy complex question-

Browse More Business Applications MCP Servers

Explore all business applications servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "n8n": { "command": "npx", "args": ["-y", "@illuminaresolutions/n8n-mcp-server"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use n8n?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides