From the course: Unboxing AI: Build a Remote MCP Server from Zero to Deployed with OAuth

Unlock this course with a free trial

Join today to access over 24,900 courses taught by industry experts.

Why MCP makes automation easier

Why MCP makes automation easier

- I want to showcase one more thing here. If you use an automation tool like n8n, you know that to build advanced automation flows, especially that are built around AI tools, you need to build in a lot of complex integrations to ensure that the right behavior is triggered at the right time. And you have to really control how the AI input happens and how the output comes out, and make suggestions. So for example, in this tool here that I built, you'll see this part here, the switch gets a response from the AI agent, and then based on what the response is, it'll go fire off different sub-agents. And the way I did this was by having the first AI agent only output explicit statements like get info, update info, or out of scope, and then trigger these functions, which is really clunky. Now n8n now supports MCP servers and clients as well. And based on what I've demonstrated so far, that sounds weird, but it actually makes sense. Inside n8n, you can now set up an MCP server that has a bunch…

Contents