MCP.so
登录

OCM MCP Server

@judexzhu

基本信息

分类

开发工具

传输方式

stdio

作者

judexzhu

关于 OCM MCP Server

A comprehensive Model Control Protocol (MCP) server for Red Hat OpenShift Cluster Manager (OCM) API operations. This server provides 12 intelligent tools for cluster management, account operations, and infrastructure monitoring.

#mcp-ocm#cluster-management#infrastructure-monitoring

OCM MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "mcp-ocm": {
      "command": "uv",
      "args": [
        "sync"
      ]
    }
  }
}

OCM MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is OCM MCP Server?

A comprehensive Model Control Protocol (MCP) server for Red Hat OpenShift Cluster Manager (OCM) API operations. It provides 12 intelligent tools for cluster management, account operations, and infrastructure monitoring.

How to use OCM MCP Server?

Install Python 3.9+ and uv, clone the repository, run uv sync, create a .env file with your RH_API_OFFLINE_TOKEN (and optional OCM_BASE_URL), then configure your MCP client to run uv --directory /path/to/mcp-ocm run ocm_mcp_server.py passing the token as an environment variable.

Key features of OCM MCP Server

  • 12 tools covering cluster, account, and infrastructure operations
  • Automatic HCP / Classic cluster type detection
  • Smart machine pool management (node_pools vs machine_pools)
  • Dynamic external_id resolution for service logs
  • Alert severity breakdown and operator condition summaries
  • VPC subnet analysis with public/private breakdown

Use cases of OCM MCP Server

  • Retrieve detailed cluster information with type detection
  • Manage machine pools and upgrade policies across cluster types
  • Monitor cluster alerts, operators, and service logs
  • Analyze VPC, ingress, and identity provider configurations
  • Look up Red Hat accounts by email

常见问题

1

How do I obtain my Red Hat API offline token?

Visit [Red Hat API Tokens](https://access.redhat.com/management/api), generate or copy your offline token, and add it as `RH_API_OFFLINE_TOKEN` in your `.env` file.

2

What are the runtime requirements for OCM MCP Server?

Python 3.9+ and the [uv](https://docs.astral.sh/uv/) package manager are required.

3

Can I change the OCM API base URL?

Yes, set the optional `OCM_BASE_URL` environment variable (defaults to `https://api.openshift.com`).

4

How does the server authenticate with the OCM API?

It uses the `RH_API_OFFLINE_TOKEN` environment variable for authentication; no other transport or auth method is documented.

5

What are the key Python dependencies?

The server depends on `httpx`, `mcp` (Model Control Protocol framework), `python-dotenv`, and `asyncio`.

评论

开发工具 分类下的更多 MCP 服务器