6️⃣ Connect to the Pizza MCP Server
In this level, you are moving your agent from a direct API connection to a more flexible architecture using an MCP server.
Instead of wiring your agent directly to APIs, MCP (Model Context Protocol) acts as a capability layer. This makes it much easier for Contoso Pizza to add new features and integrations to the agent over time — without you having to rewrite the entire backend connection.
By the end of this level, your agent will be connected to the Pizza MCP Server and able to take, track, and manage real pizza orders.
This is the point where your project starts to feel like a real-world application rather than a demo. 🍕⚡
WARNING
If you are using Spektra, you find the MCP resources in the right pane.
📋 Tasks
- Create a Contoso Pizza ID user account (your instructor will provide the URL).
- Replace the existing API integration with MCP.
- Provide the user ID to your agent in the System prompt.
- Write clear instructions so your agent can guide users through ordering.
✅ Pass Criteria and Requirements
- The agent can take an order for pizza and it appears on the in-room dashboard.
- The agent can provide the status of the customer’s pizza order(s).
- The agent can cancel an order after it has been placed, if the cancellation is requested quickly enough.
📚 Resources
🛠️ Hints and Tips
For Open Hack events, you find the MCP resources in the right pane of your Spektra Environment
You can test the MCP server with an existing AI chat UI that supports MCP integration. Some suggestions are: Chainlit, Visual Studio Code or Visual Studio.
Semantic Kernel has built-in support for MCP Servers for both Python and .NET.
If you are using other frameworks:
If you are interested in creating your own MCP Server, you will the MCP for Beginners a useful guide.