DEV Community

curatedmcp for CuratedMCP

Posted on • Originally published at curatedmcp.com

Azure MCP: Give Your AI Agent Full Access to Your Azure Infrastructure

Install guide and config at curatedmcp.com

Azure MCP: Give Your AI Agent Full Access to Your Azure Infrastructure

Managing Azure resources shouldn't require context-switching between your IDE and the Azure portal. Azure MCP is the official Model Context Protocol server from Microsoft that lets Claude, Cursor, and other AI agents directly query and manage your Azure infrastructure—VMs, storage accounts, databases, identity, deployments, and more.

What It Does

Azure MCP bridges the gap between your AI development environment and your cloud infrastructure. Instead of describing your Azure setup to an agent, you give it direct, permission-aware access to resource queries, deployments, and monitoring.

The server handles the heavy lifting: resource topology discovery, ARM/Bicep template validation, VM and container inspection, storage and database querying, Azure AD management, and real-time alerts and metrics. This means your AI can understand your actual cloud state, not just guess at it.

Enterprise teams especially benefit here. Your agent can now reason about compliance, audit logs, resource policies, and infrastructure dependencies—critical context that used to live only in your head or buried in documentation.

How to Install

Install via npm:

npx -y @azure/mcp
Enter fullscreen mode Exit fullscreen mode

Then add to your Claude Desktop config file (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

{
  "mcpServers": {
    "azure-mcp": {
      "command": "npx -y @azure/mcp"
    }
  }
}
Enter fullscreen mode Exit fullscreen mode

Your Azure credentials (via az login or environment variables) are used automatically. Permissions follow your Azure role-based access control—the agent can only do what your user can do.

Real-World Use Cases

  • Troubleshoot deployments at speed: Ask Claude to inspect your last failed App Service deployment, review the ARM template errors, and suggest fixes without leaving your editor.

  • Audit infrastructure drift: Have your agent scan Azure AD, storage accounts, and VMs to flag non-compliant resources or security gaps, generating a report automatically.

  • Iterate on infrastructure code: Write Bicep templates in your IDE, have the agent validate them against your actual resource group, and catch conflicts before pushing to main.


Full install guides for Claude Desktop, Cursor, Windsurf, and more at CuratedMCP.

Top comments (0)