Skip to content
MCP server

Azure

Python MCP server connecting AI clients to Azure services via service principal auth

Runs locallyStatus and history
Install
Pricing
Open source
Platforms
CLI, self-hosted, API
Runs
Locally
Version
0.1.0
Listing updated
today

Similar MCP servers

About Azure

Azure is an open-source MCP server for cloud and infrastructure. It runs locally on your machine and is started by your AI client.

The README describes a Python package that exposes Azure cloud services to MCP-compatible AI clients, so models can reach Azure APIs through standard tool calls. Setup is a pip install, with the Azure subscription, tenant and service principal credentials supplied as environment variables.

The registry entry lists four required settings: a subscription ID, tenant ID, client ID and client secret, which the server uses for authentication over stdio transport. The README also mentions multiple authentication methods, async operation and retry handling, though it does not list the individual Azure services or tools covered.

It suits developers who want an AI assistant to query or manage their Azure environment and are comfortable wiring up service principal credentials. The project is early (version 0.1.0) and the README is sparse, so checking the code for supported operations is advisable before relying on it.

Install

Run in a terminal

claude mcp add azure-mcp-server --env AZURE_SUBSCRIPTION_ID='<AZURE_SUBSCRIPTION_ID>' --env AZURE_CLIENT_ID='<AZURE_CLIENT_ID>' --env AZURE_CLIENT_SECRET='<AZURE_CLIENT_SECRET>' --env AZURE_TENANT_ID='<AZURE_TENANT_ID>' -- uvx azure-mcp-server

Add to claude_desktop_config.json

{
  "mcpServers": {
    "azure-mcp-server": {
      "command": "uvx",
      "args": [
        "azure-mcp-server"
      ],
      "env": {
        "AZURE_SUBSCRIPTION_ID": "<AZURE_SUBSCRIPTION_ID>",
        "AZURE_CLIENT_ID": "<AZURE_CLIENT_ID>",
        "AZURE_CLIENT_SECRET": "<AZURE_CLIENT_SECRET>",
        "AZURE_TENANT_ID": "<AZURE_TENANT_ID>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "azure-mcp-server": {
      "command": "uvx",
      "args": [
        "azure-mcp-server"
      ],
      "env": {
        "AZURE_SUBSCRIPTION_ID": "<AZURE_SUBSCRIPTION_ID>",
        "AZURE_CLIENT_ID": "<AZURE_CLIENT_ID>",
        "AZURE_CLIENT_SECRET": "<AZURE_CLIENT_SECRET>",
        "AZURE_TENANT_ID": "<AZURE_TENANT_ID>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "azure-mcp-server": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "azure-mcp-server"
      ],
      "env": {
        "AZURE_SUBSCRIPTION_ID": "<AZURE_SUBSCRIPTION_ID>",
        "AZURE_CLIENT_ID": "<AZURE_CLIENT_ID>",
        "AZURE_CLIENT_SECRET": "<AZURE_CLIENT_SECRET>",
        "AZURE_TENANT_ID": "<AZURE_TENANT_ID>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "azure-mcp-server": {
      "command": "uvx",
      "args": [
        "azure-mcp-server"
      ],
      "env": {
        "AZURE_SUBSCRIPTION_ID": "<AZURE_SUBSCRIPTION_ID>",
        "AZURE_CLIENT_ID": "<AZURE_CLIENT_ID>",
        "AZURE_CLIENT_SECRET": "<AZURE_CLIENT_SECRET>",
        "AZURE_TENANT_ID": "<AZURE_TENANT_ID>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "azure-mcp-server": {
      "command": "uvx",
      "args": [
        "azure-mcp-server"
      ],
      "env": {
        "AZURE_SUBSCRIPTION_ID": "<AZURE_SUBSCRIPTION_ID>",
        "AZURE_CLIENT_ID": "<AZURE_CLIENT_ID>",
        "AZURE_CLIENT_SECRET": "<AZURE_CLIENT_SECRET>",
        "AZURE_TENANT_ID": "<AZURE_TENANT_ID>"
      }
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • AZURE_SUBSCRIPTION_IDAzure Subscription IDRequired
  • AZURE_CLIENT_IDAzure Client IDRequired
  • AZURE_CLIENT_SECRETAzure Client SecretRequired
  • AZURE_TENANT_IDAzure Tenant IDRequired

What it does

Stdio transport support
Runs as a local stdio process that MCP clients can launch directly.
Service principal authentication
Authenticates to Azure with a subscription, tenant, client ID and client secret.
Async request handling
The README says the server supports asynchronous operation for better throughput.
Retry and error handling
Includes retry logic and error handling for Azure API calls, per the README.
Python package install
Installable from PyPI or from source with pip.

Good for

  • Asking an AI assistant to inspect Azure resources in a subscription
  • Letting an agent automate routine Azure administration tasks
  • Prototyping GenAI workflows that read from Azure cloud services

Pricing

Open source

Free, MIT-licensed open source; self-hosted.

Azure FAQ

What credentials does it need?

The registry entry lists AZURE_SUBSCRIPTION_ID, AZURE_TENANT_ID, AZURE_CLIENT_ID and AZURE_CLIENT_SECRET as required environment variables.

How is it installed?

The README gives pip install azure-mcp-server, or an editable install from the GitHub source.

What license does it use?

The README states the project is released under the MIT License.

Is Azure free?

Yes. Azure is open source, so you can use and self-host it for free.

How do I add Azure to Claude Code?

Run this command in your terminal: claude mcp add azure-mcp-server --env AZURE_SUBSCRIPTION_ID='<AZURE_SUBSCRIPTION_ID>' --env AZURE_CLIENT_ID='<AZURE_CLIENT_ID>' --env AZURE_CLIENT_SECRET='<AZURE_CLIENT_SECRET>' --env AZURE_TENANT_ID='<AZURE_TENANT_ID>' -- uvx azure-mcp-server

What are the best alternatives to Azure?

The closest alternatives to Azure are mcp, Azure MCP Server, MCP Acedatacloud, Compare Cloud Costs and Rancher.

Where this comes from

  • Description: written from the project's README and its MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers