kubeaid-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| KUBECONFIG | No | Path to the kubeconfig file. | ~/.kube/config |
| KUBEAID_CONTEXT | No | Pin a fixed default context. Omit it to track current-context live. | |
| KUBEAID_ALLOW_EXEC | No | Expose exec_command (run commands in containers). | false |
| KUBEAID_ALLOW_WRITES | No | Expose the mutating tools (apply/patch/delete/scale/rollout). | false |
| KUBEAID_REQUEST_TIMEOUT | No | Per-request timeout for Kubernetes API calls (e.g. 30s, 1m, or milliseconds). | 30s |
| KUBEAID_PROTECTED_CONTEXTS | No | Comma-separated contexts that may never be written to or exec'd into. |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| 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
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
| diagnose_pod | Diagnose why a pod is unhealthy and suggest a fix, using the kubeaid tools. |
| triage_namespace | Triage the health of a whole namespace: find unhealthy workloads and investigate each. |
| cluster_health_check | Run a high-level health check across the whole cluster. |
| review_warnings | Review recent Warning events and explain what they mean. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| Health Checks | Current health status of all registered health checks |
| Widget Examples | Provides metadata and examples for all registered UI widgets |
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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