Back
Marketplace/Azure

TL;DR

Azure is a Infrastructure MCP server that lets Claude Code, Cursor, Windsurf and any MCP-compatible AI agent microsoft Azure cloud platform — manage VMs, storage, functions, and AD via the Azure REST API. Install in 1 minute with mcpizy install azure.

🟦

Azure

6 tools

Infrastructure

Last updated June 1, 2026 · By MCPizy team

Microsoft Azure cloud platform — manage VMs, storage, functions, and AD via the Azure REST API.

Official homepage

Install Azure

Via MCPizy CLI (recommended):
mcpizy install azure
Or run directly:
npx -y @azure/mcp-server-azure
View on GitHub

Tools exposed

6 tools available
list_resources

List all resources in a subscription

Inputs

  • subscription_idstringrequired
list_resource_groups

List resource groups

Inputs

  • subscription_idstringrequired
get_vm

Get details of a virtual machine

Inputs

  • resource_groupstringrequired
  • namestringrequired
list_storage_accounts

List storage accounts

Inputs

  • subscription_idstringrequired
invoke_function

Invoke an Azure Function

Inputs

  • function_appstringrequired
  • namestringrequired
query_log_analytics

Run a KQL query on a Log Analytics workspace

Inputs

  • workspace_idstringrequired
  • querystringrequired

Configuration

Works identically across clients. Only the config file path differs.

Claude Code~/.claude.json
{
  "mcpServers": {
    "azure": {
      "command": "npx",
      "args": [
        "-y",
        "@azure/mcp-server-azure"
      ],
      "env": {
        "AZURE_TENANT_ID": "...",
        "AZURE_CLIENT_ID": "...",
        "AZURE_CLIENT_SECRET": "..."
      }
    }
  }
}
Cursor.cursor/mcp.json
{
  "mcpServers": {
    "azure": {
      "command": "npx",
      "args": [
        "-y",
        "@azure/mcp-server-azure"
      ],
      "env": {
        "AZURE_TENANT_ID": "...",
        "AZURE_CLIENT_ID": "...",
        "AZURE_CLIENT_SECRET": "..."
      }
    }
  }
}
Windsurf~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "azure": {
      "command": "npx",
      "args": [
        "-y",
        "@azure/mcp-server-azure"
      ],
      "env": {
        "AZURE_TENANT_ID": "...",
        "AZURE_CLIENT_ID": "...",
        "AZURE_CLIENT_SECRET": "..."
      }
    }
  }
}

Authentication setup

  1. 1

    Register an Azure AD app with appropriate role assignments

    Get it AZURE_CLIENT_ID
  2. 2

    Generate a client secret for the app

    Get it AZURE_CLIENT_SECRET
  3. 3

    Copy your Azure AD tenant ID

    Get it AZURE_TENANT_ID

What you can do with Azure MCP

Paste any of these prompts into Claude Code, Cursor or another MCP-compatible client.

“List all resource groups in my production subscription”

Uses: list_resource_groups

“Show me storage accounts in resource group `rg-prod-eu` and their access tiers”

Uses: list_storage_accounts

“Query Log Analytics for errors in the last hour across all App Services”

Uses: query_log_analytics

“Get the status of VM `web-01` in resource group `rg-web`”

Uses: get_vm

Works with

Claude Code
Claude Desktop
Cursor
Windsurf
VS Code + Copilot
Any MCP Client

Alternatives to Azure

If Azure doesn't fit your stack, these Infrastructure MCP servers solve similar problems.

🌤️

Google Cloud

Google Cloud Platform — manage Compute Engine, Cloud Storage, BigQuery, Cloud Run, and more.

Key Takeaways

  • Azure exposes 6 tools for infrastructure workflows in Claude Code, Cursor and Windsurf.
  • Authentication: 3 steps (AZURE_CLIENT_ID, AZURE_CLIENT_SECRET, AZURE_TENANT_ID).
  • Install in 1 command: mcpizy install azure — config written to your client automatically.
  • Free and open source (GitHub source linked above) — verified compatible with every MCP client (Claude Code, Claude Desktop, Cursor, Windsurf, VS Code + Copilot).
  • Best use case: "List all resource groups in my production subscription".

Frequently asked questions

What is the Azure MCP server?

The Azure MCP server is an Infrastructure Model Context Protocol server that lets Claude Code, Cursor, Windsurf, VS Code with Copilot, and other MCP-compatible AI agents microsoft Azure cloud platform — manage VMs, storage, functions, and AD via the Azure REST API. It exposes Azure's capabilities as tools the AI can call directly from your editor or CLI.

How do I install Azure MCP with Claude Code?

The fastest way is the MCPizy CLI: run `mcpizy install azure` and MCPizy will add the server to your `.claude.json` automatically. You can also install it manually by adding an entry under `mcpServers` in `.claude.json` with the command `npx -y @azure/mcp-server-azure` and restarting Claude Code.

Is Azure MCP free?

Yes. The Azure MCP server is free and open source (see the GitHub repository linked on this page). You may still need a Azure account or API key to connect the server to the underlying service, but the MCP layer itself has no MCPizy subscription cost.

Does Azure MCP work with Cursor and Windsurf?

Yes. Any MCP-compatible client works — including Claude Code, Claude Desktop, Cursor (via `.cursor/mcp.json`), Windsurf, VS Code with Copilot Chat, and custom agents built on the MCP SDK. The same install command targets all of them; only the config file path differs.

What can I do with Azure MCP?

Once installed, your AI agent can microsoft Azure cloud platform — manage VMs, storage, functions, and AD via the Azure REST API directly inside your conversation. Typical use cases include asking Claude Code or Cursor to run Azure operations, inspect results, chain Azure with other MCP servers (see our Workflow Recipes), and automate repetitive infrastructure tasks without leaving your editor.

Manage all your MCPs in one place

Monitor usage, track costs, and discover new MCPs.

Get Started Free