Skip to main content

MCP server for Red Hat OpenShift Cluster Manager

Project description

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": {
    "ocm-mcp": {
      "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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file iflow_mcp_redhat_community_ai_tools_ocm_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: iflow_mcp_redhat_community_ai_tools_ocm_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for iflow_mcp_redhat_community_ai_tools_ocm_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a82052d109d94e02a5ad35437ce00e335146b0149e21957ae551f7865b273cd3
MD5 ed561c541add692de10d7d7061d637b7
BLAKE2b-256 aea464fde002d2b2982237e7a22dd7a23af0f458f87d139cec56c434c6330a42

See more details on using hashes here.

File details

Details for the file iflow_mcp_redhat_community_ai_tools_ocm_mcp-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: iflow_mcp_redhat_community_ai_tools_ocm_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for iflow_mcp_redhat_community_ai_tools_ocm_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8f9f801ca1cc4b9f8f83cc4692839741c7fda2776573b527b146a8117cf11ee9
MD5 3591adc0d5110eb4e28ef43b187bf8e6
BLAKE2b-256 195bd0f67b33527e0fa088f474eb99861de59012f43c30f0a4ab9542eec544d8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page