n8n
An MCP server that empowers AI assistants to build, validate, and manage n8n workflows by providing structured access to documentation for over 1,200 nodes and thousands of templates. It enables deep integration with n8n instances for automated workf
What is n8n?
n8n is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to mcp server that empowers ai assistants to build, validate, and manage n8n workflows by providing structured access to documentation for over 1,200 nodes and thousands of templates. it enables deep int...
An MCP server that empowers AI assistants to build, validate, and manage n8n workflows by providing structured access to documentation for over 1,200 nodes and thousands of templates. It enables deep integration with n8n instances for automated workf
This server falls under the Business Applications category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- An MCP server that empowers AI assistants to build, validate
Use Cases
Maintainer
Works with
Installation
NPM
npx -y n8n-mcpManual Installation
npx -y n8n-mcpConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use n8n
n8n-MCP is an MCP server that gives AI assistants structured access to n8n's full ecosystem — over 1,850 nodes, 2,352 workflow templates, and live workflow management tools — so they can build, validate, and deploy n8n automations through natural language. It provides seven documentation discovery tools for searching nodes and templates, plus thirteen management tools for CRUD operations on workflows, executions, credentials, and security audits when connected to a live n8n instance. Developers and automation engineers can use it to prototype workflows with AI guidance and then push them directly to production n8n.
Prerequisites
- Node.js 18 or higher with npx available
- An MCP-compatible client such as Claude Desktop or Claude Code
- A running n8n instance (self-hosted or n8n Cloud) if you want live workflow management — not required for documentation-only use
- N8N_API_KEY from your n8n instance (Settings → API → Create API Key) for management tools
- N8N_API_URL pointing to your n8n instance base URL
Choose your deployment mode
n8n-MCP offers a free hosted dashboard at dashboard.n8n-mcp.com (100 tool calls/day, no setup) or self-hosted via npx. For production use or higher limits, run it locally.
Run n8n-MCP locally with npx
For local self-hosting, use npx to run the server. No global installation is required.
npx -y n8n-mcpGet your n8n API credentials
If you want to manage live workflows, log into your n8n instance, go to Settings → API, and create a new API key. Note the API URL of your instance (e.g., https://your-n8n.com).
Configure your MCP client
Add n8n-MCP to your claude_desktop_config.json. Include N8N_API_URL and N8N_API_KEY only if you need live workflow management — omit them for documentation-only access.
Start with the tools documentation
On first use, call the tools_documentation tool via your AI assistant to understand the full tool set and recommended workflow for building n8n automations.
Search nodes and templates
Use the AI assistant to search n8n's node library and discover templates that match your automation goal before building workflows.
n8n Examples
Client configuration
Add this block to your claude_desktop_config.json. Set N8N_API_URL and N8N_API_KEY only when connecting to a live n8n instance.
{
"mcpServers": {
"n8n-mcp": {
"command": "npx",
"args": ["-y", "n8n-mcp"],
"env": {
"N8N_API_URL": "https://your-n8n-instance.com",
"N8N_API_KEY": "your-n8n-api-key"
}
}
}
}Prompts to try
Use these prompts with Claude after configuring the n8n-MCP server.
- "Find n8n workflow templates for sending Slack notifications when a GitHub issue is created"
- "What n8n nodes are available for working with Google Sheets?"
- "Create an n8n workflow that polls an RSS feed every hour and emails me new entries"
- "List all my active n8n workflows and their last execution status"
- "Validate this workflow JSON and tell me if any nodes are misconfigured"Troubleshooting n8n
Management tools fail with authentication errors
Verify that N8N_API_URL matches your n8n instance exactly (including any path prefix) and that the API key in N8N_API_KEY is active. In n8n, go to Settings → API to regenerate the key if needed.
Node search returns no results
The node database is embedded in the package. If results are missing, the local database may be outdated. Update n8n-mcp with `npx -y n8n-mcp@latest` to pull the current node and template index.
Workflow created by AI fails to import into n8n
Run the validate_node tool on each node in the workflow before deploying. Use `{mode: 'minimal'}` for quick checks. Validation catches missing required fields and incompatible node versions before execution.
Frequently Asked Questions about n8n
What is n8n?
n8n is a Model Context Protocol (MCP) server that mcp server that empowers ai assistants to build, validate, and manage n8n workflows by providing structured access to documentation for over 1,200 nodes and thousands of templates. it enables deep integration with n8n instances for automated workf It connects AI assistants to external tools and data sources through a standardized interface.
How do I install n8n?
Install via npm with the command: npx -y n8n-mcp. Then add the server configuration to your AI client's JSON config file (e.g., claude_desktop_config.json or .cursor/mcp.json).
Which AI clients work with n8n?
n8n works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is n8n free to use?
Yes, n8n is open source and available under the MIT license. You can use it freely in both personal and commercial projects.
n8n Alternatives — Similar Business Applications Servers
Looking for alternatives to n8n? Here are other popular business applications servers you can use with Claude, Cursor, and VS Code.
n8n
★ 189.1kA comprehensive MCP server that provides full control over n8n automation workflows through natural language. It offers 43 tools for managing workflows, executions, credentials, and data tables, with safety features like write-mode protection and dou
LobeHub
★ 77.5k🤯 LobeHub is your Chief Agent Operator, organizing your agents into 7×24 operations by hiring, scheduling, and reporting on your entire AI team.
Jeecgboot
★ 46.4kAI 低代码平台,「低代码 + 零代码」双模式驱动:低代码一键生成前后端代码,零代码 5 分钟搭建系统,AI Skills 一句话画流程、设计表单、生成整套系统。内置 AI聊天、知识库、流程编排、MCP插件等,兼容主流大模型。引领「AI 生成 → 在线配置 → 代码生成 → 手工合并->AI修改」开发模式,消除 Java 项目 80% 的重复工作,提效而不失灵活。
CowAgent
★ 44.7kCowAgent (chatgpt-on-wechat) 是基于大模型的超级AI助理,能主动思考和任务规划、访问操作系统和外部资源、创造和执行Skills、通过长期记忆和知识库不断成长,比OpenClaw更轻量和便捷。同时支持微信、飞书、钉钉、企微、QQ、公众号、网页等接入,可选择DeepSeek/OpenAI/Claude/Gemini/ MiniMax/Qwen/GLM/LinkAI,能处理文本、语音、图片和文件,可快速搭建个人AI助理和企业数字员工。
Minds Platform
★ 39.2kPlatform dedicated to building an open foundation for applied Artificial Intelligence, designed for people seeking production-ready AI systems they can truly control, extend and deploy anywhere.
Astrbot
★ 32.8kAI Agent Assistant & development framework that integrates lots of IM platforms, LLMs, plugins and AI feature, and can be your openclaw alternative. ✨
Browse More Business Applications MCP Servers
Explore all business applications servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up n8n in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use n8n?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.