Skip to content
MCP-Bridge
Developer Tools

PolicyClient Claude Desktop Config

Add the PolicyClient 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-resources-policyassignments": {
      "command": "npx",
      "args": [
        "-y",
        "@mcp/azure-com-resources-policyassignments"
      ],
      "env": {
        "POLICYCLIENT_API_KEY": "your_policyclient_api_key"
      }
    }
  }
}

Environment Variables

POLICYCLIENT_API_KEY

Replace your_policyclient_api_key with your actual policyclient api key

Endpoints

GET/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/policyAssignments

PolicyAssignments_List

GET/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Authorization/policyAssignments

PolicyAssignments_ListForResourceGroup

GET/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/policyAssignments

PolicyAssignments_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