autafy-n8n-mcp
AI 에이전트(AIDA, Claude Desktop, Cursor 및 기타 MCP 클라이언트)가 n8n 워크플로를 트리거하고 구조화된 JSON 페이로드를 전달할 수 있도록 하는 경량 Model Context Protocol (MCP) 서버입니다.
문서
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
Add the server to your MCP client configuration (claude_desktop_config.json, .cursor/mcp.json, or AIDA).
Option 1: run with npx
Requires Node.js 18 or later. npx downloads the package from npm, so no clone or install step is needed.
{
"mcpServers": {
"n8n": {
"command": "npx",
"args": ["-y", "autafy-n8n-mcp"],
"env": {
"N8N_WEBHOOK_SECRET": "optional-bearer-token"
}
}
}
}
Option 2: run from a local clone
git clone https://github.com/autafyai-code/autafy-n8n-mcp.git
cd autafy-n8n-mcp
npm install
Then point your client at index.js:
{
"mcpServers": {
"n8n": {
"command": "node",
"args": ["/path/to/autafy-n8n-mcp/index.js"],
"env": {
"N8N_WEBHOOK_SECRET": "optional-bearer-token"
}
}
}
}
Both environment variables are optional:
N8N_WEBHOOK_SECRET: when set, it is sent as anAuthorization: Bearerheader on each webhook request.N8N_DEFAULT_WEBHOOK: a webhook URL to use when the tool call does not includewebhook_url. Set it to your n8n webhook URL so the agent does not need the URL in every request.
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.