Skip to main 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": {
    "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.

Metadata

Release files for iflow-mcp_redhat-community-ai-tools-ocm-mcp 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for iflow-mcp_redhat-community-ai-tools-ocm-mcp 0.1.0
File Size Uploaded
iflow_mcp_redhat_community_ai_tools_ocm_mcp-0.1.0.tar.gz 3.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for iflow-mcp_redhat-community-ai-tools-ocm-mcp 0.1.0
File Interpreter ABI Platform
iflow_mcp_redhat_community_ai_tools_ocm_mcp-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 7.9 kB

Release files / iflow_mcp_redhat_community_ai_tools_ocm_mcp-0.1.0.tar.gz

Download URL iflow_mcp_redhat_community_ai_tools_ocm_mcp-0.1.0.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
a82052d109d94e02a5ad35437ce00e335146b0149e21957ae551f7865b273cd3
BLAKE2b-256 checksum
How to use checksums
aea464fde002d2b2982237e7a22dd7a23af0f458f87d139cec56c434c6330a42
Upload date
Uploaded using Trusted Publishing?
What is 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}

Release files / iflow_mcp_redhat_community_ai_tools_ocm_mcp-0.1.0-py3-none-any.whl

Download URL iflow_mcp_redhat_community_ai_tools_ocm_mcp-0.1.0-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8f9f801ca1cc4b9f8f83cc4692839741c7fda2776573b527b146a8117cf11ee9
BLAKE2b-256 checksum
How to use checksums
195bd0f67b33527e0fa088f474eb99861de59012f43c30f0a4ab9542eec544d8
Upload date
Uploaded using Trusted Publishing?
What is 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}

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page