Edit

Share via


Azure MCP Server tools for Azure Subscriptions

The Azure Model Context Protocol (MCP) Server lets you list and identify Azure subscriptions with natural language prompts.

Azure Subscriptions provide a way to organize and manage access to Azure resources. Subscriptions are the foundation for resource management, billing, and access control in Azure.

Note

Tool parameters: The Azure MCP Server tools define parameters for data they need to complete tasks. Some of these parameters are specific to each tool and are documented below. Other parameters are global and shared by all tools. For more information, see Tool parameters.

List subscriptions

This tool lists all Azure subscriptions for the current account. For each subscription, it returns the subscription ID, display name, state, tenant ID, and whether it's the default subscription. The isDefault field indicates the user's default subscription as resolved from the Azure CLI profile (configured via az account set) or, if not set there, from the AZURE_SUBSCRIPTION_ID environment variable.

Example prompts include:

  • "Show me all of my subscriptions."
  • "List all subscriptions starting with 'northeast'."
  • "Which subscription is my default?"

Tool annotation hints:

Destructive: ❌ | Idempotent: ✅ | Open World: ❌ | Read Only: ✅ | Secret: ❌ | Local Required: ❌