n8n API MCP 服务器

n8n API MCP 服务器

一个用于与自托管 n8n 实例交互的 Model Context Protocol (MCP) 服务器。

快速入门

  1. 克隆仓库: git clone https://github.com/jasondsmith72/N8N-api-MCP.git cd N8N-api-MCP

  2. 安装依赖: npm install

  3. 构建服务器: npm run build

  4. 配置环境变量,设置 N8N_URLN8N_API_KEY

  5. 加载 API 规范数据库: 使用工具 load_api_spec_from_json 加载 OpenAPI JSON 文件。

  6. 启动服务器并测试功能。