Edit

Share via


Azure CLI extension tools for the Azure MCP Server

The Azure MCP Server allows you to execute any Azure CLI command using natural language prompts. You can perform virtually any Azure resource management operation without needing to remember specific command syntax, parameters, or formatting.

Azure Command-Line Interface (CLI) is a cross-platform command-line tool to connect to Azure and execute administrative commands on Azure resources. It allows the execution of commands through a terminal using interactive command-line prompts or a script. For a complete list of Azure CLI commands this tool can execute, see the Azure CLI reference documentation.

Note

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.

Execute Azure CLI command

The Azure MCP Server can execute Azure CLI commands. This provides complete access to Azure resource management through familiar command-line syntax.

Example prompts include:

  • List my Azure resources: "Show me all my resource groups"
  • Query specific details: "Get details for storage account mystorageacct01 in the dev-rg resource group"
Parameter Required or optional Description
Command Required The Azure CLI command to execute (without the 'az' prefix). For a complete list of Azure CLI commands, see the Azure CLI reference documentation.