by makafeli
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.
# Add to your Claude Code skills
git clone https://github.com/makafeli/n8n-workflow-builderThe ultimate AI assistant integration for n8n workflow automation - Connect Claude Desktop, ChatGPT, and other AI assistants directly to your n8n instance for seamless workflow management, creation, and execution through the Model Context Protocol (MCP).
A powerful Model Context Protocol (MCP) server that enables AI assistants to manage n8n workflows seamlessly. Connect your AI tools directly to n8n for automated workflow creation, execution, and management.
No comments yet. Be the first to share your thoughts!
The n8n Workflow Builder MCP Server bridges the gap between AI assistants (like Claude Desktop, Cline, or any MCP-compatible client) and your n8n automation platform. It provides a comprehensive set of tools that allow AI assistants to:
Perfect for teams using n8n who want to leverage AI assistants for workflow automation and management.
Use the hosted version on Smithery.ai - no installation required:
Benefits: No local setup, automatic updates, professional hosting, tool playground.
Run locally with NPX:
npx @makafeli/n8n-workflow-builder
For development or customization:
# Clone the repository
git clone https://github.com/makafeli/n8n-workflow-builder.git
cd n8n-workflow-builder
# Install dependencies
npm install
# Build the project
npm run build
# Start the server
npm start
Configure the following environment variables to connect to your n8n instance:
| Variable | Description | Example |
|----------|-------------|---------|
| N8N_HOST | Your n8n instance URL | http://localhost:5678 or https://your-n8n.com/api/v1 |
| N8N_API_KEY | Your n8n API key | n8n_api_1234567890abcdef... |
# For local testing
export N8N_HOST="http://localhost:5678"
export N8N_API_KEY="your-api-key-here"
# Then run the server
npx @makafeli/n8n-workflow-builder
Add this configuration to your claude_desktop_config.json:
{
"mcpServers": {
"n8n-workflow-builder": {
"command": "npx",
"args": ["@makafeli/n8n-workflow-builder"],
"env": {
"N8N_HOST": "http://localhost:5678",
"N8N_API_KEY": "your-api-key-here"
}
}
}
}
Add this to your Cline MCP settings:
{
"mcpServers": {
"n8n-workflow-builder": {
"command": "npx",
"args": ["@makafeli/n8n-workflow-builder"],
"env": {
"N8N_HOST": "http://localhost:5678",
"N8N_API_KEY": "your-api-key-here"
}
}
}
}
The server works with any MCP-compatible client. Use the same configuration pattern with your client's specific setup method.
The MCP server provides 15 comprehensive tools for complete n8n workflow and execution management:
| Tool | Description | Parameters |
|------|-------------|------------|
| list_workflows | List all workflows from your n8n instance | None |
| get_workflow | Retrieve detailed information about a specific workflow | id: Workflow ID (string) |
| create_workflow | Create a new workflow with nodes and connections | workflow: Workflow object |
| execute_workflow | Manually execute a workflow | id: Workflow ID (string) |
| Tool | Description | Parameters |
|------|-------------|------------|
| update_workflow | Update an existing workflow's configuration | id: Workflow ID, workflow: Updated workflow object |
| activate_workflow | Activate a workflow to enable automatic execution | id: Workflow ID (string) |
| deactivate_workflow | Deactivate a workflow to stop automatic execution | id: Workflow ID (string) |
| delete_workflow | Permanently delete a workflow | id: Workflow ID (string) |
| Tool | Description | Parameters |
|------|-------------|------------|
| create_workflow_and_activate | Create a new workflow and immediately activate it | workflow: Workflow object |
| Tool | Description | Parameters | |------|-------------|------------| | `list_executio