Files
wehub-resource-sync 409e92d6ae
Build and Push Docker Images / Build Docker Image (push) Has been cancelled
Build and Push Docker Images / Build Railway Docker Image (push) Has been cancelled
Build and Publish n8n Docker Image / test-image (push) Has been cancelled
Dependency Compatibility Check / Fresh Install Dependency Check (push) Has been cancelled
Build and Publish n8n Docker Image / build-and-push (push) Has been cancelled
Build and Publish n8n Docker Image / create-release (push) Has been cancelled
Automated Release / Detect Version Change (push) Has been cancelled
Automated Release / Generate Release Notes (push) Has been cancelled
Automated Release / Create GitHub Release (push) Has been cancelled
Automated Release / Package MCPB Bundle (push) Has been cancelled
Automated Release / Build and Verify (push) Has been cancelled
Automated Release / Publish to NPM (push) Has been cancelled
Automated Release / Build and Push Docker Images (push) Has been cancelled
Automated Release / Update Documentation (push) Has been cancelled
Automated Release / Notify Release Completion (push) Has been cancelled
Secret Scan / secretlint (push) Has been cancelled
Test Suite / test (push) Has been cancelled
Test Suite / cjs-runtime (push) Has been cancelled
Test Suite / publish-results (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 12:41:06 +08:00

1.8 KiB

Cursor Setup

Connect n8n-MCP to Cursor IDE for enhanced n8n workflow development with AI assistance.

n8n-mcp Cursor Setup Tutorial

Video Tutorial

Watch the complete setup process: n8n-MCP Cursor Setup Tutorial

Setup Process

1. Create MCP Configuration

  1. Create a .cursor folder in your project root
  2. Create mcp.json file inside the .cursor folder
  3. Copy the configuration from this repository

Basic configuration (documentation tools only):

{
  "mcpServers": {
    "n8n-mcp": {
      "command": "npx",
      "args": ["n8n-mcp"],
      "env": {
        "MCP_MODE": "stdio",
        "LOG_LEVEL": "error",
        "DISABLE_CONSOLE_OUTPUT": "true"
      }
    }
  }
}

Full configuration (with n8n management tools):

{
  "mcpServers": {
    "n8n-mcp": {
      "command": "npx",
      "args": ["n8n-mcp"],
      "env": {
        "MCP_MODE": "stdio",
        "LOG_LEVEL": "error",
        "DISABLE_CONSOLE_OUTPUT": "true",
        "N8N_API_URL": "https://your-n8n-instance.com",
        "N8N_API_KEY": "your-api-key"
      }
    }
  }
}

2. Configure n8n Connection

  1. Replace https://your-n8n-instance.com with your actual n8n URL
  2. Replace your-api-key with your n8n API key

3. Enable MCP Server

  1. Click "Enable MCP Server" button in Cursor
  2. Go to Cursor Settings
  3. Search for "mcp"
  4. Confirm MCP is working

4. Set Up Project Instructions

  1. In your Cursor chat, invoke "create rule" and hit Tab
  2. Name the rule (e.g., "n8n-mcp")
  3. Set rule type to "always"
  4. Copy the Claude Project instructions from the main README's Claude Project Setup section