kubectl get mcpserverregistrations -A fedora: Wed Mar 18 09:39:01 2026
NAMESPACE NAME PREFIX TARGET PATH READY TOOLS CREDENTIALS AGE
default kubernetes-mcp-server kube_ kubernetes-mcp /mcp True 14 7s
kubectl get mcpserverregistrations -A fedora: Wed Mar 18 10:42:24 2026
NAMESPACE NAME PREFIX TARGET PATH READY TOOLS CREDENTIALS AGE
default kubernetes-mcp-server kube_ kubernetes-mcp /mcp False 3m49s
I noticed that when removing an MCP Server, the
MCPServerRegistrationgoes toready:false(correclty), but connecting to the gateway still lists the old tools ?Steps to reproduce:
Install the GW (on OCP): https://github.com/Kuadrant/mcp-gateway/blob/main/config/openshift/deploy_openshift.sh
Install Operator: https://raw.githubusercontent.com/matzew/kubernetes-mcp-lifecycle-operator/refs/heads/distribution/dist/install.yaml
Create Kubernetes MCP Server resource: https://raw.githubusercontent.com/kubernetes-sigs/mcp-lifecycle-operator/refs/heads/main/examples/kubernetes-mcp-server/mcpserver-with-rbac.yaml
Create Gateway regsitration for the Server: https://raw.githubusercontent.com/matzew/kubernetes-mcp-lifecycle-operator/refs/heads/gateway_integration/examples/kubernetes-mcp-server/mcp-gateway/mcp-gateway-integration.yaml
Eventually this gives you:
No, when deleting just the MCP Server (not the
mcpserverregistrations), it goes to:But the tools are still visible on the MCP Inspector