← Back to Plugins
MCP Server MCP

OpenShift MCP Server

github By github 👁 1 views ▲ 0 votes

OpenShift/Kubernetes cluster management via the oc CLI for MCP clients

Homepage Verified source GitHub

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

Comments

Sign in to leave a comment

Loading comments...