SkillAgentSearch skills...

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.

Install / Use

claude mcp add makafeli -- npx -y github:makafeli/n8n-workflow-builder

If the server publishes to npm under a different name, use that package instead — check the repo README.

About this skill
🔌

MCP Server

Model Context Protocol server

Quality Score

87/100

Category

Automation

Supported Platforms

Claude Code
Claude Desktop

n8n Workflow Builder MCP Server

<!-- Social Media Preview Meta Tags --> <meta property="og:title" content="n8n Workflow Builder MCP Server - AI Assistant Integration for n8n Automation"> <meta property="og:description" content="Connect Claude Desktop, ChatGPT, and other AI assistants directly to your n8n instance for seamless workflow management, creation, and execution through natural language commands."> <meta property="og:image" content="https://raw.githubusercontent.com/makafeli/n8n-workflow-builder/main/.github/assets/social-preview.png"> <meta property="og:url" content="https://github.com/makafeli/n8n-workflow-builder"> <meta property="og:type" content="website"> <meta property="twitter:card" content="summary_large_image"> <meta property="twitter:title" content="n8n Workflow Builder MCP Server - AI Assistant Integration"> <meta property="twitter:description" content="Connect AI assistants like Claude Desktop to n8n for natural language workflow automation. Create, manage, and execute workflows through conversation."> <meta property="twitter:image" content="https://raw.githubusercontent.com/makafeli/n8n-workflow-builder/main/.github/assets/social-preview.png">

The 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).

<div align="center"> <a href="https://smithery.ai/server/@makafeli/n8n-workflow-builder"> <img src="https://smithery.ai/badge/@makafeli/n8n-workflow-builder" alt="Smithery Server Badge"> </a>

<br><br>

<!-- Package & Repository Stats --> <a href="https://www.npmjs.com/package/@makafeli/n8n-workflow-builder"> <img src="https://img.shields.io/npm/v/@makafeli/n8n-workflow-builder?style=flat-square&logo=npm&color=CB3837" alt="npm version"> </a> <a href="https://www.npmjs.com/package/@makafeli/n8n-workflow-builder"> <img src="https://img.shields.io/npm/dm/@makafeli/n8n-workflow-builder?style=flat-square&logo=npm&color=CB3837" alt="npm downloads"> </a> <a href="https://github.com/makafeli/n8n-workflow-builder"> <img src="https://img.shields.io/github/stars/makafeli/n8n-workflow-builder?style=flat-square&logo=github&color=181717" alt="GitHub stars"> </a> <a href="https://github.com/makafeli/n8n-workflow-builder/network/members"> <img src="https://img.shields.io/github/forks/makafeli/n8n-workflow-builder?style=flat-square&logo=github&color=181717" alt="GitHub forks"> </a> <br> <!-- Build & Quality Badges --> <a href="https://github.com/makafeli/n8n-workflow-builder/actions"> <img src="https://img.shields.io/github/actions/workflow/status/makafeli/n8n-workflow-builder/ci.yml?style=flat-square&logo=github-actions&label=tests" alt="CI Status"> </a> <a href="https://github.com/makafeli/n8n-workflow-builder/blob/main/LICENSE"> <img src="https://img.shields.io/github/license/makafeli/n8n-workflow-builder?style=flat-square&color=green" alt="License"> </a> <a href="https://nodejs.org/"> <img src="https://img.shields.io/node/v/@makafeli/n8n-workflow-builder?style=flat-square&logo=node.js&color=339933" alt="Node.js version"> </a> <a href="https://www.typescriptlang.org/"> <img src="https://img.shields.io/badge/TypeScript-Ready-blue?style=flat-square&logo=typescript" alt="TypeScript"> </a> <br> <!-- Platform Integration Badges --> <a href="https://glama.ai/mcp/servers/fhoynrlnpp"> <img src="https://glama.ai/mcp/servers/fhoynrlnpp/badge" alt="n8n Workflow Builder Server MCP server" height="40"> </a> &nbsp; <a href="https://mseep.ai/app/makafeli-n8n-workflow-builder"> <img src="https://mseep.net/pr/makafeli-n8n-workflow-builder-badge.png" alt="MseeP.ai Security Assessment Badge" height="40"> </a> </div>

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.

📚 Table of Contents

📖 Additional Documentation

🎯 What is this?

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:

  • List and browse your existing n8n workflows
  • Create new workflows with complex node configurations
  • Execute workflows on demand
  • Manage workflow lifecycle (activate, deactivate, update, delete)
  • Monitor workflow status and retrieve detailed information

Perfect for teams using n8n who want to leverage AI assistants for workflow automation and management.

✨ Key Features

  • 🔧 Complete Workflow Management - Full CRUD operations for n8n workflows
  • 🤖 AI-First Design - Built specifically for AI assistant integration
  • 🚀 Zero Configuration - Works out of the box with NPX
  • 🔒 Secure - Uses n8n's official API with proper authentication
  • 📦 Modern Architecture - Built with TypeScript and latest MCP SDK
  • High Performance - Optimized for fast response times

📋 Requirements

  • Node.js v18.0.0 or higher
  • n8n instance (self-hosted or cloud)
  • n8n API key with appropriate permissions

🚀 Installation & Usage

Method 1: Smithery.ai (Hosted - Recommended)

Use the hosted version on Smithery.ai - no installation required:

  1. Visit: smithery.ai
  2. Search: "n8n-workflow-builder"
  3. Connect: Configure with your n8n host and API key
  4. Use: Access from any MCP-compatible AI assistant

Benefits: No local setup, automatic updates, professional hosting, tool playground.

Method 2: NPX (Local)

Run locally with NPX:

npx @makafeli/n8n-workflow-builder

Method 2: Manual Installation

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

⚙️ Configuration

Environment Variables

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

Getting Your n8n API Key

  1. Open your n8n instance
  2. Go to SettingsAPI Keys
  3. Click Create API Key
  4. Copy the generated key

Setting Environment Variables

# 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

🔧 MCP Client Setup

Claude Desktop

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"
      }
    }
  }
}

Cline (VS Code Extension)

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"
      }
    }
  }
}

Other MCP Clients

The server works with any MCP-compatible client. Use the same configuration pattern with your client's specific setup method.

🛠️ Available Tools

The MCP server provides 15 comprehensive tools for complete n8n workflow and execution management:

Core Workflow Operations

| 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) |

Workflow Lifecycle Management

| 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) |

Advanced Operations

| Tool | Description | Parameters | |------|-------------|------------| | create_workflow_and_activate | Create a new workflow and immediately activate it | workflow: Workflow object |

Execution Management ⭐ NEW

| Tool | Description | Parameters | |------|-------------|------------| | list_executions | List workflow executions with filtering and pagination | includeData, status, workflowId, projectId, limit, cursor | | get_execution | Get detailed information about a specific execution | id: Execution ID, includeData: Include detailed data | | delete_execution | Delete a workflow execution record | id: Execution ID |

Tag Management ⭐ NEW

| Tool | Description | Parameters | |------|-------------|------------| | list_tags | List all workflow tags with pagination | limit, cursor | | create_tag | Create a new workflow tag for organization | name: Tag name |

Security & Compliance ⭐ NEW

| Tool | Description | Parameters | |------|-------------|------------| | generate_audit | Generate comprehensive security audit report | additionalOptions: Audit configuration |

💡 Usage Examples

Basic Operations

// List all workflows
await callTool("list_workflows", {});

// Get detailed information about a workflow
await callTool("get_workflow", { id: "workflow-123" });

// Execute a workflow manually
await callTool("execute_workflow", { id: "workflow-123" });

Creating Workflows

// Create a simple workflow
await callTool("create_workflow", {
  workflow: {
    name: "My Automation Workflow",
    nodes: [
      {
        id: "trigger",
        name: "Schedule Trigger",
        type: "n8n-nodes-base.scheduleTrigger",
        typeVersion: 1,
        position: [240, 300],
        parameters: {
          interval: [{ field: "unit", value: "hours" }]
        }
      },
      {
        id: "action",
        name: "HTTP Request",
        type: "n8n-nodes-base.httpRequest",
        typeVersion: 4,
        position: [460, 300],
        parameters: {
          url: "https://api.example.com/webhook",
          method: "POST"
        }
      }
    ],
    connections: {
      "Schedule Trigger": {
        "main": [[{ "node": "HTTP Request", "type": "main", "index": 0 }]]
      }
    }
  }
});

Truncated for display — read the full file on GitHub.

Related Skills

View on GitHub
GitHub Stars545
CategoryAutomation
Updated6mo ago
Forks128

Languages

JavaScript

Security Score

94/100

Audited on Mar 19, 2026

1 low