A community-driven registry for Claude, Cursor, Windsurf, Cline & more. Not affiliated with Anthropic.
Are you the author? Sign in to claim
AI-powered n8n workflow automation through natural language. MCP server enabling Claude AI & Cursor IDE to create, manag
Build, manage, and monitor n8n workflows using Claude AI and Cursor IDE via the Model Context Protocol
Features • Quick Start • Documentation • Examples • API Reference

n8n Workflow Builder MCP Server transforms workflow automation by enabling you to create and manage n8n workflows through conversational AI. No more manual JSON editing or complex UI navigation—just describe what you need in natural language, and let AI build it for you.
🤖 AI-Powered Workflow CreationCreate complex n8n workflows by simply describing what you need. Claude AI and Cursor IDE understand your intent and generate production-ready workflows. 🌍 Multi-Instance ManagementSeamlessly manage multiple n8n environments (production, staging, development) from a single MCP server with intelligent instance routing. 🛠️ 17 Comprehensive ToolsComplete workflow lifecycle coverage:
|
💬 Natural Language InterfaceNo JSON editing required. Build workflows like this:
🔒 Secure by Design
📚 Comprehensive Documentation
|
# Install globally via npm
npm install -g @kernel.salacoste/n8n-workflow-builder
# Verify installation
npx @kernel.salacoste/n8n-workflow-builder --version
Create .config.json in your project root:
{
"environments": {
"production": {
"n8n_host": "https://n8n.example.com",
"n8n_api_key": "your_production_api_key"
},
"staging": {
"n8n_host": "https://staging.n8n.example.com",
"n8n_api_key": "your_staging_api_key"
},
"development": {
"n8n_host": "http://localhost:5678",
"n8n_api_key": "your_dev_api_key"
}
},
"defaultEnv": "development"
}
Create .env file:
N8N_HOST=https://your-n8n-instance.com
N8N_API_KEY=your_api_key
Add to your Claude Desktop configuration (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
{
"mcpServers": {
"n8n-workflow-builder": {
"command": "npx",
"args": ["@kernel.salacoste/n8n-workflow-builder"]
}
}
}
Restart Claude Desktop and you're ready to go! 🎉
Add to .cursor/mcp.json in your workspace:
{
"mcpServers": {
"n8n-workflow-builder": {
"command": "npx",
"args": ["@kernel.salacoste/n8n-workflow-builder"]
}
}
}
Explore our comprehensive documentation site:
| Section | Description |
|---|---|
| 🚀 Quick Start Tutorial | Build your first workflow in 5 minutes |
| 📦 Installation Guide | Detailed setup instructions |
| 🔧 Configuration | Multi-instance and environment setup |
| 🛠️ API Reference | Complete tool documentation |
| 🏗️ Multi-Instance Setup | Manage multiple n8n environments |
| 💡 Usage Patterns | Best practices and conversation patterns |
| 🐛 Troubleshooting | Common issues and solutions |
You:
Create a webhook workflow in staging that:
- Receives POST requests at /customer-signup
- Validates email and name fields
- Sends welcome email via Gmail
- Stores customer in PostgreSQL
Claude: ✅ Creates complete workflow with validation, email, and database nodes
You:
List all active workflows in production that haven't run in the last 7 days
Claude: 📊 Analyzes production environment and identifies stale workflows
You:
Debug workflow 456 in production - it's been failing with errors
Claude: 🔍 Retrieves execution history, identifies root cause, and suggests fixes
You:
Show me the schema for OAuth2 credentials, then help me create credentials for Google Sheets API
Claude: 🔐 Retrieves credential schema and guides you through secure credential creation
| Tool | Description | Example Use Case |
|---|---|---|
list_workflows | List all workflows with filtering | "Show me active workflows in production" |
get_workflow | Retrieve complete workflow details | "Get workflow 123 from staging" |
create_workflow | Build new workflows from scratch | "Create a daily report workflow" |
update_workflow | Modify existing workflows | "Add error handling to workflow 456" |
delete_workflow | Remove workflows | "Delete workflow 789" |
activate_workflow | Enable workflow execution | "Activate workflow 123" |
deactivate_workflow | Disable workflow execution | "Deactivate workflow 456" |
execute_workflow | Manually trigger workflow runs | "Execute workflow 789 with test data" |
| Tool | Description | Example Use Case |
|---|---|---|
list_executions | View execution history with filters | "Show failed executions from today" |
get_execution | Detailed execution information | "Get execution 9876 details" |
delete_execution | Remove execution records | "Delete old test executions" |
retry_execution | Retry failed workflow runs | "Retry execution 9876" |
| Tool | Description | Example Use Case |
|---|---|---|
list_tags / get_tags | Retrieve all workflow tags | "Show all workflow tags" |
get_tag | Get specific tag information | "Get tag details for 'email-automation'" |
create_tag | Create workflow organization tags | "Create tag 'customer-workflows'" |
update_tag | Modify tag information | "Rename tag to 'legacy-workflows'" |
delete_tag | Remove workflow tags | "Delete tag 'deprecated'" |
| Tool | Description | Example Use Case |
|---|---|---|
get_credential_schema | Get credential type JSON schema | "Show schema for httpBasicAuth" |
list_credentials | Security guidance (blocked by n8n API) | "List credentials guidance" |
get_credential | Security guidance (blocked by n8n API) | "Get credential guidance" |
create_credential | Create credentials with schema validation | "Create Gmail OAuth2 credentials" |
update_credential | Immutability guidance (DELETE + CREATE) | "Update credential guidance" |
delete_credential | Permanently remove credentials | "Delete credential 123" |
Manage multiple n8n environments with intelligent routing:
┌─────────────────────────────────────┐
│ MCP Server (Single Instance) │
├─────────────────────────────────────┤
│ │
│ ┌──────────┐ ┌──────────┐ │
│ │ ConfigLoader│ EnvironmentMgr │
│ └──────────┘ └──────────┘ │
│ │ │ │
│ ▼ ▼ │
│ ┌─────────────────────────┐ │
│ │ Instance Routing │ │
│ └─────────────────────────┘ │
│ │ │
└─────────┼──────────────────────────┘
│
┌─────┴─────┬─────────────┬──────────────┐
│ │ │ │
▼ ▼ ▼ ▼
┌────────┐ ┌────────┐ ┌────────┐ ┌────────┐
│ Dev │ │Staging │ │ Prod │ │Custom │
│ n8n │ │ n8n │ │ n8n │ │ n8n │
└────────┘ └────────┘ └────────┘ └────────┘
Benefits:
.config.json automatically excluded from git via .gitignore⚠️ IMPORTANT: Be careful with destructive operations!
- Always test in development first
- Use get_workflow to backup before modifications
- Review workflow details before deletion
- Enable debug mode for troubleshooting
Symptoms: Claude/Cursor can't find n8n tools
Solutions:
claude_desktop_config.json / .cursor/mcp.json syntaxDEBUG=true in environmentSymptoms: "Request failed with status code 404"
Solutions:
n8n_host uses base URL (e.g., https://n8n.example.com)/api/v1 suffix (server adds it automatically)curl https://your-n8n-instance.com/api/v1/workflowsSymptoms: "Workflow cannot be activated without valid trigger"
Solutions:
manualTrigger is NOT recognized by n8n API v1.82.3We welcome contributions! Here's how you can help:
# Clone repository
git clone https://github.com/salacoste/mcp-n8n-workflow-builder.git
cd mcp-n8n-workflow-builder
# Install dependencies
npm install
# Build project
npm run build
# Run tests
npm test
# Start development server
npm run dev
This project is licensed under the MIT License - see the LICENSE file for details.
Built with:
Special thanks to:
Native macOS app to monitor Claude AI usage limits and watch your coding sessions live
npx CLI installing 100+ agents, commands, hooks, and integrations in one command
干净、强大、属于你的 AI Agent 平台 --AI agents, without the clutter.
Pocket Flow: Codebase to Tutorial