Your task
Challenge 08
What’s for Dinner?
Build a read-only Mercadona MCP serverAn MCP server publishes a named set of tools that an AI client can discover and call through one connection. and let a Telegram shopping assistant turn any dish into a live, priced product list.
Your bonus task
Connect the published catalog MCP serverAn MCP server publishes a named set of tools that an AI client can discover and call through one connection. to an eligible ChatGPT or Claude account, request "paella de marisco" or "gazpacho", and show that the external clientAn external client is another AI application, such as ChatGPT or Claude, connected to the workflow's published MCP address. can use the same three tools.
Example use cases
- A shopper sends "paella de marisco" and receives a compact list of available Mercadona products with current unit prices.
- A family names "gazpacho" and gets one practical package of each essential ingredient plus the basket total.
- A cooking workshop can reuse the same catalog tools from Telegram, ChatGPT, or Claude without giving the model permission to change data.
Before you start
- 01
Sign up for n8n Cloud or use an updated n8n instance with a public HTTPS address; read the MCP Server Trigger guide and use its Production URL after publishing.
- 02
Create a Telegram account, make a bot with BotFather, and add the token by following the n8n Telegram credentials guide.
- 03
Create an OpenRouter account, generate an API key, and store it in an n8n OpenRouter credential.
- 04
Keep the three read-only catalog endpoints ready: all categories, one category example, and one product example. These are live third-party endpoints and may change. Open each link in your browser before you start: if one stops returning JSON, the endpoint has changed, not your workflow.
- 05
For the bonus, confirm that your account supports remote custom connectors and follow either the ChatGPT MCP connector guide or the Claude custom connector guide. The server is intentionally read-only; deactivate the workflow after testing if you leave authentication set to None.
Nodes you'll use
What the workflow must do
- 01
Every text message containing a dish name receives one Telegram reply with four to six relevant, available Mercadona product names and current unit prices, with no internal IDs in the response.
- 02
Execution evidence shows that the agent calls get_categories first, then get_category with its required id for each selected category, and finally get_product for every product it includes.
- 03
The reply ends with a two-decimal euro total calculated for one unit or package of every listed fixed-price product, and two different dish tests use only values returned by the live catalog toolsThese tools read the current category and product records directly from the catalog endpoints while the workflow runs..
Tip
Need a tip?
Reveal up to five tips, one at a time.
Still stuck? Ask on the n8n community forum
Solution
See the workflow challenge answer
Reveal the completed workflow only when you are ready to compare it with your own.
Submit as solved
Ready to submit?
Submit when your team has a working workflow to demonstrate.