autafy-n8n-mcp
一个轻量级的 Model Context Protocol (MCP) 服务器,可让 AI 代理(AIDA、Claude Desktop、Cursor 和其他 MCP 客户端)触发 n8n 工作流并向其传递结构化 JSON 负载。
文档
autafy-n8n-mcp — Built by Autafy
A lightweight Model Context Protocol (MCP) server that lets AI agents (AIDA, Claude Desktop, Cursor, Gemini CLI) trigger and pass structured JSON payloads to n8n workflows.
Quick Setup
npm install
Add to your MCP client configuration (claude_desktop_config.json, .cursor/mcp.json, or AIDA):
{
"mcpServers": {
"n8n": {
"command": "node",
"args": ["/path/to/autafy-n8n-mcp/index.js"],
"env": {
"N8N_WEBHOOK_SECRET": "optional-bearer-token"
}
}
}
}
Tools
trigger_n8n_workflow: Sends a JSON payload to any n8n webhook endpoint and returns the execution output.
Ready-to-Use n8n Template
- Qualify inbound leads with OpenRouter, Google Sheets and Gmail: Import this official n8n template and point
trigger_n8n_workflowto its webhook URL to score inbound leads automatically.
Maintained by Autafy AI Automation (Edmonton, AB) — creators of AIDA, the self-hosted personal AI agent.