krmcbride/mcp-k8s
If you are the rightful owner of mcp-k8s and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
A Model Context Protocol (MCP) server designed for safe, read-only interaction with Kubernetes clusters, focusing on observability and debugging without the risk of accidental changes.
Tools
Functions exposed to the LLM to take actions
list_k8s_resources
List Kubernetes resources of any type with custom formatting for common resource types.
list_k8s_api_resources
List available Kubernetes API resource types for discovering what resource types are available in the cluster.
get_k8s_resource
Fetch a single Kubernetes resource with optional Go template formatting for advanced output customization.
get_k8s_metrics
Get CPU and memory usage metrics for nodes or pods, similar to kubectl top
, with optional filtering by name.
get_k8s_pod_logs
Get logs from a Kubernetes pod, similar to kubectl logs
, with options for container selection, time filtering, tail lines, and previous container logs.
Prompts
Interactive templates invoked by user choice
No prompts
Resources
Contextual data attached and managed by the client