This Azure MCP Server enables interaction with Azure cloud services (Blob Storage, Cosmos DB, and App Configuration) through the Model Context Protocol framework. It allows Claude to directly perform Azure operations with proper authentication and logging.
The simplest way to install is using Smithery:
npx -y @smithery/cli install @mashriram/azure_mcp_server --client claude
Follow these steps for manual installation:
Clone the repository to your local machine
Set up Azure credentials using one of these methods:
AZURE_STORAGE_ACCOUNT_URL
- Your Azure Storage account URLAZURE_COSMOSDB_ENDPOINT
- Your Cosmos DB endpoint URLAZURE_COSMOSDB_KEY
- Your Cosmos DB access keyAZURE_APP_CONFIGURATION_ENDPOINT
- Your App Configuration URLaz login
Configure Claude Desktop:
~/Library/Application\ Support/Claude/claude_desktop_config.json
%APPDATA%/Claude/claude_desktop_config.json
"mcpServers": {
"mcp-server-azure": {
"command": "uv",
"args": [
"--directory",
"/path/to/repo/azure-mcp-server",
"run",
"azure-mcp-server"
]
}
}
Install and launch the Claude desktop app
Test your setup by asking Claude to perform an Azure operation
container_name
container_name
container_name
, blob_name
, file_content
(Base64 encoded)container_name
, blob_name
container_name
container_name
, blob_name
container_name
, partition_key
database_name
(defaults to "defaultdb")container_name
database_name
database_name
container_name
database_name
container_name
, item
(JSON object)database_name
container_name
, item_id
, partition_key
database_name
container_name
, item_id
, partition_key
, item
(JSON object)database_name
container_name
, item_id
, partition_key
database_name
container_name
, query
database_name
, parameters
key
(supports wildcards), label
key
, value
label
, content_type
key
label
audit://azure-operations
resource endpointThere are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > MCP and click "Add new global MCP server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"cursor-rules-mcp": {
"command": "npx",
"args": [
"-y",
"cursor-rules-mcp"
]
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explictly ask the agent to use the tool by mentioning the tool name and describing what the function does.