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

Microsoft Developer · Intermediate ·🤖 AI Agents & Automation ·4h 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

BizNode now has 7 tiers from $20 to $1500. API-hosted tiers need zero installation — your bot runs on BizNode...
BizNode offers 7 tiers of AI-powered automation, allowing businesses to work smarter with around-the-clock intelligence, starting at $20/month
Dev.to AI
OpenAI Really Wants Codex to Shut Up About Goblins
Learn how OpenAI's coding agent Codex is instructed to avoid discussing irrelevant creatures like goblins, and why this matters for AI development
Wired AI
Why Companies Will Stop Asking “Do You Know AI?” and Start Asking This Instead
Companies will shift from asking about AI knowledge to inquiring about ability to architect integrated systems using MCP, RAG, and Agents, highlighting the need for professionals to understand these technologies.
Medium · RAG
MCP, A2A, AND THE AGENT INTERNET
Learn about the Model Context Protocol (MCP) and A2A protocol and their impact on the agent internet and enterprise AI
Medium · AI
Up next
ChatGPT’s New Workspace 24/7 AI Agents is INSANE
Julian Goldie SEO
Watch →