n8n工作流插件

该插件为Codex提供n8n工作流的构建、验证和调试功能,包含实时错误检查和专家故障排除支持。

  • by Synta-ai
  • 本地部署
  • 4 星标
  • 更新于
在 GitHub 查看 Synta-ai/n8n-mcp-codex-plugin-synta

使用说明

Synta MCP Codex插件

该插件捆绑了Synta MCP for Codex,使Codex能够构建、验证和调试n8n工作流,并对平台的完整节点库有深入的了解,从而允许智能工作流创建、实时错误检查和专家故障排除协助。

此插件包括什么

  • SKILL.MD:使用Synta MCP构建和修复n8n工作流的可重用说明
  • .mcp.json:MCP服务器定义 https://mcp.synta.io/mcp
  • .codex-plugin/plugin.json:Codex插件清单

在Codex中安装

Codex插件是从应用程序或CLI中的插件目录安装的。在CLI中,使用以下命令打开插件列表:

codex
/plugins

对于此本地插件,请使用Codex插件清单和市场惯例所描述的本地插件布局。

选项1:本地安装

当您希望此插件在计算机上的项目中可用时,建议使用。

  1. 如果本地插件文件夹不存在,请创建它们:
mkdir -p ~/.agents/plugins ~/.codex/plugins
  1. 将此插件复制到您的本地插件目录中:
cp -R /path/to/codex/plugin/n8n-mcp-codex-plugin-synta ~/.codex/plugins/n8n-mcp-codex-plugin-synta
  1. 创建或更新 ~/.agents/plugins/marketplace.json 带有此插件的条目:
{
  "name": "local-plugins",
  "interface": {
    "displayName": "Local Plugins"
  },
  "plugins": [
    {
      "name": "n8n-mcp-synta-codex",
      "source": {
        "source": "local",
        "path": "./plugins/n8n-mcp-codex-plugin-synta"
      },
      "policy": {
        "installation": "AVAILABLE",
        "authentication": "ON_INSTALL"
      },
      "category": "Productivity"
    }
  ]
}
  1. 重新启动Codex。

  2. 使用打开插件目录 /plugins,查找 Synta MCP,并安装它。

选项2:回购本地安装

如果你想把插件放在一个特定的仓库旁边,而不是你的主目录,这很有用。

  1. 将插件放置在:
<repo-root>/plugins/n8n-mcp-codex-plugin-synta
  1. 创建或更新:
<repo-root>/.agents/plugins/marketplace.json
  1. 添加与上述相同的插件条目,保持源路径为:
"path": "./plugins/n8n-mcp-codex-plugin-synta"
  1. 重新启动Codex,然后从安装 /plugins.

使用插件

安装后,启动一个新的Codex线程,然后:

  • 描述你想要的结果,例如: Build an n8n workflow that syncs Typeform submissions to HubSpot
  • 使用以下命令显式调用插件或技能 @

示例提示:

  • Use Synta MCP to create an n8n workflow that watches Gmail and posts new support emails to Slack
  • @synta-n8n-assistant fix the expression errors in this n8n workflow

禁用或卸载

要禁用插件而不卸载它,请在中将其设置为disabled ~/.codex/config.toml 并重新启动Codex:

[plugins."n8n-mcp-synta-codex"]
enabled = false

要完全删除它,请从Codex插件浏览器中卸载它。