PolicyEventsClient MCP Config
PolicyEventsClient API
Config URL
Use this URL in any MCP-compatible client to fetch the config automatically.
https://mcp-bridge.pages.dev/config/azure-com-policyinsights-policyevents.jsonConfiguration JSON
Use curl https://mcp-bridge.pages.dev/config/azure-com-policyinsights-policyevents.json to fetch programmatically.
{
"mcpServers": {
"azure-com-policyinsights-policyevents": {
"command": "npx",
"args": ["-y","@mcp/azure-com-policyinsights-policyevents"],
"env": {
"POLICYEVENTSCLIENT_API_KEY": "your_policyeventsclient_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-policyinsights-policyevents.jsonEnvironment Variables
POLICYEVENTSCLIENT_API_KEYReplace your_policyeventsclient_api_key with your actual policyeventsclient api key
Endpoints
POST
/providers/{managementGroupsNamespace}/managementGroups/{managementGroupName}/providers/Microsoft.PolicyInsights/policyEvents/{policyEventsResource}/queryResultsPolicyEvents_ListQueryResultsForManagementGroup
POST
/subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/policyEvents/{policyEventsResource}/queryResultsPolicyEvents_ListQueryResultsForSubscription
POST
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/policyEvents/{policyEventsResource}/queryResultsPolicyEvents_ListQueryResultsForResourceGroup
POST
/{resourceId}/providers/Microsoft.PolicyInsights/policyEvents/{policyEventsResource}/queryResultsPolicyEvents_ListQueryResultsForResource