Skip to main content

azure

Microsoft Azure MCP Server and skills for cloud resource management, deployments, and Azure services. Manage your Azure infrastructure, monitor applications, and deploy resources directly from Copilot.

External pluginv1.0.0MicrosoftMITmicrosoft/azure-skills
Maintained outside this repository

azure is published by Microsoft from microsoft/azure-skills. Review the source before installing.

View the source repository

Microsoft Azure is Microsoft's cloud computing platform. This plugin connects GitHub Copilot CLI or Claude Code to your Azure account, letting you manage resources, deploy applications, and monitor services directly from your development environment.

Security

[!WARNING] The azure plugin uses npx to download and run the Azure MCP Server, inheriting the local environment's .npmrc configuration. Install this plugin only on trusted devices. A compromised .npmrc configuration could cause npx to download and execute malicious code, potentially resulting in remote code execution.

Telemetry

The track-telemetry hook installs a pinned native ghcfa-telem release asset when needed, verifies its platform-specific SHA-256 digest before extraction, and caches the executable for reuse. To opt out of telemetry collection, set AZURE_MCP_COLLECT_TELEMETRY=false in the environment of the process running the agent.

Setup

1. Create an Azure Account

Sign up at azure.microsoft.com or use your existing Azure account.

2. Install Node.js and NPM

The Azure MCP Server runs as an NPM package. Ensure you have Node.js 22 or later installed:

3. Authenticate to Azure

The Azure MCP Server uses the Azure Identity SDK for authentication. You can authenticate using any of these methods:

Option A: Azure CLI (Recommended)

  1. Install Azure CLI
  2. Run az login to authenticate
  3. The MCP server will automatically use your CLI credentials

Option B: Environment Variables

Set Azure service principal credentials:

Bash/Zsh:

export AZURE_TENANT_ID="your-tenant-id"
export AZURE_CLIENT_ID="your-client-id"
export AZURE_CLIENT_SECRET="your-client-secret"

PowerShell:

$env:AZURE_TENANT_ID = "your-tenant-id"
$env:AZURE_CLIENT_ID = "your-client-id"
$env:AZURE_CLIENT_SECRET = "your-client-secret"

Option C: Managed Identity

When running on Azure resources (VMs, Container Apps, etc.), the server automatically uses managed identity.

For more authentication options, see the Azure Identity documentation.

4. Install the Plugins

# Add the repo as a plugin marketplace
/plugin marketplace add microsoft/azure-skills

# Pull in the Azure plugin
/plugin install azure@azure-skills

Available Tools

The Azure MCP Server provides tools for 40+ Azure services:

AI & Machine Learning

  • Microsoft Foundry (AI models, deployments, knowledge indexes)
  • Azure AI Search (search and vector database)
  • Azure AI Services Speech (speech-to-text, text-to-speech)

Compute & Containers

  • Azure App Service, Container Apps, Azure Kubernetes Service (AKS)
  • Azure Functions, Virtual Desktop

Storage & Databases

  • Azure Storage (Blob, File Sync)
  • Azure SQL Database, Cosmos DB
  • Azure Database for MySQL & PostgreSQL

Security & Networking

  • Azure Key Vault (secrets, keys, certificates)
  • Azure RBAC (access control)
  • Azure Confidential Ledger

DevOps & Management

  • Resource Groups, Subscriptions
  • Azure Monitor (logging, metrics)
  • Azure CLI command generation
  • Bicep templates

Messaging & Communication

  • Azure Communication Services (SMS, email)
  • Azure Service Bus, Event Grid

For the complete list of 40+ services, see the official documentation.

Example Usage

Ask GitHub Copilot CLI or Claude Code to:

  • "List my Azure storage accounts"
  • "Show me all containers in my Cosmos DB database"
  • "List all secrets in my key vault 'my-vault'"
  • "Deploy a web app to Azure App Service"
  • "Query my Log Analytics workspace"
  • "Deploy a best-practices Azure Kubernetes Service cluster"
  • "Send an SMS message to +1234567890 using Azure Communication Services"
  • "Generate an Azure CLI command to create a storage account"

For more examples, visit the Azure MCP documentation.

Documentation

For more information, visit:

Troubleshooting

Authentication Issues

  • Run az login to authenticate with Azure CLI
  • Verify you have appropriate Azure RBAC permissions
  • Check that your credentials are not expired
  • See the Authentication guide

Server Issues

  • Ensure Node.js 22 or later is installed
  • Verify NPM can download packages from npmjs.com
  • Check the Troubleshooting guide