n8n-workflow-builder
AI assistant integration for n8n workflow automation through Model Context Protocol (MCP). Connect Claude Desktop, ChatGPT, and other AI assistants to n8n for natural language workflow management.
claude mcp add --transport stdio makafeli-n8n-workflow-builder npx @makafeli/n8n-workflow-builder \ --env N8N_HOST="http://localhost:5678" \ --env N8N_API_KEY="your-api-key-here"
How to use
This MCP server connects AI assistants to your n8n workflow automation platform. It enables you to list, create, update, execute, and monitor n8n workflows directly from AI-assisted conversations. By configuring the MCP client (for example Claude Desktop) to talk to this server, you can issue natural language commands to search for workflows, generate new workflow definitions, trigger runs, and retrieve workflow status and outputs. The server uses the n8n API behind the scenes to perform actions, ensuring secure access through your n8n API key.
How to install
Prerequisites:
- Node.js v18+ installed on your machine
- Access to an n8n instance with a valid API key
Installation steps:
-
Install the MCP server package via NPX (recommended for quick start):
- npx @makafeli/n8n-workflow-builder
-
If you prefer local development, clone and install:
- git clone https://github.com/makafeli/n8n-workflow-builder.git
- cd n8n-workflow-builder
- npm install
- npm run build (if a build step exists)
- npm start
-
Set environment variables to connect to your n8n instance:
- export N8N_HOST="http://localhost:5678"
- export N8N_API_KEY="<your_n8n_api_key>"
-
Run the MCP server:
- npx @makafeli/n8n-workflow-builder
Additional notes
Environment variables are required to connect to your n8n instance. Ensure your n8n API key has the necessary permissions for workflow management. If you deploy in a production environment, consider securing the API key and restricting access to the MCP client. The server is designed to work with MCP-compatible clients (e.g., Claude Desktop, ChatGPT integrations). If you encounter connectivity issues, verify N8N_HOST is reachable from the MCP host and that the API key is valid.
Related MCP Servers
memcord
🧠 Privacy-first MCP server for AI memory management. Save, search & organize chat history with intelligent summarization.
penpot
MCP server for Penpot - Connect AI assistants to Penpot design platform via Model Context Protocol
mcp-windows-automation
🚀 AI-Powered Windows Automation Server using Model Context Protocol (MCP) | Control Windows apps, automate tasks, and manage systems through natural language commands with Claude, ChatGPT & other AI assistants | 80+ automation tools
youtube
A comprehensive Model Context Protocol (MCP) server providing real-time YouTube Data API access for AI assistants. Features 14 functions including intelligent content evaluation with technology freshness scoring for knowledge base curation.
mcp-privilege-cloud
A production-ready Model Context Protocol (MCP) server for CyberArk Privilege Cloud integration. Enables AI assistants and MCP clients to securely interact with privileged account management, safe operations, and platform configurations through 8 comprehensive tools.
code-buddy
Your AI-powered coding companion for Claude Desktop. MCP server with 23+ dev tools for file operations, git integration, code analysis, and more. Works with any project on your system.