Skip to main content
Glama

OCM MCP Server

by yanmxa
387
2

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
KUBECONFIGNoPath to the Kubernetes configuration file. By default, the tool uses this environment variable to access the cluster.

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
clusters

Retrieves a list of Kubernetes clusters (also known as managed clusters or spoke clusters).

connect_cluster

Generates the KUBECONFIG for the managed cluster and binds it to the specified ClusterRole (default: cluster-admin).

kubectl

Securely run a kubectl command or apply YAML. Provide either 'command' or 'yaml'.

prometheus

Queries a Prometheus server (snapshot or range) and returns metrics formatted for charting.

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/yanmxa/ocm-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server