Lección 5 · Módulo 5: Omnichannel Integration: WhatsApp, Telegram and MCP
MCP explained: how one server gives agents tools on 50+ platforms
- What MCP is and the problem it solves
- How hosts, clients and servers talk
- How to give a no-code agent tools on 50+ platforms
Why this matters
Lina's agent can chat, but real work means reaching her calendar, her invoicing tool and her CRM, and each one has its own API, login and quirks. Connecting every agent to every app by hand multiplies the work and breaks whenever one app changes. The Model Context Protocol (MCP) gives agents one shared way to find and use tools, so you connect each side once and reuse it.
Key ideas
- MCP is a shared standard for tools. Think of it as one agreed format that lets any AI agent discover and call the tools any app offers. You build a connection once and reuse it everywhere.
- Three parts: host, client and server. The host is the app your agent lives in, such as n8n. The client is a small connector inside the host. The server wraps a real app and does the actual work. The client asks the server what tools it has, the agent picks one, and the server runs it and returns the result.
- Counting connections shows the saving. Without a standard, every agent needs its own link to every app. With MCP, each agent learns the standard once and each app gets one server.
| Setup | 3 agents, 5 apps |
|---|---|
| Custom links | 3 x 5 = 15 integrations |
| With MCP | 3 + 5 = 8 pieces |
- A server offers three kinds of things. Tools are actions the agent can take, such as booking or invoicing. Resources are things it can read, such as a price list. Prompts are ready-made instruction templates. Tools are what you will use most.
- A gateway server covers many platforms. One server can sit in front of hundreds of apps, so you sign in to each app once and your agent gets one address that exposes tools from all of them.
Try it before you watch
If a team has 4 agents and 10 apps, how many pieces does MCP need, compared with custom links?
Show answerHide answer
With MCP it needs 4 + 10 = 14 pieces, while custom links would need 4 x 10 = 40 integrations. Adding pieces grows slowly, but connecting each pair grows fast.
Words to know
- API: a doorway a program uses to ask another app to do something, such as create an invoice.
- Protocol: an agreed format for messages, so two sides understand each other.
- Host: the app your AI agent runs inside, such as n8n or Claude Desktop.
- Client: the small connector inside the host that talks to MCP servers.
- Server: the program that wraps a real app and exposes its actions as tools.
- Gateway: one MCP server that sits in front of many apps at once.
What to watch for
- Follow the request step by step: the client asks for the tool list, the agent picks a tool, and the server's answer flows back.
- Notice how the number of connections changes as you add apps, and why MCP keeps it small.
- Pay attention to the warning about switching on every tool, and why an agent should get only the few tools it needs.
Apréndelo con tu tutor en la pizarra en vivo
Puntos clave del video
One assistant, too many apps
- Your agent answers customers on WhatsApp and Telegram
- Now it must book, invoice, update the CRM and report sales
- Each app has its own API, its own login and its own quirks
- What if one plug fit them all?
layout: wide
direction: LR
components:
assistant: {kind: client, label: Lina's assistant}
cal: {kind: external, label: Google Calendar}
stripe: {kind: external, label: Stripe}
crm: {kind: external, label: HubSpot}
sheet: {kind: file, label: Google Sheet}
links: [assistant->cal, assistant->stripe, assistant->crm, assistant->sheet]
steps:
- at: "Picture Lina"
show: [assistant]
- at: "answers customers on WhatsApp and Telegram"
note: "WhatsApp and Telegram"
- at: "book a consultation in Google Calendar"
show: [cal]
flow: ["assistant>cal: book"]
- at: "send an invoice from Stripe"
show: [stripe]
flow: ["assistant>stripe: invoice"]
- at: "update the lead in HubSpot"
show: [crm]
flow: ["assistant>crm: lead"]
- at: "post daily sales to a sheet"
show: [sheet]
flow: ["assistant>sheet: sales"]
- at: "Every one of those apps has its own API"
highlight: [cal, stripe, crm, sheet]
note: "its own API, login and quirks"
- at: "Wiring them one by one is slow and fragile"
note: "slow and fragile"
- at: "one standard plug that let her agent reach all of them"
highlight: [assistant]
note: "one standard plug"
- at: "That plug exists"
highlight: [assistant] What you will learn
- What MCP is and the problem it solves
- How hosts, clients and servers talk
- How to give a no-code agent tools on 50+ platforms
tree:
Three goals: [What MCP is, The three parts, Plug into an agent]
direction: down
start: none
steps:
- at: "able to do three things"
show: Three goals
- at: "First, explain what MCP is"
show: What MCP is
- at: "Second, describe the three parts"
show: The three parts
- at: "Third, plug one MCP server"
show: Plug into an agent The many-to-many problem
- Without a standard: every agent times every app
- With MCP: every agent plus every app
- Build each connection once, reuse it everywhere
layout: side
kind: bar
title: Integrations to build
data: {Custom links: 15, With MCP: 8}
steps:
- at: "three agents and five apps"
show: [Custom links]
- at: "fifteen separate integrations"
highlight: Custom links
- at: "several links break"
note: "one change breaks several links"
- at: "every agent plus every app"
show: all
note: "add, not multiply"
- at: "only eight pieces"
show: all
highlight: With MCP
- at: "the saving grows fast"
highlight: With MCP
note: "the saving grows with each app" MCP in one sentence
- MCP = Model Context Protocol, an open standard
- A protocol is an agreed format for messages
- Like USB-C: one port, many devices
- Released by Anthropic, now used by many AI apps
layout: full
parts:
mcp: {chip: MCP, sub: "Model Context Protocol"}
steps:
- at: "MCP stands for Model Context Protocol"
highlight: mcp
- at: "agreed format for messages"
vortex: {into: mcp, words: [agreed, format, messages]}
- at: "discovers tools and asks to use them"
note: "discover tools, then call them"
- at: "one port, many devices"
note: "one port, many devices"
- at: "they all speak the same port"
highlight: mcp
note: "same port, every device"
- at: "MCP is that port for agents"
highlight: mcp
- at: "Claude, ChatGPT, n8n"
spokes: {of: mcp, items: [Claude, ChatGPT, n8n]} Host, client, server
- Host: the app your agent lives in
- Client: the connector inside the host
- Server: wraps real apps as tools
layout: wide
direction: LR
components:
host: {kind: client, label: "Host: n8n agent"}
llm: {kind: llm, label: "Language model (LLM)"}
client: {kind: service, label: MCP client}
server: {kind: service, label: MCP server}
cal: {kind: external, label: Google Calendar}
crm: {kind: external, label: CRM}
links: [host->llm, host->client, client->server, server->cal, server->crm]
steps:
- at: "meet the three parts"
show: [host, llm]
- at: "a small connector"
show: [host, llm, client]
- at: "wraps real systems"
show: all
- at: "First the client asks the server"
flow: ["client>server: tools/list", "server>client: tool list"]
- at: "Then the agent picks one"
flow: ["host>client"]
- at: "the client sends a call"
flow: ["client>server: tools/call"]
- at: "the server books the slot"
flow: ["server>cal: book", "cal>server: ok"]
- at: "the result flows back"
flow: ["server>client: result", "client>host"] What a server offers
- Tools: actions the agent can take (book, invoice, add a lead)
- Resources: things it can read (price list, order history)
- Prompts: ready-made instructions (payment reminder template)
tree:
MCP server: [Tools, Resources, Prompts]
direction: down
start: none
steps:
- at: "An MCP server can offer three kinds of things"
show: MCP server
- at: "First, the Tools"
show: Tools
- at: "actions the agent can take"
highlight: Tools
- at: "Second, the Resources"
show: Resources
- at: "things the agent can read"
highlight: Resources
- at: "Third, the Prompts"
show: Prompts
- at: "ready-made instructions the server shares"
highlight: Prompts
- at: "Most of what you'll use day to day"
highlight: Tools Worked example: a call, step by step
1. The server lists its tools
{"tools": [
{"name": "book_appointment",
"about": "Book a consultation",
"needs": {"date": "text",
"customer": "text"}},
{"name": "create_invoice",
"about": "Create a Stripe invoice",
"needs": {"customer": "text",
"amount": "number"}}
]}
2. The client calls one tool
{"method": "tools/call",
"name": "create_invoice",
"arguments": {"customer": "Sara",
"amount": 120}}
3. The server answers
{"result": "Invoice for Sara: $120.00"} One server, 50+ platforms
- Some servers are gateways to many apps
- Examples: Zapier MCP, Composio, Pipedream
- Sign in to each app once inside the gateway
- Your agent sees Gmail, Calendar, Stripe, HubSpot and more
layout: wide
direction: LR
components:
agent: {kind: client, label: Your agent}
gw: {kind: gateway, label: MCP gateway}
gmail: {kind: external, label: Gmail}
cal: {kind: external, label: Google Calendar}
stripe: {kind: external, label: Stripe}
crm: {kind: external, label: HubSpot}
sheet: {kind: file, label: Google Sheets}
links: [agent->gw, gw->gmail, gw->cal, gw->stripe, gw->crm, gw->sheet]
steps:
- at: "Now the title of this lesson"
show: [agent, gw]
- at: "Some MCP servers wrap just one app"
note: "one app per server"
- at: "sits in front of hundreds of apps"
highlight: [gw]
- at: "Composio and Pipedream all work this way"
note: "Zapier, Composio, Pipedream"
- at: "You sign in to Gmail"
show: [gmail]
- at: "Google Calendar for bookings"
show: [cal]
- at: "Stripe for payments"
show: [stripe]
- at: "customer list"
show: [crm]
- at: "finally Google Sheets"
show: [sheet]
- at: "connects to that single address"
flow: ["agent>gw: connect"]
- at: "behind one plug"
highlight: [gw]
note: "no API code at all" Plugging it into a no-code agent
- n8n: MCP Client Tool node on the AI Agent
- Paste the server URL, pick the tools to include
- n8n connects to remote servers by URL
- Local servers suit desktop apps like Claude Desktop
- The same server works for WhatsApp, Telegram and web
layout: full
parts:
wa: {chat: "Book Sara for Friday at 3 pm"}
mcp: {chip: MCP Client Tool, sub: "n8n node"}
agent: {box: n8n AI Agent, holds: [mcp], icon: bot}
gw: {chip: Gateway MCP server}
apps: {chip: "Calendar, Stripe"}
top: {box: Your n8n workflow, holds: [agent, gw, apps]}
steps:
- at: "Here's how it looks in n8n"
note: "inside n8n"
- at: "Your WhatsApp or Telegram trigger"
send: wa
- at: "feeds the AI Agent node"
zoom_out: agent
- at: "add the MCP Client Tool node"
highlight: mcp
- at: "paste the gateway's server URL"
zoom_out: top
- at: "That's it"
note: "one URL, a few tools"
- at: "acts on Calendar and Stripe"
highlight: apps
- at: "Servers come in two flavours"
note: "remote or local"
- at: "connects to remote servers by URL"
highlight: gw
- at: "Local ones run as a program"
note: "on your own computer"
- at: "share the exact same toolbox"
highlight: [gw, apps]
note: "one shared toolbox" Common mistake: switching everything on
- Exposing 200 tools confuses the model
- Vague descriptions lead to wrong tool picks
- Risky actions like refunds need a human check
- Enable only what this agent needs
layout: side
kind: bar
title: Tools switched on
data: {Offered: 200, This agent: 6}
steps:
- at: "switching on every tool a gateway offers"
show: [Offered]
- at: "Two hundred tools means"
highlight: Offered
- at: "starts picking the wrong one"
note: "wrong tool, wrong action"
- at: "issue refunds or delete contacts"
note: "risky actions need a check"
- at: "enable only what this agent needs"
show: all
highlight: This agent Recap
- MCP turns many-times-many links into many-plus-many
- Host and client ask, server lists and runs tools
- One gateway server gives your agent 50+ platforms, so choose tools carefully
layout: full
parts:
mcp: {chip: MCP, sub: "one shared standard"}
steps:
- at: "MCP is a shared standard"
highlight: mcp
- at: "every agent plus every app"
spokes: {of: mcp, items: [Agents, Apps]}
- at: "ask questions and make calls"
vortex: {into: mcp, words: [ask, call, list, run]}
- at: "lists its tools and actually runs them"
note: "list tools, run tools"
- at: "puts more than fifty platforms behind one address"
note: "50+ platforms, one address"
- at: "so you choose only the tools each agent needs"
note: "choose tools carefully"
- at: "With that, Lina's assistant"
highlight: mcp
note: "real work, not just chat" Your exercise
- Create a free account on one gateway (Zapier MCP or Composio)
- Connect Google Calendar and one invoicing or CRM app
- Enable 3 tools only, add the URL in n8n's MCP Client Tool
- Test: "Book Sara for Friday at 3 pm"
tree:
Your task: [Pick a gateway, Connect your apps, Enable three tools, Add the URL in n8n, Send a test]
direction: down
start: none
steps:
- at: "Here's your task"
show: Your task
- at: "Pick one gateway"
show: Pick a gateway
- at: "Connect Google Calendar"
show: Connect your apps
- at: "Enable exactly three tools"
show: Enable three tools
- at: "Copy the server URL"
show: Add the URL in n8n
- at: "send it a test message"
show: Send a test
- at: "the event really appears"
note: "check your calendar"
- at: "In the next lesson"
note: "next: the full assistant" Transcripción
One assistant, too many apps. Picture Lina, who runs a small online skincare shop. Her AI assistant already answers customers on WhatsApp and Telegram. Now she wants it to do real work: book a consultation in Google Calendar, send an invoice from Stripe, update the lead in HubSpot, and post daily sales to a sheet. Every one of those apps has its own API, the doorway programs use to talk to it, plus its own login and its own quirks. Wiring them one by one is slow and fragile. So what if there were one standard plug that let her agent reach all of them, and dozens more? That plug exists, and today you'll learn how it works.
What you will learn. By the end of this lesson you'll be able to do three things. First, explain what MCP is and the problem it solves, and why it saves you from building the same connection over and over. Second, describe the three parts of an MCP setup, the host, the client and the server, and follow a real request from your agent to a calendar and back. Third, plug one MCP server into a no-code agent so it can use tools on more than fifty platforms, and know which tools to switch on and which to leave off.
The many-to-many problem. Here's the core problem. Say Lina uses three agents and five apps. Without a shared standard, each agent needs its own link to each app, so three times five gives fifteen separate integrations to build and maintain. Change one app's API and several links break. With MCP, the count becomes every agent plus every app: each agent learns the standard once, and each app gets one MCP server. Now you add instead of multiply: three plus five, only eight pieces. And as you add apps, the saving grows fast, because somebody else has often already built the server you need.
MCP in one sentence. MCP stands for Model Context Protocol. A protocol is just an agreed format for messages, the way every email client agrees on how an email is shaped. MCP agrees on how an AI agent discovers tools and asks to use them. The best everyday analogy is USB-C: one port, many devices. Your laptop doesn't care whether you plug in a charger, a screen or a drive, because they all speak the same port. MCP is that port for agents. Anthropic released it as an open standard, and today Claude, ChatGPT, n8n and many other tools speak it.
Host, client, server. Let's meet the three parts. The host is the app your agent lives in, like n8n or Claude Desktop, and it talks to the language model, or LLM. Inside the host sits an MCP client, a small connector. On the other side is the MCP server, which wraps real systems such as your calendar and your CRM. Now watch a request travel. First the client asks the server which tools it has, and the server answers with a list. Then the agent picks one, the client sends a call, the server books the slot, and the result flows back.
What a server offers. An MCP server can offer three kinds of things, so think of it as a well organised back room. First, the Tools. These are actions the agent can take, like booking an appointment, creating an invoice or adding a lead. Second, the Resources. These are things the agent can read, like your price list, a customer's order history or today's sales file. Third, the Prompts. These are ready-made instructions the server shares, like a template for a polite payment reminder. Most of what you'll use day to day is tools, but knowing all three helps you read any server's description.
Worked example: a call, step by step. Let's make this concrete. These messages are written in JSON, a simple text format for labelled data: a name in quotes, then its value. Part one is what Lina's server advertises: two tools, each with a name, a short plain-English description, and the fields it needs, like the date and the customer. A customer named Sara writes on WhatsApp asking for her invoice. The model reads the descriptions and picks create invoice. Part two is the message the MCP client sends: a tools call with that tool's name, and the arguments filled in, customer Sara and amount 120. Part three is the server's answer after it has done the work: Invoice for Sara, 120 dollars. The agent replies to Sara with exactly that.
One server, 50+ platforms. Now the title of this lesson. Some MCP servers wrap just one app. Others are gateways, one server that sits in front of hundreds of apps. Zapier's MCP server, Composio and Pipedream all work this way. You sign in to Gmail for your inbox, then Google Calendar for bookings, then Stripe for payments, then HubSpot, with its customer list, and finally Google Sheets, all once inside the gateway. You choose the actions you want and get one server address. Your agent connects to that single address and instantly sees tools on all those platforms. For Lina, that's booking, invoicing, the CRM and sales reports behind one plug, with no API code at all.
Plugging it into a no-code agent. Here's how it looks in n8n. Your WhatsApp or Telegram trigger feeds the AI Agent node, just like in the last lessons. Under the agent's tools, add the MCP Client Tool node, paste the gateway's server URL, and choose which tools to include. That's it. The gateway then acts on Calendar and Stripe, your real apps. Servers come in two flavours. Remote ones sit on the web, like the gateway, and n8n connects to remote servers by URL. Local ones run as a program on your own computer and are used by desktop hosts like Claude Desktop. And because the tools live on the server, your WhatsApp, Telegram and web channels can all share the exact same toolbox.
Common mistake: switching everything on. The most common mistake is switching on every tool a gateway offers. Two hundred tools means the model reads two hundred descriptions on every message. It gets slower, costs more, and starts picking the wrong one, like sending an email when it should have booked a slot. It's also a security risk: an agent that can issue refunds or delete contacts will eventually do it by accident. Risky actions like refunds need a human check, so put an approval step in front of anything that moves money or deletes data. So enable only what this agent needs, which is usually five or six tools, and write clear descriptions for each one.
Recap. Let's wrap up. First, MCP is a shared standard, so instead of building every agent times every app, you build every agent plus every app. Second, the host and its client ask questions and make calls, while the server lists its tools and actually runs them against your real systems. Third, a gateway server puts more than fifty platforms behind one address, which is powerful, so you choose only the tools each agent needs and guard the risky ones. With that, Lina's assistant can finally do real work, not just chat.
Your exercise. Here's your task before the next lesson. Pick one gateway, either Zapier MCP or Composio, and create a free account. Connect Google Calendar and one invoicing or CRM app you actually use. Enable exactly three tools, no more. Copy the server URL into an MCP Client Tool node attached to your agent from the earlier lessons. Then send it a test message like, book Sara for Friday at three pm. Check that the event really appears in your calendar. In the next lesson we'll bring everything together into a full omnichannel assistant that books, invoices and updates the CRM.
Explora las animaciones
Las animaciones del video, exactas y en vivo: reprodúcelas, pausa, arrastra el control deslizante o salta a un paso a tu propio ritmo.
Loading the animation...
Loading the animation...
Loading the animation...
Loading the animation...
Loading the animation...
Loading the animation...
Loading the animation...
Loading the animation...
Loading the animation...
Loading the animation...
Loading the animation...
Responde todas las preguntas y luego comprueba. Apruebas con 70%; puedes intentarlo las veces que quieras.
Resumen de la lección
- Lectura
- Video visto
- Cuestionario aprobado (70%)
- MCP turns many-times-many links into many-plus-many
- Host and client ask, server lists and runs tools
- One gateway server gives your agent 50+ platforms, so choose tools carefully