mjrestivo16/mcp-kubernetes
If you are the rightful owner of mcp-kubernetes and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.
A Model Context Protocol (MCP) server that provides comprehensive Kubernetes cluster management capabilities.
Tools
Functions exposed to the LLM to take actions
k8s_get_cluster_info
Get cluster information including server version and endpoints
k8s_list_nodes
List all nodes with status, roles, and resource information
k8s_get_node
Get detailed information about a specific node
k8s_describe_node
Get full node description including conditions and capacity
k8s_list_namespaces
List all namespaces in the cluster
k8s_create_namespace
Create a new namespace
k8s_delete_namespace
Delete a namespace (with warning)
k8s_list_pods
List pods with filtering by namespace and labels
k8s_get_pod
Get detailed pod information
k8s_describe_pod
Get full pod description including events
k8s_get_pod_logs
Get container logs with filtering options
k8s_delete_pod
Delete a pod (with optional force)
k8s_exec_pod
Execute commands in pod containers
k8s_list_deployments
List deployments in namespace or cluster-wide
k8s_get_deployment
Get detailed deployment information
k8s_describe_deployment
Get full deployment description with events
k8s_scale_deployment
Scale deployment replicas
k8s_restart_deployment
Perform rolling restart
k8s_update_deployment_image
Update container image
k8s_list_services
List services in namespace or cluster-wide
k8s_get_service
Get detailed service information
k8s_describe_service
Get full service description including endpoints
k8s_list_configmaps
List ConfigMaps in namespace
k8s_get_configmap
Get ConfigMap details and data
k8s_create_configmap
Create ConfigMap from literal values
k8s_delete_configmap
Delete a ConfigMap
k8s_list_secrets
List secrets (values hidden)
k8s_get_secret
Get secret metadata (with optional decode)
k8s_create_secret
Create secret from literal values
k8s_delete_secret
Delete a secret
k8s_list_statefulsets
List StatefulSets in namespace
k8s_get_statefulset
Get StatefulSet details
k8s_scale_statefulset
Scale StatefulSet replicas
k8s_list_daemonsets
List DaemonSets in namespace
k8s_get_daemonset
Get DaemonSet details
k8s_list_ingresses
List Ingresses in namespace
k8s_get_ingress
Get Ingress details
k8s_apply_manifest
Apply YAML/JSON manifest to cluster
k8s_delete_resource
Delete resource by type and name
k8s_get_events
Get cluster events with optional filtering
k8s_get_resource_yaml
Get any resource as YAML
k8s_get_all
Get all common resources in namespace
k8s_rollout_status
Get deployment rollout status
k8s_rollout_history
Get rollout history
k8s_rollout_undo
Undo deployment rollout
k8s_top_nodes
Show node resource usage (CPU/memory)
k8s_top_pods
Show pod resource usage (CPU/memory)
k8s_get_contexts
List all available kubectl contexts
k8s_current_context
Get current kubectl context
Prompts
Interactive templates invoked by user choice
No prompts
Resources
Contextual data attached and managed by the client