Redaguoti

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 here. 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. If the tool identifies a default subscription, it lists that subscription first.

When a request doesn't specify a subscription, Azure MCP Server prefers the default subscription. If it can't determine a default and multiple subscriptions are available, it asks you which subscription to use.

Example CLI command

azmcp subscription list

Tool annotation hints:

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