MCP/Azure MCP Server
Azure MCP Server logo

Azure MCP Server

Verified Golden (1000+ GitHub stars)

Official Microsoft Azure MCP Server providing unified access to Azure Compute, AKS, Cosmos DB, App Service, Monitor, and Key Vault.

developer-tools•Cloud & Infrastructure
GitHub3.8k
License:MIT
OFFICIAL

About this Server

Official Microsoft Azure MCP Server 2.0 (`azure` / `@azure/mcp`) implements the Model Context Protocol to connect AI coding assistants and agents directly to Microsoft Azure services. It unifies operations across Azure Compute (VMs & scale sets), Azure Kubernetes Service (AKS), Azure Cosmos DB, App Service, Key Vault, Azure Monitor, Storage, and Microsoft Foundry through typed MCP tools with sovereign cloud support.

Real-time Interaction

Direct low-latency RPC protocol communication with structured JSON schemas.

Scoped Sandboxing

Restricted capability bounds to prevent accidental modifications or leakage.

Security & Best Practices

Entra ID Authentication: Requires authenticating via Azure CLI (az login) or Azure PowerShell before server startup.
Role-Based Access Control (RBAC): Enforces granular Azure IAM permissions on all underlying Azure Resource Manager operations.
Sovereign Cloud Isolation: Supports explicit cloud target routing via --cloud (AzurePublicCloud, AzureChinaCloud, AzureUSGovernment).

When to Use (and When Not To)

Best For
  • •Managing Azure cloud resources (VMs, AKS clusters, App Services, Cosmos DB) through AI assistants
  • •Diagnosing Azure outages and operational logs using Azure Monitor and Resource Health
  • •Auditing infrastructure costs and security postures using Azure Advisor recommendations
Not For / Limitations
  • •Amazon Web Services management and AWS CLI pipelines (use AWS Cloud MCP Server instead)
  • •Local Docker container sandbox orchestration (use Docker MCP Gateway instead)
  • •External SaaS status page health verification (use API Status Check MCP instead)

Install & Setup

terminal command
$claude mcp add azure -- npx -y @azure/mcp@latest server start

Exposed Tools & Endpoints

8 tools

Functions your AI agent can invoke via this Model Context Protocol server

azure_compute_vm

Inspects and manages Azure Virtual Machines, power states, provisioning statuses, and VM scale sets.

azure_aks_cluster

Lists and describes Azure Kubernetes Service (AKS) managed clusters and node pools.

azure_cosmos_query

Queries Cosmos DB containers, inspects inferred schemas, and retrieves recent documents.

azure_keyvault_secret

Accesses and manages Azure Key Vault secrets, encryption keys, and TLS certificates.

azure_appservice_manage

Inspects web apps, updates configuration settings, reviews deployment status, and triggers restarts.

azure_monitor_query

Executes log queries against Log Analytics workspaces and retrieves distributed traces.

azure_advisor_recommendations

Fetches and prioritizes architectural, security, and cost-optimization recommendations across subscriptions.

azure_resource_health

Checks real-time availability status and planned maintenance events for Azure cloud resources.