January 23rd, 2026
0 reactions

Azure Cosmos DB TV Recap: Supercharging AI Agents with the Azure Cosmos DB MCP Toolkit (Ep. 110)

In Episode 110 of Azure Cosmos DB TV, host Mark Brown is joined by Sajeetharan Sinnathurai to explore how the Azure Cosmos DB MCP Toolkit is changing the way developers build, deploy, and scale AI agents using real application data.

As agentic AI systems evolve, one challenge continues to surface: securely and consistently connecting AI agents to operational data—without rewriting integration logic for every platform. This episode takes a deep dive into how the Model Context Protocol (MCP), along with Azure Azure Cosmos DB’s implementation, addresses that challenge.

Why MCP Matters for AI Agents

At its core, MCP provides a standard way for AI agents to discover, understand, and interact with external systems. Instead of hard-coding integrations for each AI framework, developers can expose data sources once through an MCP server and reuse them across multiple tools and platforms.

Illustrated cartoon titled “The AI Integration Spaghetti.” A developer wearing an Azure Cosmos DB shirt looks stressed while tangled in a mess of cables connecting an app like Booking.com to AI assistants and copilots. The image shows many different plugs and tool-calling methods, representing how each AI platform requires a separate integration even though the core capability stays the same. Stacked boxes labeled “New Integration” emphasize the growing complexity and duplicated wiring.

In the episode, Sajee explains how MCP shifts AI integrations away from brittle, one-off wiring toward a predictable, reusable pattern—similar to what OpenAPI did for REST APIs. With MCP, tools describe themselves, agents understand what actions are available, and integration complexity fades behind a consistent protocol.

Inside the Azure Cosmos DB MCP Toolkit

The Azure Cosmos DB MCP Toolkit builds on this standard by providing an official, open-source MCP server tailored specifically for Azure Cosmos DB workloads.

During the walkthrough, Sajee highlights key capabilities included in the toolkit:

  • Control-plane operations, such as listing databases and containers
  • Data query tools, including read operations and recent document retrieval
  • Schema discovery, using intelligent sampling to infer structure
  • Text and vector search, enabling semantic and hybrid retrieval scenarios
  • Enterprise-grade security, powered by Entra ID and managed identity

Because the toolkit is open source, developers can extend it with custom tools, add monitoring features, or adapt it to their own environments—all without breaking the MCP contract.

Illustrated diagram titled “The Cosmos DB Data Explorer’s Handy-Dandy Toolbox.” A developer wearing an Azure Cosmos DB shirt stands in the center holding a wrench, surrounded by visual icons representing built-in tools. These include ListDatabases and ListCollections for browsing databases and containers, GetRecentDocuments for retrieving recent items, FindDocumentByID for fetching a document by ID, TextSearch for full-text search on properties, GetApproximateSchema for analyzing document structure, and VectorSearch for semantic search using AI embeddings. The image presents Azure Cosmos DB capabilities as an easy-to-use toolkit for exploring and querying data.

From Local Development to Production Agents

One of the most compelling parts of the episode is the end-to-end flow—from local development to production deployment.

Sajee demonstrates how developers can:

  • Deploy the MCP Toolkit using a one-click Azure template
  • Run it locally or host it in Azure Container Apps
  • Authenticate securely using Entra ID
  • Interact with the MCP server through a built-in visual playground

This makes it easy to experiment, validate tools, and iterate quickly before integrating the MCP server into real AI applications.

Illustrated character wearing an Azure Cosmos DB shirt celebrates while pointing to features around him. Callouts highlight Entra ID with managed identity authentication, automatic error handling, local development using Docker and the Cosmos DB emulator, containerized deployment to Azure Container Apps, one-click CI/CD deployment, and integration with AI Foundry and Visual Studio Code. The image emphasizes secure, developer-friendly deployment and operations for the Azure Cosmos DB MCP Toolkit.

Seamless Integration with Microsoft Azure AI Foundry

The episode also shows how the Azure Cosmos DB MCP Toolkit integrates with Microsoft Azure AI Foundry, enabling developers to build production-ready AI agents that reason over live application data.

Rather than embedding database logic directly inside an agent, the agent simply calls MCP tools exposed by Azure Cosmos DB. Azure handles authentication, permissions, and connectivity, allowing agents to focus on reasoning and decision-making instead of infrastructure.

The result is a clean separation of concerns:

  • Agents think
  • MCP servers expose capabilities
  • Azure handles security and scale

Demo Walkthrough:

1. Hands-on with the Azure Cosmos DB MCP Toolkit

  • Sajee switch from high-level discussion to a live demo of the Model Context Protocol (MCP) Toolkit for Azure Cosmos DB.
  • Sajee connect the toolkit to an existing Azure Cosmos DB instance to show how AI agents can directly interact with database data using MCP commands.
  • This includes executing various MCP “tools” like:
    • list_databases
    • list_collections
    • get_recent_documents
    • find_document_by_id
    • text_search
    • vector_search — demonstrating semantic search over stored embeddings.

2. Authenticating and Invoking Tools

  • A quick demonstration of enterprise-grade authentication: signing in with Microsoft Entra ID (Azure AD), getting a token, and using it to authorize MCP calls against Azure Cosmos DB securely.
  • Sajee show the toolkit’s web-based test UI where commands can be invoked interactively — great for debugging or exploring Azure Cosmos DB content without writing code.

3. Vector and Text Search in Actiona

  • The demo includes search queries where natural language input (like “find recent support tickets about login issues”) gets executed:
    • First as a keyword/text search.
    • Then as a semantic vector search using stored embeddings (if OpenAI service is configured).
  • Results from the vector search are shown in real-time, illustrating how AI can pull back contextually relevant records.

4. Integration with AI Agents

  • Sajee shows how the MCP Toolkit integrates with an AI agent (e.g., via Azure AI Foundry ):
    • The agent sends natural language requests (“give me the recently manufacture vehicles”), which internally translate to MCP calls.
    • Cosmos DB returns the structured data — demonstrating the “agent reads from DB and reasons over it.”

5. Wrapping Up Demo

  • The segment concludes by combining a couple of operations: reading schema, doing semantic search, and returning structured results all within one interactive session, showing how developers can build AI-driven apps grounded in actual database contents without boilerplate code

Screenshot from an Azure Cosmos DB TV live demo showing the Azure Cosmos DB MCP Toolkit web UI. The interface includes fields for database ID, container ID set to “Vehicles,” a dropdown with the “Get Recent Documents” tool selected, and a field for the number of documents to retrieve, along with an “Invoke Selected Tool” button. On the left side of the screen, video tiles show host Mark Brown and guest Sajee Sinnathurai speaking during the walkthrough, illustrating how the MCP Toolkit’s visual playground is used to query Azure Cosmos DB data.

What’s Next for the MCP Toolkit

As discussed toward the end of the episode, the team is actively incorporating customer feedback, expanding tool coverage, and preparing the Azure Cosmos DB MCP Toolkit for general availability. Additional monitoring capabilities and broader ecosystem integration are already on the roadmap.

Watch the Full Episode

If you’re building AI agents, exploring RAG architectures, or looking for a cleaner way to connect AI systems to real data, this episode is a must-watch.  You can find the video at the top of this post or using this link to YouTube.

Useful links:

Subscribe to Azure Cosmos DB TV for more deep dives into building scalable, intelligent applications with Azure Cosmos DB.

Leave a Review

Tell us about your Azure Cosmos DB experience! Leave a review on PeerSpot and get a $50 gift. Get started here.

About Azure Cosmos DB

Azure Cosmos DB is a fully managed and serverless NoSQL and vector database for modern app development, including AI applications. With its SLA-backed speed and availability as well as instant dynamic scalability, it is ideal for real-time NoSQL and MongoDB applications that require high performance and distributed computing over massive volumes of NoSQL and vector data.

To stay in the loop on Azure Cosmos DB updates, follow us on XYouTube, and LinkedIn.

Author

Mark Brown
Principal PM Manager

Mark is a Principal Program Manager on the Azure Cosmos DB team and is focused on making sure Azure Cosmos DB is the most developer friendly NoSQL database in the cloud.

Sajeetharan Sinnathurai
Principal Program Manager

Principal Product Manager passionate about empowering developers with exceptional tools and experiences. Currently part of the Azure Cosmos DB team, driving developer-focused features like JavaScript SDK, integrations, and tooling for local development etc. Interested in web development or cloud? Let’s connect!

Jay Gordon
Senior Program Manager

Jay Gordon is a Senior Program Manager with Azure Cosmos DB focused on reaching developer communities. Jay is located in Brooklyn, NY.

0 comments