Skip to content

N8N2MCP

Convert N8N agent / workflow into MCP servers, you can use it in Claude / Cursor / Super Chain

Install: git clone https://github.com/Super-Chain/N8N2MCP

Works with Cursor · 132 GitHub stars

Install

$git clone https://github.com/Super-Chain/N8N2MCP

Install command taken from the project's README or registry entry. Always review code before running it.

Transform your N8N workflows into MCP servers instantly

A comprehensive platform that converts N8N workflows into Model Context Protocol (MCP) servers, enabling seamless integration with AI assistants like Claude, Cursor, and other MCP-compatible platforms. Build powerful automation tools using N8N's visual workflow editor and deploy them as callable AI functions.

✨ How to use

  1. Copy the N8N template link/JSON from any workflow

  2. Map your credentials through our intuitive interface

  3. Deploy with one click!

Your N8N workflow gets deployed and creates a local hosted MCP server. Just paste the server URL into Claude, Cursor, Super Chain, or any MCP-compatible platform!

🎯 Key Features

🤖 MCP Server Creation

Convert your N8N workflows into MCP servers that AI assistants can use as custom tools

🔄 Dual Architecture

  • Agent Marketplace: Web-based workflow management and deployment platform
  • MCP Router: High-performance MCP server creation and routing system

🛠️ Comprehensive Workflow Management

  • Browse and deploy pre-built workflow templates
  • Upload and manage your custom N8N workflows
  • Real-time credential configuration and testing
  • One-click deployment to your N8N instance

🏗️ Architecture

graph TB
    subgraph "AI Assistant Layer"
        A[Claude/Cursor/Super Chain]
    end
    
    subgraph "N8N 2 MCP"
        B[Agent MarketplaceFlask Web App]
        C[MCP RouterFastAPI Service]
        D[Workflow ParserAnalysis Engine]
    end
    
    subgraph "Infrastructure"
        E[Supabase Database]
        F[N8N Instance]
        G[Credential Manager]
    end
    
    A -->|MCP Protocol| C
    C -->|Dynamic MCP| F
    B -->|Workflow Management| E
    B -->|Deploy & Configure| F
    C -->|User Config| E
    B -->|Parse & Analyze| D
    D -->|Extract Requirements| G
    G -->|Secure Handling| F

📦 Installation

Prerequisites

  • Python 3.11+
  • N8N Instance (cloud.n8n.io or self-hosted)
  • Supabase Account (for data storage)
  • Playwright (required for N8N authentication)
  • Docker (optional, for containerized deployment)

⚠️ Important: Playwright installation is required for N8N workflow execution. The system will use dummy credentials if Playwright is not properly installed, limiting functionality.

Quick Start

Option 1: Docker Compose (Recommended)

  1. Clone the repository

    git clone https://github.com/Super-Chain/N8N2MCP.git
    cd N8N2MCP
    
  2. Configure environment

    cp env.example .env
    # Edit .env with your actual configuration values
    
  3. Start with Docker Compose

    docker-compose up -d
    

    This starts:

  4. View logs

    docker-compose logs -f
    

Option 2: Manual Installation

  1. Clone the repository

    git clone https://github.com/Super-Chain/N8N2MCP.git
    cd N8N2MCP
    
  2. Install dependencies

    pip install -r requirements.txt
    
  3. Install Playwright browsers (Required)

    playwright install
    # This downloads the necessary browser binaries for N8N authentication
    

Similar plugs

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype…

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

Explore related