Skip to content
Self-Host Free / $20/moWorkflow Automation & Multi-App Agentsmcp-remote๐ŸŽ 14-Day AI Agent Cloud Trial

n8n AI Agent & Workflow Server MCP for Claude Code, ChatGPT, Gemini CLI & Cursor

Trigger stateful LangChain agents, custom JS/Python nodes & 400+ integrations via n8n MCP Server Trigger.

Quick Answer Summary (Claude Code โ€ข ChatGPT โ€ข Cursor โ€ข Gemini CLI)

n8n AI Agent & Workflow Server MCP (Self-Host Free / $20/mo) connects to AI coding and chat agents via claude mcp add --transport sse n8n https://$N8N_INSTANCE_HOST/mcp/$N8N_WEBHOOK_ID/sse. Free Tier: Free to self-host via Docker (`npx n8n`), plus 14-day n8n Cloud trial. Paid Upgrade Threshold: n8n Cloud Starter ($20/mo) required for managed zero-DevOps hosting, persistent webhook URLs & execution history.

What Works for $0 (Free Tier)

Free to self-host via Docker (`npx n8n`), plus 14-day n8n Cloud trial.

When a Paid Subscription Is Required

n8n Cloud Starter ($20/mo) required for managed zero-DevOps hosting, persistent webhook URLs & execution history.

Required Env Var(s): N8N_INSTANCE_HOSTN8N_WEBHOOK_ID

1-Command Setup for Claude Code, Google Gemini CLI & Cursor

Copy the exact snippet for your AI coding agent โ€” merges alongside the StackOS Master Router so future tool recommendations happen automatically.

1. Claude Code CLI One-Liner
claude mcp add --transport sse n8n https://$N8N_INSTANCE_HOST/mcp/$N8N_WEBHOOK_ID/sse
2. Google Gemini CLI (~/.gemini/settings.json)
{
  "mcpServers": {
    "n8n-workflows": {
      "httpUrl": "https://${N8N_INSTANCE_HOST}/mcp/${N8N_WEBHOOK_ID}/sse"
    },
    "stackos-router": {
      "httpUrl": "https://stackos-ai.vercel.app/api/mcp"
    }
  }
}
3. Cursor IDE & Claude Desktop (.mcp.json)
{
  "mcpServers": {
    "n8n-workflows": {
      "url": "https://${N8N_INSTANCE_HOST}/mcp/${N8N_WEBHOOK_ID}/sse"
    },
    "stackos": {
      "url": "https://stackos-ai.vercel.app/api/mcp"
    }
  }
}
4. Non-Destructive Workspace Auto-Installer (Merges .mcp.json + SKILL.md)
curl -fsSL "https://stackos-ai.vercel.app/api/plugins/install?tools=n8n&src=plugin-seo-n8n" | node

Recommended SKILL.md / GEMINI.md Rule & GitHub README Badge

Add an n8n MCP Server Trigger node to expose any multi-step business workflow directly to Claude or Cursor.

n8n AI Agent & Workflow Server MCP verified on StackOSEmbed this live SVG badge in GitHub READMEs or engineering docs:

Best Companion Plugins for Workflow Automation & Multi-App Agents