OCM MCP Server
@judexzhu
About 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.
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mcp-ocm": {
"command": "uv",
"args": [
"sync"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
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
FAQ from OCM MCP Server
How do I obtain my Red Hat API offline token?
Visit Red Hat API Tokens, generate or copy your offline token, and add it as RH_API_OFFLINE_TOKEN in your .env file.
What are the runtime requirements for OCM MCP Server?
Python 3.9+ and the uv package manager are required.
Can I change the OCM API base URL?
Yes, set the optional OCM_BASE_URL environment variable (defaults to https://api.openshift.com).
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.
What are the key Python dependencies?
The server depends on httpx, mcp (Model Control Protocol framework), python-dotenv, and asyncio.
More Developer Tools MCP servers
Code Index MCP
johnhuang316A Model Context Protocol (MCP) server that helps large language models index, search, and analyze code repositories with minimal setup
Unity MCP (Server + Plugin)
IvanMurzakAI Skills, MCP Tools, and CLI for Unity Engine. Full AI develop and test loop. Use cli for quick setup. Efficient token usage, advanced tools. Any C# method may be turned into a tool by a single line. Works with Claude Code, Gemini, Copilot, Cursor and any other absolutely for fr
Grafana MCP server
grafanaMCP server for Grafana
Deepwiki MCP Server
regenrek📖 MCP server for fetch deepwiki.com and get latest knowledge in Cursor and other Code Editors
Burp Suite MCP Server Extension
PortSwiggerMCP Server for Burp
Comments