PolicyStatesClient Claude Desktop Config
Add the PolicyStatesClient MCP server to Claude Desktop with this ready-to-use configuration.
Setup Instructions
- Open Claude Desktop
- Go to Settings → Developer → Edit Config →
claude_desktop_config.json - Paste the JSON below into the file
- Set your credentials in the
envsection - Restart Claude Desktop
Configuration JSON
Copy the entire block into your claude_desktop_config.json
{
"mcpServers": {
"azure-com-policyinsights-policystates": {
"command": "npx",
"args": [
"-y",
"@mcp/azure-com-policyinsights-policystates"
],
"env": {
"POLICYSTATESCLIENT_API_KEY": "your_policystatesclient_api_key"
}
}
}
}Environment Variables
POLICYSTATESCLIENT_API_KEYReplace your_policystatesclient_api_key with your actual policystatesclient api key
Endpoints
GET
/providers/Microsoft.PolicyInsights/operationsOperations_List
POST
/providers/{managementGroupsNamespace}/managementGroups/{managementGroupName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesResource}/queryResultsPolicyStates_ListQueryResultsForManagementGroup
POST
/subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesResource}/queryResultsPolicyStates_ListQueryResultsForSubscription
POST
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesResource}/queryResultsPolicyStates_ListQueryResultsForResourceGroup
POST
/{resourceId}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesResource}/queryResultsPolicyStates_ListQueryResultsForResource