Skip to content
Build your own N8N Workflows MCP Server logo

Build your own N8N Workflows MCP Server

Verified

Expose n8n workflows as an MCP server for AI agents.

n8nAI & LLMIntermediate👁 46K views
Open template
Updated 2026-06-16

What this workflow does

This workflow converts existing n8n automations into discoverable MCP server endpoints that agents can list, manage, and invoke through structured tool calls.

It is intended for AI developers and power users who want agents to execute complete n8n workflows instead of isolated actions.

Who is this for?

n8n power users and automation engineers who already maintain complex workflows and want to expose them to MCP clients like Claude Desktop. AI agent builders and technical teams integrating outcome-focused tools rather than granular API calls.

What problem it solves

MCP clients are limited to simple tools and require many sequential calls to accomplish real tasks. This forces agents to orchestrate low-level steps instead of triggering complete, reliable end-to-end n8n workflows.

What it automates

Expose internal automation library to Claude

Connect Claude Desktop to an existing set of n8n workflows so the agent can discover and run multi-step processes like lead enrichment or report generation in one call.

Reduce agent round-trips for complex tasks

Let an AI agent trigger a single n8n workflow that handles data fetching, transformation, and notification instead of making separate tool calls for each step.

Central management of workflow permissions

Use the MCP server layer to control which workflows are visible and executable by different MCP clients without modifying the original workflows.

How the workflow works

The 6 nodes in this automation, in order.

  1. 1Redisredis
  2. 2AI Agent@n8n/n8n-nodes-langchain.agent
  3. 3OpenAI Chat Model@n8n/n8n-nodes-langchain.lmChatOpenAi
  4. 4Simple Memory@n8n/n8n-nodes-langchain.memoryBufferWindow
  5. 5Call n8n Workflow Tool@n8n/n8n-nodes-langchain.toolWorkflow
  6. 6MCP Client Tool@n8n/n8n-nodes-langchain.mcpClientTool

Apps & integrations used

RedisAI AgentOpenAI Chat ModelSimple MemoryCall n8n Workflow ToolMCP Client Tool

How to set up Build your own N8N Workflows MCP Server

  1. 1Import the template into your n8n instance
  2. 2Configure the MCP Client Tool node with your client credentials
  3. 3Connect the AI Agent to the OpenAI Chat Model and Simple Memory nodes
  4. 4Add your existing workflows as targets for the Call n8n Workflow Tool
  5. 5Set up Redis for workflow discovery and state tracking
  6. 6Activate the workflow and test discovery from your MCP client

How to customize this workflow

  • Swap OpenAI Chat Model for another supported LLM provider
  • Add extra Call n8n Workflow Tool nodes for additional workflow groups
  • Change the trigger from MCP Client Tool to a different MCP-compatible trigger
  • Extend Simple Memory with Redis keys for longer conversation context

Build your own N8N Workflows MCP Server: pros & cons

Pros

  • +Turns existing n8n workflows into powerful MCP tools
  • +Reduces number of calls an agent must make
  • +Works with any MCP client (Claude Desktop, etc.)
  • +Leverages n8n's visual workflow builder for complex logic

Cons

  • Requires an active n8n instance and Redis
  • Intermediate setup complexity for non-technical users
  • Discovery only works for workflows explicitly exposed
Did you find this helpful?

Frequently asked questions

It turns your n8n workflows into an MCP server so MCP clients can discover and run them as single high-level tools.

User reviews

Verified reviews from the community shape this listing's rating.

Loading reviews…

Sign in to review

Promote Build your own N8N Workflows MCP Server

Add this badge to your website, or share the tool.

DFeatured on DhanasviBuild your own N8N Workflows MCP Server 1