Skip to content
MCP-Bridge
Developer Tools

PolicyStatesClient Claude Desktop Config

Add the PolicyStatesClient MCP server to Claude Desktop with this ready-to-use configuration.

Setup Instructions

  1. Open Claude Desktop
  2. Go to Settings → Developer → Edit Config → claude_desktop_config.json
  3. Paste the JSON below into the file
  4. Set your credentials in the env section
  5. 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_KEY

Replace your_policystatesclient_api_key with your actual policystatesclient api key

Endpoints

GET/providers/Microsoft.PolicyInsights/operations

Operations_List

POST/providers/{managementGroupsNamespace}/managementGroups/{managementGroupName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesResource}/queryResults

PolicyStates_ListQueryResultsForManagementGroup

POST/subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesResource}/queryResults

PolicyStates_ListQueryResultsForSubscription

POST/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesResource}/queryResults

PolicyStates_ListQueryResultsForResourceGroup

POST/{resourceId}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesResource}/queryResults

PolicyStates_ListQueryResultsForResource