mcpField
A
azure-role-selector

azure-role-selector

github.com/githubSecurity40.5k9.4k installsUpdated 1d ago
Repository

About azure-role-selector

azure-role-selector is a skill for selecting Azure role definitions and preparing assignment guidance. It uses Azure MCP tools to check built-in roles or generate a custom role, CLI commands, and a Bicep snippet.

Key features

  1. 01Find a minimal matching role
  2. 02Generate a custom role when needed
  3. 03Prepare role-assignment CLI commands
  4. 04Provide a Bicep role-assignment snippet

Use cases

  1. 01Choosing permissions for an identity
  2. 02Creating an assignment for a custom role

MCP support

Uses Azure MCP documentation, extension_cli_generate, bicepschema, and get_bestpractices tools to find roles and produce CLI and Bicep guidance.

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/github/awesome-copilot --skill azure-role-selector

After installing, type/azure-role-selectorin Claude Code to confirm it loaded.

Bundled filesLICENSE.txt

Details

From the project README

Use 'Azure MCP/documentation' tool to find the minimal role definition that matches the desired permissions the user wants to assign to an identity (If no built-in role matches the desired permissions, use 'Azure MCP/extension_cli_generate' tool to create a custom role definition with the desired permissions). Use 'Azure MCP/extension_cli_generate' tool to generate the CLI commands needed to assign that role to the identity and use the 'Azure MCP/bicepschema' and the 'Azure MCP/get_bestpractices' tool to provide a Bicep code snippet for adding the role assignment.

Comments

Markdown supported