Skip to content

MCP server

Azure MCP server

Microsoft's Azure MCP server lets AI work with many Azure services, from storage and Key Vault to SQL, monitoring and AKS, with a read-only mode.

At a glance

Maintained by
Microsoft
Tools exposed
10 listed below
Reviewed
September 24, 2026

Why it matters

What it does and why it matters

For companies on Microsoft's cloud, Azure hosts apps, databases and data. Microsoft's Azure MCP server groups its tools by service: resource groups, subscriptions, storage, Key Vault, Cosmos DB, SQL, monitoring, App Service, Kubernetes and pricing, among others.

An assistant can answer questions about resources, read monitoring data and, if allowed, make changes, all through your Azure identity.

Starting it in read-only mode blocks writes, which we recommend by default. Tools that return secrets ask for confirmation. Use an identity with a narrow role assignment rather than a subscription owner.

Use cases

Best business use cases

Resource questions

List resources by group and region.

Monitoring

Query logs and metrics during an incident.

Pricing

Check prices for planned resources.

Data services

Inspect SQL and Cosmos DB settings.

Security reviews

Review settings. See compliance monitoring.

Tools

Available tools

Tool names as published by the maintainer at review time. Versions change, so check the repository for the current list.

In the default namespace mode each Azure service is one tool named after its namespace (names above are from Microsoft Learn's tools table). In 'all' mode tools have long names such as azmcp_storage_account_get.

Read and write: Read and write across many Azure services. Start with --read-only to block writes. Secret-returning tools ask for user confirmation.

  • group

    List resource groups and the resources in a group.

  • subscription

    List Azure subscriptions.

  • storage

    Manage storage accounts, containers, blobs and tables.

  • keyvault

    List and create keys, secrets and certificates.

  • cosmos

    Work with Cosmos DB accounts, databases, containers and items.

  • sql

    Work with Azure SQL servers, databases and firewall rules.

  • monitor

    Query Azure Monitor logs and metrics.

  • appservice

    Manage App Service web apps, settings and deployments.

  • aks

    List Azure Kubernetes Service clusters.

  • pricing

    Get Azure retail prices and cost estimates.

Workflows

Example workflows

Investigate an app slowdown

  1. 1

    Connect in read-only mode.

  2. 2

    Ask about the App Service app.

  3. 3

    The assistant reads monitoring data.

  4. 4

    It points to the likely cause.

  5. 5

    An engineer fixes it.

Estimate a new setup

  1. 1

    Describe the resources needed.

  2. 2

    The assistant checks pricing.

  3. 3

    It builds a monthly estimate.

  4. 4

    It notes cheaper options.

  5. 5

    The team decides.

Prompts

Example prompts

  • “List all resources in the production resource group.”

  • “Show errors for the API app in the last hour.”

  • “Estimate the monthly cost of two more App Service instances.”

Setup

Installation and configuration

Examples for Claude Desktop and Claude Code. Replace the placeholder values with your own keys, and store secrets outside version control.

Claude Desktop: claude_desktop_config.json

{
    "mcpServers": {
        "azure-mcp-server": {
            "command": "npx",
            "args": [
                "-y",
                "@azure/mcp@latest",
                "server",
                "start"
            ]
        }
    }
}

Claude Code: terminal

claude mcp add azure-mcp-server -- npx -y @azure/mcp@latest server start
  • Local server: npm: @azure/mcp (stdio, run as `npx -y @azure/mcp@latest server start`). Also .mcpb bundles for Claude Desktop..
  • Needs: Azure credentials: az login (Azure CLI), managed identity, or AZURE_TENANT_ID / AZURE_CLIENT_ID / AZURE_CLIENT_SECRET. Azure RBAC limits access..

Security

Security considerations

  • Read-only first

    Start with read access and add actions only for reviewed tasks.

  • Scoped credentials

    Use a dedicated role or token with the least access, never an owner or admin key.

  • Separate environments

    Keep production changes out of assistant sessions, or require approval for them.

  • Audit

    Use Azure activity logs to review actions.

Related servers

Servers that pair well with it

AWS

The AWS API MCP server from AWS Labs lets AI run AWS CLI commands, suggest commands and plan changes, with read-only and consent modes.

Google Cloud

Google's gcloud MCP servers let AI run gcloud commands, read logs, metrics, alerts and traces, and work with Cloud Storage.

Microsoft Teams

Microsoft's Teams MCP server, part of its Work IQ preview, lets AI list and read chats and channels and post messages and replies.

Keep exploring

FAQ

Questions people ask us

Have a question that is not here? Ask us directly.

Start a project

Want this connected to your own systems? We build AI workflows with MCP.

Send a short brief. We reply with questions, a suggested plan and an estimate you can compare with other offers.

Your privacy choices

We use necessary storage to run this site. With your permission we also use Google Analytics to see which pages help people, and load maps from Google. You can change this at any time. Read the cookie policy.