PolicyClient MCP Config
To manage and control access to your resources, you can define customized policies and assign them at a scope.
Config URL
Use this URL in any MCP-compatible client to fetch the config automatically.
https://mcp-bridge.pages.dev/config/azure-com-resources-policyassignments.jsonConfiguration JSON
Use curl https://mcp-bridge.pages.dev/config/azure-com-resources-policyassignments.json to fetch programmatically.
{
"mcpServers": {
"azure-com-resources-policyassignments": {
"command": "npx",
"args": ["-y","@mcp/azure-com-resources-policyassignments"],
"env": {
"POLICYCLIENT_API_KEY": "your_policyclient_api_key"
}
}
}
}How to Use
Cursor
Go to Cursor Settings → MCP Servers → Add with the JSON above.
CLI / curl
Fetch the config programmatically:
curl https://mcp-bridge.pages.dev/config/azure-com-resources-policyassignments.jsonEnvironment Variables
POLICYCLIENT_API_KEYReplace your_policyclient_api_key with your actual policyclient api key
Endpoints
GET
/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/policyAssignmentsPolicyAssignments_List
GET
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Authorization/policyAssignmentsPolicyAssignments_ListForResourceGroup
GET
/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/policyAssignmentsPolicyAssignments_ListForResource
GET
/{policyAssignmentId}Gets a policy assignment by ID.
PUT
/{policyAssignmentId}Creates a policy assignment by ID.
DELETE
/{policyAssignmentId}Deletes a policy assignment by ID.
GET
/{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}PolicyAssignments_Get
PUT
/{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}Creates a policy assignment.
DELETE
/{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}PolicyAssignments_Delete