MCP Server
MCP
OpenShift MCP Server
OpenShift/Kubernetes cluster management via the oc CLI for MCP clients
Install
npx -y mcp-server-openshift@1.2.0
Configuration Example
{
"remotes": [],
"packages": [
{
"registryType": "npm",
"registryBaseUrl": "https://registry.npmjs.org",
"identifier": "mcp-server-openshift",
"version": "1.2.0",
"runtimeHint": "npx",
"transport": {
"type": "stdio"
},
"environmentVariables": [
{
"description": "Default OpenShift/Kubernetes context",
"name": "OPENSHIFT_CONTEXT"
},
{
"description": "Default namespace/project",
"default": "default",
"name": "OPENSHIFT_NAMESPACE"
}
]
},
{
"registryType": "oci",
"identifier": "docker.io/sanjaypsachdev/mcp-server-openshift:1.2.0",
"runtimeHint": "podman",
"transport": {
"type": "stdio"
},
"runtimeArguments": [
{
"description": "Keep stdin open for stdio MCP transport",
"type": "named",
"name": "-i"
},
{
"description": "Mount host kubeconfig so oc can reach the cluster",
"value": "{kube_config}:/home/nodejs/.kube:ro",
"variables": {
"kube_config": {
"description": "Path to kubeconfig on host",
"format": "filepath",
"default": "~/.kube/config"
}
},
"type": "named",
"name": "-v"
}
],
"environmentVariables": [
{
"description": "Default OpenShift/Kubernetes context",
"name": "OPENSHIFT_CONTEXT"
},
{
"description": "Default namespace/project",
"default": "default",
"name": "OPENSHIFT_NAMESPACE"
}
]
}
]
}
mcp
model-context-protocol
npm
oci
By
Comments
Sign in to leave a comment