
A Model Context Protocol server built on Huawei Cloud services that enables AI assistants to operate Huawei Cloud resources within conversational workflows, supporting ECS, OBS, GaussDB, and other cloud products.

An MCP server that unifies OPA/Gatekeeper, Kyverno, and Azure Policy behind a single interface for querying Kubernetes and Azure compliance posture.
PolicyPulse MCP compliance server is cataloged as an MCP server attributed to raviteja-pegata. An MCP server that unifies OPA/Gatekeeper, Kyverno, and Azure Policy behind a single interface for querying Kubernetes and Azure compliance posture. It is categorized under cloud devops. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for PolicyPulse MCP compliance server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
No, demo mode uses mock data with no cluster or Azure credentials required.
It supports stdio for local clients and SSE for hosted deployments.
README.md · bd0bd2a4d4cd · 采集于 2026-11-13 14:05:57 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
One MCP server. Three policy engines. Zero context-switching.
PolicyPulse unifies OPA/Gatekeeper, Kyverno, and Azure Policy behind a single interface — so you can ask your AI assistant about your real compliance posture in plain English, from any MCP-compatible client.
Modern Kubernetes environments run multiple policy engines simultaneously:
Each engine has its own API, its own violation format, and its own compliance framework mapping. Platform engineers switch between three dashboards, two CLIs, and the Azure Portal just to answer: "Are we compliant?"
PolicyPulse normalizes all three engines into 7 MCP tools. Ask your AI assistant:
"What are my most critical violations across all engines?" "Check this deployment manifest before I push it." "Which violations map to PCI-DSS requirements?" "Explain this violation and tell me how to fix it."
MCP Clients (Claude, Cursor, GitHub Copilot, Cline, Windsurf, Continue.dev, Zed)
│
│ stdio (local) ──or── SSE over HTTPS (enterprise / Container Apps)
▼
┌───────────────────────────────────────┐
│ PolicyPulse MCP │
│ │
│ ┌─────────────────────────────────┐ │
│ │ Intelligence Layer │ │
│ │ risk summary · explain · │ │
│ │ prioritize · framework enrich │ │
│ └──────────┬──────────────────────┘ │
│ │ Violation / Policy │
│ ┌──────────┴──────────────────────┐ │
│ │ Normalized Schema │ │
│ └──┬───────────┬──────────────┬───┘ │
│ │ │ │ │
│ ┌──┴──┐ ┌─────┴──┐ ┌───────┴──┐ │
│ │ GK │ │Kyverno │ │ Azure │ │
│ │ │ │ │ │ Policy │ │
│ └──┬──┘ └────┬───┘ └────┬─────┘ │
└─────┼──────────┼───────────┼─────────┘
│ │ │
AKS/k8s AKS/k8s Azure Subscription
Constraints PolicyReports PolicyInsights API
The control catalog is the single source of truth — it powers both runtime enrichment of live violations with CIS/PCI-DSS/NIST/SOC 2 references, and the pre-deployment static gate that checks YAML manifests with no cluster required.
| Tool | What it does |
|---|---|
cluster_status | Which engines are connected; fleet overview with auth mode per cluster; credential type |
list_policies | All policies across engines; filter by engine |
get_violations | All violations enriched with framework refs; filter by namespace / engine / severity / cluster |
get_compliance_risk_summary | Cross-engine risk summary with regulatory impact |
explain_violation | Plain English explanation + framework mapping + remediation steps for one violation |
check_manifest_compliance | Pre-deploy static gate — paste YAML, get violations, no cluster needed |
list_controls | Full 9-control catalog with CIS / PCI-DSS / NIST 800-53 / SOC 2 mappings |
No cluster or Azure credentials needed:
git clone https://github.com/raviteja-pegata/policy-pulse-mcp
cd policy-pulse-mcp
python -m venv .venv && source .venv/bin/activate
pip install -e ".[dev]"
POLICYPULSE_DEMO=true policy-pulse-mcp
# Kyverno
helm repo add kyverno https://kyverno.github.io/kyverno/
helm repo update
helm install kyverno kyverno/kyverno -n kyverno --create-namespace
# OPA Gatekeeper
helm repo add gatekeeper https://open-policy-agent.github.io/gatekeeper/charts
helm install gatekeeper/gatekeeper --name-template=gatekeeper \
-n gatekeeper-system --create-namespace
# Apply demo policies and workloads (wait 2-3 min for audit reports)
kubectl apply -f demo-cluster/kyverno-policies.yaml
kubectl apply -f demo-cluster/gatekeeper-policies.yaml
kubectl apply -f demo-cluster/non-compliant-workloads.yaml
pip install -e ".[all]"
az aks get-credentials --resource-group <rg> --name <cluster>
AZURE_SUBSCRIPTION_ID=<sub-id> \
AZURE_CREDENTIAL_TYPE=cli \
policy-pulse-mcp
PolicyPulse can query multiple clusters in a single session. Every violation includes a cluster field so you can filter by cluster when querying.
There are two ways to specify clusters depending on where you're hosting PolicyPulse:
| Mode | Context format | When to use |
|---|---|---|
| Kubeconfig | label:context-name | Local dev, or kubeconfig mounted into the pod |
| Workload Identity | label:resourceGroup/clusterName | Hosted on Container Apps or AKS — no kubeconfig file needed |
Pull credentials for each cluster, then point PolicyPulse at multiple contexts in a single kubeconfig:
az aks get-credentials --resource-group rg-prod --name aks-prod
az aks get-credentials --resource-group rg-staging --name aks-staging
POLICYPULSE_CLUSTERS=prod:aks-prod,staging:aks-staging \
AZURE_SUBSCRIPTION_ID=<sub-id> \
policy-pulse-mcp
The context name (aks-prod, aks-staging) must match a context in your ~/.kube/config.
Use the resourceGroup/clusterName format. PolicyPulse calls the Azure management API to fetch each cluster's API server URL and CA certificate, then authenticates using a managed identity token — no kubeconfig file is needed anywhere.
POLICYPULSE_CLUSTERS=prod:rg-prod/aks-prod,staging:rg-staging/aks-staging \
AZURE_SUBSCRIPTION_ID=<sub-id> \
AZURE_CREDENTIAL_TYPE=managed_identity \
policy-pulse-mcp
Full setup for this is in the Workload Identity Setup section below.
For enterprise deployments, run PolicyPulse as an SSE server on Azure Container Apps. This lets multiple teams and tools connect to one centrally managed compliance server over HTTPS.
| stdio | SSE | |
|---|---|---|
| Transport | Local pipe | HTTP / HTTPS |
| Clients | One (local process only) | Many (concurrent) |
| Auth | None | Bearer token / Azure AD |
| Hosting | Developer laptop only | Container Apps, AKS, any cloud |
| Best for | Local dev, Claude Desktop | Enterprise, CI/CD, multi-team |
docker build -t policypulse-mcp:latest .
az acr login --name <your-acr>
docker tag policypulse-mcp:latest <your-acr>.azurecr.io/policypulse-mcp:latest
docker push <your-acr>.azurecr.io/policypulse-mcp:latest
az containerapp create \
--name policy-pulse-mcp \
--resource-group <your-rg> \
--environment <your-aca-environment> \
--image <your-acr>.azurecr.io/policypulse-mcp:latest \
--target-port 8000 \
--ingress external \
--env-vars \
POLICYPULSE_TRANSPORT=sse \
AZURE_SUBSCRIPTION_ID=<sub-id> \
AZURE_CREDENTIAL_TYPE=managed_identity \
POLICYPULSE_CLUSTERS=prod:rg-prod/aks-prod,staging:rg-staging/aks-staging
Using
resourceGroup/clusterNameformat forPOLICYPULSE_CLUSTERSactivates Workload Identity mode — no kubeconfig file is needed in the container.
az containerapp identity assign \
--name policy-pulse-mcp \
--resource-group <your-rg> \
--system-assigned
PRINCIPAL_ID=$(az containerapp identity show \
--name policy-pulse-mcp \
--resource-group <your-rg> \
--query principalId -o tsv)
Then follow the Workload Identity Setup section to grant the identity access to each AKS cluster.
PolicyPulse needs to reach each AKS API server from Container Apps:
# Option A: VNet integration (recommended for production)
# Create the Container Apps environment on the same VNet as your AKS clusters.
az containerapp env create \
--name policy-pulse-env \
--resource-group <your-rg> \
--location eastus \
--infrastructure-subnet-resource-id <subnet-id>
# Option B: Public AKS — whitelist the Container App outbound IP
ACA_IP=$(az containerapp show \
--name policy-pulse-mcp \
--resource-group <your-rg> \
--query properties.outboundIpAddresses[0] -o tsv)
az aks update \
--name aks-prod \
--resource-group rg-prod \
--api-server-authorized-ip-ranges $ACA_IP
Your SSE endpoint will be:
https://policy-pulse-mcp.<unique-id>.eastus.azurecontainerapps.io/sse
This section covers everything needed for the resourceGroup/clusterName cluster format — the recommended approach for Container Apps and AKS-hosted deployments.
When PolicyPulse sees POLICYPULSE_CLUSTERS=prod:rg-prod/aks-prod, it:
6dae42f8-4368-4678-94ff-3960e28e3630).PolicyPulse (Container App or AKS pod)
│
│ managed identity token
▼
Azure AD
│
├──► management.azure.com → listClusterUserCredential
│ (gets API server URL + CA cert)
│
└──► AKS API server (each cluster)
"I am identity X — is my token valid?"
"Yes — you have view access — here are your violations"
Each target AKS cluster must have AAD integration enabled. This is the default for clusters created from 2021 onwards. To verify:
az aks show --resource-group rg-prod --name aks-prod \
--query "aadProfile" -o json
# Should return a non-null object
The managed identity needs permissions at two levels: the Azure management plane (to fetch cluster credentials) and inside each Kubernetes cluster (to read policy resources).
The identity needs to be able to call listClusterUserCredential on each target cluster, and to read Azure Policy compliance state.
PRINCIPAL_ID=<principal-id-of-your-managed-identity>
SUB_ID=<your-subscription-id>
# Azure Policy — read compliance state across the subscription
az role assignment create \
--assignee $PRINCIPAL_ID \
--role "Policy Insights Data Reader (Preview)" \
--scope /subscriptions/$SUB_ID
# AKS — fetch cluster credentials (repeat for each target cluster)
az role assignment create \
--assignee $PRINCIPAL_ID \
--role "Azure Kubernetes Service Cluster User Role" \
--scope /subscriptions/$SUB_ID/resourceGroups/rg-prod/providers/Microsoft.ContainerService/managedClusters/aks-prod
az role assignment create \
--assignee $PRINCIPAL_ID \
--role "Azure Kubernetes Service Cluster User Role" \
--scope /subscriptions/$SUB_ID/resourceGroups/rg-staging/providers/Microsoft.ContainerService/managedClusters/aks-staging
Once the management-plane token gets PolicyPulse into the API server, Kubernetes still checks its own RBAC. The approach depends on whether your cluster uses Azure RBAC or local RBAC.
Check which mode your cluster uses:
az aks show --resource-group rg-prod --name aks-prod \
--query "aadProfile.enableAzureRbac" -o tsv
# true = Azure RBAC mode, false/null = local RBAC mode
Azure RBAC mode (recommended for new clusters):
Azure RBAC roles map directly to Kubernetes RBAC — no kubectl commands needed inside the cluster.
# Grant read access to Gatekeeper and Kyverno resources (repeat per cluster)
az role assignment create \
--assignee $PRINCIPAL_ID \
--role "Azure Kubernetes Service RBAC Reader" \
--scope /subscriptions/$SUB_ID/resourceGroups/rg-prod/providers/Microsoft.ContainerService/managedClusters/aks-prod
az role assignment create \
--assignee $PRINCIPAL_ID \
--role "Azure Kubernetes Service RBAC Reader" \
--scope /subscriptions/$SUB_ID/resourceGroups/rg-staging/providers/Microsoft.ContainerService/managedClusters/aks-staging
Local RBAC mode (older clusters):
You need to create a ClusterRoleBinding inside each cluster using the identity's client ID (not the principal/object ID).
# Get the client ID of the managed identity
CLIENT_ID=$(az identity show \
--name <your-managed-identity-name> \
--resource-group <your-rg> \
--query clientId -o tsv)
# Run this for each target cluster
az aks get-credentials --resource-group rg-prod --name aks-prod
kubectl create clusterrolebinding policypulse-reader \
--clusterrole=view \
--user="$CLIENT_ID"
The
viewClusterRole gives read-only access to most resources including the custom resources that Gatekeeper and Kyverno write their violations to.
Set these environment variables on your Container App or pod:
AZURE_SUBSCRIPTION_ID = <your-subscription-id>
AZURE_CREDENTIAL_TYPE = managed_identity
POLICYPULSE_CLUSTERS = prod:rg-prod/aks-prod,staging:rg-staging/aks-staging
For a user-assigned managed identity, also set:
AZURE_CLIENT_ID = <client-id-of-the-user-assigned-identity>
Once the server is running, call cluster_status. The response shows the auth mode for each cluster:
{
"fleet": [
{ "label": "prod", "context": "rg-prod/aks-prod", "auth": "workload_identity" },
{ "label": "staging", "context": "rg-staging/aks-staging", "auth": "workload_identity" }
]
}
If "auth" shows "workload_identity" and the cluster appears in connected_engines, the setup is complete.
| Symptom | Likely cause | Fix |
|---|---|---|
AZURE_SUBSCRIPTION_ID must be set | Missing env var | Set AZURE_SUBSCRIPTION_ID |
403 from management API | Missing Cluster User Role | Run Step 1 role assignments |
401 Unauthorized from k8s API | Missing k8s RBAC | Run Step 2 for the cluster |
aadProfile is null | AAD integration not enabled | Enable with az aks update --enable-aad |
No CA certificate found | Kubeconfig returned no CA | Check cluster health; fallback uses unverified TLS |
~/Library/Application Support/Claude/claude_desktop_config.json (macOS)
%APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"policy-pulse": {
"command": "/path/to/.venv/bin/python",
"args": ["-m", "policy_pulse_mcp.server"],
"env": {
"AZURE_SUBSCRIPTION_ID": "your-sub-id",
"AZURE_CREDENTIAL_TYPE": "cli"
}
}
}
}
{
"mcpServers": {
"policy-pulse": {
"url": "https://policy-pulse-mcp.<unique-id>.eastus.azurecontainerapps.io/sse"
}
}
}
Open Settings → MCP → Add Server:
{
"policy-pulse": {
"command": "python",
"args": ["-m", "policy_pulse_mcp.server"],
"env": { "AZURE_SUBSCRIPTION_ID": "your-sub-id" }
}
}
For enterprise SSE: { "url": "https://..." }
Add to .vscode/mcp.json in your workspace:
{
"servers": {
"policy-pulse": {
"type": "sse",
"url": "https://policy-pulse-mcp.<unique-id>.eastus.azurecontainerapps.io/sse"
}
}
}
For local stdio:
{
"servers": {
"policy-pulse": {
"type": "stdio",
"command": "python",
"args": ["-m", "policy_pulse_mcp.server"],
"env": { "AZURE_SUBSCRIPTION_ID": "your-sub-id" }
}
}
}
~/.continue/config.json:
{
"mcpServers": [
{
"name": "policy-pulse",
"command": "python",
"args": ["-m", "policy_pulse_mcp.server"],
"env": { "AZURE_SUBSCRIPTION_ID": "your-sub-id" }
}
]
}
Cline extension → MCP Servers → Add:
{
"policy-pulse": {
"command": "python",
"args": ["-m", "policy_pulse_mcp.server"],
"env": { "AZURE_SUBSCRIPTION_ID": "your-sub-id" }
}
}
Windsurf Settings → MCP → Add server:
{
"policy-pulse": {
"serverType": "stdio",
"command": "python",
"args": ["-m", "policy_pulse_mcp.server"],
"env": { "AZURE_SUBSCRIPTION_ID": "your-sub-id" }
}
}
~/.config/zed/settings.json:
{
"context_servers": {
"policy-pulse": {
"command": {
"path": "python",
"args": ["-m", "policy_pulse_mcp.server"],
"env": { "AZURE_SUBSCRIPTION_ID": "your-sub-id" }
}
}
}
}
| Variable | Default | Description |
|---|---|---|
POLICYPULSE_DEMO | false | true = mock data, no cluster or Azure credentials needed |
POLICYPULSE_TRANSPORT | stdio | stdio for local clients, sse for hosted deployments |
POLICYPULSE_HOST | 0.0.0.0 | SSE server bind address |
PORT | 8000 | SSE server port (also accepts POLICYPULSE_PORT) |
POLICYPULSE_LOG | INFO | Log level (DEBUG, INFO, WARNING) |
| Variable | Default | Description |
|---|---|---|
KUBECONFIG | ~/.kube/config | Path to kubeconfig file (used in kubeconfig mode only) |
POLICYPULSE_CLUSTERS | (single cluster) | Comma-separated list. Two formats supported: label:context-name (kubeconfig mode) or label:resourceGroup/clusterName (workload identity mode). Example: prod:rg-prod/aks-prod,dev:aks-dev-context |
| Variable | Required | Description |
|---|---|---|
AZURE_SUBSCRIPTION_ID | For Azure Policy and workload identity | Subscription to query for policy compliance |
AZURE_CREDENTIAL_TYPE | No (default: auto) | auto | cli | managed_identity | service_principal |
AZURE_TENANT_ID | For service_principal | Azure AD tenant ID |
AZURE_CLIENT_ID | For service_principal or user-assigned MI | Client or identity ID |
AZURE_CLIENT_SECRET | For service_principal | Client secret |
Local development:
az login
AZURE_CREDENTIAL_TYPE=cli policy-pulse-mcp
CI/CD — service principal:
AZURE_CREDENTIAL_TYPE=service_principal \
AZURE_TENANT_ID=<tenant-id> \
AZURE_CLIENT_ID=<client-id> \
AZURE_CLIENT_SECRET=<secret> \
policy-pulse-mcp
Production on Container Apps / AKS — managed identity:
AZURE_CREDENTIAL_TYPE=managed_identity policy-pulse-mcp
Required Azure roles for the managed identity:
| Role | Scope | Purpose |
|---|---|---|
Policy Insights Data Reader (Preview) | Subscription | Read Azure Policy compliance state |
Azure Kubernetes Service Cluster User Role | Each AKS cluster | Fetch cluster credentials via management API |
Azure Kubernetes Service RBAC Reader | Each AKS cluster | Read Gatekeeper/Kyverno resources (Azure RBAC clusters) |
For clusters using local RBAC instead of Azure RBAC, see Step 2 of Workload Identity Setup.
pip install policy-pulse-mcp # core only (demo + static gate)
pip install "policy-pulse-mcp[kubernetes]" # + Gatekeeper + Kyverno
pip install "policy-pulse-mcp[azure]" # + Azure Policy
pip install "policy-pulse-mcp[all]" # everything
From source:
git clone https://github.com/raviteja-pegata/policy-pulse-mcp
cd policy-pulse-mcp
python -m venv .venv && source .venv/bin/activate
pip install -e ".[all]"
git clone https://github.com/raviteja-pegata/policy-pulse-mcp
cd policy-pulse-mcp
python -m venv .venv && source .venv/bin/activate
pip install -e ".[all,dev]"
make test # 87 tests, fully offline, ~0.3s
make demo-server # POLICYPULSE_DEMO=true
make lint
make fmt
get_violation_history — compliance drift over timecheck_resource_compliance — point query for a specific Azure resourcesearch_catalog toolgenerate_remediation_manifestcreate_exemption_requesttrigger_azure_remediation_taskMIT — see LICENSE.
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for PolicyPulse MCP compliance server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/policy-pulse-mcp)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Alternative and complementary servers in the same category

A Model Context Protocol server built on Huawei Cloud services that enables AI assistants to operate Huawei Cloud resources within conversational workflows, supporting ECS, OBS, GaussDB, and other cloud products.

An MCP server that exposes the Coolify v4.3.1 REST API so AI clients can manage applications, databases, services, servers, deployments, and more.

A deprecated Model Context Protocol server for interacting with Kong Konnect APIs, enabling AI assistants to query and analyze Kong Gateway configurations, traffic, and analytics.