ocm-mcp
Provides tools for managing Red Hat OpenShift Cluster Manager, enabling AI agents to interact with OpenShift clusters.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@ocm-mcplist all OpenShift clusters"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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"
}
}
}
}Related MCP server: MCP Kubernetes
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.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/redhat-community-ai-tools/ocm-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server