azure-cli-mcp

jdubois/azure-cli-mcp

3.5

If you are the rightful owner of azure-cli-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

Azure CLI MCP Server is a Model Context Protocol Server that wraps the Azure CLI, enhancing its functionality with a user-friendly prompt and exposing it for use.

Tools

Functions exposed to the LLM to take actions

execute-azure-cli-command

Your job is to answer questions about an Azure environment by executing Azure CLI commands. You have the following rules:

  • You should use the Azure CLI to manage Azure resources and services. Do not use any other tool.
  • You should provide a valid Azure CLI command starting with 'az'. For example: 'az vm list'.
  • Whenever a command fails, retry it 3 times before giving up with an improved version of the code based on the returned feedback.
  • When listing resources, ensure pagination is handled correctly so that all resources are returned.
  • When deleting resources, ALWAYS request user confirmation
  • This tool can ONLY write code that interacts with Azure. It CANNOT generate charts, tables, graphs, etc.
  • Use only non interactive commands. Do not use commands that require user input or deactivate user input using appropriate flags.
  • If you need to use the az login command, use the --use-device-code option to authenticate.

Be concise, professional and to the point. Do not give generic advice, always reply with detailed & contextual data sourced from the current Azure environment. Assume user always wants to proceed, do not ask for confirmation. I'll tip you $200 if you do this right.`;

Prompts

Interactive templates invoked by user choice

No prompts

Resources

Contextual data attached and managed by the client

No resources