MC

mcp n8n MCP Server

Published by leonardosepulvedat

Operate and build n8n: 61 tools, 560-node catalog, validation, autofix, snapshots and backups.

CATEGORY
More to explore
DEPLOYMENT
Local package
LATEST SOURCE VERSION
1.5.0
SOURCE CHECKED
Nov 30, 2026

Quick answers

How do I add mcp n8n MCP Server to Claude Code, Cursor or Codex?

Claude CodeCommand

Run this in your terminal:

claude mcp add --env 'N8N_BASE_URL=<your-n8n-base-url>' --env 'N8N_API_KEY=<your-n8n-api-key>' --transport stdio n8n -- npx -y mcp-n8n

Replace the <your-…> placeholder with your own N8N_BASE_URL and N8N_API_KEY.

Claude Code setup guide
CursorConfig

Add this to ~/.cursor/mcp.json, or to .cursor/mcp.json in a project:

{
  "mcpServers": {
    "n8n": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-n8n"
      ],
      "env": {
        "N8N_BASE_URL": "<your-n8n-base-url>",
        "N8N_API_KEY": "<your-n8n-api-key>"
      }
    }
  }
}

Replace the <your-…> placeholder with your own N8N_BASE_URL and N8N_API_KEY.

Cursor setup guide
CodexCommand

Run this in your terminal:

codex mcp add n8n --env 'N8N_BASE_URL=<your-n8n-base-url>' --env 'N8N_API_KEY=<your-n8n-api-key>' -- npx -y mcp-n8n

Replace the <your-…> placeholder with your own N8N_BASE_URL and N8N_API_KEY.

Codex setup guide
VS CodeConfig

Add this to .mcp.json at the root of your workspace:

{
  "mcpServers": {
    "n8n": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-n8n"
      ],
      "env": {
        "N8N_BASE_URL": "<your-n8n-base-url>",
        "N8N_API_KEY": "<your-n8n-api-key>"
      }
    }
  }
}

Replace the <your-…> placeholder with your own N8N_BASE_URL and N8N_API_KEY.

VS Code setup guide
Claude DesktopConfig

Add this to claude_desktop_config.json, then restart Claude:

{
  "mcpServers": {
    "n8n": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-n8n"
      ],
      "env": {
        "N8N_BASE_URL": "<your-n8n-base-url>",
        "N8N_API_KEY": "<your-n8n-api-key>"
      }
    }
  }
}

Replace the <your-…> placeholder with your own N8N_BASE_URL and N8N_API_KEY.

Claude Desktop setup guide
ChatGPTNot available

ChatGPT can't add it from its published details: it connects from the cloud and needs a public address, and this server runs on your computer.

ChatGPT setup guide

Which apps can use mcp n8n MCP Server?

Claude Code, Cursor, Codex, VS Code and Claude Desktop can add it from its published details. ChatGPT can't: it connects from the cloud and needs a public address, and this server runs on your computer.

Does mcp n8n MCP Server need an API key?

To run it on your computer, set N8N_BASE_URL and N8N_API_KEY first, with values from the publisher.

Is mcp n8n MCP Server official?

It's published by leonardosepulvedat. The Official MCP Registry accepts names under io.github.leonardosepulvedat only from the GitHub account or organisation leonardosepulvedat. We last checked its listing on Nov 30, 2026. A listing shows where a server comes from; it isn't a security review.

Published packages

npm · mcp-n8n@1.5.0
View source repository