n8n

Run n8n workflows from your AI client. Self-hosted automation.

Works with: Claude DesktopClaude CodeCursor

How to install the n8n MCP server

Add this to your Claude Desktop MCP configuration:

Configure n8n MCP node and webhook URL.

Add this to your Claude Code MCP configuration:

Configure n8n MCP node and webhook URL.

Add this to your Cursor MCP configuration:

Configure n8n MCP node and webhook URL.

The n8n MCP server lets Claude trigger your self-hosted automation workflows. Think Zapier, but you own the infrastructure and the integrations. For anyone already running n8n, the MCP server turns every workflow into a prompt-triggerable action.

n8n’s strength is breadth: hundreds of integrations, full code nodes, branching logic. The MCP server gives Claude a way to invoke any of it.

Why use it

n8n shines when your automation gets complicated. Conditional branches, retries, custom code, weird API calls. The flip side: you usually trigger workflows from the n8n UI or a webhook, which means switching tools. The MCP server keeps everything in the conversation.

For solo founders running n8n as their automation backbone, this is what makes Claude the front-end for the whole stack. “Send this customer a follow-up email and add them to my CRM” becomes one prompt, even though the workflow under the hood touches three integrations.

What it actually does

The standard pattern: each n8n workflow exposes a webhook URL. The MCP server lets Claude POST to that URL with a JSON body, then read the response. More advanced servers expose the full n8n REST API for listing workflows, fetching execution history, and triggering by ID. Authentication is an n8n API key.

Practical patterns:

  • “Trigger my ‘new lead’ workflow with this contact info.”
  • “Run my ‘weekly digest’ workflow and tell me what the most recent execution returned.”
  • “List all my n8n workflows and which ones have failed in the last 24 hours.”

Gotchas

Webhook URLs are sensitive. Anyone with the URL can trigger the workflow. Use n8n’s webhook auth options (header validation, basic auth) and don’t paste the raw URLs anywhere public.

Self-hosted n8n needs to be reachable from wherever the MCP server runs. If your client is on your laptop and n8n is on a private network, you’ll need a tunnel or a public-facing URL. Cloudflare Tunnel is a popular pattern for this.

Pair with Slack, Brevo, or Notion for the full stack: Claude triggers an n8n workflow, the workflow does the heavy lifting across N integrations, the result lands somewhere structured. The combination is more flexible than any single MCP server can offer.

For users who don’t want to self-host, Zapier is the hosted alternative. Less control, faster to set up, but you pay per task and you’re tied to their cloud.

n8n MCP server: FAQs

Is the n8n server official?

There's official documentation for an MCP-style integration via n8n's webhooks plus the MCP node. Setup involves configuring an n8n workflow as the MCP server endpoint. The community has also published wrapper servers that simplify the setup.

What does it need to authenticate?

An n8n API key plus the URL of your n8n instance. Self-hosted users get this from their n8n admin panel; n8n cloud users from their workspace settings.

Can it create workflows or just trigger them?

Both, depending on the server. The simplest pattern is to trigger pre-built workflows via webhooks. Some servers expose the n8n REST API for workflow CRUD operations, but creating workflows from prompts is fragile. Build the workflow in n8n's UI; trigger it via MCP.

How is this different from Zapier MCP?

Zapier is hosted; n8n is usually self-hosted. n8n is more powerful (full code nodes, custom integrations, complex branching) but takes more effort to run. Zapier is simpler to start with but locked to their hosted environment and pricing.

Can Claude pass data to the workflow?

Yes. The webhook URL accepts a JSON body, which n8n exposes to nodes downstream. Claude can craft the payload from the conversation context and pass it through. This is how you build complex pipelines triggered by natural language.