Chapter 3. Deploy and manage MCP servers


After a cluster administrator enables the MCP Lifecycle Operator, you can deploy MCP servers from the AI Hub MCP Catalog and manage their lifecycle. MCP servers expose tools and capabilities that your AI agents and applications can use through the Model Context Protocol.

Important

MCP Catalog is a Technology Preview feature only. Technology Preview features are not supported with Red Hat production service level agreements (SLAs) and might not be functionally complete. Red Hat does not recommend using them in production. These features provide early access to upcoming product features, enabling customers to test functionality and provide feedback during the development process.

For more information about the support scope of Red Hat Technology Preview features, see Technology Preview Features Support Scope.

Note

Deploying MCP servers from the MCP Catalog requires a cluster administrator to enable the MCP Lifecycle Operator.

3.1. Deploy MCP servers from the MCP Catalog

Important

MCP Lifecycle Operator is a Technology Preview feature only. Technology Preview features are not supported with Red Hat production service level agreements (SLAs) and might not be functionally complete. Red Hat does not recommend using them in production. These features provide early access to upcoming product features, enabling customers to test functionality and provide feedback during the development process.

For more information about the support scope of Red Hat Technology Preview features, see Technology Preview Features Support Scope.

Deploy an MCP server from the AI Hub MCP Catalog to make it available for use in AI applications and agents in your namespace. The MCP Catalog provides pre-curated MCP servers from Red Hat, technology partners, and the open source community that you can deploy without sourcing container images or writing Kubernetes manifests.

Prerequisites

  • A cluster administrator has enabled the MCP Lifecycle Operator on the cluster. For more information, see Enable the MCP Lifecycle Operator.
  • You have access to a Red Hat OpenShift AI project with at least the standard user role.
  • You have access to the Red Hat OpenShift AI dashboard.
  • If the MCP server you are deploying requires a service account, a ServiceAccount resource exists in your namespace.

Procedure

  1. In the Red Hat OpenShift AI dashboard, navigate to AI hub MCP servers.
  2. Browse available MCP servers.

    Each server card displays the server name, a description, supported tools, and the support tier. The support tiers are:

    Support tierDescription

    Red Hat

    Fully supported by Red Hat.

    Partner

    Supported by the technology partner who maintains the server.

    Community

    Best-effort support from the open source community.

  3. Filter the catalog by deployment mode or supported transport protocols to find the server that meets your requirements.
  4. Click the MCP server you want to deploy to open its details page.

    Review the server metadata, including the list of tools it exposes, supported capabilities, and whether the server requires a service account.

  5. Click Deploy MCP server.

    Note

    The Deploy MCP server button is disabled if the MCP Lifecycle Operator is not enabled on the cluster. For more information, see Enable the MCP Lifecycle Operator.

  6. In the deployment dialog, review the YAML configuration field.

    If the MCP server requires a service account, set the serviceAccountName: field under runtime: and security: in the YAML:

    spec:
      runtime:
        security:
          serviceAccountName: <service_account_name>

    where:

    <service_account_name>
    Specifies the name of the ServiceAccount resource in your namespace.
  7. Confirm the deployment by clicking Deploy in the dialog.

    The MCP Catalog submits the deployment request to the MCP Lifecycle Operator. The operator creates an MCPServer custom resource in your namespace and provisions the required Deployment and Service.

Verification

  1. Confirm that the MCPServer custom resource shows a READY status of True:

    $ oc get mcpservers -n <namespace>

    Replace <namespace> with your project namespace.

    The output shows the MCP server with READY status as True, for example:

    NAME                 READY   ACCEPTED   IMAGE   PORT   ADDRESS   AGE
    <mcp_server_name>   True    True       ...     ...    ...       2m
  2. In the Red Hat OpenShift AI dashboard, navigate to AI hub MCP servers and verify that the MCP server is displayed on the Deployments tab.

3.2. Upgrade an MCP server

Upgrade a deployed MCP server to a newer version by using the Red Hat OpenShift AI dashboard or by editing the MCPServer custom resource directly.

Prerequisites

  • The MCP Lifecycle Operator is enabled on the cluster.
  • You have an MCP server deployed in your namespace.
  • You have access to the Red Hat OpenShift AI dashboard or the OpenShift CLI (oc).

Procedure

  1. In the Red Hat OpenShift AI dashboard, navigate to AI hub MCP servers and open the Deployments tab.
  2. Locate the deployed server and click its name.
  3. Click Edit to open the server configuration. Select the new version and save the changes.

Verification

  • Confirm the MCPServer status is Ready:

    $ oc get mcpservers <mcp_server_name> -n <namespace>

    The output shows READY as True when the server is running.

3.3. Scale an MCP server

Scale the number of replicas for a deployed MCP server by patching the spec.runtime.replicas field in its MCPServer custom resource.

Prerequisites

  • The MCP Lifecycle Operator is enabled on the cluster.
  • You have an MCP server deployed in your namespace.
  • You have access to the Red Hat OpenShift AI dashboard or the OpenShift CLI (oc).

Procedure

  1. Edit the MCPServer custom resource to update the replica count:

    $ oc patch mcpserver <mcp_server_name> -n <namespace> \
      --type=merge -p '{"spec":{"runtime":{"replicas":<replica_count>}}}'

    where:

    <mcp_server_name>
    Specifies the name of the MCPServer custom resource.
    <namespace>
    Specifies the namespace where the MCP server is deployed.
    <replica_count>

    Specifies the number of replicas to run. Set to 0 to scale to zero.

    You can run oc explain mcpserver.spec.runtime to view all available runtime configuration fields for the installed CRD version.

    Important

    By default, the MCP Lifecycle Operator treats MCP servers as stateful and configures SessionAffinity: ClientIP on the Kubernetes Service. This pins each client to a single pod, which means scaling to additional replicas does not distribute existing client connections across those replicas.

    If the MCP server you are scaling is stateless, which means it does not maintain per-client session data, set spec.mcp.stateless: true in the MCPServer custom resource so that the operator configures SessionAffinity: None and load-balances traffic across all replicas:

    $ oc patch mcpserver <mcp_server_name> -n <namespace> \
      --type=merge -p '{"spec":{"mcp":{"stateless":true},"runtime":{"replicas":<replica_count>}}}'

    Only set stateless: true if the MCP server itself declares that it is stateless.

    The MCP Lifecycle Operator runs MCP servers as Kubernetes-native workloads on OpenShift but does not manage session state within those servers. If the server maintains session state, managing that state across replicas is the server’s own responsibility.

Verification

  • Confirm the configured replica count on the MCPServer custom resource:

    $ oc get mcpservers <mcp_server_name> -n <namespace> \
      -o jsonpath='{.spec.runtime.replicas}{"\n"}'

    The output shows the replica count you set.

  • Confirm the MCPServer status is Ready:

    $ oc get mcpservers <mcp_server_name> -n <namespace>

    The output shows READY as True when the server is running with the updated replica count.

3.4. Remove an MCP server

Remove a deployed MCP server from your namespace by using the Red Hat OpenShift AI dashboard or by deleting the MCPServer custom resource directly.

Prerequisites

  • The MCP Lifecycle Operator is enabled on the cluster.
  • You have an MCP server deployed in your namespace.
  • You have access to the Red Hat OpenShift AI dashboard or the OpenShift CLI (oc).

Procedure

  1. In the Red Hat OpenShift AI dashboard, navigate to AI hub MCP servers and open the Deployments tab.
  2. Locate the MCP server and select Delete from the action menu. Confirm the deletion.

    Alternatively, delete the MCPServer custom resource directly:

    $ oc delete mcpserver <mcp_server_name> -n <namespace>

    The MCP Lifecycle Operator automatically cleans up the associated Deployment, Service, and other managed resources.

Verification

  • Confirm no MCPServer resources remain for the deleted server:

    $ oc get mcpservers -n <namespace>

3.5. Monitor MCP server health

Check the status and health of deployed MCP servers in your namespace by using the OpenShift CLI (oc).

Prerequisites

  • The MCP Lifecycle Operator is enabled on the cluster.
  • You have an MCP server deployed in your namespace.
  • You have access to the Red Hat OpenShift AI dashboard or the OpenShift CLI (oc).

Procedure

  1. Check the status of all MCP servers in your namespace:

    $ oc get mcpservers -n <namespace>
  2. Review the status conditions for a specific MCP server:

    $ oc describe mcpserver <mcp_server_name> -n <namespace>

    Look for a condition with type: Ready and status: True to confirm the server is running and ready to accept connections.

Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat Documentation

Legal Notice

Theme

© 2026 Red Hat
Back to top