Skip to content

AgentX tutorial

How to add a MCP to your AI Agent

MCP (Model Context Protocol) allows you to connect your AI application to any desired third-party app as long as it supports it. Here is a step-by-step tutorial on how to set it up and connect with your AI agent. We will give an example on YouTube MCP.

2 min read

MCP

MCP (Model Context Protocol) allows you to connect your AI application to any desired third-party app as long as it supports it. To learn more about it, read "what is MCP?" and "MCP best practice".

MCP workflow
MCP workflow

We will go over how to add any MCP servers to your AI agent on AgentX. And step-by-step show you and explain how each options is and works.

Create a new agent or select a existing agent(check out: how to create an AI agent if you do not have one yet).

In edit agent, choose INTEGRATIONS

You can search among MCP servers that we already have integrated 🔍

or click Add MCP button to the right side allows you to add any MCP that you found online, as long as they support uvx, npx, or sse.

The Featured MCP is the list of curated MCP servers presented by AgentX. You can also find information like its origin, detailed README, website, author etc. here. You can find them amongother tools

For example, you can add the YouTube DLP to your agent. (About YouTube MCP). This MCP allows your AI agent to interact with YouTube videos, which means your AI agent will be able to search videos, extract video information, subtitles, and top comments from url.

Click "Install" button to add the MCP to your Agent.

It will pop-up a setup window looks like this. Give it a name and click "Check MCP Server"

You can see the server returns with tools it comes with. The list of tools it returns is the list of new capabilities that your AI agent will get.

In this example, your AI agent will be assigned get-video-info, get-video-subtitles, and get-top-comments tools that comes with this YouTube MCP.

Now let's click "Save MCP Server".

If the MCP is successfully saved and enabled, you will see it in integrationslike this:

And of course, you can disable the added MCP server by click 🗑️, and you will be able to quickly add it back from MCP Servers later on.

Now let's see how this YouTube MCP can bring change to your AI Agent.

Let's ask the agent about what this video about https://www.youtube.com/watch?v=dQw4w9WgXcQ&ab_channel=RickAstley

You can see that the AI Agent leverages the newly added MCP tool to get the video information and subtitles, and then incorporate the data to respond to you.

Congrats! You just created an AI agent that is able to understand YouTube video without writing a single line of code! Now you can kick back and enjoy the video.

End

This is just one example out of 1000+ MCP tools. AgentX is committed to provide curated MCP server list and the reliable platform for you to host and grow your AI agents.

We will add more open sourced MCP servers to the list that is free licensed. Check out our GitHub for MCP hub.

Feel free to reach out to let us know what MCP you would like to have next. Contact

More tutorials

All tutorials

Creating a Custom Tool in AgentX

Learn how to quickly create custom API-powered tools in AgentX using natural language and automatic code generation.

Read

Custom Branding for Agent Emails

You can now choose between AgentX branding, completely custom branding with your own logo and identity, or a clean unstyled option — all available for both Lead Generation emails and regular agent-sent messages. Configuration is now unified and easier to access, making it simple to keep every outgoing email consistent with your brand.

Read

How to Automate Agent Tasks with AgentX

Discover how to automate your AgentX agents - from daily AI news briefings to fully autonomous SDR outreach - so your business runs on autopilot.

Read

How to Build AI Agent Workforce in AgentX

With AI Agent Workforces, you’re not limited to a single AI agent - you can build a whole team of specialists

Read

How to build an AI Agent - beginner's guide

Creating your first AI agent in AgentX, tuning prompts, instructions, and building knowledge bases. AgentX offers a no-code platform to create powerful AI agents for various use cases. Customize your agent’s bio, greeting, and response style, add knowledge bases, and enable optional features like lead generation or image generation. Once built, deploy your agent across multiple platforms, including websites, Slack, and Discord.

Read

How to Connect AgentX Lead Gen to ActiveCampaign CRM

AgnetX makes it incredibly simple to generate leads using AI agents and automatically sync those leads into your favorite CRM — including ActiveCampaign.

Read

Start your AI automation journey today

Sign up for AgentX and let AI handle your routine tasks. No credit card needed.