OCM MCP Server

OCM MCP Server

mcp-ocm•byjudexzhu

An MCP server exposing read-only tools for Red Hat OpenShift Cluster Manager API operations, covering cluster management, monitoring, account operations and infrastructure inspection.

License: MIT License•Runtime: Awaiting documentation review•Category: cloud devops

WHAT IT DOES

  • •Retrieves cluster details with automatic HCP/Classic detection and supports searching clusters by name, state or region.
  • •Provides machine pool information for Classic clusters or node pools for HCP clusters, auto-detected.
  • •Exposes monitoring tools for alerts, operator status, and CPU, socket and node metrics.
  • •Provides account operations including account lookup by email, subscription, organization and current account info.

BEST FOR

  • •Investigating OpenShift cluster health, alerts and operator status through an MCP client.
  • •Debugging cluster provisioning with inflight checks, install logs and limited support reasons.
  • •Inspecting OpenShift cluster networking such as VPC subnets, ingress configuration and AWS Private Link.

ABOUT MCP-OCM

OCM MCP Server is cataloged as an MCP server attributed to judexzhu. An MCP server exposing read-only tools for Red Hat OpenShift Cluster Manager API operations, covering cluster management, monitoring, account operations and infrastructure inspection. It is categorized under cloud devops. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for OCM MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Does the server modify clusters or only read data?

The server provides 30 read-only tools for cluster management, monitoring, account operations and infrastructure inspection.

Does it support both HCP and Classic clusters?

Yes, it supports both HCP (Hosted Control Plane) and Classic clusters with automatic type detection.

Upstream README

View this exact version on GitHub

README.md · 6e61c712bc54 · Fetched 2026-11-13 14:07:43 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

OCM MCP Server

Python 3.13+ MCP Compatible UV

A Model Context Protocol (MCP) server for Red Hat OpenShift Cluster Manager (OCM) API operations. Provides 30 read-only tools for cluster management, monitoring, account operations, and infrastructure inspection. Supports both HCP (Hosted Control Plane) and Classic clusters with automatic type detection.

Installation

Prerequisites

  • Python 3.13+
  • uv package manager

Setup

  1. Clone and Install

    git clone <repository-url>
    cd mcp-ocm
    uv sync
    
  2. Environment Configuration Create a .env file with your Red Hat API credentials:

    # Required: Your Red Hat API offline token
    RH_API_OFFLINE_TOKEN=your_offline_token_here
    
    # Optional: OCM API base URL (defaults to https://api.openshift.com)
    OCM_BASE_URL=https://api.openshift.com
    

    Get your offline token from Red Hat API Tokens.

Usage

MCP Client Configuration

{
  "mcpServers": {
    "ocm": {
      "command": "uv",
      "args": [
        "--directory",
        "/path/to/your/mcp-ocm",
        "run",
        "ocm_mcp_server.py"
      ],
      "env": {
        "RH_API_OFFLINE_TOKEN": "your_actual_offline_token_here"
      }
    }
  }
}

Tools Reference (30 tools)

ToolPurpose
ocm_get_clusterCluster details with HCP/Classic detection
ocm_search_clustersSearch clusters by name, state, region, etc. (OCM search syntax)
ocm_get_cluster_statusCluster status (DNS readiness, provisioning state, health)
ocm_get_cluster_resourcesCurrently available cluster resources (CPU, memory)

Pools & Nodes

ToolPurpose
ocm_get_cluster_machine_poolsMachine pools (Classic) or node pools (HCP) — auto-detected

Logs

ToolPurpose
ocm_get_cluster_service_logsService logs with pagination (page/size params)
ocm_get_cluster_install_logsInstallation logs and history
ocm_get_cluster_uninstall_logsUninstall logs

Monitoring & Metrics

ToolPurpose
ocm_get_cluster_alertsCluster alerts with severity breakdown
ocm_get_cluster_operatorsOperator status with condition summaries
ocm_get_cluster_cpu_metricsCPU metrics by node role and OS
ocm_get_cluster_socket_metricsSocket metrics by node role and OS
ocm_get_cluster_node_metricsNode metrics

Networking

ToolPurpose
ocm_get_cluster_vpcVPC info with subnet analysis (public/private)
ocm_get_cluster_ingressIngress configuration and DNS info
ocm_get_cluster_private_linkAWS Private Link configuration

Auth & Access

ToolPurpose
ocm_get_cluster_identity_providersIdentity provider configuration
ocm_get_cluster_groupsRBAC groups and their users

Configuration

ToolPurpose
ocm_get_cluster_addonsInstalled add-ons
ocm_get_cluster_autoscalerCluster autoscaler configuration
ocm_get_cluster_kubelet_configsKubelet configurations
ocm_get_cluster_upgrade_policiesUpgrade policies (Classic + HCP control plane + node pool)

Support & Diagnostics

ToolPurpose
ocm_get_cluster_limited_support_reasonsLimited support reasons
ocm_get_cluster_inflight_checksInflight checks (provisioning debugging)

AWS / Infrastructure

ToolPurpose
ocm_get_cluster_sts_operator_rolesSTS operator IAM roles
ocm_get_cluster_provision_shardProvision shard info

Accounts API

ToolPurpose
ocm_get_accounts_by_emailAccount lookup by email
ocm_get_subscriptionSubscription details
ocm_get_organizationOrganization details
ocm_get_current_accountCurrently authenticated user info

API Coverage

Clusters Management API (clusters_mgmt/v1)

  • Cluster search, details, status, resources
  • Machine pools / node pools
  • Upgrade policies (cluster, control plane, node pool)
  • VPC, ingresses, identity providers
  • Alerts, operators, CPU/socket/node metrics
  • Addons, autoscaler, kubelet configs, groups
  • Limited support reasons, inflight checks
  • AWS Private Link, STS operator roles, provision shard
  • Install/uninstall logs

Service Logs API (service_logs/v1)

  • Cluster service logs with pagination

Accounts Management API (accounts_mgmt/v1)

  • Account search by email
  • Subscriptions, organizations
  • Current account

Dependencies

  • httpx — Async HTTP client
  • mcp[cli] — Model Context Protocol framework
  • python-dotenv — Environment variable management

License

This project is licensed under the MIT License.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for OCM MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/mcp-ocm)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related cloud devops MCP Servers

Alternative and complementary servers in the same category

View all in cloud devops →
Huawei MCP Server
mcp-server-huaweiclouddeveloper•huaweiclouddeveloper

A Model Context Protocol server built on Huawei Cloud services that enables AI assistants to operate Huawei Cloud resources within conversational workflows, supporting ECS, OBS, GaussDB, and other cloud products.

Repository stats unavailable
Cloud & DevOps
Coolify MCP Server
coolify-mcp-server•wrediam

An MCP server that exposes the Coolify v4.3.1 REST API so AI clients can manage applications, databases, services, servers, deployments, and more.

Repository stats unavailable
Cloud & DevOps

A deprecated Model Context Protocol server for interacting with Kong Konnect APIs, enabling AI assistants to query and analyze Kong Gateway configurations, traffic, and analytics.

Repository stats unavailable
Cloud & DevOps