We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/containers/kubernetes-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
openshift.go•347 B
package kubernetes
import (
"context"
"github.com/containers/kubernetes-mcp-server/pkg/openshift"
)
func (m *Manager) IsOpenShift(ctx context.Context) bool {
// This method should be fast and not block (it's called at startup)
k, err := m.Derived(ctx)
if err != nil {
return false
}
return openshift.IsOpenshift(k.DiscoveryClient())
}