What Azure services are required?
Azure Cosmos DB for NoSQL (with vector search enabled), Azure Blob Storage for images, and Azure OpenAI for embeddings.
@patrice-truong
Basic information
Azure Cosmos DB MCP Client and Server
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"cosmosdb-mcp": {
"command": "npx",
"args": [
"ts-node",
"src/server.ts"
]
}
}
}Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
Fetch the live tool list by running this server in a temporary sandbox using the button above.
This project demonstrates how to build an MCP Server and client connected to Azure Cosmos DB for NoSQL. It includes a NextJS 15 frontend that displays a product catalog and provides an AI Assistant for searching products and retrieving past orders, alongside a Node.js MCP Server that reads products and orders from the database.
Clone the repository, configure environment variables (Azure Cosmos DB endpoint, database, containers, Azure Storage, Azure OpenAI credentials), then start the MCP server with npx ts-node src/server.ts from the mcp-server folder. Run the frontend with npm start from the nextjs folder. Optionally, populate the product catalog using the provided .NET tool in the populate folder.
Azure Cosmos DB for NoSQL (with vector search enabled), Azure Blob Storage for images, and Azure OpenAI for embeddings.
Run the .NET console application in the `populate` folder after configuring `appsettings.json` with your Cosmos DB account details and after authenticating with Azure (az login).
Product, cart, and order data is stored in Azure Cosmos DB containers. Product images are hosted in Azure Blob Storage.
The project uses Azure RBAC (role-based access control) with an app registration and client secret. It also requires a storage account role assignment (Storage Blob Data Contributor). No built-in user authentication is implemented; the user email is hardcoded in `nextjs/models/constants.ts`.
Optionally start the MCP inspector with `npx -y @modelcontextprotocol/inspector` after the MCP server is running.

Access millions of official legal and regulatory source documents from 155+ jurisdictions via MCP. Lawstronaut supports AI agents with structured legal research, legal data, laws, regulations, cases, guidance, official s

Model Context Protocol Servers
Postgres MCP Pro provides configurable read/write access and performance analysis for you and your AI agents.
Universal MCP-Server for your Databases optimized for LLMs and AI-Agents.
Connect ClickHouse to your AI assistants.
Comments