Azure MCP Inventory Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Azure MCP Inventory ServerList all items in the Electronics category"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Azure MCP Inventory CRUD Server and Client
This project contains an MCP (Model Context Protocol) server and async client for managing inventory items in Azure Cosmos DB.
Setup
Install dependencies:
pip install -r requirements.txtCreate a
.envfile with your Azure Cosmos DB credentials:
COSMOS_ENDPOINT=https://<your-account>.documents.azure.com:443/
COSMOS_KEY=<your-primary-key>
COSMOS_DATABASE=<your-database-name>Related MCP server: FreshMCP
Running the Server
Start the MCP server with HTTP transport:
python server.pyThe server will run on http://127.0.0.1:8001 by default.
Using the Client
The client.py module provides an InventoryClient class for consuming the server. It uses async/await and httpx for HTTP communication.
Basic Usage
import asyncio
from client import InventoryClient
async def main():
client = InventoryClient(server_url="http://127.0.0.1:8001")
async with client.connect():
# Create an item
result = await client.create_item(
item_id="ITEM001",
name="Laptop",
category="Electronics",
quantity=10,
price=999.99
)
print(result)
# Read an item
result = await client.read_item("ITEM001", "Electronics")
print(result)
# Update quantity
result = await client.update_quantity("ITEM001", "Electronics", 15)
print(result)
# List items in a category
result = await client.list_category_items("Electronics")
print(result)
# Delete an item
result = await client.delete_item("ITEM001", "Electronics")
print(result)
asyncio.run(main())Running the Example
To run the included example:
python client.pyClient API
InventoryClient
Constructor
__init__(server_url: str = "http://127.0.0.1:8001")- Initialize the client
Methods
All methods are async and require using async with client.connect(): context manager.
async create_item(item_id, name, category, quantity, price)- Create a new itemasync read_item(item_id, category)- Read an item by ID and categoryasync update_quantity(item_id, category, new_quantity)- Update item quantityasync delete_item(item_id, category)- Delete an itemasync list_category_items(category)- List all items in a category
Server API
The server exposes the following tools via MCP:
create_item- Create a new inventory itemread_item- Read an item from the databaseupdate_quantity- Update the quantity of an existing itemdelete_item- Delete an inventory itemlist_category_items- List all items in a specific category
Architecture
server.py - FastMCP server that manages inventory CRUD operations with Azure Cosmos DB
client.py - Async HTTP client for consuming the MCP server
requirements.txt - Python dependencies
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-quality-maintenanceEnables users to manage data in a simple JSON file database through MCP tools and REST API. Supports creating, reading, updating, and deleting items organized in collections with auto-generated UUIDs.Last updated
- Alicense-qualityDmaintenanceProvides standardized MCP interfaces for Azure services including Cosmos DB operations (container and item management) and AI Search operations (index management), deployed through Azure API Management gateway.Last updatedMIT
- Flicense-qualityDmaintenanceEnables CRUD operations and schema exploration on Microsoft Dataverse databases using service principal authentication. It allows users to query records with OData filters, manage table entries, and retrieve metadata through a standardized MCP interface.Last updated
- Alicense-qualityDmaintenanceEnables CRUD operations on MongoDB databases and collections, including listing databases and collections, via MCP tools.Last updated40Apache 2.0
Related MCP Connectors
An MCP server that let you interact with Cycloid.io Internal Development Portal and Platform
Agent-native marketplace. Bootstrap, list inventory, search, negotiate, and trade via MCP.
The official MCP Server from Mia-Platform to interact with Mia-Platform Console
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/mazumdarabhishek/azure-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server