Skip to content

MCP setupDevOps and cloud

Azure MCP Server

Start Microsoft's Azure MCP server via npx and let the agent work with Azure storage, Monitor logs and Cosmos DB using your az login.

npx workspacetemplates add azure-mcp --tool claude-code

Writes 1 file to your project root

.mcp.jsonmerge into your file13 lines · 172 BFile
{
  "mcpServers": {
    "azure": {
      "command": "npx",
      "args": [
        "-y",
        "@azure/mcp@latest",
        "server",
        "start"
      ]
    }
  }
}

What it does

The Azure MCP server gives an agent tools for Azure Blob storage, Azure Monitor queries and metrics, and Cosmos DB NoSQL data. The old Azure/azure-mcp repository is archived; development moved to microsoft/mcp, which is where this setup comes from.

It authenticates with the Azure Identity SDK, so run az login first and the server acts as you. It has no documented read-only flag, so use an Azure role that only grants read access.

Example

you › Query the app-prod Log Analytics workspace for errors in the last hour and group them by operation name.

agent › 214 errors: POST /checkout 131, GET /cart 58, POST /login 25. The checkout errors started at 14:12.

Questions

How does it sign in?
Through the Azure Identity SDK. Log in with the Azure CLI first; for containers, tenant, client ID and client secret variables are used.
How do I stop it from changing things?
Give the identity a reader-style Azure RBAC role. The project recommends least-privilege roles rather than a server flag.
  • AWS Documentation MCP Server

    MCP setupDevOps and cloud

    Free
  • CircleCI MCP Server

    MCP setupDevOps and cloud

    Free
  • Cloudflare MCP Server

    MCP setupDevOps and cloud

    Free
  • Docker MCP Gateway

    MCP setupDevOps and cloud

    Free