K8s
Exposes a comprehensive API to retrieve Kubernetes cluster information and diagnose issues using the Model Context Protocol.
关于
K8s is a Python-based tool implementing the Model Context Protocol (MCP) for Kubernetes clusters. It provides a read-only server that exposes a comprehensive API, enabling users to easily retrieve cluster information and diagnose issues. By leveraging this API, users can gain insights into the health, status, and resource utilization of their Kubernetes environment, facilitating debugging and resource management tasks. It seamlessly integrates with tools like Claude to provide contextual cluster awareness for improved troubleshooting and operations.
主要功能
- Comprehensive API for cluster information retrieval
- API to retrieve resource YAML configurations
- Support for kubeconfig and in-cluster configuration
- API to identify orphaned resources
- API to list and filter pods, deployments, services, and nodes
使用案例
- Retrieving cluster information programmatically
- Integrating Kubernetes context into other tools
- Diagnosing Kubernetes cluster issues