Query and manage Azure resources programmatically via Claude. Authenticate with Azure service principal credentials to access your subscription's infrastructure, VMs, storage, and other cloud assets.
io.github.asklokesh/azure-mcp-server
Local install
STDIO
4 required env vars
How models use it and what it is built for.
Query and manage Azure resources programmatically via Claude. Authenticate with Azure service principal credentials to access your subscription's infrastructure, VMs, storage, and other cloud assets.
Local install — runs as a subprocess.
Configuration this server reads at startup.
Azure Subscription ID
Azure Client ID
Azure Client Secret
Azure Tenant ID
Where to find authoritative docs and source for Azure.
Paste any of these into Agent Studio after connecting Azure.
Common questions about connecting and running Azure.
What Azure resources can I access with this MCP server?
The server connects to your Azure subscription using service principal authentication. You can query and manage resources like VMs, storage accounts, and other cloud assets available in your subscription. See the README or docs for the full list of supported operations.
How do I set up authentication for the Azure MCP server?
You need to create an Azure service principal and provide four credentials: AZURE_SUBSCRIPTION_ID, AZURE_CLIENT_ID, AZURE_CLIENT_SECRET, and AZURE_TENANT_ID. These are passed as environment variables when running the server.
How do I install and run this server?
Install with `uvx azure-mcp-server@0.1.0`. Set the four required environment variables (subscription ID, client ID, client secret, tenant ID), then connect it to Claude or another MCP client via stdio transport.
Is there a cost to using this MCP server?
The server itself is free, but you pay standard Azure rates for any resources you query or manage through it. Costs depend on your Azure subscription and resource usage.
What if I don't have an Azure service principal set up?
You'll need to create one in the Azure portal or via the Azure CLI before using this server. The service principal requires appropriate role assignments (e.g., Reader or Contributor) to access your subscription's resources.
MCP Playground runs 10,000+ hosted MCP servers — GitHub, Linear, Notion, Stripe, Sentry and more — across Claude, GPT, Gemini, DeepSeek and 30+ AI models. Compare model answers side-by-side, save agent presets, share runs. Zero install.
Open Agent Studio