Delete virtual MCP servers

You can delete a virtual Model Context Protocol (MCP) server when you no longer need it or when your MCP servers change.

Prerequisites
  • You completed all of the installation and configuration steps for MCP gateway.

  • You registered your MCP servers.

  • You installed the OpenShift CLI (oc).

  • You created a virtual MCP server.

Procedure
  • Delete a virtual MCP server by running the following command:

    $ oc delete mcpvirtualserver <dev_tools> -n <mcp_system>
    • Replace <dev_tools> with the name of the MCPVirtualServer custom resource you want to remove.

    • Replace <mcp_system> with the namespace where the CR is applied.