Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
KUBECONFIGNoPath to the kubeconfig file.~/.kube/config
KUBEAID_CONTEXTNoPin a fixed default context. Omit it to track current-context live.
KUBEAID_ALLOW_EXECNoExpose exec_command (run commands in containers).false
KUBEAID_ALLOW_WRITESNoExpose the mutating tools (apply/patch/delete/scale/rollout).false
KUBEAID_REQUEST_TIMEOUTNoPer-request timeout for Kubernetes API calls (e.g. 30s, 1m, or milliseconds).30s
KUBEAID_PROTECTED_CONTEXTSNoComma-separated contexts that may never be written to or exec'd into.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tasks
{
  "list": {},
  "cancel": {},
  "requests": {
    "tools": {
      "call": {}
    }
  }
}
tools
{
  "listChanged": true
}
prompts
{
  "listChanged": true
}
resources
{
  "subscribe": true,
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_contextsA

List the kubeconfig contexts (clusters) this server can target. The one marked isDefault is used when a tool call omits the context parameter.

list_namespacesA

List all namespaces in the Kubernetes cluster, with their status.

list_podsA

List pods in a namespace (or across all namespaces if omitted), with derived status, ready count, restarts and age.

describe_podA

Describe a pod: its status, per-container state (including waiting/termination reasons and last restart), and recent events. Use this to diagnose why a pod is not healthy.

get_pod_logsA

Fetch the tail of a pod's container logs. Set previous=true to read logs from a crashed container's prior instance.

list_deploymentsA

List deployments in a namespace (or across all namespaces if omitted), with ready/up-to-date/available replica counts and age.

list_nodesA

List cluster nodes with Ready status, roles, age, kubelet version and internal IP.

get_eventsA

List recent events in a namespace (or across all namespaces if omitted), sorted oldest to newest. Warning-type events surface cluster problems.

describe_resourceA

Fetch any Kubernetes resource by kind and name, including custom resources (CRDs). Returns the resource object with noise (managedFields, last-applied annotation) stripped.

Prompts

Interactive templates invoked by user choice

NameDescription
diagnose_podDiagnose why a pod is unhealthy and suggest a fix, using the kubeaid tools.
triage_namespaceTriage the health of a whole namespace: find unhealthy workloads and investigate each.
cluster_health_checkRun a high-level health check across the whole cluster.
review_warningsReview recent Warning events and explain what they mean.

Resources

Contextual data attached and managed by the client

NameDescription
Health ChecksCurrent health status of all registered health checks
Widget ExamplesProvides metadata and examples for all registered UI widgets

Latest Blog Posts

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/1Shubham7/kubeaid-mcp-ts'

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