Skip to content
FlowHubFluxonLab
A
AI Automationfree

Build your own N8N Workflows MCP Server

by Jimleukadapted from n8n official workflow galleryUpdated Aug 2026
RequiresAAI AgentCall n8n Workflow ToolCall n8n Workflow ToolMCP Client ToolMCP Client ToolOpenAI Chat ModelOpenAI Chat ModelRedisRedisSSimple Memory
Share Post Share
SeSimplify WorkflowsSimplify Workfl…EWWhen Executed by Another WorkflowWhen Executed b…SwOperationsN8Get MCP-tagged WorkflowsGet MCP-tagged …FiFilter Matching IdsFilter Matching…Store In MemorySeAddTool SuccessSeAddTool ErrorGet MemorySOSplit OutFiFilter Matching IDsFilter Matching…Store In Memory1SeRemove Tool SuccessRemove Tool Suc…SeConvert to JSONSelistTools SuccesslistTools Succe…N8Get MCP-tagged Workflows1Get MCP-tagged …SeSimplify Workflows1Simplify Workfl…AglistTools Success1listTools Succe…SeGet ParametersAgexecuteTool ResultexecuteTool Res…AgAI AgentChWhen chat message receivedWhen chat messa…MCMCP ClientMBSimple MemorySeConvert to JSON1IfHas Workflow Available?Has Workflow Av…SeExecuteTool ErrorExecuteTool Err…IfWorkflow Exists?McN8N Workflows MCP ServerN8N Workflows M…TWAdd WorkflowTWRemoveWorkflowTWList WorkflowsTWSearchWorkflowsTWExecuteWorkflowEWExecute Workflow with PassThrough VariablesExecute Workflo…OpenAI Chat ModelOpenAI Chat Mod…IfIs Empty Array?Delete Key123456789101112131415161718192021222324252627
1/5
FLOWS
STEPS · 27
Called by another workflow

This n8n template shows you how to create an MCP server out of your existing n8n workflows. With this, any MCP client connected can get more done with powerful end-to-end workflows rather than just simple tools. Designing agent tools for outcome rather than utility has been a long recommended practice of mine and it applies well when it comes to building MCP servers; In gist, agents to be making the least amount of calls possible to complete a task. This is why n8n can be a great fit for MCP servers! This template connects your agent/MCP client (like Claude Desktop) to your existing workflows by allowing the AI to discover, manage and run these workflows indirectly. How it works An MCP trigger is used and attaches 4 custom workflow tools to discover and manage existing workflows to use and 1 custom workflow tool to execute them. We'll introduce an idea of "available" workflows which the agent is allowed to use. This will help limit and avoid some issues when trying to use every workflow such as clashes or non-production. The n8n node is a core node which taps into your n8n instance API and is able to retrieve all workflows or filter by tag.

Tags

n8nreference-onlyagentlm-chat-open-aimcp-client-toolmemory-buffer-windowredistool-workflow
Connects
AAI Agentcalln8nworkflowtoolCall n8n Workflow ToolmcpclienttoolMCP Client ToolopenaichatmodelOpenAI Chat ModelredisRedisSSimple Memory
CategoryAI Automation
Triggermanual
Complexityadvanced
Nodes38
AddedApr 28, 2025

Related workflows

See all AI Automation
ACembeddingsopenai
free

Route WhatsApp support requests with Claude, Supabase, HubSpot and Slack

Quick overview This workflow turns incoming WhatsApp messages (text, audio, images, and documents) into actionable support interactions by extracting content, detecting sentiment, and using an AI agent with a Supabase knowledge base to route requests to Google Calendar, HubSpot, Slack, Gmail, and back to WhatsApp. How it works Receives incoming WhatsApp messages via a WhatsApp webhook trigger. Routes the message by type and converts it into text using OpenAI Whisper for audio, OpenAI GPT-4o Vision for images, or a PDF extractor for documents (or passes text messages through). Loads the sender’s session context from Supabase and runs sentiment/language detection on the extracted text. Uses a LangChain AI agent (Claude) with Supabase vector search (with OpenAI embeddings and Cohere reranking) plus tool access (Google Calendar, HubSpot, Slack, and Gmail) to produce a structured intent, response, and metadata. Logs conversation analytics (intent, sentiment, message type, and response length) to an n8n Data Table. Routes by intent to either create a Google Calendar event, create/update a HubSpot contact, email a document via Gmail (and upload it to Google Drive), create a HubSpot ticket

by Multifly
AopenaichatmodelserpapigooglesearchS
free

AI agent chat

This workflow employs OpenAI's language models and SerpAPI to create a responsive, intelligent conversational agent. It comes equipped with manual chat triggers and memory buffer capabilities to ensure seamless interactions. To use this template, you need to be on n8n version 1.50.0 or later.

by n8n Team
AopenaichatmodelserpapigooglesearchS
free

AI chatbot that can search the web

This workflow is designed for dynamic and intelligent conversational capabilities. It incorporates OpenAI's GPT-4o model for natural language understanding and generation. Additional tools include SerpAPI and Wikipedia for enriched, data-driven responses. The workflow is triggered manually, and utilizes a 'Window Buffer Memory' to maintain the context of the last 20 interactions for better conversational continuity. All these components are orchestrated through n8n nodes, ensuring seamless interconnectivity. To use this template, you need to be on n8n version 1.50.0 or later.

by n8n Team