From the course: Build AI Agents and Automate Workflows with n8n
Unlock this course with a free trial
Join today to access over 24,700 courses taught by industry experts.
Creating an MCP server in n8n - n8n Tutorial
From the course: Build AI Agents and Automate Workflows with n8n
Creating an MCP server in n8n
- [Instructor] AI agents can use multiple different tools at the same time. It's not immediately obvious the way things are laid out right now, but if I move this tool to the side, you can see here I can click on plus and add additional tools. Now, if you remember back to the beginning, I said this agent will do two different things. It'll retrieve information. That's what we already have, and it'll also update information. So that means we need to add an update tool to the agent. I could do that right here. Click plus, go search for Google Sheets update, and just add the tool in. But there's a good chance, later on, I'll want to build another workflow that is also integrating with Google Sheets, and I want to use the same setup again. It would make more sense to create a package that has all the available Google Sheets tools I normally use, and then just call that package and have the agent pick the tools at once. and I can, thanks to the Model Context Protocol, also known as MCP…
Contents
-
-
-
Introducing n8n2m 6s
-
The Plan: An AI-powered Slackbot managing a Google Sheet2m 30s
-
(Locked)
Creating a new n8n workflow with a trigger1m 55s
-
(Locked)
Adding an AI agent and a chat model5m 28s
-
(Locked)
Adding a tool to the AI agent4m 47s
-
(Locked)
Using a sub-workflow as a tool4m 48s
-
(Locked)
Using the filter node to modify data4m 51s
-
(Locked)
Creating an MCP server in n8n4m 41s
-
(Locked)
Adding tools to the MCP server3m 50s
-
(Locked)
Creating a Slackbot2m 56s
-
(Locked)
Authenticating Slack3m 31s
-
(Locked)
Adding a Slack trigger2m 16s
-
(Locked)
Sending messages to Slack2m 27s
-
-