MCP ExplorerExplorer

Ocm Mcp

@redhat-ai-toolson 16 days ago
1 MIT
FreeCommunity
AI Systems
MCP server for Red Hat OpenShift Cluster Manager

Overview

What is Ocm Mcp

ocm-mcp is an MCP server designed for managing Red Hat OpenShift clusters, providing essential functionalities for cluster management and operations.

Use cases

Use cases for ocm-mcp include managing multiple OpenShift clusters, automating cluster operations, and providing a centralized management interface for cloud services.

How to use

To use ocm-mcp, run the server in a container using Podman or Docker. Ensure you have a valid OCM token obtained from the Red Hat console. Configure the server with the necessary environment variables and run the provided command.

Key features

Key features of ocm-mcp include containerized deployment, integration with Red Hat OpenShift, and the ability to manage cluster operations efficiently using a valid OCM token.

Where to use

ocm-mcp is primarily used in cloud environments where Red Hat OpenShift is deployed, making it suitable for enterprises leveraging container orchestration and management.

Content

ocm-mcp

MCP server for Red Hat OpenShift Cluster Manager

Running with Podman or Docker

You can run the ocm-mcp server in a container using Podman or Docker. Make sure you have a valid OCM token, which you can obtain by logging into https://console.redhat.com/openshift/token:

Example configuration for running with Podman:

{
  "mcpServers": {
    "ocm-mcp": {
      "command": "podman",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "ACCESS_TOKEN_URL",
        "-e",
        "OCM_CLIENT_ID",
        "-e",
        "OCM_OFFLINE_TOKEN",
        "-e",
        "MCP_TRANSPORT",
        "quay.io/redhat-ai-tools/ocm-mcp"
      ],
      "env": {
        "ACCESS_TOKEN_URL": "https://sso.redhat.com/auth/realms/redhat-external/protocol/openid-connect/token",
        "OCM_CLIENT_ID": "cloud-services",
        "OCM_OFFLINE_TOKEN": "REDACTED",
        "MCP_TRANSPORT": "stdio"
      }
    }
  }
}

Running with non-stdio transport

To run the server with a non-stdio transport (such as SSE), set the MCP_TRANSPORT environment variable to a value other than stdio (e.g., sse).

Example configuration to connect to a non-stdio MCP server:

{
  "mcpServers": {
    "slack": {
      "url": "https://ocm-mcp.example.com/sse",
      "headers": {
        "X-OCM-Offline-Token": "REDACTED"
      }
    }
  }
}

Replace REDACTED with the value from https://console.redhat.com/openshift/token.

Tools

No tools

Comments