Menu

What Happens When You Ask AI “Where’s My Order?” (MCP Explained)
📰

What Happens When You Ask AI “Where’s My Order?” (MCP Explained)

DEV Community: api·Tharun Parepalli·about 22 hours ago
#adtlOJZz
#devtoapi#devto#dev#model#host
Reading 0:00
15s threshold

Where’s my order #1042?

It’s a simple question for a store chatbot. The order number is right there, and a short answer will do. But the one piece of information the customer actually wants is missing from the message: the current shipping status.

The store already has that information. What the chat application needs is a way to find the right operation, pass it order 1042, and use the result in its reply. That’s where the Model Context Protocol (MCP) comes in.

Let’s follow one order lookup from the chat window to the backend and back. Then we’ll look at how MCP fits alongside a REST API and what happens when the customer asks a follow-up.

The parts of an MCP integration

Four pieces take part in the order lookup. The model and the MCP client have different jobs, even though the AI host coordinates both.

Component What it does

AI host Runs the chat experience, manages conversation context, and decides which tools the model can use.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.