SSyncDev

N8n MCP Server

MCP server for building n8n workflows

Local serverstdioGo

What is the N8n MCP Server?

MCP server for building n8n workflows

What it actually does

A Model Context Protocol (MCP) server for building and manipulating n8n workflows. Build n8n workflows just by prompting with AI — works with Claude Code, VS Code, Cursor, and any MCP-compatible client.

  • Workflow Management — Create, update, and execute n8n workflows programmatically (execute is not implemented yet)
  • Node Discovery — Explore available n8n nodes and their capabilities
  • Connection Management — Create connections between workflow nodes
  • AI Integration — Special tools for connecting AI components in workflows
  • AI-Friendly Interface — Designed specifically for interaction with AI agents
  • N8N Version Management — Automatic version detection and compatibility handling - supports 184+ n8n versions (1.86.0 – 2.6.2) with dynamic node filtering and "closest lower version" matching for backward compatibility

Configuration

  • Node.js (v18 or higher) - npm (for npx command) - An MCP-compatible client (Claude Code, VS Code, Cursor, etc.)

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

How to install the N8n MCP Server

{
  "mcpServers": {
    "n8n-workflow-builder": {
      "command": "npx",
      "args": ["-y", "n8n-workflow-builder-mcp"],
      "env": {
        "N8N_API_URL": "http://localhost:5678",
        "N8N_API_KEY": "your-n8n-api-key-here"
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

  • Node.js (v18 or higher) - npm (for npx command) - An MCP-compatible client (Claude Code, VS Code, Cursor, etc.)
VariableDescriptionRequired
N8N_API_URLEndpoint or connection string the server talks to.Yes
N8N_API_KEYCredential the server authenticates with.Yes

Example prompts to try

  • “Use N8n to General.”

Frequently asked questions

MCP server for building n8n workflows Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.