n8n AI工作流自动化 是 AI Skill Hub 本期精选MCP工具之一。综合评分 8.2 分,整体质量较高。我们强烈推荐将其纳入你的 AI 工具库,帮助提升工作效率。
n8n AI工作流自动化 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
n8n AI工作流自动化 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
# 方式一:通过 Claude Code CLI 一键安装
claude skill install https://github.com/makafeli/n8n-workflow-builder
# 方式二:手动配置 claude_desktop_config.json
{
"mcpServers": {
"n8n-ai------": {
"command": "npx",
"args": ["-y", "n8n-workflow-builder"]
}
}
}
# 配置文件位置
# macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
# Windows: %APPDATA%/Claude/claude_desktop_config.json
# 安装后在 Claude 对话中直接使用 # 示例: 用户: 请帮我用 n8n AI工作流自动化 执行以下任务... Claude: [自动调用 n8n AI工作流自动化 MCP 工具处理请求] # 查看可用工具列表 # 在 Claude 中输入:"列出所有可用的 MCP 工具"
// claude_desktop_config.json 配置示例
{
"mcpServers": {
"n8n_ai______": {
"command": "npx",
"args": ["-y", "n8n-workflow-builder"],
"env": {
// "API_KEY": "your-api-key-here"
}
}
}
}
// 保存后重启 Claude Desktop 生效
npm install
<meta property="og:title" content="n8n Workflow Builder MCP Server - AI Assistant Integration for n8n Automation"> <meta property="og:description" content="Connect Claude Desktop, ChatGPT, and other AI assistants directly to your n8n instance for seamless workflow management, creation, and execution through natural language commands."> <meta property="og:image" content="https://raw.githubusercontent.com/makafeli/n8n-workflow-builder/main/.github/assets/social-preview.png"> <meta property="og:url" content="https://github.com/makafeli/n8n-workflow-builder"> <meta property="og:type" content="website"> <meta property="twitter:card" content="summary_large_image"> <meta property="twitter:title" content="n8n Workflow Builder MCP Server - AI Assistant Integration"> <meta property="twitter:description" content="Connect AI assistants like Claude Desktop to n8n for natural language workflow automation. Create, manage, and execute workflows through conversation."> <meta property="twitter:image" content="https://raw.githubusercontent.com/makafeli/n8n-workflow-builder/main/.github/assets/social-preview.png">
The ultimate AI assistant integration for n8n workflow automation - Connect Claude Desktop, ChatGPT, and other AI assistants directly to your n8n instance for seamless workflow management, creation, and execution through the Model Context Protocol (MCP).
<a href="https://smithery.ai/server/@makafeli/n8n-workflow-builder"> <img src="https://smithery.ai/badge/@makafeli/n8n-workflow-builder" alt="Smithery Server Badge"> </a>
<br><br>
<a href="https://www.npmjs.com/package/@makafeli/n8n-workflow-builder"> <img src="https://img.shields.io/npm/v/@makafeli/n8n-workflow-builder?style=flat-square&logo=npm&color=CB3837" alt="npm version"> </a> <a href="https://www.npmjs.com/package/@makafeli/n8n-workflow-builder"> <img src="https://img.shields.io/npm/dm/@makafeli/n8n-workflow-builder?style=flat-square&logo=npm&color=CB3837" alt="npm downloads"> </a> <a href="https://github.com/makafeli/n8n-workflow-builder"> <img src="https://img.shields.io/github/stars/makafeli/n8n-workflow-builder?style=flat-square&logo=github&color=181717" alt="GitHub stars"> </a> <a href="https://github.com/makafeli/n8n-workflow-builder/network/members"> <img src="https://img.shields.io/github/forks/makafeli/n8n-workflow-builder?style=flat-square&logo=github&color=181717" alt="GitHub forks"> </a>
<br>
<a href="https://github.com/makafeli/n8n-workflow-builder/actions"> <img src="https://img.shields.io/github/actions/workflow/status/makafeli/n8n-workflow-builder/ci.yml?style=flat-square&logo=github-actions&label=tests" alt="CI Status"> </a> <a href="https://github.com/makafeli/n8n-workflow-builder/blob/main/LICENSE"> <img src="https://img.shields.io/github/license/makafeli/n8n-workflow-builder?style=flat-square&color=green" alt="License"> </a> <a href="https://nodejs.org/"> <img src="https://img.shields.io/node/v/@makafeli/n8n-workflow-builder?style=flat-square&logo=node.js&color=339933" alt="Node.js version"> </a> <a href="https://www.typescriptlang.org/"> <img src="https://img.shields.io/badge/TypeScript-Ready-blue?style=flat-square&logo=typescript" alt="TypeScript"> </a>
<br>
<a href="https://glama.ai/mcp/servers/fhoynrlnpp"> <img src="https://glama.ai/mcp/servers/fhoynrlnpp/badge" alt="n8n Workflow Builder Server MCP server" height="40"> </a> <a href="https://mseep.ai/app/makafeli-n8n-workflow-builder"> <img src="https://mseep.net/pr/makafeli-n8n-workflow-builder-badge.png" alt="MseeP.ai Security Assessment Badge" height="40"> </a>
</div>
A powerful Model Context Protocol (MCP) server that enables AI assistants to manage n8n workflows seamlessly. Connect your AI tools directly to n8n for automated workflow creation, execution, and management.
For development or customization:
```bash
npm run build
Configure the following environment variables to connect to your n8n instance:
| Variable | Description | Example |
|---|---|---|
N8N_HOST | Your n8n instance URL | http://localhost:5678 or https://your-n8n.com/api/v1 |
N8N_API_KEY | Your n8n API key | n8n_api_1234567890abcdef... |
```bash
This MCP server enables AI-powered workflow management: - Natural language commands instead of clicking through UI - Automated workflow creation based on descriptions - Bulk operations across multiple workflows - Integration with AI assistant workflows and automation - Voice commands through AI assistants - Contextual help and suggestions from AI
🔍 Detailed Comparison: See our Comparison Guide for detailed comparisons with n8n Web UI, CLI, Zapier, and Make.com.
| Tool | Description | Parameters |
|---|---|---|
list_workflows | List all workflows from your n8n instance | None |
get_workflow | Retrieve detailed information about a specific workflow | id: Workflow ID (string) |
create_workflow | Create a new workflow with nodes and connections | workflow: Workflow object |
execute_workflow | Manually execute a workflow | id: Workflow ID (string) |
| Tool | Description | Parameters |
|---|---|---|
update_workflow | Update an existing workflow's configuration | id: Workflow ID, workflow: Updated workflow object |
activate_workflow | Activate a workflow to enable automatic execution | id: Workflow ID (string) |
deactivate_workflow | Deactivate a workflow to stop automatic execution | id: Workflow ID (string) |
delete_workflow | Permanently delete a workflow | id: Workflow ID (string) |
// Create a simple workflow
await callTool("create_workflow", {
workflow: {
name: "My Automation Workflow",
nodes: [
{
id: "trigger",
name: "Schedule Trigger",
type: "n8n-nodes-base.scheduleTrigger",
typeVersion: 1,
position: [240, 300],
parameters: {
interval: [{ field: "unit", value: "hours" }]
}
},
{
id: "action",
name: "HTTP Request",
type: "n8n-nodes-base.httpRequest",
typeVersion: 4,
position: [460, 300],
parameters: {
url: "https://api.example.com/webhook",
method: "POST"
}
}
],
connections: {
"Schedule Trigger": {
"main": [[{ "node": "HTTP Request", "type": "main", "index": 0 }]]
}
}
}
});
// Activate a workflow
await callTool("activate_workflow", { id: "workflow-123" });
// Update a workflow
await callTool("update_workflow", {
id: "workflow-123",
workflow: { name: "Updated Workflow Name" }
});
// Deactivate a workflow
await callTool("deactivate_workflow", { id: "workflow-123" });
// Create and immediately activate
await callTool("create_workflow_and_activate", {
workflow: { /* workflow configuration */ }
});
This MCP server acts as a bridge between AI assistants (like Claude Desktop, Cline, or ChatGPT) and your n8n instance. Simply: 1. Install the MCP server: npx @makafeli/n8n-workflow-builder 2. Configure your AI assistant's MCP settings with your n8n credentials 3. Start using natural language to manage your n8n workflows
AI assistants can perform complete workflow management including: - List and browse existing workflows - Create new workflows with complex node configurations - Execute workflows manually or on-demand - Activate/deactivate workflows - Update and modify existing workflows - Monitor execution status and retrieve detailed logs - Manage workflow tags and organization - Generate security audits and compliance reports
Yes! This is one of the key features. You can: - Describe workflows in natural language and have AI create them - Generate workflows from requirements or use cases - Modify existing workflows through conversational commands - Create workflow templates and variations automatically - Batch create similar workflows with different parameters
💼 Real Examples: Check out our Use Cases Guide for specific automation examples across different industries.
Add this to your Cline MCP settings:
{
"mcpServers": {
"n8n-workflow-builder": {
"command": "npx",
"args": ["@makafeli/n8n-workflow-builder"],
"env": {
"N8N_HOST": "http://localhost:5678",
"N8N_API_KEY": "your-api-key-here"
}
}
}
}
✨ n8n Workflow Builder 的关键功能包括: - 完整的工作流管理:支持 n8n 工作流的 CRUD 操作 - AI-First 设计:专门为 AI 助手集成而设计 - 零配置:无需配置即可使用 NPX - 安全:使用 n8n 的官方 API 进行合适的身份验证 - 现代架构:使用 TypeScript 和最新的 MCP SDK
环境依赖与系统要求: - Node.js v18.0.0 或更高版本 - n8n 实例(自主托管或云托管) - n8n API 密钥(具有适当权限)
安装 n8n Workflow Builder MCP 服务器: 安装依赖项: npm install
使用 n8n Workflow Builder MCP 服务器的步骤: 手动安装: 对于开发或自定义:
配置说明: 环境变量: | 变量 | 描述 | 示例 | |----------|-------------|---------| | `N8N_HOST` | n8n 实例 URL | `http://localhost:5678` 或 `https://your-n8n.com/api/v1` | | `N8N_API_KEY` | n8n API 密钥 | `n8n_api_1234567890abcdef...` | 设置环境变量:
获取 n8n API 密钥: 1. 打开 n8n 实例 2. 进入 **设置** → **API 密钥** 3. 点击 **创建 API 密钥** 4. 复制生成的密钥
工作流 / 模块说明: | 工具 | 描述 | 参数 | |------|-------------|------------| | `list_workflows` | 列出 n8n 实例中的所有工作流 | 无 | | `get_workflow` | 获取特定工作流的详细信息 | `id`: 工作流 ID (字符串) | | `create_workflow` | 创建一个新的工作流 | 无 | 工作流生命周期管理: | 工具 | 描述 | 参数 | |------|-------------|------------| | `update_workflow` | 更新现有的工作流配置 | `id`: 工作流 ID, `workflow`: 更新的工作流对象 | | `activate_workflow` | 激活工作流以启用自动执行 | `id`: 工作流 ID (字符串) |
常见问题解答:
高质量MCP工具,519星活跃度较好。将AI能力与n8n流程深度融合,对企业自动化场景实用价值高。代码质量和文档维护水平值得信赖。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
经综合评估,n8n AI工作流自动化 在MCP工具赛道中表现稳健,质量优秀。如果你已有明确的使用需求,可以直接上手体验;如果还在评估阶段,建议对比同类工具后再做决策。
| 原始名称 | n8n-workflow-builder |
| 原始描述 | 开源MCP工具:AI assistant integration for n8n workflow automation through Model Context Proto。⭐519 · JavaScript |
| Topics | 工作流自动化AI集成MCP协议API封装开源工具 |
| GitHub | https://github.com/makafeli/n8n-workflow-builder |
| License | MIT |
| 语言 | JavaScript |
收录时间:2026-05-14 · 更新时间:2026-05-16 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端