Skip to content

Gateway not reflecting READY:FALSE on registrations? #665

@matzew

Description

@matzew

I noticed that when removing an MCP Server, the MCPServerRegistration goes to ready:false (correclty), but connecting to the gateway still lists the old tools ?

Steps to reproduce:

  1. Install the GW (on OCP): https://github.com/Kuadrant/mcp-gateway/blob/main/config/openshift/deploy_openshift.sh

  2. Install Operator: https://raw.githubusercontent.com/matzew/kubernetes-mcp-lifecycle-operator/refs/heads/distribution/dist/install.yaml

  3. 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

  4. 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:

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

No, when deleting just the MCP Server (not the mcpserverregistrations), it goes to:

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

But the tools are still visible on the MCP Inspector

Metadata

Metadata

Assignees

No one assigned

    Labels

    triage/needs-triageIssues that need review and decisions about their milestones and priority

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions