n8n 工作流生成器 MCP 服务器
用于以编程方式创建和管理 n8n 工作流的模型上下文协议 (MCP) 服务器。
特征
- 使用节点和连接创建工作流
- 验证工作流程规范
- 导出完整的工作流配置
- 通过 MCP 的 REST API 接口
安装
通过 Smithery 安装
要通过Smithery自动为 Claude Desktop 安装 n8n Workflow Builder:
npx -y @smithery/cli install n8n-workflow-builder --client claude
手动安装
- 克隆存储库:
git clone https://github.com/[your-username]/n8n-workflow-builder.git
cd n8n-workflow-builder
- 安装依赖项:
- 编译 TypeScript:
- 启动服务器:
用法
服务器提供了一个create_workflow
工具来接受工作流规范:
{
"nodes": [
{
"type": "n8n-nodes-base.httpRequest",
"name": "HTTP Request",
"parameters": {
"url": "https://example.com",
"method": "GET"
}
}
],
"connections": []
}
配置
将服务器添加到您的 MCP 配置:
{
"n8n-workflow-builder": {
"command": "node",
"args": ["/path/to/n8n-workflow-builder/dist/index.js"]
}
}
执照
麻省理工学院