OpenShift MCP Server
About
OpenShift/Kubernetes cluster management via the oc CLI for MCP clients
Use this server
Add it to your MCP client. The catalogue lists this config verbatim from its source — it does not run, download, or vouch for the server. Review the command before you run it.
Transportstdio (runs a local command)
Env vars
OPENSHIFT_CONTEXT OPENSHIFT_NAMESPACEClaude Code
claude mcp add --env OPENSHIFT_CONTEXT= --env OPENSHIFT_NAMESPACE= mcp-server-openshift -- npx mcp-server-openshift
Cursor
If the button doesn't open Cursor, use the JSON below — Cursor accepts the same mcpServers config.
VS Code
code --add-mcp '{"name":"mcp-server-openshift","command":"npx","args":["mcp-server-openshift"],"env":{"OPENSHIFT_CONTEXT":"","OPENSHIFT_NAMESPACE":""}}'
JSON
{
"mcpServers": {
"mcp-server-openshift": {
"command": "npx",
"args": [
"mcp-server-openshift"
],
"env": {
"OPENSHIFT_CONTEXT": "",
"OPENSHIFT_NAMESPACE": ""
}
}
}
}
Environment variables are listed by name only — fill in your own values. Entries never carry secrets.