概要
What is n8n Workflow Builder MCP?
An MCP server for building and manipulating n8n workflows using natural language prompts. Works with Claude Code, VS Code, Cursor, and any MCP‑compatible client.
How to use n8n Workflow Builder MCP?
Install via npx -y n8n-workflow-builder-mcp and set the environment variables N8N_API_URL and N8N_API_KEY (the N8N_VERSION is auto‑detected). Configure the server in your MCP client’s config file (.vscode/mcp.json, .cursor/mcp.json, or via claude mcp add).
Key features of n8n Workflow Builder MCP
- Create, update, and list n8n workflows programmatically
- Add, edit, and delete nodes in workflows
- Manage connections between workflow nodes
- Automatic n8n version detection and compatibility (184+ versions)
- AI tools for wiring AI components (model, memory, vector store)
- Plan, review, and apply workflow changes with validation
Use cases of n8n Workflow Builder MCP
- Build n8n workflows by prompting with AI
- Programmatically create and modify workflows using an AI agent
- Explore available n8n nodes and their capabilities
- Wire AI components (model, memory, vector store) into a workflow
- Automate workflow composition with built‑in planning and validation
FAQ from n8n Workflow Builder MCP
What are the prerequisites?
Node.js v18 or higher, npm, and an MCP‑compatible client (Claude Code, VS Code, Cursor, etc.).
How do I get an n8n API key?
In your n8n instance, go to Settings > API Keys, click Create API Key, and copy the generated key.
What n8n versions are supported?
184+ versions from 1.86.0 to 2.6.2, with automatic version detection and “closest lower version” matching for backward compatibility.
How do I troubleshoot connection issues?
Check your MCP config for valid JSON and matching server name, update Node.js, clear npm cache (npm cache clean --force), or try a global install (`