Identity-Aware MCP Servers with Azure Cosmos DB | Pamela Fox | Azure Cosmos DB Conf 2026

Microsoft Developer · Intermediate ·🤖 AI Agents & Automation ·3d ago
Model Context Protocol (MCP) enables AI agents to securely access external data and services — but how can MCP servers store per-user data when multiple users share the same server? Pamela Fox (Principal Cloud Advocate, Python, Microsoft) builds a Python MCP server that authenticates users via Entra ID and stores their data in Azure Cosmos DB. You'll learn how to: • Integrate OAuth with the FastMCP framework • Use the Cosmos DB Python SDK • Design partition keys for efficient per-user data isolation • Implement role-based access using Microsoft Graph group membership Plus Pamela's dev tips: exploring data with the VS Code extension, chatting with data via the Cosmos MCP server in GitHub Copilot, and using agent skills to align server code with Cosmos DB best practices. 👤 Connect with Pamela Fox 📝 Pamela Fox is a human that loves to learn, teach, and create. She's currently a Cloud Advocate in Python at Microsoft, where she helps developers use Python with the many Azure offerings. On the teaching front, Pamela has taught computer science at UC Berkeley and volunteered in bay area classrooms as part of the TEALS, GirlsWhoCode, and CoderDojo organizations. She also started the SF chapter of GirlDevelopIt, where she taught dozens of web development workshops. Pamela's been in the tech industry for 15 years now, starting with her first role at Google as one of their first developer advocates. She went on to be an early full-stack engineer at Coursera and spent many years after at Khan Academy, both as an engineer and the creator of the computer programming content. 💼 https://www.linkedin.com/in/pamela-fox-5668b1b4/ 𝕏 https://x.com/pamelafox ✍️ https://blog.pamelafox.org/ 🎤 https://developer.azurecosmosdb.com/conf/#speaker/pamela-fox --- Azure Cosmos DB Conf 2026 is a free virtual developer event focused on building modern, scalable applications with Azure Cosmos DB. Sessions feature Microsoft engineers, product teams, and members of the global developer co
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Related AI Lessons

Prompt Engineering Is Dead. System Design Is What Replaces It
Learn why system design is crucial for AI success and how it replaces prompt engineering, with a focus on structuring reality for effective AI implementation
Medium · Machine Learning
Two Minds, One Proof: The Phenomenology of Non-Biological Mathematical Collaboration
Explore the concept of non-biological mathematical collaboration and its phenomenology in AI systems
Medium · Machine Learning
Two Minds, One Proof: The Phenomenology of Non-Biological Mathematical Collaboration
Explore the concept of non-biological mathematical collaboration and its implications on AI and human collaboration
Medium · Data Science
Meta Deploys Unified AI Agents to Automate Performance Optimization at Hyperscale
Meta's new AI-driven platform uses unified AI agents to automate performance optimization at hyperscale, enabling self-optimizing systems
InfoQ AI/ML
Up next
Codex Browser Use IS INSANE! Controls Your Computer & Automates Everything!
WorldofAI
Watch →