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": {
"slack": {
"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-maorfr-ocm-mcp 0.1.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| iflow_mcp_maorfr_ocm_mcp-0.1.6.tar.gz | 3.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| iflow_mcp_maorfr_ocm_mcp-0.1.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.2 kB
Release files / iflow_mcp_maorfr_ocm_mcp-0.1.6.tar.gz
| Download URL | iflow_mcp_maorfr_ocm_mcp-0.1.6.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d2e83eddaa1ca5d5fd67a16a6b528f5b7f37e714c54d995b23748fdb8c55773c
|
|
BLAKE2b-256 checksum How to use checksums |
a3f46f915f9e525c8855aa441090bfbc8f64f2b6cf61db9efe8b94932d30e57e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","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_maorfr_ocm_mcp-0.1.6-py3-none-any.whl
| Download URL | iflow_mcp_maorfr_ocm_mcp-0.1.6-py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a259778f46114ec45be27fdf02ae45fba74aa68429692f97a1f7d018a81b4b3b
|
|
BLAKE2b-256 checksum How to use checksums |
a99fc11b66ad4e9bbc8e3524af5e5f14a3708bd80149e5bbb10215504d94d5da
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","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}
|