Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoPort for SSE mode (default: 3000)
LOKI_URLNoLoki server URL
KUBECONFIGNoPath to Kubernetes kubeconfig file (optional, omit for in-cluster service account)
LOKI_TOKENNoOptional: Loki API token
K8S_CONTEXTNoOptional: Pin a specific kubeconfig context
ARGOCD_TOKENNoArgoCD API token
ARGOCD_SERVERNoArgoCD server URL
MCP_AUTH_TOKENNoBearer token for SSE authentication
PROMETHEUS_URLNoPrometheus server URL
PAGERDUTY_TOKENNoPagerDuty API v2 token
DEVOPS_MCP_DRY_RUNNoSet to 'true' to block all mutations globally
DEVOPS_MCP_AUDIT_LOGNoFile path for audit log (JSONL format)
K8S_ALLOWED_NAMESPACESNoOptional: Comma-separated list of allowed namespaces
PROMETHEUS_BEARER_TOKENNoOptional: Bearer token for authenticated Prometheus

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
k8s__list_podsB

List pods with status, restarts, node, and age

k8s__get_pod_logsC

Get logs from a pod container

k8s__describe_resourceC

Full describe for any resource type

k8s__get_eventsC

Cluster or namespace events, filterable by reason

k8s__list_deploymentsC

Deployments with replica counts and rollout health

k8s__get_resource_usageC

CPU/mem usage per pod via metrics-server

k8s__list_contextsB

All kubeconfig contexts and the active one

k8s__switch_contextC

Switch active context (session-scoped)

k8s__scale_deploymentC

Scale replicas with dry-run diff preview

k8s__rollout_restartC

Trigger rolling restart of a deployment

k8s__apply_manifestC

Apply a manifest string with server-side dry-run

k8s__delete_resourceC

Delete a named resource — requires confirm: true

k8s__get_node_statusB

Get node status with conditions, capacity, allocatable, labels, and taints

k8s__get_network_policiesA

List network policies with podSelector, ingress/egress rules

k8s__get_ingressesA

List ingresses with hosts, paths, backends, and TLS config

k8s__diff_resourceB

Compare current resource state against last-applied-configuration annotation to show drift

k8s__list_cronjobsA

List cronjobs with schedule, suspend status, active jobs, and last run times

k8s__get_cronjob_statusB

Detailed status of a specific cronjob including recent job history

k8s__list_servicesA

List services with type, clusterIP, ports, selector, and externalIPs

k8s__list_pvcsA

List PersistentVolumeClaims with status, capacity, accessModes, and storageClass

k8s__get_hpaA

Get HorizontalPodAutoscaler details with metrics, replicas, and conditions

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/NotHarshhaa/devops-mcp'

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