n8n Workflow Builder

v1.0.0Business Applicationsstable

🪄 MCP server for programmatic creation and management of n8n workflows. Enables AI assistants to build, modify, and manage workflows without direct user intervention through a comprehensive set of tools and resources for interacting with n8n's REST A

ai-toolsmcpmodel-context-protocoln8nworkflow-automation
Share:
83
Stars
0
Downloads
0
Weekly
0/5

What is n8n Workflow Builder?

n8n Workflow Builder is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to 🪄 mcp server for programmatic creation and management of n8n workflows. enables ai assistants to build, modify, and manage workflows without direct user intervention through a comprehensive set of to...

🪄 MCP server for programmatic creation and management of n8n workflows. Enables AI assistants to build, modify, and manage workflows without direct user intervention through a comprehensive set of tools and resources for interacting with n8n's REST A

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

Features

  • 🪄 MCP server for programmatic creation and management of n8n

Use Cases

Programmatically create and manage n8n workflows.
Build workflow automations through AI agents.
Interact with n8n REST API for workflow orchestration.
spences10

Maintainer

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

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx mcp-n8n-builder

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 Workflow Builder

The mcp-n8n-builder MCP server lets AI assistants programmatically create, read, update, delete, and activate n8n workflows through n8n's REST API, without any direct user interaction with the n8n UI. You can ask Claude to build a workflow that sends a Slack message when a new GitHub issue is opened, list all inactive workflows, or check the execution history of a specific workflow — and the server translates those intents into precise n8n API calls. It is designed for teams that want to manage n8n workflow automation through conversational AI rather than manual drag-and-drop interface work.

Prerequisites

  • Node.js 18 or later installed (for npx execution)
  • A running n8n instance (self-hosted or n8n Cloud) with API access enabled
  • An n8n API key generated from your n8n instance (Settings > API)
  • An MCP-compatible client such as Claude Desktop, Cursor, or Windsurf
1

Get your n8n API key and host URL

Log into your n8n instance, go to Settings > n8n API, and generate an API key. Note your n8n host URL — for self-hosted instances it is typically http://localhost:5678/api/v1, and for n8n Cloud it follows the pattern https://your-instance.app.n8n.cloud/api/v1.

2

Add the server to your MCP client config

Open your MCP client configuration file and add the mcp-n8n-builder entry with your n8n host URL and API key.

{
  "mcpServers": {
    "n8n-workflow-builder": {
      "command": "npx",
      "args": ["-y", "mcp-n8n-builder"],
      "env": {
        "N8N_HOST": "http://localhost:5678/api/v1",
        "N8N_API_KEY": "your-n8n-api-key-here",
        "OUTPUT_VERBOSITY": "concise"
      }
    }
  }
}
3

Set OUTPUT_VERBOSITY to concise

n8n workflow JSON can be very large and consume thousands of tokens. Setting OUTPUT_VERBOSITY to 'concise' returns summarized responses for workflow lists and operations, keeping your context window manageable. Use 'full' only when you need the complete workflow JSON.

4

Restart your MCP client

Save the configuration file and restart your MCP client. The workflow management tools for creating, listing, updating, activating, and deleting n8n workflows will become available.

5

Test by listing your workflows

Ask Claude to list all workflows in your n8n instance. This confirms the connection is working and gives you an overview of what already exists.

n8n Workflow Builder Examples

Client configuration

Claude Desktop configuration connecting to a self-hosted n8n instance with concise output to minimize token usage.

{
  "mcpServers": {
    "n8n-workflow-builder": {
      "command": "npx",
      "args": ["-y", "mcp-n8n-builder"],
      "env": {
        "N8N_HOST": "http://localhost:5678/api/v1",
        "N8N_API_KEY": "your-n8n-api-key-here",
        "OUTPUT_VERBOSITY": "concise",
        "CACHE_ENABLED": "true",
        "CACHE_TTL": "60"
      }
    }
  }
}

Prompts to try

Example prompts that create and manage n8n workflows through Claude.

- "List all active workflows in my n8n instance"
- "Create a workflow that triggers on a webhook and sends a Slack notification with the payload data"
- "Show the execution history for the workflow named 'Daily Report' and tell me if any runs failed"
- "Deactivate all workflows that haven't run successfully in the last 30 days"
- "Create a workflow that polls a REST API every hour and inserts new records into a Postgres database"
- "Duplicate the 'Customer Sync' workflow and rename the copy to 'Customer Sync - Test'"

Troubleshooting n8n Workflow Builder

401 Unauthorized errors when calling n8n API

Verify N8N_API_KEY is correct and that the API is enabled in your n8n instance (Settings > n8n API > Enable API). For n8n Cloud, the API key is different from your login password.

N8N_HOST URL is not reachable

Make sure your n8n instance is running and the URL includes the /api/v1 path. For self-hosted: http://localhost:5678/api/v1. For n8n Cloud: https://your-instance.app.n8n.cloud/api/v1. Test with curl: curl -H 'X-N8N-API-KEY: your-key' http://localhost:5678/api/v1/workflows.

Workflow JSON responses are too large and hit context limits

Set OUTPUT_VERBOSITY to 'concise' in your env config. Avoid fetching full workflow details for all workflows at once — first list workflows to get their IDs, then request details for specific ones.

Frequently Asked Questions about n8n Workflow Builder

What is n8n Workflow Builder?

n8n Workflow Builder is a Model Context Protocol (MCP) server that 🪄 mcp server for programmatic creation and management of n8n workflows. enables ai assistants to build, modify, and manage workflows without direct user intervention through a comprehensive set of tools and resources for interacting with n8n's rest a It connects AI assistants to external tools and data sources through a standardized interface.

How do I install n8n Workflow Builder?

Follow the installation instructions on the n8n Workflow Builder GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with n8n Workflow Builder?

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

Is n8n Workflow Builder free to use?

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

n8n Workflow Builder Alternatives — Similar Business Applications Servers

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

n8n

189.1k

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

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. ✨

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": { "mcp-n8n-builder": { "command": "npx", "args": ["-y", "mcp-n8n-builder"] } } }

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

Read the full setup guide →

Ready to use n8n Workflow Builder?

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