k8s-pilot
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_clustersC | Get all clusters from the kubeconfig file. :return: |
| get_current_clusterC | Get the current cluster from the kubeconfig file. :return: |
| set_current_clusterC | Set the current cluster in the kubeconfig file. :param cluster_name: :return: |
| configmap_listB | List all ConfigMaps in a given namespace. Args: context_name: The Kubernetes context name namespace: The Kubernetes namespace Returns: List of ConfigMap basic information |
| configmap_createB | Create a ConfigMap in the specified namespace. Args: context_name: The Kubernetes context name namespace: The Kubernetes namespace name: The ConfigMap name data: The data to store in the ConfigMap Returns: Status of the creation operation |
| configmap_getB | Get details of a specific ConfigMap. Args: context_name: The Kubernetes context name namespace: The Kubernetes namespace name: The ConfigMap name Returns: Detailed information about the ConfigMap |
| configmap_updateB | Update an existing ConfigMap in the specified namespace. Args: context_name: The Kubernetes context name namespace: The Kubernetes namespace name: The ConfigMap name data: The new data to update in the ConfigMap Returns: Status of the update operation |
| configmap_deleteB | Delete a ConfigMap from the specified namespace. Args: context_name: The Kubernetes context name namespace: The Kubernetes namespace name: The ConfigMap name Returns: Status of the deletion operation |
| daemonset_listB | List all DaemonSets in a given namespace. Args: context_name: The Kubernetes context name namespace: The Kubernetes namespace Returns: List of DaemonSet basic information |
| daemonset_createB | Create a DaemonSet in the specified namespace. Args: context_name: The Kubernetes context name namespace: The Kubernetes namespace name: The DaemonSet name image: The container image to use labels: Labels to apply to the DaemonSet Returns: Status of the creation operation |
| daemonset_getB | Get details of a specific DaemonSet. Args: context_name: The Kubernetes context name namespace: The Kubernetes namespace name: The DaemonSet name Returns: Detailed information about the DaemonSet |
| daemonset_updateC | Update an existing DaemonSet in the specified namespace. Args: context_name: The Kubernetes context name namespace: The Kubernetes namespace name: The DaemonSet name image: The new container image to update Returns: Status of the update operation |
| daemonset_deleteB | Delete a DaemonSet from the specified namespace. Args: context_name: The Kubernetes context name namespace: The Kubernetes namespace name: The DaemonSet name Returns: Status of the deletion operation |
| deployment_listB | List all Deployments in a given namespace. Args: context_name: The Kubernetes context name namespace: The Kubernetes namespace Returns: List of Deployment basic information |
| deployment_createB | Create a Deployment in the specified namespace. Args: context_name: The Kubernetes context name namespace: The Kubernetes namespace name: The Deployment name image: The container image to use replicas: Number of replicas labels: Labels to apply to the Deployment Returns: Status of the creation operation |
| deployment_getC | Get details of a specific Deployment. Args: context_name: The Kubernetes context name namespace: The Kubernetes namespace name: The Deployment name Returns: Detailed information about the Deployment |
| deployment_updateB | Update an existing Deployment in the specified namespace. Args: context_name: The Kubernetes context name namespace: The Kubernetes namespace name: The Deployment name image: The new container image to update replicas: The new number of replicas Returns: Status of the update operation |
| deployment_deleteB | Delete a Deployment from the specified namespace. Args: context_name: The Kubernetes context name namespace: The Kubernetes namespace name: The Deployment name Returns: Status of the deletion operation |
| ingress_listB | List all Ingresses in a given namespace. Args: context_name: The Kubernetes context name namespace: The Kubernetes namespace Returns: List of Ingress basic information |
| ingress_createB | Create an Ingress in the specified namespace. Args: context_name: The Kubernetes context name namespace: The Kubernetes namespace name: The Ingress name host: The host for the Ingress service_name: The backend service name service_port: The backend service port Returns: Status of the creation operation |
| ingress_getC | Get details of a specific Ingress. Args: context_name: The Kubernetes context name namespace: The Kubernetes namespace name: The Ingress name Returns: Detailed information about the Ingress |
| ingress_updateB | Update an existing Ingress in the specified namespace. Args: context_name: The Kubernetes context name namespace: The Kubernetes namespace name: The Ingress name host: The new host for the Ingress service_name: The new backend service name service_port: The new backend service port Returns: Status of the update operation |
| ingress_deleteB | Delete an Ingress from the specified namespace. Args: context_name: The Kubernetes context name namespace: The Kubernetes namespace name: The Ingress name Returns: Status of the deletion operation |
| list_namespacesB | List all namespaces in the Kubernetes cluster. Args: context_name: The Kubernetes context name Returns: JSON string containing basic information about all namespaces |
| get_namespace_detailsC | Get detailed information about a specific namespace. Args: context_name: The Kubernetes context name namespace: The name of the namespace to get details for Returns: JSON string containing detailed information about the namespace |
| create_namespaceB | Create a new namespace. Args: context_name: The Kubernetes context name namespace: The name for the new namespace labels: Optional dictionary of labels to apply to the namespace Returns: JSON string containing information about the created namespace |
| delete_namespaceB | Delete a namespace and all resources within it. Args: context_name: The Kubernetes context name namespace: The name of the namespace to delete Returns: JSON string containing the result of the operation |
| add_namespace_labelB | Add or update a label on a namespace. Args: context_name: The Kubernetes context name namespace: The name of the namespace label_key: The label key to add label_value: The label value to set Returns: JSON string containing the updated namespace labels |
| remove_namespace_labelC | Remove a label from a namespace. Args: context_name: The Kubernetes context name namespace: The name of the namespace label_key: The label key to remove Returns: JSON string containing the updated namespace labels |
| list_namespace_resourcesC | List resources (pods, services, deployments, etc.) in a namespace. Args: context_name: The Kubernetes context name namespace: The name of the namespace Returns: JSON string containing a summary of resources in the namespace |
| set_namespace_resource_quotaB | Set or update resource quotas for a namespace. Args: context_name: The Kubernetes context name namespace: The name of the namespace cpu_limit: Optional CPU limit (e.g., "2", "500m") memory_limit: Optional memory limit (e.g., "1Gi", "500Mi") pod_count: Optional maximum number of pods Returns: JSON string containing the resource quota status |
| get_namespace_resource_quotaB | Get current resource quotas for a namespace. Args: context_name: The Kubernetes context name namespace: The name of the namespace Returns: JSON string containing the current resource quotas and their usage |
| list_nodesB | List all nodes in the Kubernetes cluster. Args: context_name: The Kubernetes context name Returns: JSON string containing basic information about all nodes |
| get_node_detailsC | Get detailed information about a specific node. Args: context_name: The Kubernetes context name node_name: The name of the node to get details for Returns: JSON string containing detailed information about the node |
| add_node_labelB | Add or update a label to a node. Args: context_name: The Kubernetes context name node_name: The name of the node to modify label_key: The label key to add label_value: The label value to set Returns: JSON string containing the updated node labels |
| remove_node_labelC | Remove a label from a node. Args: context_name: The Kubernetes context name node_name: The name of the node to modify label_key: The label key to remove Returns: JSON string containing the updated node labels |
| add_node_taintB | Add a taint to a node. Args: context_name: The Kubernetes context name node_name: The name of the node to modify taint_key: The taint key to add taint_value: The taint value to set taint_effect: The taint effect (NoSchedule, PreferNoSchedule, or NoExecute) Returns: JSON string containing the updated node taints |
| remove_node_taintB | Remove a taint from a node. Args: context_name: The Kubernetes context name node_name: The name of the node to modify taint_key: The taint key to remove Returns: JSON string containing the updated node taints |
| cordon_nodeA | Cordon a node (mark as unschedulable). Args: context_name: The Kubernetes context name node_name: The name of the node to cordon Returns: JSON string containing the result of the operation |
| uncordon_nodeC | Uncordon a node (mark as schedulable). Args: context_name: The Kubernetes context name node_name: The name of the node to uncordon Returns: JSON string containing the result of the operation |
| get_node_podsB | Get all pods running on a specific node. Args: context_name: The Kubernetes context name node_name: The name of the node to get pods for Returns: JSON string containing the pods running on the node |
| pod_listC | List all pods in a given namespace. Args: context_name: The Kubernetes context name namespace: The Kubernetes namespace Returns: List of pod basic information |
| pod_detailC | Get details of a specific pod. Args: context_name: The Kubernetes context name namespace: The Kubernetes namespace name: The pod name Returns: Detailed information about the pod |
| pod_createA | Create a new pod in the specified namespace. Args: context_name: The Kubernetes context name namespace: The Kubernetes namespace name: The name for the new pod image: The container image to use labels: Optional dictionary of pod labels command: Optional command to run in the container args: Optional arguments for the command env_vars: Optional environment variables for the container Returns: Information about the created pod |
| pod_updateB | Update an existing pod's metadata (only labels can be updated for an existing pod). Args: context_name: The Kubernetes context name namespace: The Kubernetes namespace name: The pod name labels: New labels to apply to the pod Returns: Information about the updated pod |
| pod_deleteB | Delete a pod from the specified namespace. Args: context_name: The Kubernetes context name namespace: The Kubernetes namespace name: The pod name to delete Returns: Status of the deletion operation |
| pod_logsB | Get logs from a pod or a specific container within the pod. Args: context_name: The Kubernetes context name namespace: The Kubernetes namespace name: The pod name container: Optional container name (if pod has multiple containers) tail_lines: Number of lines to retrieve from the end of the logs previous: Whether to get logs from a previous instance of the container Returns: Pod logs |
| pv_listC | List all PersistentVolumes in the cluster. Args: context_name: The Kubernetes context name Returns: List of PersistentVolume basic information |
| pv_createB | Create a PersistentVolume in the cluster. Args: context_name: The Kubernetes context name name: The PersistentVolume name capacity: The storage capacity (e.g., "10Gi") access_modes: List of access modes (e.g., ["ReadWriteOnce"]) storage_class: The storage class name host_path: The host path for the volume Returns: Status of the creation operation |
| pv_getC | Get details of a specific PersistentVolume. Args: context_name: The Kubernetes context name name: The PersistentVolume name Returns: Detailed information about the PersistentVolume |
| pv_updateC | Update an existing PersistentVolume's metadata (e.g., labels). Args: context_name: The Kubernetes context name name: The PersistentVolume name labels: New labels to apply to the PersistentVolume Returns: Status of the update operation |
| pv_deleteC | Delete a PersistentVolume from the cluster. Args: context_name: The Kubernetes context name name: The PersistentVolume name Returns: Status of the deletion operation |
| pvc_listB | List all PersistentVolumeClaims in a given namespace. Args: context_name: The Kubernetes context name namespace: The Kubernetes namespace Returns: List of PersistentVolumeClaim basic information |
| pvc_createB | Create a PersistentVolumeClaim in the specified namespace. Args: context_name: The Kubernetes context name namespace: The Kubernetes namespace name: The PersistentVolumeClaim name storage: The storage size (e.g., "10Gi") access_modes: List of access modes (e.g., ["ReadWriteOnce"]) storage_class: The storage class name (optional) Returns: Status of the creation operation |
| pvc_getC | Get details of a specific PersistentVolumeClaim. Args: context_name: The Kubernetes context name namespace: The Kubernetes namespace name: The PersistentVolumeClaim name Returns: Detailed information about the PersistentVolumeClaim |
| pvc_updateB | Update an existing PersistentVolumeClaim's metadata (e.g., labels). Args: context_name: The Kubernetes context name namespace: The Kubernetes namespace name: The PersistentVolumeClaim name labels: New labels to apply to the PersistentVolumeClaim Returns: Status of the update operation |
| pvc_deleteB | Delete a PersistentVolumeClaim from the specified namespace. Args: context_name: The Kubernetes context name namespace: The Kubernetes namespace name: The PersistentVolumeClaim name Returns: Status of the deletion operation |
| replicaset_listB | List all ReplicaSets in a given namespace. Args: context_name: The Kubernetes context name namespace: The Kubernetes namespace Returns: List of ReplicaSet basic information |
| replicaset_createB | Create a ReplicaSet in the specified namespace. Args: context_name: The Kubernetes context name namespace: The Kubernetes namespace name: The ReplicaSet name image: The container image to use replicas: Number of replicas labels: Labels to apply to the ReplicaSet Returns: Status of the creation operation |
| replicaset_getC | Get details of a specific ReplicaSet. Args: context_name: The Kubernetes context name namespace: The Kubernetes namespace name: The ReplicaSet name Returns: Detailed information about the ReplicaSet |
| replicaset_updateB | Update an existing ReplicaSet in the specified namespace. Args: context_name: The Kubernetes context name namespace: The Kubernetes namespace name: The ReplicaSet name image: The new container image to update replicas: The new number of replicas Returns: Status of the update operation |
| replicaset_deleteB | Delete a ReplicaSet from the specified namespace. Args: context_name: The Kubernetes context name namespace: The Kubernetes namespace name: The ReplicaSet name Returns: Status of the deletion operation |
| role_listC | List all Roles in a given namespace. Args: context_name: The Kubernetes context name namespace: The Kubernetes namespace Returns: List of Role basic information |
| role_createB | Create a Role in the specified namespace. Args: context_name: The Kubernetes context name namespace: The Kubernetes namespace name: The Role name rules: List of policy rules Returns: Status of the creation operation |
| role_getB | Get details of a specific Role. Args: context_name: The Kubernetes context name namespace: The Kubernetes namespace name: The Role name Returns: Detailed information about the Role |
| role_deleteB | Delete a Role from the specified namespace. Args: context_name: The Kubernetes context name namespace: The Kubernetes namespace name: The Role name Returns: Status of the deletion operation |
| clusterrole_listC | List all ClusterRoles in the cluster. Args: context_name: The Kubernetes context name Returns: List of ClusterRole basic information |
| clusterrole_createC | Create a ClusterRole in the cluster. Args: context_name: The Kubernetes context name name: The ClusterRole name rules: List of policy rules Returns: Status of the creation operation |
| clusterrole_getC | Get details of a specific ClusterRole. Args: context_name: The Kubernetes context name name: The ClusterRole name Returns: Detailed information about the ClusterRole |
| clusterrole_deleteB | Delete a ClusterRole from the cluster. Args: context_name: The Kubernetes context name name: The ClusterRole name Returns: Status of the deletion operation |
| secret_listC | List all Secrets in a given namespace. Args: context_name: The Kubernetes context name namespace: The Kubernetes namespace Returns: List of Secret basic information |
| secret_createB | Create a Secret in the specified namespace. Args: context_name: The Kubernetes context name namespace: The Kubernetes namespace name: The Secret name data: A dictionary of key-value pairs (values will be base64 encoded) secret_type: The type of the Secret (default is "Opaque") Returns: Status of the creation operation |
| secret_getC | Get details of a specific Secret. Args: context_name: The Kubernetes context name namespace: The Kubernetes namespace name: The Secret name Returns: Detailed information about the Secret |
| secret_updateB | Update an existing Secret in the specified namespace. Args: context_name: The Kubernetes context name namespace: The Kubernetes namespace name: The Secret name data: A dictionary of key-value pairs (values will be base64 encoded) Returns: Status of the update operation |
| secret_deleteA | Delete a Secret from the specified namespace. Args: context_name: The Kubernetes context name namespace: The Kubernetes namespace name: The Secret name Returns: Status of the deletion operation |
| service_listC | List all Services in a given namespace. Args: context_name: The Kubernetes context name namespace: The Kubernetes namespace Returns: List of Service basic information |
| service_createB | Create a Service in the specified namespace. Args: context_name: The Kubernetes context name namespace: The Kubernetes namespace name: The Service name selector: A dictionary of labels to select the target pods ports: A list of ports (e.g., [{"port": 80, "target_port": 8080}]) service_type: The type of the Service (default is "ClusterIP") Returns: Status of the creation operation |
| service_getC | Get details of a specific Service. Args: context_name: The Kubernetes context name namespace: The Kubernetes namespace name: The Service name Returns: Detailed information about the Service |
| service_updateC | Update an existing Service's metadata (e.g., labels). Args: context_name: The Kubernetes context name namespace: The Kubernetes namespace name: The Service name labels: New labels to apply to the Service Returns: Status of the update operation |
| service_deleteC | Delete a Service from the specified namespace. Args: context_name: The Kubernetes context name namespace: The Kubernetes namespace name: The Service name Returns: Status of the deletion operation |
| serviceaccount_listC | List all ServiceAccounts in a given namespace. Args: context_name: The Kubernetes context name namespace: The Kubernetes namespace Returns: List of ServiceAccount basic information |
| serviceaccount_createC | Create a ServiceAccount in the specified namespace. Args: context_name: The Kubernetes context name namespace: The Kubernetes namespace name: The ServiceAccount name labels: Optional labels to apply to the ServiceAccount Returns: Status of the creation operation |
| serviceaccount_getB | Get details of a specific ServiceAccount. Args: context_name: The Kubernetes context name namespace: The Kubernetes namespace name: The ServiceAccount name Returns: Detailed information about the ServiceAccount |
| serviceaccount_deleteC | Delete a ServiceAccount from the specified namespace. Args: context_name: The Kubernetes context name namespace: The Kubernetes namespace name: The ServiceAccount name Returns: Status of the deletion operation |
| statefulset_listB | List all StatefulSets in a given namespace. Args: context_name: The Kubernetes context name namespace: The Kubernetes namespace Returns: List of StatefulSet basic information |
| statefulset_createC | Create a StatefulSet in the specified namespace. Args: context_name: The Kubernetes context name namespace: The Kubernetes namespace name: The StatefulSet name image: The container image to use replicas: Number of replicas labels: Labels to apply to the StatefulSet Returns: Status of the creation operation |
| statefulset_getB | Get details of a specific StatefulSet. Args: context_name: The Kubernetes context name namespace: The Kubernetes namespace name: The StatefulSet name Returns: Detailed information about the StatefulSet |
| statefulset_updateB | Update an existing StatefulSet in the specified namespace. Args: context_name: The Kubernetes context name namespace: The Kubernetes namespace name: The StatefulSet name image: The new container image to update replicas: The new number of replicas Returns: Status of the update operation |
| statefulset_deleteB | Delete a StatefulSet from the specified namespace. Args: context_name: The Kubernetes context name namespace: The Kubernetes namespace name: The StatefulSet name Returns: Status of the deletion operation |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| Kube Contexts | List all kube contexts |
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/bourbonkk/k8s-pilot'
If you have feedback or need assistance with the MCP directory API, please join our Discord server