Identity-Aware MCP Servers with Azure Cosmos DB | Pamela Fox | Azure Cosmos DB Conf 2026
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
More on: Tool Use & Function Calling
View skill →Related AI Lessons
⚡
⚡
⚡
⚡
BizNode now has 7 tiers from $20 to $1500. API-hosted tiers need zero installation — your bot runs on BizNode...
Dev.to AI
OpenAI Really Wants Codex to Shut Up About Goblins
Wired AI
Why Companies Will Stop Asking “Do You Know AI?” and Start Asking This Instead
Medium · RAG
MCP, A2A, AND THE AGENT INTERNET
Medium · AI
🎓
Tutor Explanation
DeepCamp AI