Build an MCP Server with n8n | Full MCP Tutorial
Key Takeaways
Builds an AI agent in n8n with access to two MCP servers
Original Description
Build an AI Agent in n8n which has access to two MCP Servers:
- A RAG MCP Server to fetch more generic knowledge
- A Search Engine MCP Server to fetch information about real-time events
👇Get your $15 free Brigt Data credits 👇
https://brdta.com/tomstechacademy
👇n8n Templates 👇
AI Agent: https://n8n.partnerlinks.io/5398-ai-assistant-which-answers-questions-with-a-rag-mcp-and-a-search-engine-mcp
RAG MCP Server: https://n8n.partnerlinks.io/5403-build-an-mcp-server-which-answers-questions-with-retrieval-augmented-generation
👇Installation instructions for the Search Engine MCP Server 👇
https://n8n.partnerlinks.io/5398-ai-assistant-which-answers-questions-with-a-rag-mcp-and-a-search-engine-mcp
👇Download the PDF File 👇
https://github.com/ThomasJanssen-tech/n8n-mcp-rag
👇Install n8n local (self-hosted) 👇
https://www.youtube.com/watch?v=7qrruzYC0b4
👇The prompt 👇
You are a helpful assistant
You answer questions about MCP (Model Context Protocol). You have access to two MCP servers:
- The RAG MCP Server which answers general questions about MCP
- The Search Engine MCP Server which allows you to use a Search Engine in realtime.
The Search Engine MCP Server has two tools;
- list tool - which shows all the available tools
- execute tool - which allows you to execute a search query on a search engine.
You DO NOT answer questions with your internal knowledge, you ONLY use the knowledge provided by the two MCP servers to answer questions.
👇Timestamps 👇
00:00 - Intro
00:54 - MCP and different implementations of MCP Servers
04:57 - Building a RAG MCP Server
11:12 - Building the AI Agent
15:36 - Connecting to the Search Engine MCP Server
23:51 - Outro
👇Follow me 👇
💼 LinkedIn: https://www.linkedin.com/in/thomas--janssen/
✅ Instagram: https://www.instagram.com/tomstechacademy/
❗ Some of my videos contain affiliate links. When you click on these kind of links, I get a small percentage in case you make a purchase via the website. Be aware that this doesn't co
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
More on: Tool Use & Function Calling
View skill →Related Reads
📰
📰
📰
📰
Real-Time AI Pipelines: Building a Kafka + Kubernetes + Databricks Stack for Agentic AI Systems
Medium · Machine Learning
World’s First Axiomatic AI Operating System Achieves 2,000× Compute Efficiency
Medium · Machine Learning
World’s First Axiomatic AI Operating System Achieves 2,000× Compute Efficiency
Medium · Cybersecurity
The Fall of Static Audits: Analyzing AI-Driven Supply Chain Risk Management
Dev.to AI
Chapters (6)
Intro
0:54
MCP and different implementations of MCP Servers
4:57
Building a RAG MCP Server
11:12
Building the AI Agent
15:36
Connecting to the Search Engine MCP Server
23:51
Outro
🎓
Tutor Explanation
DeepCamp AI