Skip to content

Unlock Your Agent's Potential with Model Context Protocol and PostgreSQL

A 60-minute interactive workshop

Imagine you’re a sales manager at Zava, a retail DIY company with stores across Washington State and a growing online presence. You specialize in outdoor equipment, home improvement tools, and DIY supplies.

You need to analyze sales data to find trends, understand customer preferences, and make informed business decisions. To help you, Zava has developed a conversational agent that can answer questions about your sales data.

Zava Sales Analysis Agent

What you will learn in the workshop

Learn to build an AI agent that analyzes sales data, answers product questions, and helps customers find products. Key topics:

  1. Azure AI Foundry Agent Service: Build and deploy AI agents with integrated tools and observability.
  2. Model Context Protocol (MCP): Connects the Agent Service to external tools and data over industry standard protocols to enhance agent functionality.
  3. PostgreSQL: Use PostgreSQL as a vector database for semantic search and implement Row Level Security (RLS) to protect sensitive data based on user roles.
  4. Azure AI Foundry: An enterprise-grade AI development platform providing unified model access, comprehensive monitoring, distributed tracing capabilities, and production-ready governance for AI applications at scale.

Just starting your AI Agents journey?

New to AI agents? Start with Build your code-first agent with Azure AI Foundry. You'll build a code-first agent integrating LLMs with databases, documents, and Bing Search—a solid foundation for advanced agents like Zava.

What is an LLM-Powered AI Agent?

An LLM-powered AI agent is semi-autonomous software that achieves goals without predefined steps. Instead of hard-coded workflows, it decides what to do based on instructions and context.

Example: If a user asks, "Show total sales per store as a pie chart", the agent interprets the request, tracks context, and orchestrates the right tools to produce the chart—no prebuilt logic required.

This shifts much of the application logic from developers to the model. Clear instructions and dependable tools are essential for predictable agent behavior and results.

Introduction to the Azure AI Foundry

Azure AI Foundry is Microsoft’s secure, flexible platform for designing, customizing, and managing AI apps and agents. Everything—models, agents, tools, and observability—lives behind a single portal, SDK, and REST endpoint, so you can ship to cloud or edge with governance and cost controls in place from day one.

Azure AI Foundry Architecture