Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
KUBEMCP_CONFIG_SOURCENoConfiguration source: 'local' or 'custom'local
KUBEMCP_KUBECONFIG_PATHNoCustom kubeconfig path
KUBEMCP_RESPONSE_FORMATNoResponse format: 'json', 'toon', or 'auto'auto
KUBEMCP_DEFAULT_NAMESPACENoDefault namespacedefault

Tools

Functions exposed to the LLM to take actions

NameDescription
k8s_deployments

Manage Kubernetes deployments. Actions:

  • list: List all deployments in a namespace

  • get: Get deployment details

  • scale: Scale deployment replicas (requires confirm=true or dryRun=true)

  • restart: Perform rolling restart (requires confirm=true or dryRun=true)

  • get_status: Get rollout status

  • get_metrics: Get aggregated metrics for a deployment

k8s_pods

Manage Kubernetes pods. Actions:

  • list: List pods in a namespace with optional label selector

  • get: Get pod details

  • delete: Delete a pod (requires confirm=true or dryRun=true)

  • get_logs: Get logs with filtering (severity, grep, time-based)

  • get_status: Get detailed pod status

  • summarize_logs: Get log summary statistics (90%+ token reduction)

k8s_services

Manage Kubernetes services. Actions:

  • list: List all services in a namespace

  • get: Get service details

  • get_endpoints: Get endpoints for a service

k8s_configmaps

Manage Kubernetes ConfigMaps. Actions:

  • list: List all ConfigMaps in a namespace

  • get: Get a specific ConfigMap

  • create: Create a new ConfigMap

  • update: Update an existing ConfigMap (requires confirm=true or dryRun=true)

  • delete: Delete a ConfigMap (requires confirm=true or dryRun=true)

k8s_secrets

Manage Kubernetes Secrets. Actions:

  • list: List all Secrets in a namespace

  • get: Get a specific Secret (metadata only, no data)

  • create: Create a new Secret

  • update: Update an existing Secret (requires confirm=true or dryRun=true)

  • delete: Delete a Secret (requires confirm=true or dryRun=true)

k8s_namespaces

Manage Kubernetes namespaces. Actions:

  • list: List all namespaces in the cluster

  • get: Get details of a specific namespace

  • create: Create a new namespace

  • delete: Delete a namespace (requires confirm=true or dryRun=true)

k8s_metrics

Get Kubernetes resource metrics (CPU/Memory). Actions:

  • get_pod_metrics: Get resource metrics for pods

  • get_node_metrics: Get resource metrics for nodes

k8s_events

Get Kubernetes cluster events. Actions:

  • list: Get cluster events with optional filtering

  • get_resource: Get events for a specific resource

  • get_recent: Get recent events sorted by timestamp

k8s_audit

Manage audit logging and safety controls. Actions:

  • get_status: Check dry-run mode and session stats

  • set_dry_run: Enable/disable dry-run mode globally

  • get_session_log: View changes made in this session

  • get_stats: Get statistics about operations in this session

  • clear_session: Clear session audit log

  • configure: Update audit settings (requireConfirmation, logToConsole)

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/icy-r/kubemcp'

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