Azure MCP: Documentation
Updated:
Connection
npx -y @azure/mcp@latest server start (stdio). Authorization runs through an already-completed az login (interactive or browser-based) or a service principal with AZURE_CLIENT_ID/AZURE_CLIENT_SECRET/AZURE_TENANT_ID env vars. Requirements: Node.js 18+, the Azure CLI installed for interactive login. Ready-made configs for VS Code, Claude Desktop and other MCP clients are in the github.com/microsoft/mcp README.
Tools
The server groups tools by Azure service (44+ of them), for example:
- Compute and containers — App Service, AKS, Container Apps, Functions.
- Data — Cosmos DB, Azure SQL, Storage (blob/queue/table), PostgreSQL.
- Security — Key Vault (secrets, certificates, keys), RBAC.
- Observability — Monitor (logs, metrics, alerts), Application Insights.
- Network and identity — Virtual Network, Entra ID (basic operations).
The full, current list of services and tools is in the repo's docs, since coverage keeps expanding.
Agent flow
"What secrets are in prod-vault Key Vault?", "restart the my-app web app and show its logs", "how many resources are in the rg-production group?", "show CPU metrics for the AKS cluster over the last hour".
Pricing
The MCP server is free (open source); Azure resources are billed as usual, at standard Microsoft rates.