MCP ServerSTDIOOfficialv0.1.0

Azure MCP Server

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

Hosted URL

Local install

Transport

STDIO

Auth

4 required env vars

What the Azure MCP server does

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.

Connect to Azure

Local install — runs as a subprocess.

uvx azure-mcp-server==0.1.0

Environment variables

Configuration this server reads at startup.

  • AZURE_SUBSCRIPTION_IDRequired

    Azure Subscription ID

  • AZURE_CLIENT_IDRequiredSecret

    Azure Client ID

  • AZURE_CLIENT_SECRETRequiredSecret

    Azure Client Secret

  • AZURE_TENANT_IDRequired

    Azure Tenant ID

Resources

Where to find authoritative docs and source for Azure.

Example prompts for Azure

Paste any of these into Agent Studio after connecting Azure.

  • List all virtual machines in my Azure subscription
  • Show me the storage accounts and their current usage
  • What resources are deployed in my production resource group
  • Explain how to set up the required Azure service principal credentials

Azure MCP server — FAQ

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.

Skip the local setup — run MCP in your browser

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

Related servers

More on MCP Playground