Simple MCP server to help create Azure Policies for any resource type.
Overview
what is AzPolicyMCP?
AzPolicyMCP is a simple MCP server designed to assist in creating Azure Policies for any resource type, enabling Large Language Models (LLMs) to generate, validate, and deploy Azure custom policies effectively.
how to use AzPolicyMCP?
To use AzPolicyMCP, an LLM application interacts with the server to request custom Azure policies, utilizing various tools to fetch built-in policies, validate policy structures, and deploy assignments.
key features of AzPolicyMCP?
- Fetches built-in Azure policy categories and definitions.
- Validates custom policy JSON against the official Azure schema.
- Deploys Azure Policy Assignments through the Azure REST API.
- Supports intent identification for policy effects (audit/deny vs. remediation).
use cases of AzPolicyMCP?
- Assisting LLMs in generating compliant Azure policies based on user requests.
- Validating the structure of generated policies to prevent deployment errors.
- Deploying policies to enforce compliance in Azure environments.
FAQ from AzPolicyMCP?
- Can AzPolicyMCP help with all Azure resource types?
Yes! AzPolicyMCP is designed to work with any Azure resource type supported by Azure Policies.
- Is AzPolicyMCP free to use?
Yes! AzPolicyMCP is open-source and free to use for everyone.
- How does AzPolicyMCP ensure policy compliance?
AzPolicyMCP validates generated policies against the official Azure Policy schema to ensure compliance before deployment.